operatorupgrade

package
v4.4.2-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ErrUnsuccessfulVersionCheck defines the error string that is displayed when a pgcluster
	// version check in a target namespace is unsuccessful
	ErrUnsuccessfulVersionCheck = "unsuccessful pgcluster version check"
)

Variables

This section is empty.

Functions

func CheckVersion

func CheckVersion(restclient *rest.RESTClient, ns string) error

CheckVersion looks at the Postgres Operator version information for existing pgclusters and replicas if the Operator version listed does not match the current Operator version, create an annotation indicating it has not been upgraded

Types

This section is empty.

Jump to

Keyboard shortcuts

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