Class MachineOSConfigStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.machineconfiguration.v1.MachineOSConfigStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachineOSConfigStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachineOSConfigStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachineOSConfigStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachineOSConfigStatus describes the status this config object and relates it to the builds associated with this MachineOSConfig- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachineOSConfigStatus()No args constructor for use in serializationMachineOSConfigStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, String currentImagePullSpec, ObjectReference machineOSBuild, Long observedGeneration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineOSConfigStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions are state related conditions for the object.StringgetCurrentImagePullSpec()currentImagePullSpec is the fully qualified image pull spec used by the MCO to pull down the new OSImage.ObjectReferencegetMachineOSBuild()MachineOSConfigStatus describes the status this config object and relates it to the builds associated with this MachineOSConfigLonggetObservedGeneration()observedGeneration represents the generation of the MachineOSConfig object observed by the Machine Config Operator's build controller.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions are state related conditions for the object.voidsetCurrentImagePullSpec(String currentImagePullSpec)currentImagePullSpec is the fully qualified image pull spec used by the MCO to pull down the new OSImage.voidsetMachineOSBuild(ObjectReference machineOSBuild)MachineOSConfigStatus describes the status this config object and relates it to the builds associated with this MachineOSConfigvoidsetObservedGeneration(Long observedGeneration)observedGeneration represents the generation of the MachineOSConfig object observed by the Machine Config Operator's build controller.MachineOSConfigStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
MachineOSConfigStatus
public MachineOSConfigStatus()
No args constructor for use in serialization
-
MachineOSConfigStatus
public MachineOSConfigStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, String currentImagePullSpec, ObjectReference machineOSBuild, Long observedGeneration)
-
-
Method Detail
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
conditions are state related conditions for the object.
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
conditions are state related conditions for the object.
-
getCurrentImagePullSpec
public String getCurrentImagePullSpec()
currentImagePullSpec is the fully qualified image pull spec used by the MCO to pull down the new OSImage. This includes the sha256 image digest. This is generated when the Machine Config Operator's build controller successfully completes the build, and is populated from the corresponding MachineOSBuild object's FinalImagePushSpec. This may change after completion in reaction to spec changes that would cause a new image build, but will not be removed. The format of the image pull spec is: host[:port][/namespace]/name@sha256:<digest>, where the digest must be 64 characters long, and consist only of lowercase hexadecimal characters, a-f and 0-9. The length of the whole spec must be between 1 to 447 characters.
-
setCurrentImagePullSpec
public void setCurrentImagePullSpec(String currentImagePullSpec)
currentImagePullSpec is the fully qualified image pull spec used by the MCO to pull down the new OSImage. This includes the sha256 image digest. This is generated when the Machine Config Operator's build controller successfully completes the build, and is populated from the corresponding MachineOSBuild object's FinalImagePushSpec. This may change after completion in reaction to spec changes that would cause a new image build, but will not be removed. The format of the image pull spec is: host[:port][/namespace]/name@sha256:<digest>, where the digest must be 64 characters long, and consist only of lowercase hexadecimal characters, a-f and 0-9. The length of the whole spec must be between 1 to 447 characters.
-
getMachineOSBuild
public ObjectReference getMachineOSBuild()
MachineOSConfigStatus describes the status this config object and relates it to the builds associated with this MachineOSConfig
-
setMachineOSBuild
public void setMachineOSBuild(ObjectReference machineOSBuild)
MachineOSConfigStatus describes the status this config object and relates it to the builds associated with this MachineOSConfig
-
getObservedGeneration
public Long getObservedGeneration()
observedGeneration represents the generation of the MachineOSConfig object observed by the Machine Config Operator's build controller.
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
observedGeneration represents the generation of the MachineOSConfig object observed by the Machine Config Operator's build controller.
-
edit
public MachineOSConfigStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineOSConfigStatusBuilder>
-
toBuilder
public MachineOSConfigStatusBuilder toBuilder()
-
-