Documentation ¶
Index ¶
- func CreateTempFile(t *testing.T, content []byte) *os.File
- func CreateTerraformStack(t *testing.T, terraformDir string)
- func DestroyTerraformStack(t *testing.T, terraformDir string)
- func GetEnv(key, fallback string) string
- func GetNodeAddress(t *testing.T, kubectlOptions *k8s.KubectlOptions, addrType string) string
- func SetupKubeconfig(t *testing.T, terraformDir string)
- func ValidateNodeCount(t *testing.T, terraformDir string)
- func ValidateServiceAvailability(t *testing.T, terraformDir string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTempFile ¶
Create temporary file
func CreateTerraformStack ¶
Deploy terraform module to cloud provider
func DestroyTerraformStack ¶
Destroy previously created terraform stack
func GetNodeAddress ¶
Get k8s node's IP address of a giving type
func SetupKubeconfig ¶
Write kubeconfig file from terraform output and configure to use it kubectl
func ValidateNodeCount ¶
Test that the Node count matches the Terraform specification
func ValidateServiceAvailability ¶
Test service deployment and verify it's availability on configured nodePort
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.