ContainerStateTerminated

io.k8s.api.core.v1.ContainerStateTerminated
See theContainerStateTerminated companion object
final case class ContainerStateTerminated(exitCode: Int, reason: Option[String], startedAt: Option[Time], message: Option[String], finishedAt: Option[Time], containerID: Option[String], signal: Option[Int])

ContainerStateTerminated is a terminated state of a container.

Attributes

Companion
object
Source
ContainerStateTerminated.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def mapContainerID(f: String => String): ContainerStateTerminated

if containerID has a value, transforms to the result of function

if containerID has a value, transforms to the result of function

Attributes

Source
ContainerStateTerminated.scala

transforms exitCode to result of function

transforms exitCode to result of function

Attributes

Source
ContainerStateTerminated.scala

if finishedAt has a value, transforms to the result of function

if finishedAt has a value, transforms to the result of function

Attributes

Source
ContainerStateTerminated.scala
def mapMessage(f: String => String): ContainerStateTerminated

if message has a value, transforms to the result of function

if message has a value, transforms to the result of function

Attributes

Source
ContainerStateTerminated.scala
def mapReason(f: String => String): ContainerStateTerminated

if reason has a value, transforms to the result of function

if reason has a value, transforms to the result of function

Attributes

Source
ContainerStateTerminated.scala
def mapSignal(f: Int => Int): ContainerStateTerminated

if signal has a value, transforms to the result of function

if signal has a value, transforms to the result of function

Attributes

Source
ContainerStateTerminated.scala

if startedAt has a value, transforms to the result of function

if startedAt has a value, transforms to the result of function

Attributes

Source
ContainerStateTerminated.scala

Returns a new data with containerID set to new value

Returns a new data with containerID set to new value

Attributes

Source
ContainerStateTerminated.scala

Returns a new data with exitCode set to new value

Returns a new data with exitCode set to new value

Attributes

Source
ContainerStateTerminated.scala

Returns a new data with finishedAt set to new value

Returns a new data with finishedAt set to new value

Attributes

Source
ContainerStateTerminated.scala

Returns a new data with message set to new value

Returns a new data with message set to new value

Attributes

Source
ContainerStateTerminated.scala
def withReason(value: String): ContainerStateTerminated

Returns a new data with reason set to new value

Returns a new data with reason set to new value

Attributes

Source
ContainerStateTerminated.scala

Returns a new data with signal set to new value

Returns a new data with signal set to new value

Attributes

Source
ContainerStateTerminated.scala

Returns a new data with startedAt set to new value

Returns a new data with startedAt set to new value

Attributes

Source
ContainerStateTerminated.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product