Package io.kubernetes.client.proto
Interface V1.ContainerStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.ContainerStatus
,V1.ContainerStatus.Builder
- Enclosing class:
- V1
public static interface V1.ContainerStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionContainer's ID in the format 'docker://<container_id>'.com.google.protobuf.ByteString
Container's ID in the format 'docker://<container_id>'.getImage()
The image the container is running.com.google.protobuf.ByteString
The image the container is running.ImageID of the container's image.com.google.protobuf.ByteString
ImageID of the container's image.Details about the container's last termination condition.Details about the container's last termination condition.getName()
This must be a DNS_LABEL.com.google.protobuf.ByteString
This must be a DNS_LABEL.boolean
getReady()
Specifies whether the container has passed its readiness probe.int
The number of times the container has been restarted.boolean
Specifies whether the container has passed its startup probe.getState()
Details about the container's current condition.Details about the container's current condition.boolean
Container's ID in the format 'docker://<container_id>'.boolean
hasImage()
The image the container is running.boolean
ImageID of the container's image.boolean
Details about the container's last termination condition.boolean
hasName()
This must be a DNS_LABEL.boolean
hasReady()
Specifies whether the container has passed its readiness probe.boolean
The number of times the container has been restarted.boolean
Specifies whether the container has passed its startup probe.boolean
hasState()
Details about the container's current condition.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;
-
getName
String getName()This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
optional string name = 1;
-
hasState
boolean hasState()Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
getState
V1.ContainerState getState()Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
getStateOrBuilder
V1.ContainerStateOrBuilder getStateOrBuilder()Details about the container's current condition. +optional
optional .k8s.io.api.core.v1.ContainerState state = 2;
-
hasLastState
boolean hasLastState()Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
-
getLastState
V1.ContainerState getLastState()Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
-
getLastStateOrBuilder
V1.ContainerStateOrBuilder getLastStateOrBuilder()Details about the container's last termination condition. +optional
optional .k8s.io.api.core.v1.ContainerState lastState = 3;
-
hasReady
boolean hasReady()Specifies whether the container has passed its readiness probe.
optional bool ready = 4;
-
getReady
boolean getReady()Specifies whether the container has passed its readiness probe.
optional bool ready = 4;
-
hasRestartCount
boolean hasRestartCount()The number of times the container has been restarted.
optional int32 restartCount = 5;
-
getRestartCount
int getRestartCount()The number of times the container has been restarted.
optional int32 restartCount = 5;
-
hasImage
boolean hasImage()The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
-
getImage
String getImage()The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
-
getImageBytes
com.google.protobuf.ByteString getImageBytes()The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
optional string image = 6;
-
hasImageID
boolean hasImageID()ImageID of the container's image.
optional string imageID = 7;
-
getImageID
String getImageID()ImageID of the container's image.
optional string imageID = 7;
-
getImageIDBytes
com.google.protobuf.ByteString getImageIDBytes()ImageID of the container's image.
optional string imageID = 7;
-
hasContainerID
boolean hasContainerID()Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
-
getContainerID
String getContainerID()Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
-
getContainerIDBytes
com.google.protobuf.ByteString getContainerIDBytes()Container's ID in the format 'docker://<container_id>'. +optional
optional string containerID = 8;
-
hasStarted
boolean hasStarted()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. +optional
optional bool started = 9;
-
getStarted
boolean 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. +optional
optional bool started = 9;
-