kicbs

package
v1.7.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Overview

Package kicbs bootstrapper for kic

Package kicbs bootstrapper for kic

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrapper

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

Bootstrapper is a bootstrapper using kicbs

func NewBootstrapper

func NewBootstrapper(api libmachine.API) (*Bootstrapper, error)

NewBootstrapper creates a new kicbs.Bootstrapper

func (*Bootstrapper) DeleteCluster

func (k *Bootstrapper) DeleteCluster(config.KubernetesConfig) error

func (*Bootstrapper) GetAPIServerStatus

func (k *Bootstrapper) GetAPIServerStatus(net.IP, int) (string, error)

func (*Bootstrapper) GetKubeletStatus

func (k *Bootstrapper) GetKubeletStatus() (string, error)

func (*Bootstrapper) LogCommands

func (k *Bootstrapper) LogCommands(bootstrapper.LogOptions) map[string]string

func (*Bootstrapper) PullImages

func (k *Bootstrapper) PullImages(k8s config.KubernetesConfig) error

PullImages downloads images that will be used by Kubernetes

func (*Bootstrapper) SetupCerts

func (k *Bootstrapper) SetupCerts(cfg config.KubernetesConfig) error

SetupCerts generates the certs the cluster

func (*Bootstrapper) StartCluster

func (k *Bootstrapper) StartCluster(k8s config.KubernetesConfig) error

StartCluster starts the cluster

func (*Bootstrapper) UpdateCluster

func (k *Bootstrapper) UpdateCluster(cfg config.MachineConfig) error

UpdateCluster updates the cluster

func (*Bootstrapper) WaitForCluster

func (k *Bootstrapper) WaitForCluster(k8s config.KubernetesConfig, timeout time.Duration) error

WaitForCluster blocks until the cluster appears to be healthy

Jump to

Keyboard shortcuts

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