lab-ops_lab-lib 0.1.0

Shared types, port allocation, and Docker helpers for the lab-ops workspace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Shared utilities and types for the `lab-ops` workspace.
//!
//! Provides the canonical [`TransportProtocol`] enum, Docker client helpers,
//! and shared constants used by both `natmap` and `auto-discover`.

pub mod consts;
pub mod docker;
pub mod port;
pub mod protocol;

pub use consts::NATMAP_SOCKET;
pub use docker::connect;
pub use docker::trim_container_name;
pub use port::PortAllocator;
pub use port::PortAssignments;
pub use protocol::TransportProtocol;