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.
Click to show internal directories.
Click to hide internal directories.