Class ContainerStatus
- java.lang.Object
-
- com.pulumi.kubernetes.core.v1.outputs.ContainerStatus
-
public final class ContainerStatus extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContainerStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerStatus.Builder
builder()
static ContainerStatus.Builder
builder(ContainerStatus defaults)
java.util.Optional<java.lang.String>
containerID()
java.lang.String
image()
java.lang.String
imageID()
java.util.Optional<ContainerState>
lastState()
java.lang.String
name()
java.lang.Boolean
ready()
java.lang.Integer
restartCount()
java.util.Optional<java.lang.Boolean>
started()
java.util.Optional<ContainerState>
state()
-
-
-
Method Detail
-
containerID
public java.util.Optional<java.lang.String> containerID()
- Returns:
- Container's ID in the format '<type>://<container_id>'.
-
image
public java.lang.String image()
- Returns:
- The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
-
imageID
public java.lang.String imageID()
- Returns:
- ImageID of the container's image.
-
lastState
public java.util.Optional<ContainerState> lastState()
- Returns:
- Details about the container's last termination condition.
-
name
public java.lang.String name()
- Returns:
- This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
-
ready
public java.lang.Boolean ready()
- Returns:
- Specifies whether the container has passed its readiness probe.
-
restartCount
public java.lang.Integer restartCount()
- Returns:
- The number of times the container has been restarted.
-
started
public java.util.Optional<java.lang.Boolean> started()
- Returns:
- Specifies whether the container has passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. Is always true when no startupProbe is defined.
-
state
public java.util.Optional<ContainerState> state()
- Returns:
- Details about the container's current condition.
-
builder
public static ContainerStatus.Builder builder()
-
builder
public static ContainerStatus.Builder builder(ContainerStatus defaults)
-
-