Class V1alpha3DeviceTaintRuleStatus

java.lang.Object
io.kubernetes.client.openapi.models.V1alpha3DeviceTaintRuleStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2026-01-21T21:30:13.305152Z[Etc/UTC]", comments="Generator version: 7.18.0") public class V1alpha3DeviceTaintRuleStatus extends Object
DeviceTaintRuleStatus provides information about an on-going pod eviction.
  • Field Details

  • Constructor Details

    • V1alpha3DeviceTaintRuleStatus

      public V1alpha3DeviceTaintRuleStatus()
  • Method Details

    • conditions

      public V1alpha3DeviceTaintRuleStatus conditions(@Nullable List<V1Condition> conditions)
    • addConditionsItem

      public V1alpha3DeviceTaintRuleStatus addConditionsItem(V1Condition conditionsItem)
    • getConditions

      @Nullable public List<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:
      conditions
    • setConditions

      public void setConditions(@Nullable List<V1Condition> conditions)
    • 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
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      Parameters:
      jsonElement - JSON Element
      Throws:
      IOException - if the JSON Element is invalid with respect to V1alpha3DeviceTaintRuleStatus
    • fromJson

      public static V1alpha3DeviceTaintRuleStatus fromJson(String jsonString) throws IOException
      Create an instance of V1alpha3DeviceTaintRuleStatus given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of V1alpha3DeviceTaintRuleStatus
      Throws:
      IOException - if the JSON string is invalid with respect to V1alpha3DeviceTaintRuleStatus
    • toJson

      public String toJson()
      Convert an instance of V1alpha3DeviceTaintRuleStatus to an JSON string
      Returns:
      JSON string