acctest

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 11 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 TestAccConfigureProvider

func TestAccConfigureProvider()

func TestAccGetApiClientFromProvider

func TestAccGetApiClientFromProvider() *cd.ApiClient

func TestAccGetApplication

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

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