Documentation
¶
Overview ¶
Package kicbs bootstrapper for kic
Package kicbs bootstrapper for kic
Index ¶
- type Bootstrapper
- func (k *Bootstrapper) DeleteCluster(config.KubernetesConfig) error
- func (k *Bootstrapper) GetAPIServerStatus(net.IP, int) (string, error)
- func (k *Bootstrapper) GetKubeletStatus() (string, error)
- func (k *Bootstrapper) LogCommands(bootstrapper.LogOptions) map[string]string
- func (k *Bootstrapper) PullImages(k8s config.KubernetesConfig) error
- func (k *Bootstrapper) SetupCerts(cfg config.KubernetesConfig) error
- func (k *Bootstrapper) StartCluster(k8s config.KubernetesConfig) error
- func (k *Bootstrapper) UpdateCluster(cfg config.MachineConfig) error
- func (k *Bootstrapper) WaitForCluster(k8s config.KubernetesConfig, timeout time.Duration) error
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 (*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
Click to show internal directories.
Click to hide internal directories.