upgradepath

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RegisteredHandlers = make([]*RegisteredHandler, 0)
View Source
var VersionDatas versionList

Functions

func AddHandler

func AddHandler(from, to int, fn handler)

func DefaultRollBackHandler added in v1.8.0

func DefaultRollBackHandler() error

func DefaultUpgradeHandler added in v1.8.0

func DefaultUpgradeHandler() error

func RegisterHandler added in v1.8.0

func RegisterHandler(fromVersion, toVersion string, fn handler)

func UpgradeWithBestPath

func UpgradeWithBestPath(from, to string) error

Types

type RegisteredHandler added in v1.8.0

type RegisteredHandler struct {
	FromVersion string
	ToVersion   string
	Fn          handler
}

Jump to

Keyboard shortcuts

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