Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CgroupFactory ¶
type CgroupFactory interface { // New is used to create a new cgroup hierarchy New(hierarchy cgroups.Hierarchy, path cgroups.Path, specs *specs.LinuxResources) (cgroups.Cgroup, error) // Load is used to load the cgroup based off the cgroup path Load(hierarchy cgroups.Hierarchy, path cgroups.Path) (cgroups.Cgroup, error) }
CgroupFactory wraps around the global functions exposed by the cgroups library
type GlobalCgroupFactory ¶
type GlobalCgroupFactory struct{}
GlobalCgroupFactory calls the cgroups library global functions
Click to show internal directories.
Click to hide internal directories.