summaryrefslogtreecommitdiffhomepage
path: root/tools/unitctl/unit-client-rs/src/lib.rs
diff options
context:
space:
mode:
authorAva Hahn <a.hahn@f5.com>2024-04-25 20:02:26 -0700
committeravahahn <110854134+avahahn@users.noreply.github.com>2024-05-08 13:30:08 -0700
commit6e8f7bbb91e7069d82abd22fbe8d0fcaa1bb2f8c (patch)
treec4a72ffc97128e5cc2cdc89d58d593cc5914f0cc /tools/unitctl/unit-client-rs/src/lib.rs
parent5d1ce5c4475f8d126b61650f3c678e3f94549f6b (diff)
downloadunit-6e8f7bbb91e7069d82abd22fbe8d0fcaa1bb2f8c.tar.gz
unit-6e8f7bbb91e7069d82abd22fbe8d0fcaa1bb2f8c.tar.bz2
tools/unitctl: Initial Docker Procedures
* move UnitdProcess serialization logic into UnitdProcess * filter out docker processes from process output on Linux * initial implementation of a UnitdContainer type * initial implementation of a docker container search for unitd * pull out custom openapi future executor and use same tokio runtime as docker client * refactor openapi client to not manage its own tokio runtime * process mount points per docker container * correctly output docker container info in relevant unitd instances * create UnitdProcess from UnitdContainer * UnitdProcess now owns UnitdContainer * get and parse container details from docker API * introduce procedure to rewrite file paths based on docker container mounts * test path rewrite facilities * apply path rewrite to unix socket Signed-off-by: Ava Hahn <a.hahn@f5.com>
Diffstat (limited to 'tools/unitctl/unit-client-rs/src/lib.rs')
-rw-r--r--tools/unitctl/unit-client-rs/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/unitctl/unit-client-rs/src/lib.rs b/tools/unitctl/unit-client-rs/src/lib.rs
index dca8a86f..a0933f42 100644
--- a/tools/unitctl/unit-client-rs/src/lib.rs
+++ b/tools/unitctl/unit-client-rs/src/lib.rs
@@ -10,6 +10,7 @@ mod runtime_flags;
pub mod unit_client;
mod unitd_cmd;
pub mod unitd_configure_options;
+pub mod unitd_docker;
pub mod unitd_instance;
pub mod unitd_process;
mod unitd_process_user;