test

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){
		"tsb": providerserver.NewProtocol6WithError(provider.New("test")()),
	}

	AccAddress          = os.Getenv("TSB_ADDRESS")
	AccUsername         = os.Getenv("TSB_USERNAME")
	AccPassword         = os.Getenv("TSB_PASSWORD")
	AccOrganizationName = os.Getenv("TSB_ORGANIZATION")
)

AccProtoV6ProviderFactories are used to instantiate a provider during acceptance testing. The factory function will be invoked for every Terraform CLI command executed to create a provider server to which the CLI can reattach.

Functions

func AccPreCheck

func AccPreCheck(t *testing.T)

func BuildConfig

func BuildConfig(t *testing.T, elems ...string) string

Pass all non-provider blocks in Provider is automatically added to the front

Types

This section is empty.

Jump to

Keyboard shortcuts

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