1mod add_region_follower;
16mod flush_compact_region;
17mod flush_compact_table;
18mod migrate_region;
19mod reconcile_catalog;
20mod reconcile_database;
21mod reconcile_table;
22mod remove_region_follower;
23
24use add_region_follower::AddRegionFollowerFunction;
25use flush_compact_region::{CompactRegionFunction, FlushRegionFunction};
26use flush_compact_table::{CompactTableFunction, FlushTableFunction};
27use migrate_region::MigrateRegionFunction;
28use reconcile_catalog::ReconcileCatalogFunction;
29use reconcile_database::ReconcileDatabaseFunction;
30use reconcile_table::ReconcileTableFunction;
31use remove_region_follower::RemoveRegionFollowerFunction;
32
33use crate::flush_flow::FlushFlowFunction;
34use crate::function_registry::FunctionRegistry;
35
36pub(crate) struct AdminFunction;
38
39impl AdminFunction {
40 pub fn register(registry: &FunctionRegistry) {
42 registry.register(MigrateRegionFunction::factory());
43 registry.register(AddRegionFollowerFunction::factory());
44 registry.register(RemoveRegionFollowerFunction::factory());
45 registry.register(FlushRegionFunction::factory());
46 registry.register(CompactRegionFunction::factory());
47 registry.register(FlushTableFunction::factory());
48 registry.register(CompactTableFunction::factory());
49 registry.register(FlushFlowFunction::factory());
50 registry.register(ReconcileCatalogFunction::factory());
51 registry.register(ReconcileDatabaseFunction::factory());
52 registry.register(ReconcileTableFunction::factory());
53 }
54}