create

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterOption

ClusterOption is a cluster creation option

func Retain

func Retain(retain bool) ClusterOption

Retain configures create to retain nodes after failing for debugging pourposes

func SetupKubernetes

func SetupKubernetes(setupKubernetes bool) ClusterOption

SetupKubernetes configures create command to setup kubernetes after creating nodes containers TODO: Refactor this. It is a temporary solution for a phased breakdown of different

operations, specifically create. see https://github.com/kubernetes-sigs/kind/issues/324

func WaitForReady

func WaitForReady(interval time.Duration) ClusterOption

WaitForReady configures create to use interval as maximum wait time for the control plane node to be ready

func WithConfigFile added in v0.5.0

func WithConfigFile(path string) ClusterOption

WithConfigFile configures creating the cluster using the config file at path

func WithNodeImage added in v0.5.0

func WithNodeImage(nodeImage string) ClusterOption

WithNodeImage overrides the image on all nodes in config as an easy way to change the Kubernetes version

func WithV1Alpha3 added in v0.5.0

func WithV1Alpha3(cluster *v1alpha3.Cluster) ClusterOption

WithV1Alpha3 configures creating the cluster with a v1alpha3 config

Jump to

Keyboard shortcuts

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