Documentation ¶
Index ¶
- Variables
- func CheckMultipleErrors(err_strings []string) resource.ErrorCheckFunc
- func ComputeImportId(resourceName string) resource.ImportStateIdFunc
- func GetCachedConfig(key string) string
- func GetProviderConfig() string
- func GetTestEndpoint() string
- func NewTestClient() client.Client
- func ParsedAccConfig(config any, tpl string) (string, error)
- func SetCachedConfig(key string, body string) string
- func StateDoesNotHaveFields(resourceName string, fields []string) resource.TestCheckFunc
- func StateHasExpectedValues(resourceName string, expected map[string]any) resource.TestCheckFunc
- func TestDeletePipelineManually(resourceName string) resource.TestCheckFunc
- func TestDeletePipelineNodeManually(pipelineResourceName string, resourceName string) resource.TestCheckFunc
- func TestPreCheck(t *testing.T)
- func ValidateUserConfig(got, want map[string]any) error
Constants ¶
This section is empty.
Variables ¶
View Source
var IDRegex = regexp.MustCompile(`[\w-]{36}`)
IDRegex expression for Pipeline IDs
Functions ¶
func CheckMultipleErrors ¶
func CheckMultipleErrors(err_strings []string) resource.ErrorCheckFunc
func ComputeImportId ¶
func ComputeImportId(resourceName string) resource.ImportStateIdFunc
func GetCachedConfig ¶
func GetProviderConfig ¶
func GetProviderConfig() string
func GetTestEndpoint ¶
func GetTestEndpoint() string
func NewTestClient ¶
func ParsedAccConfig ¶
ParsedAccConfig applies config to tpl for acceptance tests
func SetCachedConfig ¶
func StateDoesNotHaveFields ¶
func StateDoesNotHaveFields(resourceName string, fields []string) resource.TestCheckFunc
func StateHasExpectedValues ¶
func StateHasExpectedValues(resourceName string, expected map[string]any) resource.TestCheckFunc
Given a string map, compare the expected values for those in the state. Lookup syntax is supported for map values, e.g "#mezmo_stringify_processor.my_processor.id"
func TestDeletePipelineManually ¶
func TestDeletePipelineManually(resourceName string) resource.TestCheckFunc
func TestDeletePipelineNodeManually ¶
func TestDeletePipelineNodeManually(pipelineResourceName string, resourceName string) resource.TestCheckFunc
func TestPreCheck ¶
func ValidateUserConfig ¶
Validate that UserConfig A and B are equal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.