summaryrefslogtreecommitdiffstats
path: root/src/commands/mod.rs
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@atos.net>2021-03-05 13:58:33 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-03-07 21:50:29 +0100
commit1a1cb138eb81709ed071aa4745d8079413f76160 (patch)
tree64b92e2897517f322849ade8a218482dcb016ba4 /src/commands/mod.rs
parente88c993a0e8344eabac78ea3b1608078f9b61a58 (diff)
Add subcommand "endpoint <ENDPOINT> ping"
This is the first "endpoint" subcommand implementation, which adds a "ping" subcommand, that can be used to ping all endpoints. This is the first step towards a CLI interface for endpoint maintenance commands. "ping" is the least complex one to implement and the docker crate ("shiplift") offers that functionality where one can ping the docker endpoints for availability, thus this is chosen as first implementation. Later, container cleanup and so on will be added as well, based on this work. Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/commands/mod.rs')
-rw-r--r--src/commands/mod.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/commands/mod.rs b/src/commands/mod.rs
index 473596a..bdabd7e 100644
--- a/src/commands/mod.rs
+++ b/src/commands/mod.rs
@@ -14,6 +14,9 @@ pub use build::build;
mod db;
pub use db::db;
+mod endpoint;
+pub use endpoint::endpoint;
+
mod env_of;
pub use env_of::env_of;