package fs2

import "github.com/opencontainers/runc/libcontainer/cgroups/fs2"

Index

Constants

const UnifiedMountpoint = "/sys/fs/cgroup"

Functions

func NewManager

func NewManager(config *configs.Cgroup, dirPath string, rootless bool) (cgroups.Manager, error)

NewManager creates a manager for cgroup v2 unified hierarchy. dirPath is like "/sys/fs/cgroup/user.slice/user-1001.slice/session-1.scope". If dirPath is empty, it is automatically set using config.

Source Files

cpu.go cpuset.go defaultpath.go devices.go freezer.go fs2.go io.go memory.go pids.go

Version
v1.0.0-rc90
Published
Jan 22, 2020
Platform
linux/amd64
Imports
16 packages
Last checked
51 minutes ago

Tools for package owners.