Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ func Apply(c *cgroups.Cgroup, pid int) (map[string]string, error) func ApplyDevices(c *cgroups.Cgroup, pid int) error func Freeze(c *cgroups.Cgroup, state cgroups.FreezerState) error func GetPids(c *cgroups.Cgroup) ([]int, error) func UseSystemd() bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Apply ¶ func Apply(c *cgroups.Cgroup, pid int) (map[string]string, error) func ApplyDevices ¶ func ApplyDevices(c *cgroups.Cgroup, pid int) error Symmetrical public function to update device based cgroups. Also available in the fs implementation. func Freeze ¶ func Freeze(c *cgroups.Cgroup, state cgroups.FreezerState) error func GetPids ¶ func GetPids(c *cgroups.Cgroup) ([]int, error) func UseSystemd ¶ func UseSystemd() bool Types ¶ This section is empty. Source Files ¶ View all Source files apply_systemd.go Click to show internal directories. Click to hide internal directories.