structure

package
v0.24.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2023 License: MPL-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertComputedAttributes

func AssertComputedAttributes(t *testing.T, s map[string]*schema.Schema, keys []string)

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

func AssertOptionalArguments(t *testing.T, s map[string]*schema.Schema, keys []string)

AssertOptionalArguments asserts that the given keys are present in the schema and are optional.

func AssertRequiredArguments

func AssertRequiredArguments(t *testing.T, s map[string]*schema.Schema, keys []string)

AssertRequiredArguments asserts that the given keys are present in the schema and are required.

func AssertValueTypes

func AssertValueTypes(t *testing.T, s map[string]*schema.Schema, f map[string]schema.ValueType)

AssertValueTypes asserts that the given keys are present in the schema and are of the given type.

func MergeSchema

func MergeSchema(dst, src map[string]*schema.Schema)

MergeSchema merges the map[string]*schema.Schema from src into dst. Safety against conflicts is enforced by panicking.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL