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

Struct containerHandler

container/podman/handler.go:42–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40)
41
42type containerHandler struct {
43 // machineInfoFactory provides info.MachineInfo
44 machineInfoFactory info.MachineInfoFactory
45
46 // Absolute path to the cgroup hierarchies of this container.
47 // (e.g.: "cpu" -> "/sys/fs/cgroup/cpu/test")
48 cgroupPaths map[string]string
49
50 // the docker storage driver
51 storageDriver docker.StorageDriver
52 fsInfo fs.FsInfo
53 rootfsStorageDir string
54
55 // Time at which this container was created.
56 creationTime time.Time
57
58 // Time at which this container was started.
59 startTime time.Time
60
61 // Metadata associated with the container.
62 envs map[string]string
63 labels map[string]string
64
65 // Image name used for this container.
66 image string
67
68 networkMode dockercontainer.NetworkMode
69
70 // Filesystem handler.
71 fsHandler common.FsHandler
72
73 // The IP address of the container
74 ipAddress string
75
76 metrics container.MetricSet
77
78 // the devicemapper poolname
79 thinPoolName string
80
81 // zfsParent is the parent for docker zfs
82 zfsParent string
83
84 // Reference to the container
85 reference info.ContainerReference
86
87 libcontainerHandler *containerlibcontainer.Handler
88}
89
90func newContainerHandler(
91 name string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected