Documentation
¶
Index ¶
Constants ¶
View Source
const ( CockroachVersion = "cockroachdb/cockroach:v25.1.2" OperatorDeploymentName = "cockroach-operator-manager" OperatorNamespace = "cockroach-operator-system" )
View Source
const (
TestDBName = "testdb"
)
Variables ¶
View Source
var (
ReleaseName = "crdb-test"
)
Functions ¶
This section is empty.
Types ¶
type HelmInstall ¶
type HelmInstall struct {
// Namespace stores mapping between cluster name and namespace.
Namespace string
HelmOptions *helm.Options
CrdbCluster testutil.CockroachCluster
ValidateExistingData bool
// contains filtered or unexported fields
}
func (*HelmInstall) InstallHelm ¶
func (h *HelmInstall) InstallHelm(t *testing.T)
func (*HelmInstall) Uninstall ¶
func (h *HelmInstall) Uninstall(t *testing.T)
func (*HelmInstall) ValidateCRDB ¶
func (h *HelmInstall) ValidateCRDB(t *testing.T)
func (*HelmInstall) ValidateCertManagerResources ¶
func (h *HelmInstall) ValidateCertManagerResources(t *testing.T)
ValidateCertManagerResources checks if the cert-manager resources are retained after helm upgrade.
type PublicOperator ¶
type PublicOperator struct {
Ctx context.Context
CustomResourceBuilder optestutil.ClusterBuilder
HelmInstall
}
func (*PublicOperator) InstallOperator ¶
func (o *PublicOperator) InstallOperator(t *testing.T)
func (*PublicOperator) UninstallOperator ¶
func (o *PublicOperator) UninstallOperator(t *testing.T)
Click to show internal directories.
Click to hide internal directories.