Class OperatorHubSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<OperatorHubSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class OperatorHubSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<OperatorHubSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    OperatorHubSpec defines the desired state of OperatorHub
    See Also:
    Serialized Form
    • Constructor Detail

      • OperatorHubSpec

        public OperatorHubSpec()
        No args constructor for use in serialization
      • OperatorHubSpec

        public OperatorHubSpec​(Boolean disableAllDefaultSources,
                               List<HubSource> sources)
    • Method Detail

      • getDisableAllDefaultSources

        public Boolean getDisableAllDefaultSources()
        disableAllDefaultSources allows you to disable all the default hub sources. If this is true, a specific entry in sources can be used to enable a default source. If this is false, a specific entry in sources can be used to disable or enable a default source.
      • setDisableAllDefaultSources

        public void setDisableAllDefaultSources​(Boolean disableAllDefaultSources)
        disableAllDefaultSources allows you to disable all the default hub sources. If this is true, a specific entry in sources can be used to enable a default source. If this is false, a specific entry in sources can be used to disable or enable a default source.
      • getSources

        public List<HubSource> getSources()
        sources is the list of default hub sources and their configuration. If the list is empty, it implies that the default hub sources are enabled on the cluster unless disableAllDefaultSources is true. If disableAllDefaultSources is true and sources is not empty, the configuration present in sources will take precedence. The list of default hub sources and their current state will always be reflected in the status block.
      • setSources

        public void setSources​(List<HubSource> sources)
        sources is the list of default hub sources and their configuration. If the list is empty, it implies that the default hub sources are enabled on the cluster unless disableAllDefaultSources is true. If disableAllDefaultSources is true and sources is not empty, the configuration present in sources will take precedence. The list of default hub sources and their current state will always be reflected in the status block.
      • getAdditionalProperties

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

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

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