acctest

package
v0.23.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProtoV6ProviderFactories map[string]func() (tfprotov6.ProviderServer, error) = protoV6ProviderFactoriesInit(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 CheckForResourceDestroy added in v0.22.0

func CheckForResourceDestroy(r *http.Response, err error) (bool, error)

func CheckParentEnvironmentDestroy added in v0.22.0

func CheckParentEnvironmentDestroy(ctx context.Context, apiClient *management.APIClient, environmentID string) (bool, error)

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 MinimalSandboxEnvironmentNoPopulation added in v0.23.0

func MinimalSandboxEnvironmentNoPopulation(resourceName, licenseID string) string

func PreCheckClient added in v0.22.0

func PreCheckClient(t *testing.T)

func PreCheckCustomDomainSSL added in v0.22.0

func PreCheckCustomDomainSSL(t *testing.T)

func PreCheckDomainVerification added in v0.22.0

func PreCheckDomainVerification(t *testing.T)

func PreCheckFeatureFlag added in v0.11.0

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

func PreCheckGoogleFirebaseCredentials added in v0.22.0

func PreCheckGoogleFirebaseCredentials(t *testing.T)

func PreCheckGoogleJSONKey added in v0.22.0

func PreCheckGoogleJSONKey(t *testing.T)

func PreCheckNewEnvironment added in v0.22.0

func PreCheckNewEnvironment(t *testing.T)

func PreCheckNoFeatureFlag added in v0.22.0

func PreCheckNoFeatureFlag(t *testing.T)

func PreCheckOrganisationID added in v0.22.0

func PreCheckOrganisationID(t *testing.T)

func PreCheckOrganisationName added in v0.22.0

func PreCheckOrganisationName(t *testing.T)

func PreCheckPEMCert added in v0.22.0

func PreCheckPEMCert(t *testing.T)

func PreCheckPKCS12CSRResponse added in v0.22.0

func PreCheckPKCS12CSRResponse(t *testing.T)

func PreCheckPKCS12Key added in v0.22.0

func PreCheckPKCS12Key(t *testing.T)

func PreCheckPKCS12WithCSR added in v0.22.0

func PreCheckPKCS12WithCSR(t *testing.T)

func PreCheckPKCS7Cert added in v0.22.0

func PreCheckPKCS7Cert(t *testing.T)

func PreCheckRegionSupportsWorkforce added in v0.22.0

func PreCheckRegionSupportsWorkforce(t *testing.T)

func PreCheckSyniverse added in v0.22.0

func PreCheckSyniverse(t *testing.T, skipSyniverse bool)

func PreCheckTestClient added in v0.22.0

func PreCheckTestClient(ctx context.Context, t *testing.T) *client.Client

func PreCheckTwilio added in v0.22.0

func PreCheckTwilio(t *testing.T, skipTwilio bool)

func ResourceNameGen

func ResourceNameGen() 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
}

Directories

Path Synopsis
service
mfa
sso

Jump to

Keyboard shortcuts

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