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

Function StaticPath

cgroup1/paths.go:32–36  ·  view source on GitHub ↗

StaticPath returns a static path to use for all cgroups

(path string)

Source from the content-addressed store, hash-verified

30
31// StaticPath returns a static path to use for all cgroups
32func 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

Callers 15

TestCreateFunction · 0.85
TestStatFunction · 0.85
TestAddFunction · 0.85
TestAddTaskFunction · 0.85
TestListPidsFunction · 0.85
TestListTasksPidsFunction · 0.85
TestLoadFunction · 0.85
TestDeleteFunction · 0.85
TestCreateSubCgroupFunction · 0.85

Calls

no outgoing calls

Tested by 15

TestCreateFunction · 0.68
TestStatFunction · 0.68
TestAddFunction · 0.68
TestAddTaskFunction · 0.68
TestListPidsFunction · 0.68
TestListTasksPidsFunction · 0.68
TestLoadFunction · 0.68
TestDeleteFunction · 0.68
TestCreateSubCgroupFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…