WithMountpoint sets the unified mountpoint. The default path is /sys/fs/cgroup.
(path string)
| 222 | |
| 223 | // WithMountpoint sets the unified mountpoint. The default path is /sys/fs/cgroup. |
| 224 | func WithMountpoint(path string) InitOpts { |
| 225 | return func(c *InitConfig) error { |
| 226 | c.mountpoint = path |
| 227 | return nil |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | // Load a cgroup. |
| 232 | func Load(group string, opts ...InitOpts) (*Manager, error) { |
no outgoing calls
no test coverage detected
searching dependent graphs…