Class CatalogSourceSpec

    • 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
      • 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
      • setUpdateStrategy

        public void setUpdateStrategy​(UpdateStrategy updateStrategy)
      • getAdditionalProperties

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

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

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