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 upgrade task 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
Click to show internal directories.
Click to hide internal directories.