Documentation ¶
Index ¶
- func AssertComputedAttributes(t *testing.T, s map[string]*schema.Schema, keys []string)
- func AssertNestedSchemaExistence(t *testing.T, s map[string]*schema.Schema, key string) *schema.Resource
- 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)
- func MergeSchema(dst, src map[string]*schema.Schema)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertComputedAttributes ¶
AssertComputedAttributes asserts that the given keys are present in the schema and are computed.
func AssertNestedSchemaExistence ¶
func AssertNestedSchemaExistence(t *testing.T, s map[string]*schema.Schema, key string) *schema.Resource
AssertNestedSchemaExistence asserts that the given key is present in the schema and is a nested schema.
func AssertOptionalArguments ¶
AssertOptionalArguments asserts that the given keys are present in the schema and are optional.
func AssertRequiredArguments ¶
AssertRequiredArguments asserts that the given keys are present in the schema and are required.
func AssertValueTypes ¶
AssertValueTypes asserts that the given keys are present in the schema and are of the given type.
func MergeSchema ¶
MergeSchema merges the map[string]*schema.Schema from src into dst. Safety against conflicts is enforced by panicking.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.