| 32 | ) |
| 33 | |
| 34 | type rawContainerHandler struct { |
| 35 | // Name of the container for this handler. |
| 36 | name string |
| 37 | machineInfoFactory info.MachineInfoFactory |
| 38 | |
| 39 | // Absolute path to the cgroup hierarchies of this container. |
| 40 | // (e.g.: "cpu" -> "/sys/fs/cgroup/cpu/test") |
| 41 | cgroupPaths map[string]string |
| 42 | |
| 43 | fsInfo fs.FsInfo |
| 44 | externalMounts []common.Mount |
| 45 | includedMetrics container.MetricSet |
| 46 | |
| 47 | libcontainerHandler *libcontainer.Handler |
| 48 | } |
| 49 | |
| 50 | func isRootCgroup(name string) bool { |
| 51 | return name == "/" |
nothing calls this directly
no outgoing calls
no test coverage detected