Class MachineConfigNodeStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.machineconfiguration.v1.MachineConfigNodeStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachineConfigNodeStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachineConfigNodeStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachineConfigNodeStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachineConfigNodeStatus holds the reported information on a particular machine config node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachineConfigNodeStatus()No args constructor for use in serializationMachineConfigNodeStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, MachineConfigNodeStatusMachineConfigVersion configVersion, List<IrreconcilableChangeDiff> irreconcilableChanges, Long observedGeneration, List<MachineConfigNodeStatusPinnedImageSet> pinnedImageSets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineConfigNodeStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions represent the observations of a machine config node's current state.MachineConfigNodeStatusMachineConfigVersiongetConfigVersion()MachineConfigNodeStatus holds the reported information on a particular machine config node.List<IrreconcilableChangeDiff>getIrreconcilableChanges()irreconcilableChanges is an optional field that contains the observed differences between this nodes configuration and the target rendered MachineConfig.LonggetObservedGeneration()observedGeneration represents the generation of the MachineConfigNode object observed by the Machine Config Operator's controller.List<MachineConfigNodeStatusPinnedImageSet>getPinnedImageSets()pinnedImageSets describes the current and desired pinned image sets for this node.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions represent the observations of a machine config node's current state.voidsetConfigVersion(MachineConfigNodeStatusMachineConfigVersion configVersion)MachineConfigNodeStatus holds the reported information on a particular machine config node.voidsetIrreconcilableChanges(List<IrreconcilableChangeDiff> irreconcilableChanges)irreconcilableChanges is an optional field that contains the observed differences between this nodes configuration and the target rendered MachineConfig.voidsetObservedGeneration(Long observedGeneration)observedGeneration represents the generation of the MachineConfigNode object observed by the Machine Config Operator's controller.voidsetPinnedImageSets(List<MachineConfigNodeStatusPinnedImageSet> pinnedImageSets)pinnedImageSets describes the current and desired pinned image sets for this node.MachineConfigNodeStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
MachineConfigNodeStatus
public MachineConfigNodeStatus()
No args constructor for use in serialization
-
MachineConfigNodeStatus
public MachineConfigNodeStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, MachineConfigNodeStatusMachineConfigVersion configVersion, List<IrreconcilableChangeDiff> irreconcilableChanges, Long observedGeneration, List<MachineConfigNodeStatusPinnedImageSet> pinnedImageSets)
-
-
Method Detail
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
conditions represent the observations of a machine config node's current state. Valid types are: UpdatePrepared, UpdateExecuted, UpdatePostActionComplete, UpdateComplete, Updated, Resumed, Drained, AppliedFilesAndOS, Cordoned, Uncordoned, RebootedNode, NodeDegraded, PinnedImageSetsProgressing, and PinnedImageSetsDegraded.
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
conditions represent the observations of a machine config node's current state. Valid types are: UpdatePrepared, UpdateExecuted, UpdatePostActionComplete, UpdateComplete, Updated, Resumed, Drained, AppliedFilesAndOS, Cordoned, Uncordoned, RebootedNode, NodeDegraded, PinnedImageSetsProgressing, and PinnedImageSetsDegraded.
-
getConfigVersion
public MachineConfigNodeStatusMachineConfigVersion getConfigVersion()
MachineConfigNodeStatus holds the reported information on a particular machine config node.
-
setConfigVersion
public void setConfigVersion(MachineConfigNodeStatusMachineConfigVersion configVersion)
MachineConfigNodeStatus holds the reported information on a particular machine config node.
-
getIrreconcilableChanges
public List<IrreconcilableChangeDiff> getIrreconcilableChanges()
irreconcilableChanges is an optional field that contains the observed differences between this nodes configuration and the target rendered MachineConfig. This field will be set when there are changes to the target rendered MachineConfig that can only be applied to new nodes joining the cluster. Entries must be unique, keyed on the fieldPath field. Must not exceed 32 entries.
-
setIrreconcilableChanges
public void setIrreconcilableChanges(List<IrreconcilableChangeDiff> irreconcilableChanges)
irreconcilableChanges is an optional field that contains the observed differences between this nodes configuration and the target rendered MachineConfig. This field will be set when there are changes to the target rendered MachineConfig that can only be applied to new nodes joining the cluster. Entries must be unique, keyed on the fieldPath field. Must not exceed 32 entries.
-
getObservedGeneration
public Long getObservedGeneration()
observedGeneration represents the generation of the MachineConfigNode object observed by the Machine Config Operator's controller. This field is updated when the controller observes a change to the desiredConfig in the configVersion of the machine config node spec.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
observedGeneration represents the generation of the MachineConfigNode object observed by the Machine Config Operator's controller. This field is updated when the controller observes a change to the desiredConfig in the configVersion of the machine config node spec.
-
getPinnedImageSets
public List<MachineConfigNodeStatusPinnedImageSet> getPinnedImageSets()
pinnedImageSets describes the current and desired pinned image sets for this node.
-
setPinnedImageSets
public void setPinnedImageSets(List<MachineConfigNodeStatusPinnedImageSet> pinnedImageSets)
pinnedImageSets describes the current and desired pinned image sets for this node.
-
edit
public MachineConfigNodeStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineConfigNodeStatusBuilder>
-
toBuilder
public MachineConfigNodeStatusBuilder toBuilder()
-
-