Class MachineStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.MachineStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachineStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachineStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachineStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachineStatus defines the observed state of Machine- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachineStatus()No args constructor for use in serializationMachineStatus(List<io.fabric8.kubernetes.api.model.NodeAddress> addresses, String authoritativeAPI, List<Condition> conditions, String errorMessage, String errorReason, LastOperation lastOperation, String lastUpdated, io.fabric8.kubernetes.api.model.ObjectReference nodeRef, String phase, Object providerStatus, Long synchronizedGeneration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachineStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.NodeAddress>getAddresses()addresses is a list of addresses assigned to the machine.StringgetAuthoritativeAPI()authoritativeAPI is the API that is authoritative for this resource.List<Condition>getConditions()conditions defines the current state of the MachineStringgetErrorMessage()errorMessage will be set in the event that there is a terminal problem reconciling the Machine and will contain a more verbose string suitable for logging and human consumption.StringgetErrorReason()errorReason will be set in the event that there is a terminal problem reconciling the Machine and will contain a succinct value suitable for machine interpretation.LastOperationgetLastOperation()MachineStatus defines the observed state of MachineStringgetLastUpdated()MachineStatus defines the observed state of Machineio.fabric8.kubernetes.api.model.ObjectReferencegetNodeRef()MachineStatus defines the observed state of MachineStringgetPhase()phase represents the current phase of machine actuation.ObjectgetProviderStatus()MachineStatus defines the observed state of MachineLonggetSynchronizedGeneration()synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAddresses(List<io.fabric8.kubernetes.api.model.NodeAddress> addresses)addresses is a list of addresses assigned to the machine.voidsetAuthoritativeAPI(String authoritativeAPI)authoritativeAPI is the API that is authoritative for this resource.voidsetConditions(List<Condition> conditions)conditions defines the current state of the MachinevoidsetErrorMessage(String errorMessage)errorMessage will be set in the event that there is a terminal problem reconciling the Machine and will contain a more verbose string suitable for logging and human consumption.voidsetErrorReason(String errorReason)errorReason will be set in the event that there is a terminal problem reconciling the Machine and will contain a succinct value suitable for machine interpretation.voidsetLastOperation(LastOperation lastOperation)MachineStatus defines the observed state of MachinevoidsetLastUpdated(String lastUpdated)MachineStatus defines the observed state of MachinevoidsetNodeRef(io.fabric8.kubernetes.api.model.ObjectReference nodeRef)MachineStatus defines the observed state of MachinevoidsetPhase(String phase)phase represents the current phase of machine actuation.voidsetProviderStatus(Object providerStatus)MachineStatus defines the observed state of MachinevoidsetSynchronizedGeneration(Long synchronizedGeneration)synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with.MachineStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
MachineStatus
public MachineStatus()
No args constructor for use in serialization
-
MachineStatus
public MachineStatus(List<io.fabric8.kubernetes.api.model.NodeAddress> addresses, String authoritativeAPI, List<Condition> conditions, String errorMessage, String errorReason, LastOperation lastOperation, String lastUpdated, io.fabric8.kubernetes.api.model.ObjectReference nodeRef, String phase, Object providerStatus, Long synchronizedGeneration)
-
-
Method Detail
-
getAddresses
public List<io.fabric8.kubernetes.api.model.NodeAddress> getAddresses()
addresses is a list of addresses assigned to the machine. Queried from cloud provider, if available.
-
setAddresses
public void setAddresses(List<io.fabric8.kubernetes.api.model.NodeAddress> addresses)
addresses is a list of addresses assigned to the machine. Queried from cloud provider, if available.
-
getAuthoritativeAPI
public String getAuthoritativeAPI()
authoritativeAPI is the API that is authoritative for this resource. Valid values are MachineAPI, ClusterAPI and Migrating. This value is updated by the migration controller to reflect the authoritative API. Machine API and Cluster API controllers use this value to determine whether or not to reconcile the resource. When set to Migrating, the migration controller is currently performing the handover of authority from one API to the other.
-
setAuthoritativeAPI
public void setAuthoritativeAPI(String authoritativeAPI)
authoritativeAPI is the API that is authoritative for this resource. Valid values are MachineAPI, ClusterAPI and Migrating. This value is updated by the migration controller to reflect the authoritative API. Machine API and Cluster API controllers use this value to determine whether or not to reconcile the resource. When set to Migrating, the migration controller is currently performing the handover of authority from one API to the other.
-
getConditions
public List<Condition> getConditions()
conditions defines the current state of the Machine
-
setConditions
public void setConditions(List<Condition> conditions)
conditions defines the current state of the Machine
-
getErrorMessage
public String getErrorMessage()
errorMessage will be set in the event that there is a terminal problem reconciling the Machine and will contain a more verbose string suitable for logging and human consumption.This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the Machine's spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured.
Any transient errors that occur during the reconciliation of Machines can be added as events to the Machine object and/or logged in the controller's output.
-
setErrorMessage
public void setErrorMessage(String errorMessage)
errorMessage will be set in the event that there is a terminal problem reconciling the Machine and will contain a more verbose string suitable for logging and human consumption.This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the Machine's spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured.
Any transient errors that occur during the reconciliation of Machines can be added as events to the Machine object and/or logged in the controller's output.
-
getErrorReason
public String getErrorReason()
errorReason will be set in the event that there is a terminal problem reconciling the Machine and will contain a succinct value suitable for machine interpretation.This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the Machine's spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured.
Any transient errors that occur during the reconciliation of Machines can be added as events to the Machine object and/or logged in the controller's output.
-
setErrorReason
public void setErrorReason(String errorReason)
errorReason will be set in the event that there is a terminal problem reconciling the Machine and will contain a succinct value suitable for machine interpretation.This field should not be set for transitive errors that a controller faces that are expected to be fixed automatically over time (like service outages), but instead indicate that something is fundamentally wrong with the Machine's spec or the configuration of the controller, and that manual intervention is required. Examples of terminal errors would be invalid combinations of settings in the spec, values that are unsupported by the controller, or the responsible controller itself being critically misconfigured.
Any transient errors that occur during the reconciliation of Machines can be added as events to the Machine object and/or logged in the controller's output.
-
getLastOperation
public LastOperation getLastOperation()
MachineStatus defines the observed state of Machine
-
setLastOperation
public void setLastOperation(LastOperation lastOperation)
MachineStatus defines the observed state of Machine
-
getLastUpdated
public String getLastUpdated()
MachineStatus defines the observed state of Machine
-
setLastUpdated
public void setLastUpdated(String lastUpdated)
MachineStatus defines the observed state of Machine
-
getNodeRef
public io.fabric8.kubernetes.api.model.ObjectReference getNodeRef()
MachineStatus defines the observed state of Machine
-
setNodeRef
public void setNodeRef(io.fabric8.kubernetes.api.model.ObjectReference nodeRef)
MachineStatus defines the observed state of Machine
-
getPhase
public String getPhase()
phase represents the current phase of machine actuation. One of: Failed, Provisioning, Provisioned, Running, Deleting
-
setPhase
public void setPhase(String phase)
phase represents the current phase of machine actuation. One of: Failed, Provisioning, Provisioned, Running, Deleting
-
getProviderStatus
public Object getProviderStatus()
MachineStatus defines the observed state of Machine
-
setProviderStatus
public void setProviderStatus(Object providerStatus)
MachineStatus defines the observed state of Machine
-
getSynchronizedGeneration
public Long getSynchronizedGeneration()
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with. This field is set when the authoritative resource is updated and the sync controller has updated the non-authoritative resource to match.
-
setSynchronizedGeneration
public void setSynchronizedGeneration(Long synchronizedGeneration)
synchronizedGeneration is the generation of the authoritative resource that the non-authoritative resource is synchronised with. This field is set when the authoritative resource is updated and the sync controller has updated the non-authoritative resource to match.
-
edit
public MachineStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachineStatusBuilder>
-
toBuilder
public MachineStatusBuilder toBuilder()
-
-