final case class NodeSpec(externalID: Option[String] = None, taints: Option[Seq[Taint]] = None, configSource: Option[NodeConfigSource] = None, unschedulable: Option[Boolean] = None, podCIDR: Option[String] = None, providerID: Option[String] = None, podCIDRs: Option[Seq[String]] = None) extends Product with Serializable
NodeSpec describes the attributes that a node is created with.
- Source
- NodeSpec.scala
- Alphabetic
- By Inheritance
- NodeSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
addPodCIDRs(newValues: String*): NodeSpec
Appends new values to podCIDRs
-
def
addTaints(newValues: Taint*): NodeSpec
Appends new values to taints
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val configSource: Option[NodeConfigSource]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val externalID: Option[String]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapConfigSource(f: (NodeConfigSource) ⇒ NodeConfigSource): NodeSpec
if configSource has a value, transforms to the result of function
-
def
mapExternalID(f: (String) ⇒ String): NodeSpec
if externalID has a value, transforms to the result of function
-
def
mapPodCIDR(f: (String) ⇒ String): NodeSpec
if podCIDR has a value, transforms to the result of function
-
def
mapPodCIDRs(f: (Seq[String]) ⇒ Seq[String]): NodeSpec
if podCIDRs has a value, transforms to the result of function
-
def
mapProviderID(f: (String) ⇒ String): NodeSpec
if providerID has a value, transforms to the result of function
-
def
mapTaints(f: (Seq[Taint]) ⇒ Seq[Taint]): NodeSpec
if taints has a value, transforms to the result of function
-
def
mapUnschedulable(f: (Boolean) ⇒ Boolean): NodeSpec
if unschedulable has a value, transforms to the result of function
-
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 podCIDR: Option[String]
- val podCIDRs: Option[Seq[String]]
- val providerID: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val taints: Option[Seq[Taint]]
- val unschedulable: Option[Boolean]
-
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
withConfigSource(value: NodeConfigSource): NodeSpec
Returns a new data with configSource set to new value
-
def
withExternalID(value: String): NodeSpec
Returns a new data with externalID set to new value
-
def
withPodCIDR(value: String): NodeSpec
Returns a new data with podCIDR set to new value
-
def
withPodCIDRs(value: Seq[String]): NodeSpec
Returns a new data with podCIDRs set to new value
-
def
withProviderID(value: String): NodeSpec
Returns a new data with providerID set to new value
-
def
withTaints(value: Seq[Taint]): NodeSpec
Returns a new data with taints set to new value
-
def
withUnschedulable(value: Boolean): NodeSpec
Returns a new data with unschedulable set to new value