Class DeviceTaintRuleStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.resource.v1alpha3.DeviceTaintRuleStatus
-
- All Implemented Interfaces:
Editable<DeviceTaintRuleStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class DeviceTaintRuleStatus extends Object implements Editable<DeviceTaintRuleStatusBuilder>, KubernetesResource
DeviceTaintRuleStatus provides information about an on-going pod eviction.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DeviceTaintRuleStatus()No args constructor for use in serializationDeviceTaintRuleStatus(List<Condition> conditions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeviceTaintRuleStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<Condition>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.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<Condition> conditions)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.DeviceTaintRuleStatusBuildertoBuilder()
-
-
-
Method Detail
-
getConditions
public List<Condition> 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.
-
setConditions
public void setConditions(List<Condition> conditions)
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.
-
edit
public DeviceTaintRuleStatusBuilder edit()
- Specified by:
editin interfaceEditable<DeviceTaintRuleStatusBuilder>
-
toBuilder
public DeviceTaintRuleStatusBuilder toBuilder()
-
-