c
com.coralogix.zio.k8s.model.core.v1
PreferredSchedulingTerm
Companion object PreferredSchedulingTerm
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
Ordering
- Alphabetic
- By Inheritance
Inherited
- PreferredSchedulingTerm
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
PreferredSchedulingTerm(preference: NodeSelectorTerm, weight: Int)
- weight
Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
Value Members
-
def
getPreference: IO[K8sFailure, NodeSelectorTerm]
Gets preference.
Gets preference.
This effect always succeeds, it is safe to use the field preference directly.
-
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.
- val preference: NodeSelectorTerm
- val weight: Int