2021-06-06 12:18:34 +02:00
|
|
|
//! Container management
|
2021-07-17 15:55:38 +02:00
|
|
|
/// This crate is responsible for the creation of containers. It provides a builder that can
|
|
|
|
/// be used to configure and create containers. We distinguish between an init container for which
|
|
|
|
/// namespaces and cgroups will be created (usually) and a tenant container process that will move
|
|
|
|
/// into the existing namespaces and cgroups of the initial container process (e.g. used to implement
|
|
|
|
/// the exec command).
|
2021-07-04 22:44:07 +02:00
|
|
|
pub mod builder;
|
|
|
|
mod builder_impl;
|
2021-03-27 12:08:13 +01:00
|
|
|
#[allow(clippy::module_inception)]
|
|
|
|
mod container;
|
2021-09-24 11:58:15 +02:00
|
|
|
mod container_delete;
|
|
|
|
mod container_events;
|
|
|
|
mod container_kill;
|
|
|
|
mod container_pause;
|
|
|
|
mod container_resume;
|
|
|
|
mod container_start;
|
2021-07-04 22:44:07 +02:00
|
|
|
pub mod init_builder;
|
2021-07-26 13:38:43 +02:00
|
|
|
pub mod state;
|
2021-07-04 22:44:07 +02:00
|
|
|
pub mod tenant_builder;
|
2021-03-27 12:08:13 +01:00
|
|
|
pub use container::Container;
|
2021-10-13 10:54:03 +02:00
|
|
|
pub use state::{ContainerProcessState, ContainerStatus, State};
|