bootkube

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2017 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApproveKubeletCSRs added in v0.3.8

func ApproveKubeletCSRs() error

ApproveKubeletCSRs indefinitely approves any CSRs submitted by Kubelet instances, that are in the process of bootstrapping their TLS assets, without making any kind of validation.

func CreateAssets

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

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, selfHostedEtcd bool) error

Types

type Config

type Config struct {
	AssetDir       string
	EtcdServer     *url.URL
	SelfHostedEtcd bool
}

Jump to

Keyboard shortcuts

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