Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Kubeadm is the kubeadm bootstrapper type
Kubeadm = "kubeadm"
)
Variables ¶
This section is empty.
Functions ¶
func GetCachedBinaryList ¶ added in v1.0.1
func GetCachedBinaryList() []string
GetCachedBinaryList returns the list of binaries
func GetCachedImageList ¶ added in v0.22.2
GetCachedImageList returns the list of images for a version
Types ¶
type Bootstrapper ¶
type Bootstrapper interface { // LabelAndUntaintNode applies minikube labels to node and removes NoSchedule taints from control-plane nodes. LabelAndUntaintNode(config.ClusterConfig, config.Node) error StartCluster(config.ClusterConfig) error UpdateCluster(config.ClusterConfig) error DeleteCluster(config.KubernetesConfig) error WaitForNode(config.ClusterConfig, config.Node, time.Duration) error JoinCluster(config.ClusterConfig, config.Node, string) error UpdateNode(config.ClusterConfig, config.Node, cruntime.Manager) error GenerateToken(config.ClusterConfig) (string, error) // LogCommands returns a map of log type to a command which will display that log. LogCommands(config.ClusterConfig, LogOptions) map[string]string // SetupCerts gets the generated credentials required to talk to the APIServer. SetupCerts(config.ClusterConfig, config.Node, cruntime.CommandRunner) error GetAPIServerStatus(string, int) (string, error) }
Bootstrapper contains all the methods needed to bootstrap a Kubernetes cluster
type LogOptions ¶ added in v0.34.0
type LogOptions struct { // Lines is the number of recent log lines to include, as in tail -n. Lines int // Follow is whether or not to actively follow the logs, as in tail -f. Follow bool }
LogOptions are options to be passed to LogCommands
Directories ¶
Path | Synopsis |
---|---|
Package bsutil package will eventually be renamed to kubeadm package after getting rid of older one
|
Package bsutil package will eventually be renamed to kubeadm package after getting rid of older one |
kverify
Package kverify verifies a running Kubernetes cluster is healthy
|
Package kverify verifies a running Kubernetes cluster is healthy |
Package images implements helpers for getting image names
|
Package images implements helpers for getting image names |
Click to show internal directories.
Click to hide internal directories.