| 37 | ) |
| 38 | |
| 39 | type rawFactory struct { |
| 40 | // Factory for machine information. |
| 41 | machineInfoFactory info.MachineInfoFactory |
| 42 | |
| 43 | // Information about the cgroup subsystems. |
| 44 | cgroupSubsystems map[string]string |
| 45 | |
| 46 | // Information about mounted filesystems. |
| 47 | fsInfo fs.FsInfo |
| 48 | |
| 49 | // Watcher for inotify events. |
| 50 | watcher *common.InotifyWatcher |
| 51 | |
| 52 | // List of metrics to be included. |
| 53 | includedMetrics map[container.MetricKind]struct{} |
| 54 | |
| 55 | // List of raw container cgroup path prefix whitelist. |
| 56 | rawPrefixWhiteList []string |
| 57 | } |
| 58 | |
| 59 | func (f *rawFactory) String() string { |
| 60 | return "raw" |
nothing calls this directly
no outgoing calls
no test coverage detected