Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstallationConfig ¶
func GetInstallationConfig() *installationConfig
GetInstallationConfig returns all non-secret installation parameters from the Installer environment variables
Types ¶
type InstallationContext ¶
InstallationContext describes properties of K8S Installation object that triggers installation process
type InstallationData ¶
type InstallationData struct { Context InstallationContext ExternalIPAddress string Domain string KymaVersion string URL string AzureBrokerTenantID string AzureBrokerClientID string AzureBrokerSubscriptionID string AzureBrokerClientSecret string ClusterTLSKey string ClusterTLSCert string RemoteEnvCa string RemoteEnvCaKey string RemoteEnvIP string K8sApiserverURL string K8sApiserverCa string UITestUser string UITestPassword string AdminGroup string EtcdBackupABSContainerName string EnableEtcdBackupOperator string EtcdBackupABSAccount string EtcdBackupABSKey string Components map[string]struct{} IsLocalInstallation func() bool }
InstallationData describes all installation attributes
func NewInstallationData ¶
func NewInstallationData(installation *v1alpha1.Installation, installationConfig *installationConfig) (*InstallationData, error)
NewInstallationData .
func (*InstallationData) ShouldInstallComponent ¶
func (installationData *InstallationData) ShouldInstallComponent(componentName string) bool
ShouldInstallComponent returns true if the provided component is on the list of desired components
Click to show internal directories.
Click to hide internal directories.