acctest

package
v0.14.4 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestAccSecretFileId      = "2WnPVgLGSZW6KbApZuxeaw"
	TestAccDefaultUsageScope = `
	usage_scope {
		environment_filter_type = "NON_PRODUCTION_ENVIRONMENTS"
	}
`
)

Variables

View Source
var ProviderFactories = map[string]func() (*schema.Provider, error){
	"harness": func() (*schema.Provider, error) {
		return provider.Provider("dev")(), nil
	},
}

providerFactories 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.

View Source
var TestAccProvider *schema.Provider
View Source
var TestAccProviderConfigure sync.Once

Functions

func EnvRelatedResourceImportStateIdFunc added in v0.6.11

func EnvRelatedResourceImportStateIdFunc(resourceName string) resource.ImportStateIdFunc

func GitopsAgentAccountLevelResourceImportStateIdFunc added in v0.7.0

func GitopsAgentAccountLevelResourceImportStateIdFunc(resourceName string) resource.ImportStateIdFunc

func GitopsAgentProjectLevelResourceImportStateIdFunc added in v0.7.0

func GitopsAgentProjectLevelResourceImportStateIdFunc(resourceName string) resource.ImportStateIdFunc

func OrgFilterImportStateIdFunc added in v0.7.0

func OrgFilterImportStateIdFunc(resourceName string) resource.ImportStateIdFunc

func OrgResourceImportStateIdFunc added in v0.2.2

func OrgResourceImportStateIdFunc(resourceName string) resource.ImportStateIdFunc

func PipelineResourceImportStateIdFunc added in v0.3.0

func PipelineResourceImportStateIdFunc(resourceName string) resource.ImportStateIdFunc

func ProjectFilterImportStateIdFunc added in v0.7.0

func ProjectFilterImportStateIdFunc(resourceName string) resource.ImportStateIdFunc

func ProjectResourceImportStateIdFunc added in v0.2.2

func ProjectResourceImportStateIdFunc(resourceName string) resource.ImportStateIdFunc

func TestAccConfigureProvider

func TestAccConfigureProvider()

func TestAccGetApiClientFromProvider

func TestAccGetApiClientFromProvider() *internal.Session

func TestAccGetApplication

func TestAccGetApplication(resourceName string, state *terraform.State) (*graphql.Application, error)

func TestAccGetClientWithContext added in v0.8.0

func TestAccGetClientWithContext() (*openapi_client_nextgen.APIClient, context.Context)

func TestAccGetPlatformClientWithContext added in v0.2.12

func TestAccGetPlatformClientWithContext() (*nextgen.APIClient, context.Context)

func TestAccGetPolicyManagementClient added in v0.10.0

func TestAccGetPolicyManagementClient() *policymgmt.APIClient

func TestAccGetResource

func TestAccGetResource(resourceName string, state *terraform.State) *terraform.ResourceState

func TestAccPreCheck

func TestAccPreCheck(t *testing.T)

func TestAccResourceAwsCloudProvider

func TestAccResourceAwsCloudProvider(name string) string

func TestAccResourceGitConnector_default

func TestAccResourceGitConnector_default(name string) string

func TestAccResourceInfraDefEnvironment

func TestAccResourceInfraDefEnvironment(name string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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