Packages

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
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ContainerStatus
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllocatedResources(newValues: (String, Quantity)*): ContainerStatus

    Adds new values to allocatedResources

  5. val allocatedResources: Option[Map[String, Quantity]]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. val containerID: Option[String]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. val image: String
  12. val imageID: String
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val lastState: Option[ContainerState]
  15. def mapAllocatedResources(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): ContainerStatus

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

  16. def mapContainerID(f: (String) ⇒ String): ContainerStatus

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

  17. def mapImage(f: (String) ⇒ String): ContainerStatus

    transforms image to result of function

  18. def mapImageID(f: (String) ⇒ String): ContainerStatus

    transforms imageID to result of function

  19. def mapLastState(f: (ContainerState) ⇒ ContainerState): ContainerStatus

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

  20. def mapName(f: (String) ⇒ String): ContainerStatus

    transforms name to result of function

  21. def mapReady(f: (Boolean) ⇒ Boolean): ContainerStatus

    transforms ready to result of function

  22. def mapResources(f: (ResourceRequirements) ⇒ ResourceRequirements): ContainerStatus

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

  23. def mapRestartCount(f: (Int) ⇒ Int): ContainerStatus

    transforms restartCount to result of function

  24. def mapStarted(f: (Boolean) ⇒ Boolean): ContainerStatus

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

  25. def mapState(f: (ContainerState) ⇒ ContainerState): ContainerStatus

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

  26. val name: String
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. val ready: Boolean
  31. val resources: Option[ResourceRequirements]
  32. val restartCount: Int
  33. val started: Option[Boolean]
  34. val state: Option[ContainerState]
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def withAllocatedResources(value: Map[String, Quantity]): ContainerStatus

    Returns a new data with allocatedResources set to new value

  40. def withContainerID(value: String): ContainerStatus

    Returns a new data with containerID set to new value

  41. def withImage(value: String): ContainerStatus

    Returns a new data with image set to new value

  42. def withImageID(value: String): ContainerStatus

    Returns a new data with imageID set to new value

  43. def withLastState(value: ContainerState): ContainerStatus

    Returns a new data with lastState set to new value

  44. def withName(value: String): ContainerStatus

    Returns a new data with name set to new value

  45. def withReady(value: Boolean): ContainerStatus

    Returns a new data with ready set to new value

  46. def withResources(value: ResourceRequirements): ContainerStatus

    Returns a new data with resources set to new value

  47. def withRestartCount(value: Int): ContainerStatus

    Returns a new data with restartCount set to new value

  48. def withStarted(value: Boolean): ContainerStatus

    Returns a new data with started set to new value

  49. def withState(value: ContainerState): ContainerStatus

    Returns a new data with state set to new value

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped