upgradeschema

package
v4.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// InstanceStatusChangeType is the StatusUpdate type for an instance state change event
	InstanceStatusChangeType statusUpdateType = iota
	// DeploymentStatusChangeType is the StatusUpdate type for an deployment status change event
	DeploymentStatusChangeType
	// CustomCommandStatusChangeType is the StatusUpdate type for an custom command status change event
	CustomCommandStatusChangeType
	// ScalingStatusChangeType is the StatusUpdate type for an scaling status change event
	ScalingStatusChangeType
	// WorkflowStatusChangeType is the StatusUpdate type for an workflow status change event
	WorkflowStatusChangeType
)

Variables

This section is empty.

Functions

func UpgradeFromPre31

func UpgradeFromPre31(cfg config.Configuration, kv *api.KV, leaderch <-chan struct{}) error

UpgradeFromPre31 allows to upgrade Consul schema from schema version before 1.0.0 (pre 3.1 yorc version)

func UpgradeTo110

func UpgradeTo110(cfg config.Configuration, kv *api.KV, leaderch <-chan struct{}) error

UpgradeTo110 allows to upgrade Consul schema from 1.0.0 to 1.1.0

func UpgradeTo111

func UpgradeTo111(cfg config.Configuration, kv *api.KV, leaderch <-chan struct{}) error

UpgradeTo111 allows to upgrade Consul schema from 1.1.0 to 1.1.1

func UpgradeTo112

func UpgradeTo112(cfg config.Configuration, kv *api.KV, leaderch <-chan struct{}) error

UpgradeTo112 allows to upgrade Consul schema from 1.1.1 to 1.1.2

func UpgradeTo120

func UpgradeTo120(cfg config.Configuration, kv *api.KV, leaderch <-chan struct{}) error

UpgradeTo120 allows to upgrade Consul schema from 1.1.1 to 1.2.0

func UpgradeTo130

func UpgradeTo130(cfg config.Configuration, kv *api.KV, leaderch <-chan struct{}) error

UpgradeTo130 allows to upgrade Consul schema from 1.2.0 to 1.3.0

func UpgradeTo131 added in v4.0.3

func UpgradeTo131(cfg config.Configuration, kv *api.KV, leaderch <-chan struct{}) error

UpgradeTo131 allows to upgrade Consul schema from 1.3.0 to 1.3.1

Types

This section is empty.

Jump to

Keyboard shortcuts

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