MCPcopy Create free account
hub / github.com/cloudfoundry/garden / ContainerInfo

Struct ContainerInfo

container.go:222–233  ·  view source on GitHub ↗

ContainerInfo holds information about a container.

Source from the content-addressed store, hash-verified

220
221// ContainerInfo holds information about a container.
222type 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
235type ContainerInfoEntry struct {
236 Info ContainerInfo

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected