Packages

case class PreferredSchedulingTerm(preference: NodeSelectorTerm, weight: Int) extends Product with Serializable

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).

weight

Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PreferredSchedulingTerm
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PreferredSchedulingTerm(preference: NodeSelectorTerm, weight: Int)

    weight

    Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

Value Members

  1. def getPreference: IO[K8sFailure, NodeSelectorTerm]

    Gets preference.

    Gets preference.

    This effect always succeeds, it is safe to use the field preference directly.

  2. def getWeight: IO[K8sFailure, Int]

    Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

    Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.

    This effect always succeeds, it is safe to use the field weight directly.

  3. val preference: NodeSelectorTerm
  4. val weight: Int