Class OperatorHubSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.config.v1.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 Summary
Constructors Constructor Description OperatorHubSpec()No args constructor for use in serializationOperatorHubSpec(Boolean disableAllDefaultSources, List<HubSource> sources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperatorHubSpecBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetDisableAllDefaultSources()disableAllDefaultSources allows you to disable all the default hub sources.List<HubSource>getSources()sources is the list of default hub sources and their configuration.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDisableAllDefaultSources(Boolean disableAllDefaultSources)disableAllDefaultSources allows you to disable all the default hub sources.voidsetSources(List<HubSource> sources)sources is the list of default hub sources and their configuration.OperatorHubSpecBuildertoBuilder()
-
-
-
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.
-
edit
public OperatorHubSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<OperatorHubSpecBuilder>
-
toBuilder
public OperatorHubSpecBuilder toBuilder()
-
-