Documentation
¶
Index ¶
- Variables
- func ErrorCheck(t *testing.T) resource.ErrorCheckFunc
- func PreCheck(t *testing.T)
- func PreCheckEnvironment(t *testing.T)
- func PreCheckEnvironmentAndOrganisation(t *testing.T)
- func ResourceNameGen() string
- func ResourceNameGenDefaultPopulation() string
- func ResourceNameGenEnvironment() string
- func TestAccCheckEnvironmentDestroy(s *terraform.State) error
- func TestClient(ctx context.Context) (*client.Client, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Provider *schema.Provider
Provider is the "main" provider instance
This Provider can be used in testing code for API calls without requiring the use of saving and referencing specific ProviderFactories instances.
PreCheck(t) must be called before using this provider instance.
View Source
var ProviderFactories map[string]func() (*schema.Provider, error)
ProviderFactories is a static map containing only the main provider instance
Use other ProviderFactories functions, such as FactoriesAlternate, for tests requiring special provider configurations.
Functions ¶
func ErrorCheck ¶
func ErrorCheck(t *testing.T) resource.ErrorCheckFunc
func PreCheckEnvironment ¶
func ResourceNameGen ¶
func ResourceNameGen() string
func ResourceNameGenDefaultPopulation ¶
func ResourceNameGenDefaultPopulation() string
func ResourceNameGenEnvironment ¶
func ResourceNameGenEnvironment() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.