final case class ContainerStatus(name: String, image: String, restartCount: Int, ready: Boolean, imageID: String, state: Option[ContainerState] = None, lastState: Option[ContainerState] = None, resources: Option[ResourceRequirements] = None, containerID: Option[String] = None, started: Option[Boolean] = None, allocatedResources: Option[Map[String, Quantity]] = None) extends Product with Serializable
ContainerStatus contains details for the current status of this container.
- Source
- ContainerStatus.scala
- Alphabetic
- By Inheritance
- ContainerStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ContainerStatus(name: String, image: String, restartCount: Int, ready: Boolean, imageID: String, state: Option[ContainerState] = None, lastState: Option[ContainerState] = None, resources: Option[ResourceRequirements] = None, containerID: Option[String] = None, started: Option[Boolean] = None, allocatedResources: Option[Map[String, Quantity]] = 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
- val allocatedResources: Option[Map[String, Quantity]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val containerID: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
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
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withAllocatedResources(value: Map[String, Quantity]): ContainerStatus
Returns a new data with allocatedResources 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