acctest

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BloxOneClient will be used to do verification tests
	BloxOneClient *bloxoneclient.APIClient

	// ProtoV6ProviderFactories 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.
	ProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){
		"bloxone": providerserver.NewProtocol6WithError(provider.New("test", "none")()),
	}
)

Functions

func PreCheck

func PreCheck(t *testing.T)

func RandomIP added in v1.1.0

func RandomIP() string

func RandomName added in v1.0.0

func RandomName() string

func RandomNameWithPrefix

func RandomNameWithPrefix(prefix string) string

RandomNameWithPrefix generates a random name with the given prefix. This is used in the acceptance tests where a unique name is required for the resource.

func TestAccBaseConfig_DhcpHosts

func TestAccBaseConfig_DhcpHosts() string

TestAccBaseConfig_DhcpHosts creates a Terraform datasource config that allows you to filter by tags

Types

This section is empty.

Jump to

Keyboard shortcuts

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