ContainerInfo holds information about a container.
| 220 | |
| 221 | // ContainerInfo holds information about a container. |
| 222 | type ContainerInfo struct { |
| 223 | State string // Either "active" or "stopped". |
| 224 | Events []string // List of events that occurred for the container. It currently includes only "oom" (Out Of Memory) event if it occurred. |
| 225 | HostIP string // The IP address of the gateway which controls the host side of the container's virtual ethernet pair. |
| 226 | ContainerIP string // The IP address of the container side of the container's virtual ethernet pair. |
| 227 | ContainerIPv6 string // The IPv6 address of the container side of the container's virtual ethernet pair. |
| 228 | ExternalIP string // |
| 229 | ContainerPath string // The path to the directory holding the container's files (both its control scripts and filesystem). |
| 230 | ProcessIDs []string // List of running processes. |
| 231 | Properties Properties // List of properties defined for the container. |
| 232 | MappedPorts []PortMapping // |
| 233 | } |
| 234 | |
| 235 | type ContainerInfoEntry struct { |
| 236 | Info ContainerInfo |
nothing calls this directly
no outgoing calls
no test coverage detected