migration

package
v0.0.0-...-fa5fe1c Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

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)

Jump to

Keyboard shortcuts

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