com.coralogix.zio.k8s.model.core.v1
ContainerStateTerminated
Companion object ContainerStateTerminated
case class ContainerStateTerminated(containerID: Optional[String] = Optional.Absent, exitCode: Int, finishedAt: Optional[Time] = Optional.Absent, message: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent, signal: Optional[Int] = Optional.Absent, startedAt: Optional[Time] = Optional.Absent) extends Product with Serializable
ContainerStateTerminated is a terminated state of a container.
- containerID
Container's ID in the format 'docker://<container_id>'
- exitCode
Exit status from the last termination of the container
- message
Message regarding the last termination of the container
- reason
(brief) reason from the last termination of the container
- signal
Signal from the last termination of the container
- Alphabetic
- By Inheritance
- ContainerStateTerminated
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ContainerStateTerminated(containerID: Optional[String] = Optional.Absent, exitCode: Int, finishedAt: Optional[Time] = Optional.Absent, message: Optional[String] = Optional.Absent, reason: Optional[String] = Optional.Absent, signal: Optional[Int] = Optional.Absent, startedAt: Optional[Time] = Optional.Absent)
- containerID
Container's ID in the format 'docker://<container_id>'
- exitCode
Exit status from the last termination of the container
- message
Message regarding the last termination of the container
- reason
(brief) reason from the last termination of the container
- signal
Signal from the last termination of the container
Value Members
- val containerID: Optional[String]
- val exitCode: Int
- val finishedAt: Optional[Time]
-
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
getExitCode: IO[K8sFailure, Int]
Exit status from the last termination of the container
Exit status from the last termination of the container
This effect always succeeds, it is safe to use the field exitCode directly.
-
def
getFinishedAt: IO[K8sFailure, Time]
Gets finishedAt.
Gets finishedAt.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMessage: IO[K8sFailure, String]
Message regarding the last termination of the container
Message regarding the last termination of the container
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getReason: IO[K8sFailure, String]
(brief) reason from the last termination of the container
(brief) reason from the last termination of the container
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSignal: IO[K8sFailure, Int]
Signal from the last termination of the container
Signal from the last termination of the container
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStartedAt: IO[K8sFailure, Time]
Gets startedAt.
Gets startedAt.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val message: Optional[String]
- val reason: Optional[String]
- val signal: Optional[Int]
- val startedAt: Optional[Time]