testing

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MetaTemplate = `meta {
		description = "resource with description"
		labels = {
			"key1" : "value1"
			"key2" : "value2"
		}
	}`
)

Variables

This section is empty.

Functions

func GetTestProviderFactories

func GetTestProviderFactories(provider *schema.Provider) map[string]func() (*schema.Provider, error)

func MetaDataSourceAttributeCheck

func MetaDataSourceAttributeCheck(dataSourceName, resourceName string) []resource.TestCheckFunc

func MetaResourceAttributeCheck

func MetaResourceAttributeCheck(resourceName string) []resource.TestCheckFunc

func TestPreCheck

func TestPreCheck(t *testing.T) func()

Types

This section is empty.

Jump to

Keyboard shortcuts

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