case class ContainerStatus(containerID: Optional[String] = Optional.Absent, image: String, imageID: String, lastState: Optional[ContainerState] = Optional.Absent, name: String, ready: Boolean, restartCount: Int, started: Optional[Boolean] = Optional.Absent, state: Optional[ContainerState] = Optional.Absent) extends Product with Serializable
ContainerStatus contains details for the current status of this container.
- containerID
Container's ID in the format 'docker://<container_id>'.
- image
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
- imageID
ImageID of the container's image.
- name
This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
- ready
Specifies whether the container has passed its readiness probe.
- restartCount
The number of times the container has been restarted.
- started
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.
- Alphabetic
- By Inheritance
- ContainerStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ContainerStatus(containerID: Optional[String] = Optional.Absent, image: String, imageID: String, lastState: Optional[ContainerState] = Optional.Absent, name: String, ready: Boolean, restartCount: Int, started: Optional[Boolean] = Optional.Absent, state: Optional[ContainerState] = Optional.Absent)
- containerID
Container's ID in the format 'docker://<container_id>'.
- image
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
- imageID
ImageID of the container's image.
- name
This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
- ready
Specifies whether the container has passed its readiness probe.
- restartCount
The number of times the container has been restarted.
- started
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.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val containerID: Optional[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getContainerID: IO[K8sFailure, String]
Container's ID in the format 'docker://<container_id>'.
Container's ID in the format 'docker://<container_id>'.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getImage: IO[K8sFailure, String]
The image the container is running.
The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images.
This effect always succeeds, it is safe to use the field image directly.
-
def
getImageID: IO[K8sFailure, String]
ImageID of the container's image.
ImageID of the container's image.
This effect always succeeds, it is safe to use the field imageID directly.
-
def
getLastState: IO[K8sFailure, ContainerState]
Gets lastState.
Gets lastState.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getName: IO[K8sFailure, String]
This must be a DNS_LABEL.
This must be a DNS_LABEL. Each container in a pod must have a unique name. Cannot be updated.
This effect always succeeds, it is safe to use the field name directly.
-
def
getReady: IO[K8sFailure, Boolean]
Specifies whether the container has passed its readiness probe.
Specifies whether the container has passed its readiness probe.
This effect always succeeds, it is safe to use the field ready directly.
-
def
getRestartCount: IO[K8sFailure, Int]
The number of times the container has been restarted.
The number of times the container has been restarted.
This effect always succeeds, it is safe to use the field restartCount directly.
-
def
getStarted: IO[K8sFailure, Boolean]
Specifies whether the container has passed its startup probe.
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.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getState: IO[K8sFailure, ContainerState]
Gets state.
Gets state.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val image: String
- val imageID: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastState: Optional[ContainerState]
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val ready: Boolean
- val restartCount: Int
- val started: Optional[Boolean]
- val state: Optional[ContainerState]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated