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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem(V1Condition conditionsItem) conditions(List<V1Condition> conditions) booleanCreate an instance of V1alpha3DeviceTaintRuleStatus given an JSON stringConditions provide information about the state of the DeviceTaintRule and the cluster at some point in time, in a machine-readable and human-readable format.inthashCode()voidsetConditions(List<V1Condition> conditions) toJson()Convert an instance of V1alpha3DeviceTaintRuleStatus to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONDITIONS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1alpha3DeviceTaintRuleStatus
public V1alpha3DeviceTaintRuleStatus()
-
-
Method Details
-
conditions
-
addConditionsItem
-
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
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
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
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
Convert an instance of V1alpha3DeviceTaintRuleStatus to an JSON string- Returns:
- JSON string
-