test

package
v0.47.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertComputedAttributes

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

AssertComputedAttributes checks that the given schema has the given computed attributes.

func AssertListMaxItems added in v0.21.1

func AssertListMaxItems(t *testing.T, s *schema.Resource, key string, expectedMaxItems int)

AssertListMaxItems checks that the given schema attribute has given expected MaxItems value.

func AssertNestedSchemaExistence

func AssertNestedSchemaExistence(t *testing.T, s *schema.Resource, key string) *schema.Resource

AssertNestedSchemaExistence checks that the given schema has a nested schema for the given key.

func AssertOptionalArguments

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

AssertOptionalArguments checks that the given schema has the given optional arguments.

func AssertRequiredArguments

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

AssertRequiredArguments checks that the given schema has the given required arguments.

func AssertValueTypes

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

AssertValueTypes checks that the given schema has the given value types for the given fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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