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

Struct crioContainerHandler

lib/container/crio/handler.go:35–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33)
34
35type crioContainerHandler struct {
36 client CrioClient
37 name string
38
39 machineInfoFactory info.MachineInfoFactory
40
41 // Absolute path to the cgroup hierarchies of this container.
42 // (e.g.: "cpu" -> "/sys/fs/cgroup/cpu/test")
43 cgroupPaths map[string]string
44
45 // the CRI-O storage driver
46 storageDriver storageDriver
47 fsInfo fs.FsInfo
48 rootfsStorageDir string
49
50 // Metadata associated with the container.
51 envs map[string]string
52 labels map[string]string
53
54 // TODO
55 // crio version handling...
56
57 // Image name used for this container.
58 image string
59
60 // The network mode of the container
61 // TODO
62
63 // Filesystem handler.
64 fsHandler common.FsHandler
65
66 // The IP address of the container
67 ipAddress string
68
69 includedMetrics container.MetricSet
70
71 reference info.ContainerReference
72
73 libcontainerHandler *containerlibcontainer.Handler
74 cgroupManager cgroups.Manager
75 rootFs string
76 pidKnown bool
77}
78
79var _ container.ContainerHandler = &crioContainerHandler{}
80

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected