MCPcopy
hub / github.com/google/cadvisor / rawFactory

Struct rawFactory

lib/container/raw/factory.go:39–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37)
38
39type 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
59func (f *rawFactory) String() string {
60 return "raw"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected