c
com.coralogix.zio.k8s.model.policy.v1beta1
PodDisruptionBudgetSpec
Companion object PodDisruptionBudgetSpec
case class PodDisruptionBudgetSpec(maxUnavailable: Optional[IntOrString] = Optional.Absent, minAvailable: Optional[IntOrString] = Optional.Absent, selector: Optional[LabelSelector] = Optional.Absent) extends Product with Serializable
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PodDisruptionBudgetSpec
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PodDisruptionBudgetSpec(maxUnavailable: Optional[IntOrString] = Optional.Absent, minAvailable: Optional[IntOrString] = Optional.Absent, selector: Optional[LabelSelector] = Optional.Absent)
Value Members
-
def
getMaxUnavailable: IO[K8sFailure, IntOrString]
Gets maxUnavailable.
Gets maxUnavailable.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getMinAvailable: IO[K8sFailure, IntOrString]
Gets minAvailable.
Gets minAvailable.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSelector: IO[K8sFailure, LabelSelector]
Gets selector.
Gets selector.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val maxUnavailable: Optional[IntOrString]
- val minAvailable: Optional[IntOrString]
- val selector: Optional[LabelSelector]