getCgroupv1Path is a helper function to get the cgroup v1 path
(name string)
| 245 | |
| 246 | // getCgroupv1Path is a helper function to get the cgroup v1 path |
| 247 | func (c *CgroupControl) getCgroupv1Path(name string) string { |
| 248 | return filepath.Join(cgroupRoot, name, c.path) |
| 249 | } |
| 250 | |
| 251 | // createCgroupv2Path creates the cgroupv2 path and enables all the available controllers |
| 252 | func createCgroupv2Path(path string) (deferredError error) { |
no outgoing calls
no test coverage detected