Packages

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

Instance Constructors

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

  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. def addAllocatedResourcesStatus(newValues: ResourceStatus*): ContainerStatus

    Appends new values to allocatedResourcesStatus

  6. def addVolumeMounts(newValues: VolumeMountStatus*): ContainerStatus

    Appends new values to volumeMounts

  7. val allocatedResources: Option[Map[String, Quantity]]
  8. val allocatedResourcesStatus: Option[Seq[ResourceStatus]]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  11. val containerID: Option[String]
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. val image: String
  15. val imageID: String
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. val lastState: Option[ContainerState]
  18. def mapAllocatedResources(f: (Map[String, Quantity]) => Map[String, Quantity]): ContainerStatus

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

  19. def mapAllocatedResourcesStatus(f: (Seq[ResourceStatus]) => Seq[ResourceStatus]): ContainerStatus

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

  20. def mapContainerID(f: (String) => String): ContainerStatus

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

  21. def mapImage(f: (String) => String): ContainerStatus

    transforms image to result of function

  22. def mapImageID(f: (String) => String): ContainerStatus

    transforms imageID to result of function

  23. def mapLastState(f: (ContainerState) => ContainerState): ContainerStatus

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

  24. def mapName(f: (String) => String): ContainerStatus

    transforms name to result of function

  25. def mapReady(f: (Boolean) => Boolean): ContainerStatus

    transforms ready to result of function

  26. def mapResources(f: (ResourceRequirements) => ResourceRequirements): ContainerStatus

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

  27. def mapRestartCount(f: (Int) => Int): ContainerStatus

    transforms restartCount to result of function

  28. def mapStarted(f: (Boolean) => Boolean): ContainerStatus

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

  29. def mapState(f: (ContainerState) => ContainerState): ContainerStatus

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

  30. def mapUser(f: (ContainerUser) => ContainerUser): ContainerStatus

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

  31. def mapVolumeMounts(f: (Seq[VolumeMountStatus]) => Seq[VolumeMountStatus]): ContainerStatus

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

  32. val name: String
  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  36. def productElementNames: Iterator[String]
    Definition Classes
    Product
  37. val ready: Boolean
  38. val resources: Option[ResourceRequirements]
  39. val restartCount: Int
  40. val started: Option[Boolean]
  41. val state: Option[ContainerState]
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. val user: Option[ContainerUser]
  44. val volumeMounts: Option[Seq[VolumeMountStatus]]
  45. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  46. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. def withAllocatedResources(value: Map[String, Quantity]): ContainerStatus

    Returns a new data with allocatedResources set to new value

  49. def withAllocatedResourcesStatus(value: Seq[ResourceStatus]): ContainerStatus

    Returns a new data with allocatedResourcesStatus set to new value

  50. def withContainerID(value: String): ContainerStatus

    Returns a new data with containerID set to new value

  51. def withImage(value: String): ContainerStatus

    Returns a new data with image set to new value

  52. def withImageID(value: String): ContainerStatus

    Returns a new data with imageID set to new value

  53. def withLastState(value: ContainerState): ContainerStatus

    Returns a new data with lastState set to new value

  54. def withName(value: String): ContainerStatus

    Returns a new data with name set to new value

  55. def withReady(value: Boolean): ContainerStatus

    Returns a new data with ready set to new value

  56. def withResources(value: ResourceRequirements): ContainerStatus

    Returns a new data with resources set to new value

  57. def withRestartCount(value: Int): ContainerStatus

    Returns a new data with restartCount set to new value

  58. def withStarted(value: Boolean): ContainerStatus

    Returns a new data with started set to new value

  59. def withState(value: ContainerState): ContainerStatus

    Returns a new data with state set to new value

  60. def withUser(value: ContainerUser): ContainerStatus

    Returns a new data with user set to new value

  61. def withVolumeMounts(value: Seq[VolumeMountStatus]): ContainerStatus

    Returns a new data with volumeMounts 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

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped