1
0
Fork 0
mirror of https://github.com/containers/youki synced 2024-06-10 16:56:17 +02:00
youki/src/container/mod.rs

16 lines
654 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;
pub mod init_builder;
2021-03-27 12:08:13 +01:00
mod state;
pub mod tenant_builder;
2021-03-27 12:08:13 +01:00
pub use container::Container;
pub use state::{ContainerStatus, State};