New creates a new cgroup under the calling cgroup
(string, *specs.LinuxResources)
| 54 | type Cgroup interface { |
| 55 | // New creates a new cgroup under the calling cgroup |
| 56 | New(string, *specs.LinuxResources) (Cgroup, error) |
| 57 | // Add adds a process to the cgroup (cgroup.procs). Without additional arguments, |
| 58 | // the process is added to all the cgroup subsystems. When giving Add a list of |
| 59 | // subsystem names, the process is only added to those subsystems, provided that |
no outgoing calls