Documentation ¶
Index ¶
- func Add(cc *config.ClusterConfig, n config.Node, delOnFail bool) error
- func CacheAndLoadImagesInConfig(profiles []*config.Profile) error
- func CacheKubectlBinary(k8sVersion, binaryURL string) (string, error)
- func Delete(cc config.ClusterConfig, name string) (*config.Node, error)
- func ExitIfFatal(err error, force bool)
- func Name(index int) string
- func Provision(cc *config.ClusterConfig, n *config.Node, apiServer bool, delOnFail 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 CacheAndLoadImagesInConfig ¶
CacheAndLoadImagesInConfig loads the images currently in the config file called by 'start' and 'cache reload' commands.
func CacheKubectlBinary ¶
CacheKubectlBinary caches the kubectl binary
func ExitIfFatal ¶ added in v1.13.0
ExitIfFatal before exiting will try to check for different error types and provide advice if we know for sure what the error is
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, delOnFail 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.