Documentation
¶
Index ¶
- Variables
- func CreateComponentLabelSelector(name string) string
- func NewInstallComponentStep(client componentsClient, componentName string, ...) *installComponentStep
- func NewInstallHelmChartStep(namespace string, chartUrl string, helmClient helmClient) *installHelmChartStep
- func NewWaitForComponentStep(client componentsClient, componentName string, namespace string, ...) *waitForComponentStep
- func SplitChartString(chart string) (string, string, error)
- func SplitHelmNamespaceFromChartString(chartString string) (string, string)
- func TimeoutInSeconds() time.Duration
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultComponentWaitTimeOut30Minutes = time.Second * 1800
DefaultComponentWaitTimeOut30Minutes is the default timeout. Since the components are actual applied unordered we use a 30 Minutes timeout as default.
Functions ¶
func NewInstallComponentStep ¶
func NewInstallComponentStep(client componentsClient, componentName string, attributes appcontext.ComponentAttributes, namespace string) *installComponentStep
NewInstallComponentStep creates a new step responsible to apply a component resource to the cluster, and, thus, starting the component installation.
func NewInstallHelmChartStep ¶
func NewInstallHelmChartStep(namespace string, chartUrl string, helmClient helmClient) *installHelmChartStep
NewInstallHelmChartStep creates new instance of a k8s component chart
func NewWaitForComponentStep ¶
func NewWaitForComponentStep(client componentsClient, componentName string, namespace string, timeout time.Duration) *waitForComponentStep
NewWaitForComponentStep creates a new setup step which on waits for a component with a specific label
func TimeoutInSeconds ¶
TimeoutInSeconds returns either DefaultComponentWaitTimeOut30Minutes or a positive integer if set as EnvVar COMPONENT_TIMEOUT_SECS. See also componentTimeOutInSecondsEnvVar
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.