Documentation
¶
Index ¶
- Variables
- func AttributeHasPrefix(prefix string) func(string) error
- func AttributeMatchesJSON(object string) func(string) error
- func AttributeMatchesPattern(pattern string) func(string) error
- func GenerateAlias(t *testing.T) string
- func Run(t *testing.T, steps ...resource.TestStep)
- func RunIsolated(t *testing.T, steps ...resource.TestStep)
- func TestCase(t *testing.T, steps ...resource.TestStep) resource.TestCase
- type Resource
Constants ¶
This section is empty.
Variables ¶
View Source
var AttributeIsNotSet = struct{ int }{-1}
View Source
var AttributeIsSet = struct{ int }{1}
Functions ¶
func AttributeHasPrefix ¶
func AttributeMatchesJSON ¶
func AttributeMatchesPattern ¶
func GenerateAlias ¶ added in v0.3.5
Types ¶
type Resource ¶
type Resource struct {
Type string // the resource type without the 'descope_' prefix
ID string // the resource name in the Terraform config
Name string // the value of the 'name' attribute
}
func ManagementKey ¶ added in v0.3.5
func (*Resource) Check ¶
func (r *Resource) Check(checks map[string]any, extras ...resource.TestCheckFunc) resource.TestCheckFunc
Click to show internal directories.
Click to hide internal directories.