StaticPath returns a static path to use for all cgroups
(path string)
| 30 | |
| 31 | // StaticPath returns a static path to use for all cgroups |
| 32 | func StaticPath(path string) Path { |
| 33 | return func(_ Name) (string, error) { |
| 34 | return path, nil |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | // NestedPath will nest the cgroups based on the calling processes cgroup |
| 39 | // placing its child processes inside its own path |
no outgoing calls
searching dependent graphs…