(subsystems []Subsystem)
| 238 | } |
| 239 | |
| 240 | func 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 | |
| 250 | func initializeSubsystem(s Subsystem, path Path, resources *specs.LinuxResources) error { |
| 251 | if c, ok := s.(creator); ok { |
no outgoing calls
no test coverage detected
searching dependent graphs…