localkube

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenLocalkubeStartCmd

func GenLocalkubeStartCmd(kubernetesConfig config.KubernetesConfig) (string, error)

func GetLogsCommand

func GetLogsCommand(follow bool) (string, error)

func GetStartCommand

func GetStartCommand(kubernetesConfig config.KubernetesConfig) (string, error)

func GetStartCommandNoSystemd

func GetStartCommandNoSystemd(kubernetesConfig config.KubernetesConfig, localkubeStartCmd string) (string, error)

func GetStartCommandSystemd

func GetStartCommandSystemd(kubernetesConfig config.KubernetesConfig, localkubeStartCmd string) (string, error)

Types

type LocalkubeBootstrapper

type LocalkubeBootstrapper struct {
	// contains filtered or unexported fields
}

func NewLocalkubeBootstrapper

func NewLocalkubeBootstrapper(api libmachine.API) (*LocalkubeBootstrapper, error)

func (*LocalkubeBootstrapper) GetClusterLogsTo added in v0.26.0

func (lk *LocalkubeBootstrapper) GetClusterLogsTo(follow bool, out io.Writer) error

GetClusterLogs If follow is specified, it will tail the logs

func (*LocalkubeBootstrapper) GetClusterStatus

func (lk *LocalkubeBootstrapper) GetClusterStatus() (string, error)

GetClusterStatus gets the status of localkube from the host VM.

func (*LocalkubeBootstrapper) RestartCluster

func (lk *LocalkubeBootstrapper) RestartCluster(kubernetesConfig config.KubernetesConfig) error

func (*LocalkubeBootstrapper) SetupCerts

func (lk *LocalkubeBootstrapper) SetupCerts(k8s config.KubernetesConfig) error

func (*LocalkubeBootstrapper) StartCluster

func (lk *LocalkubeBootstrapper) StartCluster(kubernetesConfig config.KubernetesConfig) error

StartCluster starts a k8s cluster on the specified Host.

func (*LocalkubeBootstrapper) UpdateCluster

func (lk *LocalkubeBootstrapper) UpdateCluster(config config.KubernetesConfig) error

Jump to

Keyboard shortcuts

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