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

Struct containerHandler

container/docker/handler.go:58–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56)
57
58type containerHandler struct {
59 // machineInfoFactory provides info.MachineInfo
60 machineInfoFactory info.MachineInfoFactory
61
62 // Absolute path to the cgroup hierarchies of this container.
63 // (e.g.: "cpu" -> "/sys/fs/cgroup/cpu/test")
64 cgroupPaths map[string]string
65
66 // the docker storage driver
67 storageDriver StorageDriver
68 fsInfo fs.FsInfo
69 rootfsStorageDir string
70
71 // Time at which this container was created.
72 creationTime time.Time
73
74 // Time at which this container was started.
75 startTime time.Time
76
77 // Metadata associated with the container.
78 envs map[string]string
79 labels map[string]string
80
81 // Image name used for this container.
82 image string
83
84 // Filesystem handler.
85 fsHandler common.FsHandler
86
87 // The IP address of the container
88 ipAddress string
89
90 metrics container.MetricSet
91
92 // the devicemapper poolname
93 thinPoolName string
94
95 // zfsParent is the parent for docker zfs
96 zfsParent string
97
98 // Reference to the container
99 reference info.ContainerReference
100
101 libcontainerHandler *containerlibcontainer.Handler
102
103 // the docker client is needed to inspect the container and get the health status
104 client dclient.APIClient
105}
106
107var _ container.ContainerHandler = &containerHandler{}
108

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected