config

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

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

type InstallationContext struct {
	Name      string
	Namespace string
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL