final case class ContainerStatus(name: String, image: String, restartCount: Int, ready: Boolean, imageID: String, state: Option[ContainerState] = None, allocatedResourcesStatus: Option[Seq[ResourceStatus]] = None, lastState: Option[ContainerState] = None, resources: Option[ResourceRequirements] = None, containerID: Option[String] = None, started: Option[Boolean] = None, user: Option[ContainerUser] = None, allocatedResources: Option[Map[String, Quantity]] = None, volumeMounts: Option[Seq[VolumeMountStatus]] = None) extends Product with Serializable
ContainerStatus contains details for the current status of this container.
- Source
- ContainerStatus.scala
- Alphabetic
- By Inheritance
- ContainerStatus
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ContainerStatus(name: String, image: String, restartCount: Int, ready: Boolean, imageID: String, state: Option[ContainerState] = None, allocatedResourcesStatus: Option[Seq[ResourceStatus]] = None, lastState: Option[ContainerState] = None, resources: Option[ResourceRequirements] = None, containerID: Option[String] = None, started: Option[Boolean] = None, user: Option[ContainerUser] = None, allocatedResources: Option[Map[String, Quantity]] = None, volumeMounts: Option[Seq[VolumeMountStatus]] = None)
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
- def addAllocatedResources(newValues: (String, Quantity)*): ContainerStatus
Adds new values to allocatedResources
- def addAllocatedResourcesStatus(newValues: ResourceStatus*): ContainerStatus
Appends new values to allocatedResourcesStatus
- def addVolumeMounts(newValues: VolumeMountStatus*): ContainerStatus
Appends new values to volumeMounts
- val allocatedResources: Option[Map[String, Quantity]]
- val allocatedResourcesStatus: Option[Seq[ResourceStatus]]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- val containerID: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val image: String
- val imageID: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastState: Option[ContainerState]
- def mapAllocatedResources(f: (Map[String, Quantity]) => Map[String, Quantity]): ContainerStatus
if allocatedResources has a value, transforms to the result of function
- def mapAllocatedResourcesStatus(f: (Seq[ResourceStatus]) => Seq[ResourceStatus]): ContainerStatus
if allocatedResourcesStatus has a value, transforms to the result of function
- def mapContainerID(f: (String) => String): ContainerStatus
if containerID has a value, transforms to the result of function
- def mapImage(f: (String) => String): ContainerStatus
transforms image to result of function
- def mapImageID(f: (String) => String): ContainerStatus
transforms imageID to result of function
- def mapLastState(f: (ContainerState) => ContainerState): ContainerStatus
if lastState has a value, transforms to the result of function
- def mapName(f: (String) => String): ContainerStatus
transforms name to result of function
- def mapReady(f: (Boolean) => Boolean): ContainerStatus
transforms ready to result of function
- def mapResources(f: (ResourceRequirements) => ResourceRequirements): ContainerStatus
if resources has a value, transforms to the result of function
- def mapRestartCount(f: (Int) => Int): ContainerStatus
transforms restartCount to result of function
- def mapStarted(f: (Boolean) => Boolean): ContainerStatus
if started has a value, transforms to the result of function
- def mapState(f: (ContainerState) => ContainerState): ContainerStatus
if state has a value, transforms to the result of function
- def mapUser(f: (ContainerUser) => ContainerUser): ContainerStatus
if user has a value, transforms to the result of function
- def mapVolumeMounts(f: (Seq[VolumeMountStatus]) => Seq[VolumeMountStatus]): ContainerStatus
if volumeMounts has a value, transforms to the result of function
- val name: String
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val ready: Boolean
- val resources: Option[ResourceRequirements]
- val restartCount: Int
- val started: Option[Boolean]
- val state: Option[ContainerState]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val user: Option[ContainerUser]
- val volumeMounts: Option[Seq[VolumeMountStatus]]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withAllocatedResources(value: Map[String, Quantity]): ContainerStatus
Returns a new data with allocatedResources set to new value
- def withAllocatedResourcesStatus(value: Seq[ResourceStatus]): ContainerStatus
Returns a new data with allocatedResourcesStatus set to new value
- def withContainerID(value: String): ContainerStatus
Returns a new data with containerID set to new value
- def withImage(value: String): ContainerStatus
Returns a new data with image set to new value
- def withImageID(value: String): ContainerStatus
Returns a new data with imageID set to new value
- def withLastState(value: ContainerState): ContainerStatus
Returns a new data with lastState set to new value
- def withName(value: String): ContainerStatus
Returns a new data with name set to new value
- def withReady(value: Boolean): ContainerStatus
Returns a new data with ready set to new value
- def withResources(value: ResourceRequirements): ContainerStatus
Returns a new data with resources set to new value
- def withRestartCount(value: Int): ContainerStatus
Returns a new data with restartCount set to new value
- def withStarted(value: Boolean): ContainerStatus
Returns a new data with started set to new value
- def withState(value: ContainerState): ContainerStatus
Returns a new data with state set to new value
- def withUser(value: ContainerUser): ContainerStatus
Returns a new data with user set to new value
- def withVolumeMounts(value: Seq[VolumeMountStatus]): ContainerStatus
Returns a new data with volumeMounts set to new value