Class V1ContainerStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ContainerStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-12-05T08:14:34.919Z[Etc/UTC]")
public class V1ContainerStatus
extends Object
ContainerStatus contains details for the current status of this container.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontainerID
(String containerID) boolean
Container's ID in the format '<type>://<container_id>'.getImage()
The image the container is running.ImageID of the container's image.Get lastStategetName()
This must be a DNS_LABEL.getReady()
Specifies whether the container has passed its readiness probe.The number of times the container has been restarted.Specifies whether the container has passed its startup probe.getState()
Get stateint
hashCode()
lastState
(V1ContainerState lastState) restartCount
(Integer restartCount) void
setContainerID
(String containerID) void
void
setImageID
(String imageID) void
setLastState
(V1ContainerState lastState) void
void
void
setRestartCount
(Integer restartCount) void
setStarted
(Boolean started) void
setState
(V1ContainerState state) state
(V1ContainerState state) toString()
-
Field Details
-
SERIALIZED_NAME_CONTAINER_I_D
- See Also:
-
SERIALIZED_NAME_IMAGE
- See Also:
-
SERIALIZED_NAME_IMAGE_I_D
- See Also:
-
SERIALIZED_NAME_LAST_STATE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_READY
- See Also:
-
SERIALIZED_NAME_RESTART_COUNT
- See Also:
-
SERIALIZED_NAME_STARTED
- See Also:
-
SERIALIZED_NAME_STATE
- See Also:
-
-
Constructor Details
-
V1ContainerStatus
public V1ContainerStatus()
-
-
Method Details
-
containerID
-
getContainerID
Container's ID in the format '<type>://<container_id>'.- Returns:
- containerID
-
setContainerID
-
image
-
getImage
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.- Returns:
- image
-
setImage
-
imageID
-
getImageID
ImageID of the container's image.- Returns:
- imageID
-
setImageID
-
lastState
-
getLastState
Get lastState- Returns:
- lastState
-
setLastState
-
name
-
getName
This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.- Returns:
- name
-
setName
-
ready
-
getReady
Specifies whether the container has passed its readiness probe.- Returns:
- ready
-
setReady
-
restartCount
-
getRestartCount
The number of times the container has been restarted.- Returns:
- restartCount
-
setRestartCount
-
started
-
getStarted
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.- Returns:
- started
-
setStarted
-
state
-
getState
Get state- Returns:
- state
-
setState
-
equals
-
hashCode
public int hashCode() -
toString
-