component

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultPodWaitTimeOut5Minutes = time.Second * 300

DefaultPodWaitTimeOut5Minutes contains the period when a

Functions

func GetNodeMasterFileContent

func GetNodeMasterFileContent(namespace string) string

GetNodeMasterFileContent returns the dns address for the node master file

func NewDoguOperatorInstallerStep

func NewDoguOperatorInstallerStep(setupCtx *appcontext.SetupContext, k8sClient k8sClient) (*doguOperatorInstallerStep, error)

NewDoguOperatorInstallerStep creates new instance of the dogu operator and creates an unversioned client for apply dogu cr's

func NewEtcdClientInstallerStep

func NewEtcdClientInstallerStep(clientSet kubernetes.Interface, setupCtx *ctx.SetupContext) *etcdClientInstallerStep

NewEtcdClientInstallerStep creates step to install the etcd client.

func NewEtcdServerInstallerStep

func NewEtcdServerInstallerStep(setupCtx *appcontext.SetupContext, k8sClient k8sClient) (*etcdServerInstallerStep, error)

NewEtcdServerInstallerStep creates a step to install the etcd server.

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 NewServiceDiscoveryInstallerStep

func NewServiceDiscoveryInstallerStep(setupCtx *appcontext.SetupContext, k8sClient k8sClient) (*serviceDiscoveryInstallerStep, error)

NewServiceDiscoveryInstallerStep creates a step to install the k8s-service-discovery.

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

func PodTimeoutInSeconds() time.Duration

PodTimeoutInSeconds returns either DefaultPodWaitTimeOut5Minutes or a positive integer if set as EnvVar POD_TIMEOUT_SECS. See also podTimeOutInSecondsEnvVar

Types

This section is empty.

Jump to

Keyboard shortcuts

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