final case class PodDisruptionBudgetStatus(disruptionsAllowed: Int, desiredHealthy: Int, expectedPods: Int, currentHealthy: Int, conditions: Option[Seq[Condition]] = None, disruptedPods: Option[Map[String, Time]] = None, observedGeneration: Option[Long] = None) extends Product with Serializable
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
- Alphabetic
- By Inheritance
- PodDisruptionBudgetStatus
- 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
addConditions(newValues: Condition*): PodDisruptionBudgetStatus
Appends new values to conditions
-
def
addDisruptedPods(newValues: (String, Time)*): PodDisruptionBudgetStatus
Adds new values to disruptedPods
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val conditions: Option[Seq[Condition]]
- val currentHealthy: Int
- val desiredHealthy: Int
- val disruptedPods: Option[Map[String, Time]]
- val disruptionsAllowed: Int
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val expectedPods: Int
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mapConditions(f: (Seq[Condition]) ⇒ Seq[Condition]): PodDisruptionBudgetStatus
if conditions has a value, transforms to the result of function
-
def
mapCurrentHealthy(f: (Int) ⇒ Int): PodDisruptionBudgetStatus
transforms currentHealthy to result of function
-
def
mapDesiredHealthy(f: (Int) ⇒ Int): PodDisruptionBudgetStatus
transforms desiredHealthy to result of function
-
def
mapDisruptedPods(f: (Map[String, Time]) ⇒ Map[String, Time]): PodDisruptionBudgetStatus
if disruptedPods has a value, transforms to the result of function
-
def
mapDisruptionsAllowed(f: (Int) ⇒ Int): PodDisruptionBudgetStatus
transforms disruptionsAllowed to result of function
-
def
mapExpectedPods(f: (Int) ⇒ Int): PodDisruptionBudgetStatus
transforms expectedPods to result of function
-
def
mapObservedGeneration(f: (Long) ⇒ Long): PodDisruptionBudgetStatus
if observedGeneration has a value, transforms to the result of function
-
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 observedGeneration: Option[Long]
-
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( ... )
-
def
withConditions(value: Seq[Condition]): PodDisruptionBudgetStatus
Returns a new data with conditions set to new value
-
def
withCurrentHealthy(value: Int): PodDisruptionBudgetStatus
Returns a new data with currentHealthy set to new value
-
def
withDesiredHealthy(value: Int): PodDisruptionBudgetStatus
Returns a new data with desiredHealthy set to new value
-
def
withDisruptedPods(value: Map[String, Time]): PodDisruptionBudgetStatus
Returns a new data with disruptedPods set to new value
-
def
withDisruptionsAllowed(value: Int): PodDisruptionBudgetStatus
Returns a new data with disruptionsAllowed set to new value
-
def
withExpectedPods(value: Int): PodDisruptionBudgetStatus
Returns a new data with expectedPods set to new value
-
def
withObservedGeneration(value: Long): PodDisruptionBudgetStatus
Returns a new data with observedGeneration set to new value