upgrade

package
v0.0.0-...-540bb61 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunUpgrade

func RunUpgrade(obj api.ArangoDeployment, status *api.DeploymentStatus, cache interfaces.Inspector) (bool, error)

Types

type Upgrade

type Upgrade interface {
	Version() api.Version

	ArangoDeployment(obj api.ArangoDeployment, status *api.DeploymentStatus, cache interfaces.Inspector) error
}

type Upgrades

type Upgrades []Upgrade

func (Upgrades) Copy

func (u Upgrades) Copy() Upgrades

func (Upgrades) Execute

func (u Upgrades) Execute(obj api.ArangoDeployment, status *api.DeploymentStatus, cache interfaces.Inspector) (bool, error)

func (Upgrades) Sort

func (u Upgrades) Sort() Upgrades

func (Upgrades) Verify

func (u Upgrades) Verify() error

Jump to

Keyboard shortcuts

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