Documentation ¶
Index ¶
- Constants
- Variables
- func LoadResources(resources map[string]*terraform.ResourceState) (jsonified map[string]interface{}, err error)
- func PreTestAccIndexDataSource(server *mongolocal.MongoLocal, logger *zap.Logger) *preTestAccIndexDataSourceResponse
- func PreTestAccIndexResource(server *mongolocal.MongoLocal, logger *zap.Logger) string
- func ProviderConfig(uri string) string
- func TestAccPreCheck(t *testing.T)
- func TestAccProtoV6ProviderFactoriesWithProviderConfig(config *provider.Config) map[string]func() (tfprotov6.ProviderServer, error)
- func WithProviderConfig(config string, uri string) string
Constants ¶
View Source
const (
// Provider name for single configuration testing.
ProviderName = "mongodb"
)
Variables ¶
View Source
var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ ProviderName: providerserver.NewProtocol6WithError(provider.New(versions.Test)()), }
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 TestAccPreCheck ¶
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.