Documentation
¶
Index ¶
- Constants
- Variables
- func AgreementSandboxEnvironment() string
- func AlterStringCasing(strInput string) string
- func CheckForResourceDestroy(r *http.Response, err error) (bool, error)
- func CheckForResourceDestroyCustomHTTPCode(r *http.Response, err error, customHttpCode int) (bool, error)
- func CheckParentEnvironmentDestroy(ctx context.Context, apiClient *pingone.APIClient, environmentID string) (bool, error)
- func DaVinciBootstrappedSandboxEnvironment(dataSourceName *string) string
- func DaVinciSandboxEnvironment(withBootstrapConfig bool) string
- func DomainNamePrefixWithTimestampGen() string
- func DomainVerifiedSandboxEnvironment() string
- func ErrorCheck(t *testing.T) resource.ErrorCheckFunc
- func GenericSandboxEnvironment() string
- func GetProviderTestingVersion() string
- func PreCheckAPNSPKCS8Key(t *testing.T)
- func PreCheckBeta(t *testing.T)
- func PreCheckClient(t *testing.T)
- func PreCheckCustomDomainSSL(t *testing.T)
- func PreCheckGoogleFirebaseCredentials(t *testing.T)
- func PreCheckGoogleJSONKey(t *testing.T)
- func PreCheckNewCustomDomain(t *testing.T)
- func PreCheckNewEnvironment(t *testing.T)
- func PreCheckNewTrustedEmailDomain(t *testing.T)
- func PreCheckNoBeta(t *testing.T)
- func PreCheckNoTestAccFlaky(t *testing.T)
- func PreCheckOrganisationID(t *testing.T)
- func PreCheckOrganisationName(t *testing.T)
- func PreCheckPEMCert(t *testing.T)
- func PreCheckPKCS12CSRResponse(t *testing.T)
- func PreCheckPKCS12Key(t *testing.T)
- func PreCheckPKCS12UnencryptedKey(t *testing.T)
- func PreCheckPKCS12WithCSR(t *testing.T)
- func PreCheckPKCS7Cert(t *testing.T)
- func PreCheckRegionSupportsWorkforce(t *testing.T)
- func PreCheckSupportsRegion(t *testing.T, supportedRegionCodes []string)
- func PreCheckSyniverse(t *testing.T)
- func PreCheckTestAccFlaky(t *testing.T)
- func PreCheckTestClient(ctx context.Context, t *testing.T) *pingone.APIClient
- func PreCheckTrustedEmailDomainVerification(t *testing.T)
- func PreCheckTwilio(t *testing.T)
- func ResourceNameGen() string
- func ResourceNameGenEnvironment() string
- func TestClient(ctx context.Context) (*pingone.APIClient, error)
- func WorkforceV1SandboxEnvironment() string
- func WorkforceV2SandboxEnvironment() string
- type MinMaxChecks
- type TestData
Constants ¶
const ( WorkforceV1SandboxEnvironmentName = "tf-testacc-static-workforce-test" WorkforceV2SandboxEnvironmentName = "tf-testacc-static-workforce-v2-test" )
Variables ¶
var ProtoV6ProviderFactories map[string]func() (tfprotov6.ProviderServer, error) = protoV6ProviderFactoriesInit(context.Background(), "pingone")
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.
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 AlterStringCasing ¶ added in v1.13.0
AlterStringCasing alternates the case of alphabetic characters in a string for testing purposes. It returns a string where even-indexed characters (0, 2, 4, etc.) are converted to uppercase and odd-indexed characters (1, 3, 5, etc.) are converted to lowercase. Non-alphabetic characters remain unchanged in their original positions. The strInput parameter must be a valid string that may contain any Unicode characters. This function is primarily used in acceptance tests to create case-insensitive string comparisons and verify that data source filters work correctly regardless of character casing. No external dependencies or environment variables are required for this function to operate.
func CheckForResourceDestroy ¶ added in v0.22.0
func CheckForResourceDestroyCustomHTTPCode ¶ added in v0.25.0
func CheckParentEnvironmentDestroy ¶ added in v0.22.0
func DaVinciBootstrappedSandboxEnvironment ¶ added in v1.13.0
func DaVinciSandboxEnvironment ¶ added in v1.13.0
func DomainNamePrefixWithTimestampGen ¶ added in v1.14.0
func DomainNamePrefixWithTimestampGen() 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 GetProviderTestingVersion ¶ added in v1.13.0
func GetProviderTestingVersion() string
func PreCheckAPNSPKCS8Key ¶ added in v1.1.0
func PreCheckBeta ¶ added in v1.13.0
func PreCheckClient ¶ added in v0.22.0
func PreCheckCustomDomainSSL ¶ added in v0.22.0
func PreCheckGoogleFirebaseCredentials ¶ added in v0.22.0
func PreCheckGoogleJSONKey ¶ added in v0.22.0
func PreCheckNewCustomDomain ¶ added in v1.14.0
func PreCheckNewEnvironment ¶ added in v0.22.0
func PreCheckNewTrustedEmailDomain ¶ added in v1.14.0
func PreCheckNoBeta ¶ added in v1.13.0
func PreCheckNoTestAccFlaky ¶ added in v1.9.0
func PreCheckOrganisationID ¶ added in v0.22.0
func PreCheckOrganisationName ¶ added in v0.22.0
func PreCheckPEMCert ¶ added in v0.22.0
func PreCheckPKCS12CSRResponse ¶ added in v0.22.0
func PreCheckPKCS12Key ¶ added in v0.22.0
func PreCheckPKCS12UnencryptedKey ¶ added in v0.25.0
func PreCheckPKCS12WithCSR ¶ added in v0.22.0
func PreCheckPKCS7Cert ¶ added in v0.22.0
func PreCheckRegionSupportsWorkforce ¶ added in v0.22.0
func PreCheckSupportsRegion ¶ added in v1.13.0
func PreCheckSyniverse ¶ added in v0.22.0
func PreCheckTestAccFlaky ¶ added in v1.6.0
func PreCheckTestClient ¶ added in v0.22.0
func PreCheckTrustedEmailDomainVerification ¶ added in v1.14.0
func PreCheckTwilio ¶ added in v0.22.0
func ResourceNameGen ¶
func ResourceNameGen() string
func ResourceNameGenEnvironment ¶
func ResourceNameGenEnvironment() string
func WorkforceV1SandboxEnvironment ¶ added in v1.10.0
func WorkforceV1SandboxEnvironment() string
Static environment that uses v1 PingID
func WorkforceV2SandboxEnvironment ¶ added in v1.10.0
func WorkforceV2SandboxEnvironment() string
Static environment that uses v2 PingID
Types ¶
type MinMaxChecks ¶ added in v0.8.0
type MinMaxChecks struct {
Minimal resource.TestCheckFunc
Full resource.TestCheckFunc
}