Class VersionAvailability
- java.lang.Object
-
- io.fabric8.openshift.api.model.operator.v1alpha1.VersionAvailability
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<VersionAvailabilityBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class VersionAvailability extends Object implements io.fabric8.kubernetes.api.builder.Editable<VersionAvailabilityBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
VersionAvailability gives information about the synchronization and operational status of a particular version of the component DEPRECATED: Use fields in v1.OperatorStatus instead- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VersionAvailability()No args constructor for use in serializationVersionAvailability(List<String> errors, List<GenerationHistory> generations, Integer readyReplicas, Integer updatedReplicas, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionAvailabilityBuilderedit()Map<String,Object>getAdditionalProperties()List<String>getErrors()errors indicates what failures are associated with the operator trying to manage this versionList<GenerationHistory>getGenerations()generations allows an operator to track what the generation of "important" resources was the last time we updated themIntegergetReadyReplicas()readyReplicas indicates how many replicas are ready and at the desired stateIntegergetUpdatedReplicas()updatedReplicas indicates how many replicas are at the desired stateStringgetVersion()version is the level this availability applies tovoidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetErrors(List<String> errors)errors indicates what failures are associated with the operator trying to manage this versionvoidsetGenerations(List<GenerationHistory> generations)generations allows an operator to track what the generation of "important" resources was the last time we updated themvoidsetReadyReplicas(Integer readyReplicas)readyReplicas indicates how many replicas are ready and at the desired statevoidsetUpdatedReplicas(Integer updatedReplicas)updatedReplicas indicates how many replicas are at the desired statevoidsetVersion(String version)version is the level this availability applies toVersionAvailabilityBuildertoBuilder()
-
-
-
Method Detail
-
getErrors
public List<String> getErrors()
errors indicates what failures are associated with the operator trying to manage this version
-
setErrors
public void setErrors(List<String> errors)
errors indicates what failures are associated with the operator trying to manage this version
-
getGenerations
public List<GenerationHistory> getGenerations()
generations allows an operator to track what the generation of "important" resources was the last time we updated them
-
setGenerations
public void setGenerations(List<GenerationHistory> generations)
generations allows an operator to track what the generation of "important" resources was the last time we updated them
-
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
-
getUpdatedReplicas
public Integer getUpdatedReplicas()
updatedReplicas indicates how many replicas are at the desired state
-
setUpdatedReplicas
public void setUpdatedReplicas(Integer updatedReplicas)
updatedReplicas indicates how many replicas are 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 VersionAvailabilityBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<VersionAvailabilityBuilder>
-
toBuilder
public VersionAvailabilityBuilder toBuilder()
-
-