upgrader

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ForceUpgrade              bool
	UpgradeMachineDeployments bool
	Verbose                   bool
}

Options groups the various possible options for running KubeOne upgrade

type Upgrader

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

Upgrader is entrypoint for the upgrade process

func NewUpgrader

func NewUpgrader(cluster *config.Cluster, logger *logrus.Logger) *Upgrader

NewUpgrader returns a new upgrader, responsible for running the upgrade process

func (*Upgrader) Upgrade

func (u *Upgrader) Upgrade(options *Options) error

Upgrade run the upgrade process

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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