node

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 41 Imported by: 1

Documentation

Index

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

func CacheKubectlBinary(k8sVerison string) (string, error)

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

func Name(index int) string

Name returns the appropriate name for the node given the current number of nodes

func Retrieve

func Retrieve(cc *config.ClusterConfig, name string) (*config.Node, int, error)

Retrieve finds the node by name in the given cluster

func Save

func Save(cfg *config.ClusterConfig, node *config.Node) error

Save saves a node to a cluster

func Start

func Start(cc config.ClusterConfig, n config.Node, existingAddons map[string]bool, apiServer bool) *kubeconfig.Settings

Start spins up a guest and starts the kubernetes node.

Types

This section is empty.

Jump to

Keyboard shortcuts

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