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

Struct containerdFactory

lib/container/containerd/factory.go:48–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46var containerdCgroupRegexp = regexp.MustCompile(`([a-z0-9]{64})`)
47
48type containerdFactory struct {
49 machineInfoFactory info.MachineInfoFactory
50 client ContainerdClient
51 version string
52 // Information about the mounted cgroup subsystems.
53 cgroupSubsystems map[string]string
54 // Information about mounted filesystems.
55 fsInfo fs.FsInfo
56 includedMetrics container.MetricSet
57}
58
59func (f *containerdFactory) String() string {
60 return k8sContainerdNamespace

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected