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

22 lines
810 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-20 22:13:04 +02:00
pub mod container_delete;
2021-09-20 23:36:42 +02:00
pub mod container_events;
2021-09-20 22:26:35 +02:00
pub mod container_kill;
2021-09-20 23:00:46 +02:00
pub mod container_pause;
2021-09-20 23:22:45 +02:00
pub mod container_resume;
2021-09-21 21:37:12 +02:00
pub 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;
pub use state::{ContainerStatus, State};