acc

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Provider name for single configuration testing.
	ProviderName = "mongodb"
)

Variables

TestAccProtoV6ProviderFactories is 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.

Functions

func LoadResources

func LoadResources(resources map[string]*terraform.ResourceState) (jsonified map[string]interface{}, err error)

func PreTestAccIndexDataSource

func PreTestAccIndexDataSource(server *mongolocal.MongoLocal, logger *zap.Logger) *preTestAccIndexDataSourceResponse

func PreTestAccIndexResource

func PreTestAccIndexResource(server *mongolocal.MongoLocal, logger *zap.Logger) string

func ProviderConfig

func ProviderConfig(uri string) string

func TestAccPreCheck

func TestAccPreCheck(t *testing.T)

func TestAccProtoV6ProviderFactoriesWithProviderConfig

func TestAccProtoV6ProviderFactoriesWithProviderConfig(config *provider.Config) map[string]func() (tfprotov6.ProviderServer, error)

TestAccProtoV6ProviderFactoriesWithProviderConfig is used to instantiate a provider during acceptance testing with provider config. The factory function will be invoked for every Terraform CLI command executed to create a provider server to which the CLI can reattach.

func WithProviderConfig

func WithProviderConfig(config string, uri 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