acctest

package
v0.6.10 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 13 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 GitopsAgentResourceImportStateIdFunc added in v0.6.9

func GitopsAgentResourceImportStateIdFunc(resourceName string) resource.ImportStateIdFunc

func InfrastructureResourceImportStateIdFunc added in v0.6.9

func InfrastructureResourceImportStateIdFunc(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 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 TestAccGetPlatformClientWithContext added in v0.2.12

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

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