Documentation ¶
Index ¶
- Variables
- func GetNodeMasterFileContent(namespace string) string
- func NewEtcdClientInstallerStep(clientSet kubernetes.Interface, setupCtx *ctx.SetupContext) *etcdClientInstallerStep
- func NewInstallComponentStep(client componentsClient, componentName string, ...) *installComponentStep
- func NewInstallHelmChartStep(namespace string, chartUrl string, helmClient helmClient) *installHelmChartStep
- func NewNodeMasterCreationStep(clusterConfig *rest.Config, targetNamespace string) (*nodeMasterCreationStep, error)
- func NewWaitForComponentStep(client componentsClient, labelSelector string, namespace string) *waitForComponentStep
- func NewWaitForPodStep(client kubernetes.Interface, labelSelector string, namespace string, ...) *waitForPodStep
- func PodTimeoutInSeconds() time.Duration
- func SplitChartString(chart string) (string, string, error)
- func SplitHelmNamespaceFromChartString(chartString string) (string, string)
Constants ¶
This section is empty.
Variables ¶
var DefaultPodWaitTimeOut5Minutes = time.Second * 300
DefaultPodWaitTimeOut5Minutes contains the period when a
Functions ¶
func GetNodeMasterFileContent ¶
GetNodeMasterFileContent returns the dns address for the node master file
func NewEtcdClientInstallerStep ¶
func NewEtcdClientInstallerStep(clientSet kubernetes.Interface, setupCtx *ctx.SetupContext) *etcdClientInstallerStep
NewEtcdClientInstallerStep creates step to install the etcd client.
func NewInstallComponentStep ¶ added in v0.18.0
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 ¶ added in v0.18.0
func NewInstallHelmChartStep(namespace string, chartUrl string, helmClient helmClient) *installHelmChartStep
NewInstallHelmChartStep creates new instance of a k8s component chart
func NewNodeMasterCreationStep ¶
func NewNodeMasterCreationStep(clusterConfig *rest.Config, targetNamespace string) (*nodeMasterCreationStep, error)
NewNodeMasterCreationStep create a new setup step responsible to create a node master config map pointing to the current etcd server.
func NewWaitForComponentStep ¶ added in v0.16.1
func NewWaitForComponentStep(client componentsClient, labelSelector string, namespace string) *waitForComponentStep
NewWaitForComponentStep creates a new setup step which on waits for a component with a specific label
func NewWaitForPodStep ¶
func NewWaitForPodStep(client kubernetes.Interface, labelSelector string, namespace string, timeout time.Duration) *waitForPodStep
NewWaitForPodStep creates a new setup step which on waits for a pod with a specific label
func PodTimeoutInSeconds ¶ added in v0.9.0
PodTimeoutInSeconds returns either DefaultPodWaitTimeOut5Minutes or a positive integer if set as EnvVar POD_TIMEOUT_SECS. See also podTimeOutInSecondsEnvVar
func SplitChartString ¶ added in v0.18.0
func SplitHelmNamespaceFromChartString ¶ added in v0.18.0
Types ¶
This section is empty.