final case class ContainerStatus(name: String, image: String, restartCount: Int, ready: Boolean, imageID: String, state: Option[ContainerState] = None, lastState: Option[ContainerState] = None, containerID: Option[String] = None, started: Option[Boolean] = 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, lastState: Option[ContainerState] = None, containerID: Option[String] = None, started: Option[Boolean] = 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val containerID: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val image: String
- val imageID: String
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val lastState: Option[ContainerState]
- 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 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()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val ready: Boolean
- val restartCount: Int
- val started: Option[Boolean]
- val state: Option[ContainerState]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- 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 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