Class FeatureGateStatus

    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)