Class CatalogSourceSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operatorhub.v1alpha1.CatalogSourceSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<CatalogSourceSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class CatalogSourceSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<CatalogSourceSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CatalogSourceSpec()No args constructor for use in serializationCatalogSourceSpec(String address, String configMap, String description, String displayName, GrpcPodConfig grpcPodConfig, Icon icon, String image, Integer priority, String publisher, List<String> secrets, String sourceType, UpdateStrategy updateStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CatalogSourceSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAddress()Address is a host that OLM can use to connect to a pre-existing registry.StringgetConfigMap()ConfigMap is the name of the ConfigMap to be used to back a configmap-server registry.StringgetDescription()StringgetDisplayName()MetadataGrpcPodConfiggetGrpcPodConfig()IcongetIcon()StringgetImage()Image is an operator-registry container image to instantiate a registry-server with.IntegergetPriority()Priority field assigns a weight to the catalog source to prioritize them so that it can be consumed by the dependency resolver.StringgetPublisher()List<String>getSecrets()Secrets represent set of secrets that can be used to access the contents of the catalog.StringgetSourceType()SourceType is the type of sourceUpdateStrategygetUpdateStrategy()voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAddress(String address)Address is a host that OLM can use to connect to a pre-existing registry.voidsetConfigMap(String configMap)ConfigMap is the name of the ConfigMap to be used to back a configmap-server registry.voidsetDescription(String description)voidsetDisplayName(String displayName)MetadatavoidsetGrpcPodConfig(GrpcPodConfig grpcPodConfig)voidsetIcon(Icon icon)voidsetImage(String image)Image is an operator-registry container image to instantiate a registry-server with.voidsetPriority(Integer priority)Priority field assigns a weight to the catalog source to prioritize them so that it can be consumed by the dependency resolver.voidsetPublisher(String publisher)voidsetSecrets(List<String> secrets)Secrets represent set of secrets that can be used to access the contents of the catalog.voidsetSourceType(String sourceType)SourceType is the type of sourcevoidsetUpdateStrategy(UpdateStrategy updateStrategy)CatalogSourceSpecBuildertoBuilder()
-
-
-
Method Detail
-
getAddress
public String getAddress()
Address is a host that OLM can use to connect to a pre-existing registry. Format: <registry-host or ip>:<port> Only used when SourceType = SourceTypeGrpc. Ignored when the Image field is set.
-
setAddress
public void setAddress(String address)
Address is a host that OLM can use to connect to a pre-existing registry. Format: <registry-host or ip>:<port> Only used when SourceType = SourceTypeGrpc. Ignored when the Image field is set.
-
getConfigMap
public String getConfigMap()
ConfigMap is the name of the ConfigMap to be used to back a configmap-server registry. Only used when SourceType = SourceTypeConfigmap or SourceTypeInternal.
-
setConfigMap
public void setConfigMap(String configMap)
ConfigMap is the name of the ConfigMap to be used to back a configmap-server registry. Only used when SourceType = SourceTypeConfigmap or SourceTypeInternal.
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getDisplayName
public String getDisplayName()
Metadata
-
setDisplayName
public void setDisplayName(String displayName)
Metadata
-
getGrpcPodConfig
public GrpcPodConfig getGrpcPodConfig()
-
setGrpcPodConfig
public void setGrpcPodConfig(GrpcPodConfig grpcPodConfig)
-
getIcon
public Icon getIcon()
-
setIcon
public void setIcon(Icon icon)
-
getImage
public String getImage()
Image is an operator-registry container image to instantiate a registry-server with. Only used when SourceType = SourceTypeGrpc. If present, the address field is ignored.
-
setImage
public void setImage(String image)
Image is an operator-registry container image to instantiate a registry-server with. Only used when SourceType = SourceTypeGrpc. If present, the address field is ignored.
-
getPriority
public Integer getPriority()
Priority field assigns a weight to the catalog source to prioritize them so that it can be consumed by the dependency resolver. Usage: Higher weight indicates that this catalog source is preferred over lower weighted catalog sources during dependency resolution. The range of the priority value can go from positive to negative in the range of int32. The default value to a catalog source with unassigned priority would be 0. The catalog source with the same priority values will be ranked lexicographically based on its name.
-
setPriority
public void setPriority(Integer priority)
Priority field assigns a weight to the catalog source to prioritize them so that it can be consumed by the dependency resolver. Usage: Higher weight indicates that this catalog source is preferred over lower weighted catalog sources during dependency resolution. The range of the priority value can go from positive to negative in the range of int32. The default value to a catalog source with unassigned priority would be 0. The catalog source with the same priority values will be ranked lexicographically based on its name.
-
getPublisher
public String getPublisher()
-
setPublisher
public void setPublisher(String publisher)
-
getSecrets
public List<String> getSecrets()
Secrets represent set of secrets that can be used to access the contents of the catalog. It is best to keep this list small, since each will need to be tried for every catalog entry.
-
setSecrets
public void setSecrets(List<String> secrets)
Secrets represent set of secrets that can be used to access the contents of the catalog. It is best to keep this list small, since each will need to be tried for every catalog entry.
-
getSourceType
public String getSourceType()
SourceType is the type of source
-
setSourceType
public void setSourceType(String sourceType)
SourceType is the type of source
-
getUpdateStrategy
public UpdateStrategy getUpdateStrategy()
-
setUpdateStrategy
public void setUpdateStrategy(UpdateStrategy updateStrategy)
-
edit
public CatalogSourceSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<CatalogSourceSpecBuilder>
-
toBuilder
public CatalogSourceSpecBuilder toBuilder()
-
-