metadataupgrade

package
v21.11.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FirstMetadataVersion = "v20.06.0"
)

Variables

This section is empty.

Functions

func BackupMetadata

func BackupMetadata(svc iaas.Service, filename string) fail.Error

BackupMetadata creates a tar.gz archive of svc metadata content, with current date/time in name

func Upgrade

func Upgrade(svc iaas.Service, from, to string, dryRun, doNotBackup bool) fail.Error

Upgrade realizes the metadata upgrade from version 'from' to version 'to'

Types

type Mutator

type Mutator interface {
	Upgrade(iaas.Service, string, bool) fail.Error
}

func MutatorForVersion

func MutatorForVersion(version string) (Mutator, string, fail.Error)

MutatorForVersion returns the function that can upgrade to version 'to'

Jump to

Keyboard shortcuts

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