integration_tests

package
v0.0.0-...-f25123e Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Clientset *kubernetes.Clientset
	Config    *restclient.Config
)
View Source
var Neo4jConfFile = fmt.Sprintf("neo4j/neo4j-%s.conf", model.Neo4jEdition)
View Source
var (
	TestRunIdentifier string
)

Functions

func AsCloseable

func AsCloseable(closeables []Closeable) Closeable

func CheckError

func CheckError(err error)

func CheckExecInPod

func CheckExecInPod(t *testing.T, releaseName model.ReleaseName) error

func CheckLogsFormat

func CheckLogsFormat(t *testing.T, releaseName model.ReleaseName) error

CheckLogsFormat checks whether the neo4j logs are in json format or not

func CheckNeo4jOperationsPod

func CheckNeo4jOperationsPod(t *testing.T, releaseName model.ReleaseName) error

CheckNeo4jOperationsPod checks whether the neo4j operations pod is executed or not

func CheckProbes

func CheckProbes(t *testing.T, releaseName model.ReleaseName) error

func CheckServiceAnnotations

func CheckServiceAnnotations(t *testing.T, releaseName model.ReleaseName, chart model.Neo4jHelmChartBuilder) (err error)

func ExecInPod

func ExecInPod(releaseName model.ReleaseName, cmd []string, podName string) (string, string, error)

func InstallNeo4jBackupAWSHelmChart

func InstallNeo4jBackupAWSHelmChart(t *testing.T, standaloneReleaseName model.ReleaseName) error

func InstallNeo4jBackupAWSHelmChartViaMinIO

func InstallNeo4jBackupAWSHelmChartViaMinIO(t *testing.T, releaseName model.ReleaseName) error

InstallNeo4jBackupAWSHelmChartViaMinIO installs backup cronjob and performs backup to minio bucket

func InstallNeo4jBackupAWSHelmChartWithNodeSelector

func InstallNeo4jBackupAWSHelmChartWithNodeSelector(t *testing.T, releaseName model.ReleaseName) error

InstallNeo4jBackupAWSHelmChartWithNodeSelector installs backup cronjob using the given nodeselector labels

func InstallNeo4jBackupAzureHelmChart

func InstallNeo4jBackupAzureHelmChart(t *testing.T, standaloneReleaseName model.ReleaseName) error

func InstallNeo4jBackupGCPHelmChart

func InstallNeo4jBackupGCPHelmChart(t *testing.T, standaloneReleaseName model.ReleaseName) error

func InstallNeo4jBackupGCPHelmChartWithInconsistencies

func InstallNeo4jBackupGCPHelmChartWithInconsistencies(t *testing.T, standaloneReleaseName model.ReleaseName) error

func InstallNeo4jBackupGCPHelmChartWithWorkloadIdentity

func InstallNeo4jBackupGCPHelmChartWithWorkloadIdentity(t *testing.T, standaloneReleaseName model.ReleaseName) error

func InstallNeo4jBackupGCPHelmChartWithWorkloadIdentityForCluster

func InstallNeo4jBackupGCPHelmChartWithWorkloadIdentityForCluster(t *testing.T, clusterReleaseName model.ReleaseName) error

func InstallNeo4jBackupWithFileCleanup

func InstallNeo4jBackupWithFileCleanup(t *testing.T, standaloneReleaseName model.ReleaseName) error

func InstallNeo4jInGcloud

func InstallNeo4jInGcloud(t *testing.T, zone gcloud.Zone, project gcloud.Project, releaseName model.ReleaseName, chart model.Neo4jHelmChartBuilder, extraHelmInstallArgs ...string) (Closeable, error)

func InstallReverseProxyHelmChart

func InstallReverseProxyHelmChart(t *testing.T, standaloneReleaseName model.ReleaseName) error

func ResourcesCleanup

func ResourcesCleanup(t *testing.T, releaseName model.ReleaseName) error

func ResourcesReinstall

func ResourcesReinstall(t *testing.T, releaseName model.ReleaseName, chart model.Neo4jHelmChartBuilder) error

func RunAsNonRoot

func RunAsNonRoot(t *testing.T, releaseName model.ReleaseName) error

func TestBackupMultipleEndpointsE2E

func TestBackupMultipleEndpointsE2E(t *testing.T)

Types

type SubTest

type SubTest struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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