MCPcopy Create free account
hub / github.com/containerd/cgroups / cgroup

Struct cgroup

cgroup1/cgroup.go:123–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123type cgroup struct {
124 path Path
125
126 subsystems []Subsystem
127 mu sync.Mutex
128 err error
129}
130
131// New returns a new sub cgroup
132func (c *cgroup) New(name string, resources *specs.LinuxResources) (Cgroup, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected