localkube

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2017 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenLocalkubeStartCmd

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

func GetLogsCommand

func GetLogsCommand(follow bool) (string, error)

func GetStartCommand

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

func GetStartCommandNoSystemd

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

func GetStartCommandSystemd

func GetStartCommandSystemd(kubernetesConfig bootstrapper.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) GetClusterLogs

func (lk *LocalkubeBootstrapper) GetClusterLogs(follow bool) (string, 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 bootstrapper.KubernetesConfig) error

func (*LocalkubeBootstrapper) SetupCerts

func (*LocalkubeBootstrapper) StartCluster

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

StartCluster starts a k8s cluster on the specified Host.

func (*LocalkubeBootstrapper) UpdateCluster

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

Jump to

Keyboard shortcuts

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