upgradesteps

package
v0.0.0-...-a56079f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(n string, f actionFunction) actionStep

Action returns a actionStep of name `n` which will execute the action function `f`. Errors from `f` are returned directly.

func Run

Run executes the provided steps in order until one fails or all steps are completed. The function returns an indication of the last-completed UpgradePhase any associated error.

Types

type UpgradeStep

type UpgradeStep interface {
	String() string
	// contains filtered or unexported methods
}

UpgradeStep is the interface for steps that the upgrade runner can execute.

Jump to

Keyboard shortcuts

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