Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions pgdog/src/admin/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,47 @@ pub mod show_version;
pub mod shutdown;
pub mod stop_task;

pub use ban::*;
pub use copy_data::*;
pub use cutover::*;
pub use error::Error;
pub use healthcheck::*;
pub use maintenance_mode::*;
pub use named_row::*;
pub use parser::*;
pub use pause::*;
pub use probe::*;
pub use reconnect::*;
pub use reload::*;
pub use replicate::*;
pub use reset_query_cache::*;
pub use reshard::*;
pub use schema_sync::*;
pub use server::*;
pub use set::*;
pub use setup_schema::*;
pub use show_client_memory::*;
pub use show_clients::*;
pub use show_config::*;
pub use show_instance_id::*;
pub use show_lists::*;
pub use show_mirrors::*;
pub use show_peers::*;
pub use show_pools::*;
pub use show_prepared_statements::*;
pub use show_query_cache::*;
pub use show_replication::*;
pub use show_replication_slots::*;
pub use show_schema_sync::*;
pub use show_server_memory::*;
pub use show_servers::*;
pub use show_stats::*;
pub use show_table_copies::*;
pub use show_tasks::*;
pub use show_transactions::*;
pub use show_version::*;
pub use shutdown::*;
pub use stop_task::*;

#[cfg(test)]
mod tests;
Expand Down
15 changes: 1 addition & 14 deletions pgdog/src/admin/parser.rs
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
//! Admin command parser.

use super::{
ban::Ban, copy_data::CopyData, cutover::Cutover, healthcheck::Healthcheck,
maintenance_mode::MaintenanceMode, pause::Pause, prelude::Message, probe::Probe,
reconnect::Reconnect, reload::Reload, replicate::Replicate, reset_query_cache::ResetQueryCache,
reshard::Reshard, schema_sync::SchemaSync, set::Set, setup_schema::SetupSchema,
show_client_memory::ShowClientMemory, show_clients::ShowClients, show_config::ShowConfig,
show_instance_id::ShowInstanceId, show_lists::ShowLists, show_mirrors::ShowMirrors,
show_peers::ShowPeers, show_pools::ShowPools, show_prepared_statements::ShowPreparedStatements,
show_query_cache::ShowQueryCache, show_replication::ShowReplication,
show_replication_slots::ShowReplicationSlots, show_schema_sync::ShowSchemaSync,
show_server_memory::ShowServerMemory, show_servers::ShowServers, show_stats::ShowStats,
show_table_copies::ShowTableCopies, show_tasks::ShowTasks, show_transactions::ShowTransactions,
show_version::ShowVersion, shutdown::Shutdown, stop_task::StopTask, Command, Error,
};
use super::*;

use tracing::debug;

Expand Down
Loading