mirror of
https://github.com/containers/youki
synced 2024-05-21 23:16:09 +02:00
9 lines
180 B
Rust
9 lines
180 B
Rust
use anyhow::Result;
|
|
use std::path::Path;
|
|
|
|
use oci_spec::LinuxResources;
|
|
|
|
pub trait Controller {
|
|
fn apply(linux_resources: &LinuxResources, cgroup_path: &Path) -> Result<()>;
|
|
}
|