| 40 | ) |
| 41 | |
| 42 | type 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 | |
| 90 | func newContainerHandler( |
| 91 | name string, |
nothing calls this directly
no outgoing calls
no test coverage detected