acctest

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProtoV5ProviderFactories map[string]func() (tfprotov5.ProviderServer, error) = protoV5ProviderFactoriesInit(context.Background(), "pingone")
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 AgreementSandboxEnvironment added in v0.10.0

func AgreementSandboxEnvironment() string

func DaVinciFlowPolicySandboxEnvironment added in v0.11.0

func DaVinciFlowPolicySandboxEnvironment() string

func DomainVerifiedSandboxEnvironment added in v0.9.0

func DomainVerifiedSandboxEnvironment() string

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 PreCheckEnvironmentAndGoogleJSONKey added in v0.13.0

func PreCheckEnvironmentAndGoogleJSONKey(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 PreCheckEnvironmentDomainVerified added in v0.9.0

func PreCheckEnvironmentDomainVerified(t *testing.T)

func PreCheckEnvironmentFeatureFlag added in v0.11.0

func PreCheckEnvironmentFeatureFlag(t *testing.T, flag EnumFeatureFlag)

func PreCheckFeatureFlag added in v0.11.0

func PreCheckFeatureFlag(t *testing.T, flag EnumFeatureFlag)

func PreCheckOrganisation added in v0.10.0

func PreCheckOrganisation(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 TestClient

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

func WorkforceSandboxEnvironment added in v0.5.0

func WorkforceSandboxEnvironment() string

Types

type EnumFeatureFlag added in v0.11.0

type EnumFeatureFlag string
const (
	ENUMFEATUREFLAG_DAVINCI EnumFeatureFlag = "DAVINCI"
)

type MinMaxChecks added in v0.8.0

type MinMaxChecks struct {
	Minimal resource.TestCheckFunc
	Full    resource.TestCheckFunc
}

type TestData added in v0.8.0

type TestData struct {
	Invalid string
	Valid   string
}

Jump to

Keyboard shortcuts

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