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

Function pathers

cgroup1/utils.go:240–248  ·  view source on GitHub ↗
(subsystems []Subsystem)

Source from the content-addressed store, hash-verified

238}
239
240func pathers(subsystems []Subsystem) []pather {
241 var out []pather
242 for _, s := range subsystems {
243 if p, ok := s.(pather); ok {
244 out = append(out, p)
245 }
246 }
247 return out
248}
249
250func initializeSubsystem(s Subsystem, path Path, resources *specs.LinuxResources) error {
251 if c, ok := s.(creator); ok {

Callers 4

DefaultFunction · 0.85
LoadFunction · 0.85
addMethod · 0.85
checkExistsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…