Documentation ¶
Index ¶
- func AddIdHcl(idKey, id string) string
- func ConfigurationPreCheck(t *testing.T)
- func ExpectedDestroyError(resourceType, resourceName string) error
- func FloatSliceToStringSlice(values []float64) []string
- func FloatSliceToTerraformString(values []float64) string
- func GetTransport() *http.Transport
- func InterfaceSliceToStringSlice(values []interface{}) []string
- func ObjectSliceOfKvStringsToTerraformString(keyValue string, values []string) string
- func StringSliceToString(values []string) string
- func StringSliceToTerraformString(values []string) string
- func TestAccessTokenContext(accessToken string) context.Context
- func TestAttributesMatchBool(resourceType string, resourceName *string, attributeName string, ...) error
- func TestAttributesMatchFloat(resourceType string, resourceName *string, attributeName string, ...) error
- func TestAttributesMatchFloatSlice(resourceType string, resourceName *string, attributeName string, ...) error
- func TestAttributesMatchInt(resourceType string, resourceName *string, attributeName string, ...) error
- func TestAttributesMatchString(resourceType string, resourceName *string, ...) error
- func TestAttributesMatchStringPointer(resourceType string, resourceName *string, attributeName, expected string, ...) error
- func TestAttributesMatchStringSlice(resourceType string, resourceName *string, attributeName string, ...) error
- func TestBasicAuthContext() context.Context
- func TestClient() *client.APIClient
- func TestOauth2Context() context.Context
- func TfKeyValuePairToString(key string, value string, addDoubleQuotes bool) string
- func VersionAtLeast(minimumVersion version.SupportedVersion) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigurationPreCheck ¶
Verify that any required environment variables are set before the test begins
func ExpectedDestroyError ¶
func FloatSliceToStringSlice ¶
func FloatSliceToTerraformString ¶
Convert a float64 slice to the format used in Terraform files
func GetTransport ¶ added in v0.6.0
func InterfaceSliceToStringSlice ¶
func InterfaceSliceToStringSlice(values []interface{}) []string
func ObjectSliceOfKvStringsToTerraformString ¶
Convert a string slice to the format used in Terraform files
func StringSliceToString ¶ added in v0.10.0
func StringSliceToTerraformString ¶
Convert a string slice to the format used in Terraform files
func TestAccessTokenContext ¶ added in v0.6.0
lintignore:AT008
func TestAttributesMatchBool ¶
func TestAttributesMatchBool(resourceType string, resourceName *string, attributeName string, expected, found bool) error
Test if boolean attributes match
func TestAttributesMatchFloat ¶
func TestAttributesMatchFloat(resourceType string, resourceName *string, attributeName string, expected, found float64) error
Test if float64 attributes match
func TestAttributesMatchFloatSlice ¶
func TestAttributesMatchFloatSlice(resourceType string, resourceName *string, attributeName string, expected, found []float64) error
Test if float slice attributes match
func TestAttributesMatchInt ¶
func TestAttributesMatchInt(resourceType string, resourceName *string, attributeName string, expected, found int64) error
Test if int attributes match
func TestAttributesMatchString ¶
func TestAttributesMatchString(resourceType string, resourceName *string, attributeName, expected, found string) error
Test if string attributes match
func TestAttributesMatchStringPointer ¶
func TestAttributesMatchStringPointer(resourceType string, resourceName *string, attributeName, expected string, found *string) error
Test if expected string matches found string pointer
func TestAttributesMatchStringSlice ¶
func TestAttributesMatchStringSlice(resourceType string, resourceName *string, attributeName string, expected, found []string) error
Test if string slice attributes match
func TestBasicAuthContext ¶
func TestClient ¶
func TestOauth2Context ¶ added in v0.6.0
func TfKeyValuePairToString ¶ added in v0.2.0
func VersionAtLeast ¶ added in v0.5.0
func VersionAtLeast(minimumVersion version.SupportedVersion) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.