Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCgroups ¶
CreateCgroups mounts the cgroup controllers hierarchy for the container but leaves the subcgroup for each app read-write so the systemd inside stage1 can apply isolators to them
func GetOwnCgroupPath ¶
GetOwnCgroupPath returns the cgroup path of this process in controller hierarchy
func IsIsolatorSupported ¶
IsIsolatorSupported returns whether an isolator is supported in the kernel
func MaybeAddIsolator ¶
func MaybeAddIsolator(opts []*unit.UnitOption, isolator string, limit string) ([]*unit.UnitOption, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.