NodeSpec

io.k8s.api.core.v1.NodeSpec
See theNodeSpec companion object
final case class NodeSpec(externalID: Option[String], taints: Option[Seq[Taint]], configSource: Option[NodeConfigSource], unschedulable: Option[Boolean], podCIDR: Option[String], providerID: Option[String], podCIDRs: Option[Seq[String]])

NodeSpec describes the attributes that a node is created with.

Attributes

Companion
object
Source
NodeSpec.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addPodCIDRs(newValues: String*): NodeSpec

Appends new values to podCIDRs

Appends new values to podCIDRs

Attributes

Source
NodeSpec.scala
def addTaints(newValues: Taint*): NodeSpec

Appends new values to taints

Appends new values to taints

Attributes

Source
NodeSpec.scala

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

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

Attributes

Source
NodeSpec.scala
def mapExternalID(f: String => String): NodeSpec

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

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

Attributes

Source
NodeSpec.scala
def mapPodCIDR(f: String => String): NodeSpec

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

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

Attributes

Source
NodeSpec.scala
def mapPodCIDRs(f: (Seq[String]) => Seq[String]): NodeSpec

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

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

Attributes

Source
NodeSpec.scala
def mapProviderID(f: String => String): NodeSpec

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

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

Attributes

Source
NodeSpec.scala
def mapTaints(f: (Seq[Taint]) => Seq[Taint]): NodeSpec

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

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

Attributes

Source
NodeSpec.scala
def mapUnschedulable(f: Boolean => Boolean): NodeSpec

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

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

Attributes

Source
NodeSpec.scala

Returns a new data with configSource set to new value

Returns a new data with configSource set to new value

Attributes

Source
NodeSpec.scala
def withExternalID(value: String): NodeSpec

Returns a new data with externalID set to new value

Returns a new data with externalID set to new value

Attributes

Source
NodeSpec.scala
def withPodCIDR(value: String): NodeSpec

Returns a new data with podCIDR set to new value

Returns a new data with podCIDR set to new value

Attributes

Source
NodeSpec.scala
def withPodCIDRs(value: Seq[String]): NodeSpec

Returns a new data with podCIDRs set to new value

Returns a new data with podCIDRs set to new value

Attributes

Source
NodeSpec.scala
def withProviderID(value: String): NodeSpec

Returns a new data with providerID set to new value

Returns a new data with providerID set to new value

Attributes

Source
NodeSpec.scala
def withTaints(value: Seq[Taint]): NodeSpec

Returns a new data with taints set to new value

Returns a new data with taints set to new value

Attributes

Source
NodeSpec.scala
def withUnschedulable(value: Boolean): NodeSpec

Returns a new data with unschedulable set to new value

Returns a new data with unschedulable set to new value

Attributes

Source
NodeSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product