bootkube

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupBootstrapControlPlane added in v0.4.0

func CleanupBootstrapControlPlane(assetDir string, podManifestPath string) error

CleanupBootstrapControlPlane brings down the bootstrap control plane and cleans up the temporary secrets. This function is idempotent.

func CreateAssets

func CreateAssets(manifestDir string, timeout time.Duration) error

func CreateBootstrapControlPlane added in v0.4.0

func CreateBootstrapControlPlane(assetDir string, podManifestPath string) error

CreateBootstrapControlPlane seeds static manifests to the kubelet to launch the bootstrap control plane.

func NewBootkube

func NewBootkube(config Config) (*bootkube, error)

func NewStatusController

func NewStatusController(pods []string) (*statusController, error)

func UserOutput added in v0.1.5

func UserOutput(format string, a ...interface{})

All bootkube printing to stdout should go through this fmt.Printf wrapper. The stdout of bootkube should convey information useful to a human sitting at a terminal watching their cluster bootstrap itself. Otherwise the message should go to stderr.

func WaitUntilPodsRunning

func WaitUntilPodsRunning(pods []string, timeout time.Duration) error

Types

type Config

type Config struct {
	AssetDir        string
	PodManifestPath string
}

Jump to

Keyboard shortcuts

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