vdbstatus

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Update

func Update(ctx context.Context, clnt client.Client, vdb *vapi.VerticaDB, updateFunc func(*vapi.VerticaDB) error) error

Update will set status fields in the VerticaDB. It handles retry for transient errors like when update fails because another client updated the VerticaDB.

func UpdateCondition

func UpdateCondition(ctx context.Context, clnt client.Client, vdb *vapi.VerticaDB, condition vapi.VerticaDBCondition) error

UpdateCondition will update a condition status This is a no-op if the status condition is already set. The input vdb will be updated with the status condition.

func UpdateUpgradeStatus

func UpdateUpgradeStatus(ctx context.Context, clnt client.Client, vdb *vapi.VerticaDB, msg string) error

UpdateUpgradeStatus will update the upgrade status message. The input vdb will be updated with the status message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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