Struct k8s_openapi::v1_11::api::core::v1::ContainerStatus[][src]

pub struct ContainerStatus {
    pub container_id: Option<String>,
    pub image: String,
    pub image_id: String,
    pub last_state: Option<ContainerState>,
    pub name: String,
    pub ready: bool,
    pub restart_count: i32,
    pub state: Option<ContainerState>,
}

ContainerStatus contains details for the current status of this container.

Fields

Container's ID in the format 'docker://<container_id>'.

The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images

ImageID of the container's image.

Details about the container's last termination condition.

This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.

Specifies whether the container has passed its readiness probe.

The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by GC.

Details about the container's current condition.

Trait Implementations

impl Clone for ContainerStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ContainerStatus
[src]

Formats the value using the given formatter. Read more

impl Default for ContainerStatus
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ContainerStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for ContainerStatus
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ContainerStatus
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations