mirror of
https://github.com/kata-containers/cgroups-rs.git
synced 2026-08-05 02:13:23 +00:00
manager: Introduce SystemdManager
Systemd manager takes cgroups path in the format of "parent:scope_prefix:name" to create and manipulate cgroups through systemd. It does value conversions for resources defined in the Linux resources from the OCI spec, such as CPU quota, period, etc. Signed-off-by: Xuewei Niu <niuxuewei.nxw@antgroup.com>
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ pub mod fs;
|
||||
#[cfg(feature = "oci")]
|
||||
pub mod manager;
|
||||
#[cfg(feature = "oci")]
|
||||
pub use manager::{FsManager, Manager};
|
||||
pub use manager::{FsManager, Manager, SystemdManager};
|
||||
pub mod stats;
|
||||
pub use stats::CgroupStats;
|
||||
pub mod systemd;
|
||||
|
||||
Reference in New Issue
Block a user