v040_041

package
v0.4.3-RC2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpgradeTask

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

UpgradeTask is the struct which implements the Task interface which can be used to perform the upgrade

func NewUpgradeTask

func NewUpgradeTask(from, to string, c client.Client) *UpgradeTask

NewUpgradeTask creates a new preupgrade with given client and specified `from` and `to` version

func (*UpgradeTask) IsSuccess

func (p *UpgradeTask) IsSuccess() error

IsSuccess returns error if the upgrade failed, at any step. Else nil will be returned

func (*UpgradeTask) PreUpgrade

func (p *UpgradeTask) PreUpgrade() bool

PreUpgrade runs the preupgrade tasks and returns whether it succeeded or not

Jump to

Keyboard shortcuts

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