acctest

package
v0.7.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Provider *schema.Provider

Provider is the "main" provider instance

This Provider can be used in testing code for API calls without requiring the use of saving and referencing specific ProviderFactories instances.

PreCheck(t) must be called before using this provider instance.

View Source
var ProviderFactories map[string]func() (*schema.Provider, error)

ProviderFactories is a static map containing only the main provider instance

Use other ProviderFactories functions, such as FactoriesAlternate, for tests requiring special provider configurations.

Functions

func ErrorCheck

func ErrorCheck(t *testing.T) resource.ErrorCheckFunc

func GenericSandboxEnvironment added in v0.4.0

func GenericSandboxEnvironment() string

func MinimalSandboxEnvironment added in v0.2.0

func MinimalSandboxEnvironment(resourceName, licenseID string) string

func PreCheck

func PreCheck(t *testing.T)

func PreCheckEnvironment

func PreCheckEnvironment(t *testing.T)

func PreCheckEnvironmentAndCustomDomainSSL added in v0.4.0

func PreCheckEnvironmentAndCustomDomainSSL(t *testing.T)

func PreCheckEnvironmentAndOrganisation

func PreCheckEnvironmentAndOrganisation(t *testing.T)

func PreCheckEnvironmentAndPEM added in v0.4.0

func PreCheckEnvironmentAndPEM(t *testing.T)

func PreCheckEnvironmentAndPKCS12 added in v0.4.0

func PreCheckEnvironmentAndPKCS12(t *testing.T)

func PreCheckEnvironmentAndPKCS12WithCSR added in v0.4.0

func PreCheckEnvironmentAndPKCS12WithCSR(t *testing.T)

func PreCheckEnvironmentAndPKCS12WithCSRResponse added in v0.4.0

func PreCheckEnvironmentAndPKCS12WithCSRResponse(t *testing.T)

func PreCheckEnvironmentAndPKCS12WithCerts added in v0.4.0

func PreCheckEnvironmentAndPKCS12WithCerts(t *testing.T)

func PreCheckEnvironmentAndPKCS7 added in v0.4.0

func PreCheckEnvironmentAndPKCS7(t *testing.T)

func PreCheckWorkforceEnvironment added in v0.5.0

func PreCheckWorkforceEnvironment(t *testing.T)

func ResourceNameGen

func ResourceNameGen() string

func ResourceNameGenDefaultPopulation

func ResourceNameGenDefaultPopulation() string

func ResourceNameGenEnvironment

func ResourceNameGenEnvironment() string

func TestAccCheckEnvironmentDestroy

func TestAccCheckEnvironmentDestroy(s *terraform.State) error

func TestClient

func TestClient(ctx context.Context) (*client.Client, error)

func WorkforceSandboxEnvironment added in v0.5.0

func WorkforceSandboxEnvironment() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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