final case class TopologySpreadConstraint(maxSkew: Int, topologyKey: String, whenUnsatisfiable: String, matchLabelKeys: Option[Seq[String]] = None, minDomains: Option[Int] = None, labelSelector: Option[LabelSelector] = None, nodeAffinityPolicy: Option[String] = None, nodeTaintsPolicy: Option[String] = None) extends Product with Serializable
TopologySpreadConstraint specifies how to spread matching pods among the given topology.
- Alphabetic
- By Inheritance
- TopologySpreadConstraint
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
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
-
def
addMatchLabelKeys(newValues: String*): TopologySpreadConstraint
Appends new values to matchLabelKeys
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val labelSelector: Option[LabelSelector]
-
def
mapLabelSelector(f: (LabelSelector) ⇒ LabelSelector): TopologySpreadConstraint
if labelSelector has a value, transforms to the result of function
-
def
mapMatchLabelKeys(f: (Seq[String]) ⇒ Seq[String]): TopologySpreadConstraint
if matchLabelKeys has a value, transforms to the result of function
-
def
mapMaxSkew(f: (Int) ⇒ Int): TopologySpreadConstraint
transforms maxSkew to result of function
-
def
mapMinDomains(f: (Int) ⇒ Int): TopologySpreadConstraint
if minDomains has a value, transforms to the result of function
-
def
mapNodeAffinityPolicy(f: (String) ⇒ String): TopologySpreadConstraint
if nodeAffinityPolicy has a value, transforms to the result of function
-
def
mapNodeTaintsPolicy(f: (String) ⇒ String): TopologySpreadConstraint
if nodeTaintsPolicy has a value, transforms to the result of function
-
def
mapTopologyKey(f: (String) ⇒ String): TopologySpreadConstraint
transforms topologyKey to result of function
-
def
mapWhenUnsatisfiable(f: (String) ⇒ String): TopologySpreadConstraint
transforms whenUnsatisfiable to result of function
- val matchLabelKeys: Option[Seq[String]]
- val maxSkew: Int
- val minDomains: Option[Int]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nodeAffinityPolicy: Option[String]
- val nodeTaintsPolicy: Option[String]
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val topologyKey: String
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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()
- val whenUnsatisfiable: String
-
def
withLabelSelector(value: LabelSelector): TopologySpreadConstraint
Returns a new data with labelSelector set to new value
-
def
withMatchLabelKeys(value: Seq[String]): TopologySpreadConstraint
Returns a new data with matchLabelKeys set to new value
-
def
withMaxSkew(value: Int): TopologySpreadConstraint
Returns a new data with maxSkew set to new value
-
def
withMinDomains(value: Int): TopologySpreadConstraint
Returns a new data with minDomains set to new value
-
def
withNodeAffinityPolicy(value: String): TopologySpreadConstraint
Returns a new data with nodeAffinityPolicy set to new value
-
def
withNodeTaintsPolicy(value: String): TopologySpreadConstraint
Returns a new data with nodeTaintsPolicy set to new value
-
def
withTopologyKey(value: String): TopologySpreadConstraint
Returns a new data with topologyKey set to new value
-
def
withWhenUnsatisfiable(value: String): TopologySpreadConstraint
Returns a new data with whenUnsatisfiable set to new value