integration

package
v0.0.0-...-5957262 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KvElasticEndpoint = "elastic-endpoint"

KvElasticEndpoint the keyvault secret name containing the elastic endpoint

View Source
var KvElasticPassword = "elastic-password"

KvElasticPassword the keyvault secret name containing the elastic password

View Source
var KvElasticUsername = "elastic-username"

KvElasticUsername the keyvault secret name containing the elastic username

Functions

func CheckClusterHealth

func CheckClusterHealth(esClusterOutputName string) func(t *testing.T, output infratests.TerraformOutput)

CheckClusterHealth return a function that verifies that the cluster health is in an acceptable state

func CheckClusterIndexing

func CheckClusterIndexing(esClusterOutputName string) func(t *testing.T, output infratests.TerraformOutput)

CheckClusterIndexing return a function that verifies that a document can be indexed, retrieved, and deleted from an index that is specific to integration testing

func CheckClusterVersion

func CheckClusterVersion(esClusterOutputName string) func(t *testing.T, output infratests.TerraformOutput)

CheckClusterVersion return a function that verifies that the correct version of Elasticsearch has been deployed

func ValidateElasticKvSecretValues

func ValidateElasticKvSecretValues(keyvaultSecretOutputName string, elasticClusterPropsOutputName string) func(t *testing.T, output infratests.TerraformOutput)

ValidateElasticKvSecretValues - Validates that the correct secrets have been provisioned

Types

This section is empty.

Jump to

Keyboard shortcuts

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