Class EtcdStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1.EtcdStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<EtcdStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class EtcdStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<EtcdStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EtcdStatus()No args constructor for use in serializationEtcdStatus(List<OperatorCondition> conditions, String controlPlaneHardwareSpeed, List<GenerationStatus> generations, Integer latestAvailableRevision, String latestAvailableRevisionReason, List<NodeStatus> nodeStatuses, Long observedGeneration, Integer readyReplicas, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EtcdStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<OperatorCondition>getConditions()conditions is a list of conditions and their statusStringgetControlPlaneHardwareSpeed()Possible enum values:List<GenerationStatus>getGenerations()generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.IntegergetLatestAvailableRevision()latestAvailableRevision is the deploymentID of the most recent deploymentStringgetLatestAvailableRevisionReason()latestAvailableRevisionReason describe the detailed reason for the most recent deploymentList<NodeStatus>getNodeStatuses()nodeStatuses track the deployment values and errors across individual nodesLonggetObservedGeneration()observedGeneration is the last generation change you've dealt withIntegergetReadyReplicas()readyReplicas indicates how many replicas are ready and at the desired stateStringgetVersion()version is the level this availability applies tovoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<OperatorCondition> conditions)conditions is a list of conditions and their statusvoidsetControlPlaneHardwareSpeed(String controlPlaneHardwareSpeed)Possible enum values:voidsetGenerations(List<GenerationStatus> generations)generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.voidsetLatestAvailableRevision(Integer latestAvailableRevision)latestAvailableRevision is the deploymentID of the most recent deploymentvoidsetLatestAvailableRevisionReason(String latestAvailableRevisionReason)latestAvailableRevisionReason describe the detailed reason for the most recent deploymentvoidsetNodeStatuses(List<NodeStatus> nodeStatuses)nodeStatuses track the deployment values and errors across individual nodesvoidsetObservedGeneration(Long observedGeneration)observedGeneration is the last generation change you've dealt withvoidsetReadyReplicas(Integer readyReplicas)readyReplicas indicates how many replicas are ready and at the desired statevoidsetVersion(String version)version is the level this availability applies toEtcdStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
EtcdStatus
public EtcdStatus()
No args constructor for use in serialization
-
EtcdStatus
public EtcdStatus(List<OperatorCondition> conditions, String controlPlaneHardwareSpeed, List<GenerationStatus> generations, Integer latestAvailableRevision, String latestAvailableRevisionReason, List<NodeStatus> nodeStatuses, Long observedGeneration, Integer readyReplicas, String version)
-
-
Method Detail
-
getConditions
public List<OperatorCondition> getConditions()
conditions is a list of conditions and their status
-
setConditions
public void setConditions(List<OperatorCondition> conditions)
conditions is a list of conditions and their status
-
getControlPlaneHardwareSpeed
public String getControlPlaneHardwareSpeed()
Possible enum values:- `"Slower"` provides more tolerance for slower hardware and/or higher latency networks. Sets (values subject to change): ETCD_HEARTBEAT_INTERVAL: 5x Standard ETCD_LEADER_ELECTION_TIMEOUT: 2.5x Standard
- `"Standard"` provides the normal tolerances for hardware speed and latency. Currently sets (values subject to change at any time): ETCD_HEARTBEAT_INTERVAL: 100ms ETCD_LEADER_ELECTION_TIMEOUT: 1000ms
-
setControlPlaneHardwareSpeed
public void setControlPlaneHardwareSpeed(String controlPlaneHardwareSpeed)
Possible enum values:- `"Slower"` provides more tolerance for slower hardware and/or higher latency networks. Sets (values subject to change): ETCD_HEARTBEAT_INTERVAL: 5x Standard ETCD_LEADER_ELECTION_TIMEOUT: 2.5x Standard
- `"Standard"` provides the normal tolerances for hardware speed and latency. Currently sets (values subject to change at any time): ETCD_HEARTBEAT_INTERVAL: 100ms ETCD_LEADER_ELECTION_TIMEOUT: 1000ms
-
getGenerations
public List<GenerationStatus> getGenerations()
generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.
-
setGenerations
public void setGenerations(List<GenerationStatus> generations)
generations are used to determine when an item needs to be reconciled or has changed in a way that needs a reaction.
-
getLatestAvailableRevision
public Integer getLatestAvailableRevision()
latestAvailableRevision is the deploymentID of the most recent deployment
-
setLatestAvailableRevision
public void setLatestAvailableRevision(Integer latestAvailableRevision)
latestAvailableRevision is the deploymentID of the most recent deployment
-
getLatestAvailableRevisionReason
public String getLatestAvailableRevisionReason()
latestAvailableRevisionReason describe the detailed reason for the most recent deployment
-
setLatestAvailableRevisionReason
public void setLatestAvailableRevisionReason(String latestAvailableRevisionReason)
latestAvailableRevisionReason describe the detailed reason for the most recent deployment
-
getNodeStatuses
public List<NodeStatus> getNodeStatuses()
nodeStatuses track the deployment values and errors across individual nodes
-
setNodeStatuses
public void setNodeStatuses(List<NodeStatus> nodeStatuses)
nodeStatuses track the deployment values and errors across individual nodes
-
getObservedGeneration
public Long getObservedGeneration()
observedGeneration is the last generation change you've dealt with
-
setObservedGeneration
public void setObservedGeneration(Long observedGeneration)
observedGeneration is the last generation change you've dealt with
-
getReadyReplicas
public Integer getReadyReplicas()
readyReplicas indicates how many replicas are ready and at the desired state
-
setReadyReplicas
public void setReadyReplicas(Integer readyReplicas)
readyReplicas indicates how many replicas are ready and at the desired state
-
getVersion
public String getVersion()
version is the level this availability applies to
-
setVersion
public void setVersion(String version)
version is the level this availability applies to
-
edit
public EtcdStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<EtcdStatusBuilder>
-
toBuilder
public EtcdStatusBuilder toBuilder()
-
-