PreferredSchedulingTerm

final case class PreferredSchedulingTerm(preference: NodeSelectorTerm, weight: Int)

An empty preferred scheduling term matches all objects with implicit weight 0 (i.e. it's a no-op). A null preferred scheduling term matches no objects (i.e. is also a no-op).

Source:
PreferredSchedulingTerm.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

transforms preference to result of function

transforms preference to result of function

Source:
PreferredSchedulingTerm.scala

transforms weight to result of function

transforms weight to result of function

Source:
PreferredSchedulingTerm.scala

Returns a new data with preference set to new value

Returns a new data with preference set to new value

Source:
PreferredSchedulingTerm.scala

Returns a new data with weight set to new value

Returns a new data with weight set to new value

Source:
PreferredSchedulingTerm.scala

Inherited methods

Inherited from:
Product