Class NodeStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.NodeStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<NodeStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class NodeStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<NodeStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
NodeStatus provides information about the current state of a particular node managed by this operator.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeStatus()No args constructor for use in serializationNodeStatus(Integer currentRevision, Integer lastFailedCount, String lastFailedReason, Integer lastFailedRevision, List<String> lastFailedRevisionErrors, String lastFailedTime, Integer lastFallbackCount, String nodeName, Integer targetRevision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeStatusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetCurrentRevision()currentRevision is the generation of the most recently successful deployment.IntegergetLastFailedCount()lastFailedCount is how often the installer pod of the last failed revision failed.StringgetLastFailedReason()lastFailedReason is a machine readable failure reason string.IntegergetLastFailedRevision()lastFailedRevision is the generation of the deployment we tried and failed to deploy.List<String>getLastFailedRevisionErrors()lastFailedRevisionErrors is a list of human readable errors during the failed deployment referenced in lastFailedRevision.StringgetLastFailedTime()NodeStatus provides information about the current state of a particular node managed by this operator.IntegergetLastFallbackCount()lastFallbackCount is how often a fallback to a previous revision happened.StringgetNodeName()nodeName is the name of the nodeIntegergetTargetRevision()targetRevision is the generation of the deployment we're trying to apply.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetCurrentRevision(Integer currentRevision)currentRevision is the generation of the most recently successful deployment.voidsetLastFailedCount(Integer lastFailedCount)lastFailedCount is how often the installer pod of the last failed revision failed.voidsetLastFailedReason(String lastFailedReason)lastFailedReason is a machine readable failure reason string.voidsetLastFailedRevision(Integer lastFailedRevision)lastFailedRevision is the generation of the deployment we tried and failed to deploy.voidsetLastFailedRevisionErrors(List<String> lastFailedRevisionErrors)lastFailedRevisionErrors is a list of human readable errors during the failed deployment referenced in lastFailedRevision.voidsetLastFailedTime(String lastFailedTime)NodeStatus provides information about the current state of a particular node managed by this operator.voidsetLastFallbackCount(Integer lastFallbackCount)lastFallbackCount is how often a fallback to a previous revision happened.voidsetNodeName(String nodeName)nodeName is the name of the nodevoidsetTargetRevision(Integer targetRevision)targetRevision is the generation of the deployment we're trying to apply.NodeStatusBuildertoBuilder()
-
-
-
Method Detail
-
getCurrentRevision
public Integer getCurrentRevision()
currentRevision is the generation of the most recently successful deployment. Can not be set on creation of a nodeStatus. Updates must only increase the value.
-
setCurrentRevision
public void setCurrentRevision(Integer currentRevision)
currentRevision is the generation of the most recently successful deployment. Can not be set on creation of a nodeStatus. Updates must only increase the value.
-
getLastFailedCount
public Integer getLastFailedCount()
lastFailedCount is how often the installer pod of the last failed revision failed.
-
setLastFailedCount
public void setLastFailedCount(Integer lastFailedCount)
lastFailedCount is how often the installer pod of the last failed revision failed.
-
getLastFailedReason
public String getLastFailedReason()
lastFailedReason is a machine readable failure reason string.
-
setLastFailedReason
public void setLastFailedReason(String lastFailedReason)
lastFailedReason is a machine readable failure reason string.
-
getLastFailedRevision
public Integer getLastFailedRevision()
lastFailedRevision is the generation of the deployment we tried and failed to deploy.
-
setLastFailedRevision
public void setLastFailedRevision(Integer lastFailedRevision)
lastFailedRevision is the generation of the deployment we tried and failed to deploy.
-
getLastFailedRevisionErrors
public List<String> getLastFailedRevisionErrors()
lastFailedRevisionErrors is a list of human readable errors during the failed deployment referenced in lastFailedRevision.
-
setLastFailedRevisionErrors
public void setLastFailedRevisionErrors(List<String> lastFailedRevisionErrors)
lastFailedRevisionErrors is a list of human readable errors during the failed deployment referenced in lastFailedRevision.
-
getLastFailedTime
public String getLastFailedTime()
NodeStatus provides information about the current state of a particular node managed by this operator.
-
setLastFailedTime
public void setLastFailedTime(String lastFailedTime)
NodeStatus provides information about the current state of a particular node managed by this operator.
-
getLastFallbackCount
public Integer getLastFallbackCount()
lastFallbackCount is how often a fallback to a previous revision happened.
-
setLastFallbackCount
public void setLastFallbackCount(Integer lastFallbackCount)
lastFallbackCount is how often a fallback to a previous revision happened.
-
getNodeName
public String getNodeName()
nodeName is the name of the node
-
setNodeName
public void setNodeName(String nodeName)
nodeName is the name of the node
-
getTargetRevision
public Integer getTargetRevision()
targetRevision is the generation of the deployment we're trying to apply. Can not be set on creation of a nodeStatus.
-
setTargetRevision
public void setTargetRevision(Integer targetRevision)
targetRevision is the generation of the deployment we're trying to apply. Can not be set on creation of a nodeStatus.
-
edit
public NodeStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<NodeStatusBuilder>
-
toBuilder
public NodeStatusBuilder toBuilder()
-
-