Documentation ¶
Index ¶
- Variables
- func Add(cc *config.ClusterConfig, name string, controlPlane bool, worker bool, ...) (*config.Node, error)
- func CacheAndLoadImagesInConfig() error
- func CacheKubectlBinary(k8sVerison string) (string, error)
- func Delete(cc config.ClusterConfig, name string) error
- func Retrieve(cc *config.ClusterConfig, name string) (*config.Node, int, error)
- func Save(cfg *config.ClusterConfig, node *config.Node) error
- func Start(mc config.ClusterConfig, n config.Node, primary bool, ...) (*kubeconfig.Settings, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DockerEnv contains the environment variables DockerEnv []string // DockerOpt contains the option parameters DockerOpt []string // ExtraOptions contains extra options (if any) ExtraOptions config.ExtraOptionSlice // AddonList contains the list of addons AddonList []string )
Functions ¶
func Add ¶
func Add(cc *config.ClusterConfig, name string, controlPlane bool, worker bool, k8sVersion string, profileName string) (*config.Node, error)
Add adds a new node config to an existing cluster.
func CacheAndLoadImagesInConfig ¶
func CacheAndLoadImagesInConfig() error
CacheAndLoadImagesInConfig loads the images currently in the config file called by 'start' and 'cache reload' commands.
func CacheKubectlBinary ¶
CacheKubectlBinary caches the kubectl binary
func Delete ¶
func Delete(cc config.ClusterConfig, name string) error
Delete stops and deletes the given node from the given cluster
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.