1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-05-19 22:16:06 +02:00
youki/crates/container/src/container/mod.rs

22 lines
809 B
Rust
Raw Normal View History

//! 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).
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;
pub mod init_builder;
pub mod state;
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};