Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Context is canceled on SIGTERM or SIGINT. Tests should cleanup and exit. Context context.Context // True if -debug or -trace flag is passed. Debug bool // PMM Server Params. PMMServerParams *dbaasClient.PMMParams // PXCClusterAPIClient contains client for dbaas-controller API related to XtraDB clusters. PXCClusterAPIClient dbaasClient.PXCClusterAPIClient // PSMDBClusterAPIClient contains client for dbaas-controller API related to PSMDB clusters. PSMDBClusterAPIClient dbaasClient.PSMDBClusterAPIClient // KubernetesClusterAPIClient contains client for dbaas-controller API related to Kubernetes clusters. KubernetesClusterAPIClient dbaasClient.KubernetesClusterAPIClient // LogsAPIClient contails client for dbaas-controller API related to database cluster's logs LogsAPIClient dbaasClient.LogsAPIClient )
Functions ¶
func AssertGRPCErrorRE ¶
func AssertGRPCErrorRE(tb testing.TB, expectedCode codes.Code, expectedMessageRE string, actual error)
AssertGRPCErrorRE checks that actual error has expected gRPC error code, and error messages matches expected regular expression.
func WaitForClusterState ¶
func WaitForClusterState(ctx context.Context, kubeconfig string, name string, state controllerv1beta1.DBClusterState) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.