upgrades

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: Apache-2.0 Imports: 16 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