Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CatalogDeploymentName is the name of the pattern-ui-catalog Deployment CatalogDeploymentName = "patterns-operator-pattern-ui-catalog" // CatalogContainerName is the name of the container inside the catalog Deployment CatalogContainerName = "patterns-operator-pattern-ui-catalog" // CatalogConfigMapName is the name of the nginx config ConfigMap CatalogConfigMapName = "patterns-operator-pattern-ui-catalog" // CatalogServiceName is the name of the catalog Service CatalogServiceName = "patterns-operator-pattern-ui-catalog" // CatalogCertSecretName is the name of the serving cert Secret CatalogCertSecretName = "patterns-operator-pattern-ui-catalog-cert" // CatalogDefaultImage is the default catalog image CatalogDefaultImage = "quay.io/validatedpatterns/pattern-ui-catalog:stable-v1" )
View Source
const ( // PluginName is the name of the plugin and used at several places // this has to be the same as in the package.json in the plugin PluginName = "patterns-operator-console-plugin" // ServiceName is the name of the console plugin Service and must match the name of the Service in /bundle/manifests! ServiceName = "patterns-operator-console-plugin" // ServicePort is the port of the console plugin Service and must match the port of the Service in /bundle/manifests! ServicePort = 9443 // PatternCatalogServiceName is the name of the pattern-ui-catalog Service PatternCatalogServiceName = "patterns-operator-pattern-ui-catalog" // PatternCatalogServicePort is the port of the pattern-ui-catalog Service (TLS) PatternCatalogServicePort = 9444 // PatternCatalogProxyAlias is the proxy alias used in console plugin proxy configuration PatternCatalogProxyAlias = "pattern-ui-catalog" )
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateCatalog ¶
CreateOrUpdateCatalog creates or updates the pattern-ui-catalog ConfigMap, Service, and Deployment. If the operator ConfigMap contains a "catalog.image" key, that image is used instead of the built-in default.
func CreateOrUpdatePlugin ¶
CreateOrUpdatePlugin creates or updates the resources needed for the remediation console plugin. HEADS UP: consider cleanup of old resources in case of name changes or removals!
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.