Packages

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.

Source
TopologySpreadConstraint.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TopologySpreadConstraint
  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 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)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addMatchLabelKeys(newValues: String*): TopologySpreadConstraint

    Appends new values to matchLabelKeys

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val labelSelector: Option[LabelSelector]
  12. def mapLabelSelector(f: (LabelSelector) ⇒ LabelSelector): TopologySpreadConstraint

    if labelSelector has a value, transforms to the result of function

  13. def mapMatchLabelKeys(f: (Seq[String]) ⇒ Seq[String]): TopologySpreadConstraint

    if matchLabelKeys has a value, transforms to the result of function

  14. def mapMaxSkew(f: (Int) ⇒ Int): TopologySpreadConstraint

    transforms maxSkew to result of function

  15. def mapMinDomains(f: (Int) ⇒ Int): TopologySpreadConstraint

    if minDomains has a value, transforms to the result of function

  16. def mapNodeAffinityPolicy(f: (String) ⇒ String): TopologySpreadConstraint

    if nodeAffinityPolicy has a value, transforms to the result of function

  17. def mapNodeTaintsPolicy(f: (String) ⇒ String): TopologySpreadConstraint

    if nodeTaintsPolicy has a value, transforms to the result of function

  18. def mapTopologyKey(f: (String) ⇒ String): TopologySpreadConstraint

    transforms topologyKey to result of function

  19. def mapWhenUnsatisfiable(f: (String) ⇒ String): TopologySpreadConstraint

    transforms whenUnsatisfiable to result of function

  20. val matchLabelKeys: Option[Seq[String]]
  21. val maxSkew: Int
  22. val minDomains: Option[Int]
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. val nodeAffinityPolicy: Option[String]
  25. val nodeTaintsPolicy: Option[String]
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. val topologyKey: String
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  33. val whenUnsatisfiable: String
  34. def withLabelSelector(value: LabelSelector): TopologySpreadConstraint

    Returns a new data with labelSelector set to new value

  35. def withMatchLabelKeys(value: Seq[String]): TopologySpreadConstraint

    Returns a new data with matchLabelKeys set to new value

  36. def withMaxSkew(value: Int): TopologySpreadConstraint

    Returns a new data with maxSkew set to new value

  37. def withMinDomains(value: Int): TopologySpreadConstraint

    Returns a new data with minDomains set to new value

  38. def withNodeAffinityPolicy(value: String): TopologySpreadConstraint

    Returns a new data with nodeAffinityPolicy set to new value

  39. def withNodeTaintsPolicy(value: String): TopologySpreadConstraint

    Returns a new data with nodeTaintsPolicy set to new value

  40. def withTopologyKey(value: String): TopologySpreadConstraint

    Returns a new data with topologyKey set to new value

  41. def withWhenUnsatisfiable(value: String): TopologySpreadConstraint

    Returns a new data with whenUnsatisfiable set to new value

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped