Documentation ¶
Index ¶
- func AssertComputedAttributes(t *testing.T, s *schema.Resource, keys []string)
- func AssertListMaxItems(t *testing.T, s *schema.Resource, key string, expectedMaxItems int)
- func AssertNestedSchemaExistence(t *testing.T, s *schema.Resource, key string) *schema.Resource
- func AssertOptionalArguments(t *testing.T, s *schema.Resource, keys []string)
- func AssertRequiredArguments(t *testing.T, s *schema.Resource, keys []string)
- func AssertValueTypes(t *testing.T, s *schema.Resource, f map[string]schema.ValueType)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertComputedAttributes ¶
AssertComputedAttributes checks that the given schema has the given computed attributes.
func AssertListMaxItems ¶ added in v0.21.1
AssertListMaxItems checks that the given schema attribute has given expected MaxItems value.
func AssertNestedSchemaExistence ¶
AssertNestedSchemaExistence checks that the given schema has a nested schema for the given key.
func AssertOptionalArguments ¶
AssertOptionalArguments checks that the given schema has the given optional arguments.
func AssertRequiredArguments ¶
AssertRequiredArguments checks that the given schema has the given required arguments.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.