Documentation ¶
Index ¶
- func AssertComputedAttributes(t *testing.T, s map[string]*schema.Schema, keys []string)
- func AssertListMaxItems(t *testing.T, s map[string]*schema.Schema, key string, expectedMaxItems int)
- func AssertNestedSchemaExistence(t *testing.T, s map[string]*schema.Schema, key string) map[string]*schema.Schema
- func AssertOptionalArguments(t *testing.T, s map[string]*schema.Schema, keys []string)
- func AssertRequiredArguments(t *testing.T, s map[string]*schema.Schema, keys []string)
- func AssertValueTypes(t *testing.T, s map[string]*schema.Schema, 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
func AssertListMaxItems(t *testing.T, s map[string]*schema.Schema, key string, expectedMaxItems int)
AssertListMaxItems checks that the given schema attribute has given expected MaxItems value.
func AssertNestedSchemaExistence ¶
func AssertNestedSchemaExistence(t *testing.T, s map[string]*schema.Schema, key string) map[string]*schema.Schema
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.