Documentation ¶
Index ¶
- Constants
- func UninstallServicesFromCluster() (success bool)
- func UninstallServicesFromNamespace(namespace string) (success bool)
- type ClusterWideServiceInstaller
- type NamespacedServiceInstaller
- type OlmClusterWideServiceInstaller
- type OlmNamespacedServiceInstaller
- type ServiceInstaller
- func GetAmqStreamsInstaller() ServiceInstaller
- func GetGrafanaInstaller() ServiceInstaller
- func GetHyperfoilInstaller() ServiceInstaller
- func GetHyperfoilNodeScraperInstaller() ServiceInstaller
- func GetInfinispanInstaller() (ServiceInstaller, error)
- func GetKafkaInstaller() ServiceInstaller
- func GetKeycloakInstaller() ServiceInstaller
- func GetKnativeEventingInstaller() ServiceInstaller
- func GetKnativeEventingKogitoInstaller() ServiceInstaller
- func GetMongoDbInstaller() ServiceInstaller
- func GetPrometheusInstaller() ServiceInstaller
- type YamlClusterWideServiceInstaller
- type YamlNamespacedServiceInstaller
Constants ¶
const ( // NodeScraperStartConfigMapName ConfigMap name for start script of Node scraper NodeScraperStartConfigMapName = "node-scraper-start" // NodeScraperStopConfigMapName ConfigMap name for stop script of Node scraper NodeScraperStopConfigMapName = "node-scraper-stop" )
Variables ¶
This section is empty.
Functions ¶
func UninstallServicesFromCluster ¶
func UninstallServicesFromCluster() (success bool)
UninstallServicesFromCluster uninstalls the cluster wide service from whole cluster. Returns false in case of any error while uninstalling.
func UninstallServicesFromNamespace ¶
UninstallServicesFromNamespace uninstalls all services from specific namespace. Returns false in case of any error while uninstalling.
Types ¶
type ClusterWideServiceInstaller ¶
type ClusterWideServiceInstaller interface { ServiceInstaller // contains filtered or unexported methods }
ClusterWideServiceInstaller is the API of cluster wide services
type NamespacedServiceInstaller ¶
type NamespacedServiceInstaller interface { ServiceInstaller // contains filtered or unexported methods }
NamespacedServiceInstaller is the API of namespaced services
type OlmClusterWideServiceInstaller ¶
type OlmClusterWideServiceInstaller struct { SubscriptionName string Channel string StartingCSV string Catalog func() framework.OperatorCatalog InstallationTimeoutInMinutes int // Return all CRs of this service which exists in this namespace GetAllClusterWideOlmCrsInNamespace func(string) ([]client.Object, error) // Cleanup functionality, will delete CRs without owner if not defined CleanupClusterWideOlmCrsInNamespace func(namespace string) bool }
OlmClusterWideServiceInstaller installs service using OLM, installed cluster wide
func (*OlmClusterWideServiceInstaller) Install ¶
func (installer *OlmClusterWideServiceInstaller) Install(namespace string) error
Install the cluster wide service using OLM into cloud
type OlmNamespacedServiceInstaller ¶
type OlmNamespacedServiceInstaller struct { SubscriptionName string Channel string StartingCSV string Catalog func() framework.OperatorCatalog InstallationTimeoutInMinutes int // Return all CRs of this service which exists in this namespace GetAllNamespacedOlmCrsInNamespace func(string) ([]client.Object, error) // Cleanup functionality, will delete CRs without owner if not defined CleanupNamespacedOlmCrsInNamespace func(namespace string) bool }
OlmNamespacedServiceInstaller installs service using OLM, installed to specific namespace
func (*OlmNamespacedServiceInstaller) Install ¶
func (installer *OlmNamespacedServiceInstaller) Install(namespace string) error
Install the namespaced service using OLM into cloud
type ServiceInstaller ¶
type ServiceInstaller interface { // Install the service into cloud to serve the namespace Install(namespace string) error // contains filtered or unexported methods }
ServiceInstaller is the API to install services
func GetAmqStreamsInstaller ¶
func GetAmqStreamsInstaller() ServiceInstaller
GetAmqStreamsInstaller returns AmqStreams installer
func GetGrafanaInstaller ¶
func GetGrafanaInstaller() ServiceInstaller
GetGrafanaInstaller returns Grafana installer
func GetHyperfoilInstaller ¶
func GetHyperfoilInstaller() ServiceInstaller
GetHyperfoilInstaller returns Hyperfoil installer
func GetHyperfoilNodeScraperInstaller ¶
func GetHyperfoilNodeScraperInstaller() ServiceInstaller
GetHyperfoilNodeScraperInstaller returns Hyperfoil Node scraper installer
func GetInfinispanInstaller ¶
func GetInfinispanInstaller() (ServiceInstaller, error)
GetInfinispanInstaller returns Infinispan installer
func GetKafkaInstaller ¶
func GetKafkaInstaller() ServiceInstaller
GetKafkaInstaller returns Kafka installer
func GetKeycloakInstaller ¶
func GetKeycloakInstaller() ServiceInstaller
GetKeycloakInstaller returns Keycloak installer
func GetKnativeEventingInstaller ¶
func GetKnativeEventingInstaller() ServiceInstaller
GetKnativeEventingInstaller returns KnativeEventing installer
func GetKnativeEventingKogitoInstaller ¶
func GetKnativeEventingKogitoInstaller() ServiceInstaller
GetKnativeEventingKogitoInstaller returns KnativeEventing KogitoSource installer
func GetMongoDbInstaller ¶
func GetMongoDbInstaller() ServiceInstaller
GetMongoDbInstaller returns MongoDB installer
func GetPrometheusInstaller ¶
func GetPrometheusInstaller() ServiceInstaller
GetPrometheusInstaller returns Prometheus installer
type YamlClusterWideServiceInstaller ¶
type YamlClusterWideServiceInstaller struct { // Install service for all namespaces InstallClusterYaml func() error // Namespace used for cluster wide service installation. InstallationNamespace string // Wait until the service is up and running WaitForClusterYamlServiceRunning func() error // Return all CRs of this service which exists in this namespace GetAllClusterYamlCrsInNamespace func(string) ([]client.Object, error) // Uninstall service from whole cluster UninstallClusterYaml func() error // Service name ClusterYamlServiceName string // Cleanup functionality, will delete CRs without owner if not defined CleanupClusterYamlCrsInNamespace func(namespace string) bool }
YamlClusterWideServiceInstaller installs service using YAML files applied to specific namespace
func (*YamlClusterWideServiceInstaller) Install ¶
func (installer *YamlClusterWideServiceInstaller) Install(namespace string) error
Install the cluster wide service using YAML files into cloud
type YamlNamespacedServiceInstaller ¶
type YamlNamespacedServiceInstaller struct { // Install service for specific namespaces InstallNamespacedYaml func(namespace string) error // Wait until the service is up and running WaitForNamespacedServiceRunning func(namespace string) error // Return all CRs of this service which exists in this namespace GetAllNamespaceYamlCrs func(string) ([]client.Object, error) // Uninstall service from namespace UninstallNamespaceYaml func(namespace string) error // Service name NamespacedYamlServiceName string // Cleanup functionality, will delete CRs without owner if not defined CleanupNamespaceYamlCrs func(namespace string) bool }
YamlNamespacedServiceInstaller installs service using YAML files applied to specific namespace
func (*YamlNamespacedServiceInstaller) Install ¶
func (installer *YamlNamespacedServiceInstaller) Install(namespace string) error
Install the namespaced service using YAML files into cloud