final case class NodeStatus(volumesInUse: Option[Seq[String]] = None, conditions: Option[Seq[NodeCondition]] = None, nodeInfo: Option[NodeSystemInfo] = None, volumesAttached: Option[Seq[AttachedVolume]] = None, phase: Option[String] = None, config: Option[NodeConfigStatus] = None, allocatable: Option[Map[String, Quantity]] = None, images: Option[Seq[ContainerImage]] = None, daemonEndpoints: Option[NodeDaemonEndpoints] = None, addresses: Option[Seq[NodeAddress]] = None, capacity: Option[Map[String, Quantity]] = None) extends Product with Serializable
NodeStatus is information about the current status of a node.
- Source
- NodeStatus.scala
- Alphabetic
- By Inheritance
- NodeStatus
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new NodeStatus(volumesInUse: Option[Seq[String]] = None, conditions: Option[Seq[NodeCondition]] = None, nodeInfo: Option[NodeSystemInfo] = None, volumesAttached: Option[Seq[AttachedVolume]] = None, phase: Option[String] = None, config: Option[NodeConfigStatus] = None, allocatable: Option[Map[String, Quantity]] = None, images: Option[Seq[ContainerImage]] = None, daemonEndpoints: Option[NodeDaemonEndpoints] = None, addresses: Option[Seq[NodeAddress]] = None, capacity: 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
addAddresses(newValues: NodeAddress*): NodeStatus
Appends new values to addresses
-
def
addAllocatable(newValues: (String, Quantity)*): NodeStatus
Adds new values to allocatable
-
def
addCapacity(newValues: (String, Quantity)*): NodeStatus
Adds new values to capacity
-
def
addConditions(newValues: NodeCondition*): NodeStatus
Appends new values to conditions
-
def
addImages(newValues: ContainerImage*): NodeStatus
Appends new values to images
-
def
addVolumesAttached(newValues: AttachedVolume*): NodeStatus
Appends new values to volumesAttached
-
def
addVolumesInUse(newValues: String*): NodeStatus
Appends new values to volumesInUse
- val addresses: Option[Seq[NodeAddress]]
- val allocatable: Option[Map[String, Quantity]]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val capacity: Option[Map[String, Quantity]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val conditions: Option[Seq[NodeCondition]]
- val config: Option[NodeConfigStatus]
- val daemonEndpoints: Option[NodeDaemonEndpoints]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val images: Option[Seq[ContainerImage]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapAddresses(f: (Seq[NodeAddress]) ⇒ Seq[NodeAddress]): NodeStatus
if addresses has a value, transforms to the result of function
-
def
mapAllocatable(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): NodeStatus
if allocatable has a value, transforms to the result of function
-
def
mapCapacity(f: (Map[String, Quantity]) ⇒ Map[String, Quantity]): NodeStatus
if capacity has a value, transforms to the result of function
-
def
mapConditions(f: (Seq[NodeCondition]) ⇒ Seq[NodeCondition]): NodeStatus
if conditions has a value, transforms to the result of function
-
def
mapConfig(f: (NodeConfigStatus) ⇒ NodeConfigStatus): NodeStatus
if config has a value, transforms to the result of function
-
def
mapDaemonEndpoints(f: (NodeDaemonEndpoints) ⇒ NodeDaemonEndpoints): NodeStatus
if daemonEndpoints has a value, transforms to the result of function
-
def
mapImages(f: (Seq[ContainerImage]) ⇒ Seq[ContainerImage]): NodeStatus
if images has a value, transforms to the result of function
-
def
mapNodeInfo(f: (NodeSystemInfo) ⇒ NodeSystemInfo): NodeStatus
if nodeInfo has a value, transforms to the result of function
-
def
mapPhase(f: (String) ⇒ String): NodeStatus
if phase has a value, transforms to the result of function
-
def
mapVolumesAttached(f: (Seq[AttachedVolume]) ⇒ Seq[AttachedVolume]): NodeStatus
if volumesAttached has a value, transforms to the result of function
-
def
mapVolumesInUse(f: (Seq[String]) ⇒ Seq[String]): NodeStatus
if volumesInUse has a value, transforms to the result of function
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeInfo: Option[NodeSystemInfo]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val phase: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val volumesAttached: Option[Seq[AttachedVolume]]
- val volumesInUse: Option[Seq[String]]
-
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
withAddresses(value: Seq[NodeAddress]): NodeStatus
Returns a new data with addresses set to new value
-
def
withAllocatable(value: Map[String, Quantity]): NodeStatus
Returns a new data with allocatable set to new value
-
def
withCapacity(value: Map[String, Quantity]): NodeStatus
Returns a new data with capacity set to new value
-
def
withConditions(value: Seq[NodeCondition]): NodeStatus
Returns a new data with conditions set to new value
-
def
withConfig(value: NodeConfigStatus): NodeStatus
Returns a new data with config set to new value
-
def
withDaemonEndpoints(value: NodeDaemonEndpoints): NodeStatus
Returns a new data with daemonEndpoints set to new value
-
def
withImages(value: Seq[ContainerImage]): NodeStatus
Returns a new data with images set to new value
-
def
withNodeInfo(value: NodeSystemInfo): NodeStatus
Returns a new data with nodeInfo set to new value
-
def
withPhase(value: String): NodeStatus
Returns a new data with phase set to new value
-
def
withVolumesAttached(value: Seq[AttachedVolume]): NodeStatus
Returns a new data with volumesAttached set to new value
-
def
withVolumesInUse(value: Seq[String]): NodeStatus
Returns a new data with volumesInUse set to new value