ContainerStateTerminated

case class ContainerStateTerminated(containerID: Optional[String], exitCode: Int, finishedAt: Optional[Time], message: Optional[String], reason: Optional[String], signal: Optional[Int], startedAt: Optional[Time])

ContainerStateTerminated is a terminated state of a container.

Value Params
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

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

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.

Gets startedAt.

Gets startedAt.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product