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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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.
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val preference: NodeSelectorTerm
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val weight: Int
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated