Documentation ¶
Index ¶
- Variables
- func DebugPlan(resourceName, stage string) plancheck.PlanCheck
- func GetEnvVarWithFallback(t *testing.T, envVars ...string) string
- func MapToTestChecks(fqrn string, fields map[string]interface{}) []resource.TestCheckFunc
- func MkNames(name, resource string) (int, string, string)
- func RandBool() bool
- func RandSelect(items ...interface{}) interface{}
- func RandomInt() int
- type CheckFun
- type PlanCheck
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigPlanChecks = func(resourceName string) resource.ConfigPlanChecks { return resource.ConfigPlanChecks{ PostApplyPreRefresh: []plancheck.PlanCheck{ DebugPlan(resourceName, "PostApplyPreRefresh"), }, PostApplyPostRefresh: []plancheck.PlanCheck{ DebugPlan(resourceName, "PostApplyPostRefresh"), }, } }
Functions ¶
func MapToTestChecks ¶
func MapToTestChecks(fqrn string, fields map[string]interface{}) []resource.TestCheckFunc
func RandSelect ¶
func RandSelect(items ...interface{}) interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.