Skip to main content

container_from_path

Function container_from_path 

Source
pub fn container_from_path(path: &str) -> Option<Container>
Expand description

Classify one cgroup path.

Split out from container_from_cgroup so it is testable on its own, and so the caller can decide which hierarchy to prefer when there are several.