Documentation
¶
Index ¶
- Variables
- func GetNodeMasterFileContent(namespace string) string
- func NewComponentOperatorInstallerStep(setupCtx *appcontext.SetupContext, helmClient helmClient) *componentOperatorInstallerStep
- func NewEtcdClientInstallerStep(clientSet kubernetes.Interface, setupCtx *ctx.SetupContext) *etcdClientInstallerStep
- func NewInstallComponentsStep(client componentsClient, componentName string, componentNamespace string, ...) *installComponentsStep
- 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
Constants ¶
This section is empty.
Variables ¶
var DefaultComponentWaitTimeOut5Minutes = time.Second * 300
DefaultComponentWaitTimeOut5Minutes contains the default period of 5 minutes to wait for components to get installed
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 NewComponentOperatorInstallerStep ¶ added in v0.16.1
func NewComponentOperatorInstallerStep(setupCtx *appcontext.SetupContext, helmClient helmClient) *componentOperatorInstallerStep
NewComponentOperatorInstallerStep creates new instance of the component-operator
func NewEtcdClientInstallerStep ¶
func NewEtcdClientInstallerStep(clientSet kubernetes.Interface, setupCtx *ctx.SetupContext) *etcdClientInstallerStep
NewEtcdClientInstallerStep creates step to install the etcd client.
func NewInstallComponentsStep ¶ added in v0.16.1
func NewInstallComponentsStep(client componentsClient, componentName string, componentNamespace string, version string, namespace string) *installComponentsStep
NewInstallComponentsStep creates a new step responsible to apply a component resource to the cluster, and, thus, starting the component installation.
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, timeout time.Duration) *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
Types ¶
This section is empty.