upgrades

package
v0.3.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// VersionAnnotation represents the annotation used to annotate a cluster to it's version
	VersionAnnotation = "mysql.presslabs.org/version"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	ShouldUpdate() bool
	Run(context.Context) error
}

Interface represents the upgrader interface

func NewUpgrader

func NewUpgrader(client client.Client, recorder record.EventRecorder, cluster *mysqlcluster.MysqlCluster, opt *options.Options) Interface

NewUpgrader returns a upgrader

Jump to

Keyboard shortcuts

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