Documentation ¶
Index ¶
- Variables
- func CheckClusterHealth(esClusterOutputName string) func(t *testing.T, output infratests.TerraformOutput)
- func CheckClusterIndexing(esClusterOutputName string) func(t *testing.T, output infratests.TerraformOutput)
- func CheckClusterVersion(esClusterOutputName string) func(t *testing.T, output infratests.TerraformOutput)
- func ValidateElasticKvSecretValues(keyvaultSecretOutputName string, elasticClusterPropsOutputName string) func(t *testing.T, output infratests.TerraformOutput)
Constants ¶
This section is empty.
Variables ¶
var KvElasticEndpoint = "elastic-endpoint"
KvElasticEndpoint the keyvault secret name containing the elastic endpoint
var KvElasticPassword = "elastic-password"
KvElasticPassword the keyvault secret name containing the elastic password
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.