Documentation ¶
Index ¶
- Constants
- func GetInstallationCRModificationFunc(componentsConfig []model.KymaComponentConfig) func(*v1alpha1.Installation)
- func NewInstallationConfiguration(globalConfg model.Configuration, componentsConfig []model.KymaComponentConfig) installation.Configuration
- type InstallationHandler
- type Service
- type ServiceCatalogClient
Constants ¶
View Source
const ( ClusterServiceBrokerNameLabel = "servicecatalog.k8s.io/spec.clusterServiceBrokerName" ClusterServiceClassRefNameLabel = "servicecatalog.k8s.io/spec.clusterServiceClassRef.name" )
Variables ¶
This section is empty.
Functions ¶
func GetInstallationCRModificationFunc ¶
func GetInstallationCRModificationFunc(componentsConfig []model.KymaComponentConfig) func(*v1alpha1.Installation)
func NewInstallationConfiguration ¶
func NewInstallationConfiguration(globalConfg model.Configuration, componentsConfig []model.KymaComponentConfig) installation.Configuration
Types ¶
type InstallationHandler ¶
type InstallationHandler func(*rest.Config, ...installation.InstallationOption) (installation.Installer, error)
type Service ¶
type Service interface { InstallKyma(runtimeId, kubeconfigRaw string, release model.Release, globalConfig model.Configuration, componentsConfig []model.KymaComponentConfig) error CheckInstallationState(kubeconfig *rest.Config) (installation.InstallationState, error) TriggerInstallation(kubeconfigRaw *rest.Config, release model.Release, globalConfig model.Configuration, componentsConfig []model.KymaComponentConfig) error TriggerUpgrade(kubeconfigRaw *rest.Config, release model.Release, globalConfig model.Configuration, componentsConfig []model.KymaComponentConfig) error TriggerUninstall(kubeconfig *rest.Config) error PerformCleanup(kubeconfig *rest.Config) error }
func NewInstallationService ¶
func NewInstallationService(installationTimeout time.Duration, installationHandler InstallationHandler, clusterCleanupResourceSelector string) Service
type ServiceCatalogClient ¶
func NewServiceCatalogClient ¶
func NewServiceCatalogClient(kubeconfig *rest.Config) (ServiceCatalogClient, error)
Click to show internal directories.
Click to hide internal directories.