Documentation
¶
Index ¶
- Variables
- func GetNodeMasterFileContent(namespace string) string
- func NewDoguOperatorInstallerStep(setupCtx *appcontext.SetupContext, k8sClient k8sClient) (*doguOperatorInstallerStep, error)
- func NewEtcdClientInstallerStep(clientSet kubernetes.Interface, setupCtx *ctx.SetupContext) *etcdClientInstallerStep
- func NewEtcdServerInstallerStep(setupCtx *appcontext.SetupContext, k8sClient k8sClient) (*etcdServerInstallerStep, error)
- func NewNodeMasterCreationStep(clusterConfig *rest.Config, targetNamespace string) (*nodeMasterCreationStep, error)
- func NewServiceDiscoveryInstallerStep(setupCtx *appcontext.SetupContext, k8sClient k8sClient) (*serviceDiscoveryInstallerStep, error)
- func NewWaitForPodStep(client kubernetes.Interface, labelSelector string, namespace string, ...) *waitForPodStep
- func PodTimeoutInSeconds() time.Duration
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 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
PodTimeoutInSeconds returns either DefaultPodWaitTimeOut5Minutes or a positive integer if set as EnvVar POD_TIMEOUT_SECS. See also podTimeOutInSecondsEnvVar
Types ¶
This section is empty.