Class V1alpha3DeviceTaintRuleStatus

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1alpha3DeviceTaintRuleStatus

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1alpha3DeviceTaintRuleStatus extends Object
DeviceTaintRuleStatus provides information about an on-going pod eviction.
  • Field Details

  • Constructor Details

    • V1alpha3DeviceTaintRuleStatus

      public V1alpha3DeviceTaintRuleStatus()
  • Method Details

    • getConditions

      public List<@Valid V1Condition> getConditions()
      Conditions provide information about the state of the DeviceTaintRule and the cluster at some point in time, in a machine-readable and human-readable format. The following condition is currently defined as part of this API, more may get added: - Type: EvictionInProgress - Status: True if there are currently pods which need to be evicted, False otherwise (includes the effects which don't cause eviction). - Reason: not specified, may change - Message: includes information about number of pending pods and already evicted pods in a human-readable format, updated periodically, may change For `effect: None`, the condition above gets set once for each change to the spec, with the message containing information about what would happen if the effect was `NoExecute`. This feedback can be used to decide whether changing the effect to `NoExecute` will work as intended. It only gets set once to avoid having to constantly update the status. Must have 8 or fewer entries.
      Returns:
      the conditions property value
    • setConditions

      public void setConditions(List<@Valid V1Condition> conditions)
      Set the conditions property value
      Parameters:
      conditions - property value to set
    • conditions

      public V1alpha3DeviceTaintRuleStatus conditions(List<@Valid V1Condition> conditions)
      Set conditions in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceTaintRuleStatus for chaining.
    • addConditionsItem

      public V1alpha3DeviceTaintRuleStatus addConditionsItem(V1Condition conditionsItem)
      Add an item to the conditions property in a chainable fashion.
      Returns:
      The same instance of V1alpha3DeviceTaintRuleStatus for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object