ContainerStatus

io.k8s.api.core.v1.ContainerStatus
See theContainerStatus companion object
final case class ContainerStatus(name: String, image: String, restartCount: Int, ready: Boolean, imageID: String, state: Option[ContainerState], lastState: Option[ContainerState], resources: Option[ResourceRequirements], containerID: Option[String], started: Option[Boolean], allocatedResources: Option[Map[String, Quantity]])

ContainerStatus contains details for the current status of this container.

Attributes

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

Members list

Value members

Concrete methods

def addAllocatedResources(newValues: (String, Quantity)*): ContainerStatus

Adds new values to allocatedResources

Adds new values to allocatedResources

Attributes

Source
ContainerStatus.scala
def mapAllocatedResources(f: Map[String, Quantity] => Map[String, Quantity]): ContainerStatus

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

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

Attributes

Source
ContainerStatus.scala
def mapContainerID(f: String => String): ContainerStatus

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

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

Attributes

Source
ContainerStatus.scala
def mapImage(f: String => String): ContainerStatus

transforms image to result of function

transforms image to result of function

Attributes

Source
ContainerStatus.scala
def mapImageID(f: String => String): ContainerStatus

transforms imageID to result of function

transforms imageID to result of function

Attributes

Source
ContainerStatus.scala

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

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

Attributes

Source
ContainerStatus.scala
def mapName(f: String => String): ContainerStatus

transforms name to result of function

transforms name to result of function

Attributes

Source
ContainerStatus.scala
def mapReady(f: Boolean => Boolean): ContainerStatus

transforms ready to result of function

transforms ready to result of function

Attributes

Source
ContainerStatus.scala

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

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

Attributes

Source
ContainerStatus.scala
def mapRestartCount(f: Int => Int): ContainerStatus

transforms restartCount to result of function

transforms restartCount to result of function

Attributes

Source
ContainerStatus.scala
def mapStarted(f: Boolean => Boolean): ContainerStatus

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

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

Attributes

Source
ContainerStatus.scala

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

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

Attributes

Source
ContainerStatus.scala
def withAllocatedResources(value: Map[String, Quantity]): ContainerStatus

Returns a new data with allocatedResources set to new value

Returns a new data with allocatedResources set to new value

Attributes

Source
ContainerStatus.scala
def withContainerID(value: String): ContainerStatus

Returns a new data with containerID set to new value

Returns a new data with containerID set to new value

Attributes

Source
ContainerStatus.scala
def withImage(value: String): ContainerStatus

Returns a new data with image set to new value

Returns a new data with image set to new value

Attributes

Source
ContainerStatus.scala
def withImageID(value: String): ContainerStatus

Returns a new data with imageID set to new value

Returns a new data with imageID set to new value

Attributes

Source
ContainerStatus.scala

Returns a new data with lastState set to new value

Returns a new data with lastState set to new value

Attributes

Source
ContainerStatus.scala
def withName(value: String): ContainerStatus

Returns a new data with name set to new value

Returns a new data with name set to new value

Attributes

Source
ContainerStatus.scala
def withReady(value: Boolean): ContainerStatus

Returns a new data with ready set to new value

Returns a new data with ready set to new value

Attributes

Source
ContainerStatus.scala

Returns a new data with resources set to new value

Returns a new data with resources set to new value

Attributes

Source
ContainerStatus.scala

Returns a new data with restartCount set to new value

Returns a new data with restartCount set to new value

Attributes

Source
ContainerStatus.scala
def withStarted(value: Boolean): ContainerStatus

Returns a new data with started set to new value

Returns a new data with started set to new value

Attributes

Source
ContainerStatus.scala

Returns a new data with state set to new value

Returns a new data with state set to new value

Attributes

Source
ContainerStatus.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product