mirror of
https://github.com/containers/youki
synced 2024-05-08 16:46:17 +02:00
22 lines
809 B
Rust
22 lines
809 B
Rust
//! Container management
|
|
/// 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;
|
|
#[allow(clippy::module_inception)]
|
|
mod container;
|
|
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;
|
|
pub use container::Container;
|
|
pub use state::{ContainerProcessState, ContainerStatus, State};
|