PodSchedulingContextSpec

io.k8s.api.resource.v1alpha2.PodSchedulingContextSpec
See thePodSchedulingContextSpec companion object
final case class PodSchedulingContextSpec(potentialNodes: Option[Seq[String]], selectedNode: Option[String])

PodSchedulingContextSpec describes where resources for the Pod are needed.

Attributes

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

Members list

Value members

Concrete methods

def addPotentialNodes(newValues: String*): PodSchedulingContextSpec

Appends new values to potentialNodes

Appends new values to potentialNodes

Attributes

Source
PodSchedulingContextSpec.scala
def mapPotentialNodes(f: Seq[String] => Seq[String]): PodSchedulingContextSpec

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

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

Attributes

Source
PodSchedulingContextSpec.scala
def mapSelectedNode(f: String => String): PodSchedulingContextSpec

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

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

Attributes

Source
PodSchedulingContextSpec.scala
def withPotentialNodes(value: Seq[String]): PodSchedulingContextSpec

Returns a new data with potentialNodes set to new value

Returns a new data with potentialNodes set to new value

Attributes

Source
PodSchedulingContextSpec.scala

Returns a new data with selectedNode set to new value

Returns a new data with selectedNode set to new value

Attributes

Source
PodSchedulingContextSpec.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product