Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
UnifiedPath string = "/sys/fs/cgroup/unified"
)
Functions ¶
Types ¶
type Config ¶
type Config struct { ID string CPUs string Mems string CPUQuota string MemOOMControl string MemLimit string VMemLimit string MemSwappiness string BlockIOWeight string }
func (Config) ApplyNoProc ¶
ApplyNoProc creates the cgroup, set caps, but does not add a process
Click to show internal directories.
Click to hide internal directories.