installer

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

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

Installer is entrypoint for installation process

func NewInstaller

func NewInstaller(cluster *kubeoneapi.KubeOneCluster, logger *logrus.Logger) *Installer

NewInstaller returns a new installer, responsible for dispatching between the different supported Kubernetes versions and running the

func (*Installer) Install

func (i *Installer) Install(options *Options) error

Install run the installation process

func (*Installer) Reset

func (i *Installer) Reset(options *Options) error

Reset resets cluster: * destroys all the worker machines * kubeadm reset masters

type Options

type Options struct {
	Verbose         bool
	Manifest        string
	CredentialsFile string
	BackupFile      string
	DestroyWorkers  bool
	RemoveBinaries  bool
}

Options groups the various possible options for running the Kubernetes installation.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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