Class ClusterServiceVersionSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.operatorhub.v1alpha1.ClusterServiceVersionSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClusterServiceVersionSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterServiceVersionSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClusterServiceVersionSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterServiceVersionSpec()No args constructor for use in serializationClusterServiceVersionSpec(Map<String,String> annotations, APIServiceDefinitions apiservicedefinitions, CleanupSpec cleanup, CustomResourceDefinitions customresourcedefinitions, String description, String displayName, List<Icon> icon, NamedInstallStrategy install, List<InstallMode> installModes, List<String> keywords, Map<String,String> labels, List<AppLink> links, List<Maintainer> maintainers, String maturity, String minKubeVersion, List<io.fabric8.kubernetes.api.model.GroupVersionKind> nativeAPIs, AppLink provider, List<RelatedImage> relatedImages, String replaces, io.fabric8.kubernetes.api.model.LabelSelector selector, List<String> skips, String version, List<WebhookDescription> webhookdefinitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterServiceVersionSpecBuilderedit()Map<String,Object>getAdditionalProperties()Map<String,String>getAnnotations()Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.APIServiceDefinitionsgetApiservicedefinitions()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.CleanupSpecgetCleanup()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.CustomResourceDefinitionsgetCustomresourcedefinitions()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.StringgetDescription()Description of the operator.StringgetDisplayName()The name of the operator in display format.List<Icon>getIcon()The icon for this operator.NamedInstallStrategygetInstall()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.List<InstallMode>getInstallModes()InstallModes specify supported installation typesList<String>getKeywords()A list of keywords describing the operator.Map<String,String>getLabels()Map of string keys and values that can be used to organize and categorize (scope and select) objects.List<AppLink>getLinks()A list of links related to the operator.List<Maintainer>getMaintainers()A list of organizational entities maintaining the operator.StringgetMaturity()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.StringgetMinKubeVersion()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.List<io.fabric8.kubernetes.api.model.GroupVersionKind>getNativeAPIs()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.AppLinkgetProvider()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.List<RelatedImage>getRelatedImages()List any related images, or other container images that your Operator might require to perform their functions.StringgetReplaces()The name of a CSV this one replaces.io.fabric8.kubernetes.api.model.LabelSelectorgetSelector()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.List<String>getSkips()The name(s) of one or more CSV(s) that should be skipped in the upgrade graph.StringgetVersion()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.List<WebhookDescription>getWebhookdefinitions()ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAnnotations(Map<String,String> annotations)Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.voidsetApiservicedefinitions(APIServiceDefinitions apiservicedefinitions)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetCleanup(CleanupSpec cleanup)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetCustomresourcedefinitions(CustomResourceDefinitions customresourcedefinitions)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetDescription(String description)Description of the operator.voidsetDisplayName(String displayName)The name of the operator in display format.voidsetIcon(List<Icon> icon)The icon for this operator.voidsetInstall(NamedInstallStrategy install)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetInstallModes(List<InstallMode> installModes)InstallModes specify supported installation typesvoidsetKeywords(List<String> keywords)A list of keywords describing the operator.voidsetLabels(Map<String,String> labels)Map of string keys and values that can be used to organize and categorize (scope and select) objects.voidsetLinks(List<AppLink> links)A list of links related to the operator.voidsetMaintainers(List<Maintainer> maintainers)A list of organizational entities maintaining the operator.voidsetMaturity(String maturity)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetMinKubeVersion(String minKubeVersion)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetNativeAPIs(List<io.fabric8.kubernetes.api.model.GroupVersionKind> nativeAPIs)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetProvider(AppLink provider)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetRelatedImages(List<RelatedImage> relatedImages)List any related images, or other container images that your Operator might require to perform their functions.voidsetReplaces(String replaces)The name of a CSV this one replaces.voidsetSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetSkips(List<String> skips)The name(s) of one or more CSV(s) that should be skipped in the upgrade graph.voidsetVersion(String version)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.voidsetWebhookdefinitions(List<WebhookDescription> webhookdefinitions)ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.ClusterServiceVersionSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
ClusterServiceVersionSpec
public ClusterServiceVersionSpec()
No args constructor for use in serialization
-
ClusterServiceVersionSpec
public ClusterServiceVersionSpec(Map<String,String> annotations, APIServiceDefinitions apiservicedefinitions, CleanupSpec cleanup, CustomResourceDefinitions customresourcedefinitions, String description, String displayName, List<Icon> icon, NamedInstallStrategy install, List<InstallMode> installModes, List<String> keywords, Map<String,String> labels, List<AppLink> links, List<Maintainer> maintainers, String maturity, String minKubeVersion, List<io.fabric8.kubernetes.api.model.GroupVersionKind> nativeAPIs, AppLink provider, List<RelatedImage> relatedImages, String replaces, io.fabric8.kubernetes.api.model.LabelSelector selector, List<String> skips, String version, List<WebhookDescription> webhookdefinitions)
-
-
Method Detail
-
getAnnotations
public Map<String,String> getAnnotations()
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
-
setAnnotations
public void setAnnotations(Map<String,String> annotations)
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata.
-
getApiservicedefinitions
public APIServiceDefinitions getApiservicedefinitions()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setApiservicedefinitions
public void setApiservicedefinitions(APIServiceDefinitions apiservicedefinitions)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getCleanup
public CleanupSpec getCleanup()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setCleanup
public void setCleanup(CleanupSpec cleanup)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getCustomresourcedefinitions
public CustomResourceDefinitions getCustomresourcedefinitions()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setCustomresourcedefinitions
public void setCustomresourcedefinitions(CustomResourceDefinitions customresourcedefinitions)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getDescription
public String getDescription()
Description of the operator. Can include the features, limitations or use-cases of the operator.
-
setDescription
public void setDescription(String description)
Description of the operator. Can include the features, limitations or use-cases of the operator.
-
getDisplayName
public String getDisplayName()
The name of the operator in display format.
-
setDisplayName
public void setDisplayName(String displayName)
The name of the operator in display format.
-
getInstall
public NamedInstallStrategy getInstall()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setInstall
public void setInstall(NamedInstallStrategy install)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getInstallModes
public List<InstallMode> getInstallModes()
InstallModes specify supported installation types
-
setInstallModes
public void setInstallModes(List<InstallMode> installModes)
InstallModes specify supported installation types
-
setKeywords
public void setKeywords(List<String> keywords)
A list of keywords describing the operator.
-
getLabels
public Map<String,String> getLabels()
Map of string keys and values that can be used to organize and categorize (scope and select) objects.
-
setLabels
public void setLabels(Map<String,String> labels)
Map of string keys and values that can be used to organize and categorize (scope and select) objects.
-
getMaintainers
public List<Maintainer> getMaintainers()
A list of organizational entities maintaining the operator.
-
setMaintainers
public void setMaintainers(List<Maintainer> maintainers)
A list of organizational entities maintaining the operator.
-
getMaturity
public String getMaturity()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setMaturity
public void setMaturity(String maturity)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getMinKubeVersion
public String getMinKubeVersion()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setMinKubeVersion
public void setMinKubeVersion(String minKubeVersion)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getNativeAPIs
public List<io.fabric8.kubernetes.api.model.GroupVersionKind> getNativeAPIs()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setNativeAPIs
public void setNativeAPIs(List<io.fabric8.kubernetes.api.model.GroupVersionKind> nativeAPIs)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getProvider
public AppLink getProvider()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setProvider
public void setProvider(AppLink provider)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getRelatedImages
public List<RelatedImage> getRelatedImages()
List any related images, or other container images that your Operator might require to perform their functions. This list should also include operand images as well. All image references should be specified by digest (SHA) and not by tag. This field is only used during catalog creation and plays no part in cluster runtime.
-
setRelatedImages
public void setRelatedImages(List<RelatedImage> relatedImages)
List any related images, or other container images that your Operator might require to perform their functions. This list should also include operand images as well. All image references should be specified by digest (SHA) and not by tag. This field is only used during catalog creation and plays no part in cluster runtime.
-
getReplaces
public String getReplaces()
The name of a CSV this one replaces. Should match the `metadata.Name` field of the old CSV.
-
setReplaces
public void setReplaces(String replaces)
The name of a CSV this one replaces. Should match the `metadata.Name` field of the old CSV.
-
getSelector
public io.fabric8.kubernetes.api.model.LabelSelector getSelector()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setSelector
public void setSelector(io.fabric8.kubernetes.api.model.LabelSelector selector)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getSkips
public List<String> getSkips()
The name(s) of one or more CSV(s) that should be skipped in the upgrade graph. Should match the `metadata.Name` field of the CSV that should be skipped. This field is only used during catalog creation and plays no part in cluster runtime.
-
setSkips
public void setSkips(List<String> skips)
The name(s) of one or more CSV(s) that should be skipped in the upgrade graph. Should match the `metadata.Name` field of the CSV that should be skipped. This field is only used during catalog creation and plays no part in cluster runtime.
-
getVersion
public String getVersion()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setVersion
public void setVersion(String version)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
getWebhookdefinitions
public List<WebhookDescription> getWebhookdefinitions()
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
setWebhookdefinitions
public void setWebhookdefinitions(List<WebhookDescription> webhookdefinitions)
ClusterServiceVersionSpec declarations tell OLM how to install an operator that can manage apps for a given version.
-
edit
public ClusterServiceVersionSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterServiceVersionSpecBuilder>
-
toBuilder
public ClusterServiceVersionSpecBuilder toBuilder()
-
-