Documentation ¶
Index ¶
- func Add(cc *config.ClusterConfig, n config.Node) error
- func CacheAndLoadImagesInConfig() error
- func CacheKubectlBinary(k8sVerison string) (string, error)
- func Delete(cc config.ClusterConfig, name string) error
- func Name(index int) string
- func Provision(cc *config.ClusterConfig, n *config.Node, apiServer bool) (command.Runner, bool, libmachine.API, *host.Host, error)
- func Retrieve(cc *config.ClusterConfig, name string) (*config.Node, int, error)
- func Save(cfg *config.ClusterConfig, node *config.Node) error
- func Start(starter Starter, apiServer bool) (*kubeconfig.Settings, error)
- type Starter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
func Add(cc *config.ClusterConfig, n 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
func Name ¶ added in v1.9.0
Name returns the appropriate name for the node given the current number of nodes
func Provision ¶ added in v1.10.0
func Provision(cc *config.ClusterConfig, n *config.Node, apiServer bool) (command.Runner, bool, libmachine.API, *host.Host, error)
Provision provisions the machine/container for the node
Types ¶
Click to show internal directories.
Click to hide internal directories.