Class FeatureGateStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.FeatureGateStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<FeatureGateStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class FeatureGateStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<FeatureGateStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeatureGateStatus()No args constructor for use in serializationFeatureGateStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, List<FeatureGateDetails> featureGates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureGateStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.Condition>getConditions()conditions represent the observations of the current state.List<FeatureGateDetails>getFeatureGates()featureGates contains a list of enabled and disabled featureGates that are keyed by payloadVersion.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)conditions represent the observations of the current state.voidsetFeatureGates(List<FeatureGateDetails> featureGates)featureGates contains a list of enabled and disabled featureGates that are keyed by payloadVersion.FeatureGateStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
FeatureGateStatus
public FeatureGateStatus()
No args constructor for use in serialization
-
FeatureGateStatus
public FeatureGateStatus(List<io.fabric8.kubernetes.api.model.Condition> conditions, List<FeatureGateDetails> featureGates)
-
-
Method Detail
-
getConditions
public List<io.fabric8.kubernetes.api.model.Condition> getConditions()
conditions represent the observations of the current state. Known .status.conditions.type are: "DeterminationDegraded"
-
setConditions
public void setConditions(List<io.fabric8.kubernetes.api.model.Condition> conditions)
conditions represent the observations of the current state. Known .status.conditions.type are: "DeterminationDegraded"
-
getFeatureGates
public List<FeatureGateDetails> getFeatureGates()
featureGates contains a list of enabled and disabled featureGates that are keyed by payloadVersion. Operators other than the CVO and cluster-config-operator, must read the .status.featureGates, locate the version they are managing, find the enabled/disabled featuregates and make the operand and operator match. The enabled/disabled values for a particular version may change during the life of the cluster as various .spec.featureSet values are selected. Operators may choose to restart their processes to pick up these changes, but remembering past enable/disable lists is beyond the scope of this API and is the responsibility of individual operators. Only featureGates with .version in the ClusterVersion.status will be present in this list.
-
setFeatureGates
public void setFeatureGates(List<FeatureGateDetails> featureGates)
featureGates contains a list of enabled and disabled featureGates that are keyed by payloadVersion. Operators other than the CVO and cluster-config-operator, must read the .status.featureGates, locate the version they are managing, find the enabled/disabled featuregates and make the operand and operator match. The enabled/disabled values for a particular version may change during the life of the cluster as various .spec.featureSet values are selected. Operators may choose to restart their processes to pick up these changes, but remembering past enable/disable lists is beyond the scope of this API and is the responsibility of individual operators. Only featureGates with .version in the ClusterVersion.status will be present in this list.
-
edit
public FeatureGateStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<FeatureGateStatusBuilder>
-
toBuilder
public FeatureGateStatusBuilder toBuilder()
-
-