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

Function LoadSystemd

cgroup2/manager.go:1137–1145  ·  view source on GitHub ↗
(slice, group string)

Source from the content-addressed store, hash-verified

1135}
1136
1137func LoadSystemd(slice, group string) (*Manager, error) {
1138 if slice == "" {
1139 slice = defaultSlice
1140 }
1141 path := getSystemdFullPath(slice, group)
1142 return &Manager{
1143 path: path,
1144 }, nil
1145}
1146
1147func (c *Manager) DeleteSystemd() error {
1148 ctx := context.TODO()

Callers 1

main.goFile · 0.92

Calls 1

getSystemdFullPathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…