c
com.coralogix.zio.k8s.model.policy.v1beta1
PodDisruptionBudget
Companion object PodDisruptionBudget
case class PodDisruptionBudget(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[PodDisruptionBudgetSpec] = Optional.Absent, status: Optional[PodDisruptionBudgetStatus] = Optional.Absent) extends Product with Serializable
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PodDisruptionBudget
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PodDisruptionBudget(metadata: Optional[ObjectMeta] = Optional.Absent, spec: Optional[PodDisruptionBudgetSpec] = Optional.Absent, status: Optional[PodDisruptionBudgetStatus] = Optional.Absent)
Value Members
-
def
getMetadata: IO[K8sFailure, ObjectMeta]
Gets metadata.
Gets metadata.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getSpec: IO[K8sFailure, PodDisruptionBudgetSpec]
Gets spec.
Gets spec.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
-
def
getStatus: IO[K8sFailure, PodDisruptionBudgetStatus]
Gets status.
Gets status.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
- val metadata: Optional[ObjectMeta]
- val spec: Optional[PodDisruptionBudgetSpec]
- val status: Optional[PodDisruptionBudgetStatus]