Documentation ¶
Index ¶
- Constants
- Variables
- func AccTestPreCheck(t *testing.T)
- func FetchValueFromState(resourceName string, attributeName string, target *string) resource.TestCheckFunc
- func GetDagsterClientFromEnvVars() client.DagsterClient
- func MarshalJSONOrPanic(input map[string]interface{}) json.RawMessage
- func UnmarshalJSONOrPanic(input json.RawMessage) map[string]interface{}
Constants ¶
View Source
const ProviderConfig = `` /* 299-byte string literal not displayed */
Variables ¶
View Source
var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ "dagster": providerserver.NewProtocol6WithError(TestAccProvider), }
TestAccProtoV6ProviderFactories 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 provider.Provider = dagsterProvider.New()
Functions ¶
func AccTestPreCheck ¶
AccTestPreCheck is a utility hook, which every test suite will call in order to verify if the necessary provider configurations are passed through the environment variables. https://developer.hashicorp.com/terraform/plugin/testing/acceptance-tests/testcase#precheck
func FetchValueFromState ¶
func FetchValueFromState(resourceName string, attributeName string, target *string) resource.TestCheckFunc
func GetDagsterClientFromEnvVars ¶
func GetDagsterClientFromEnvVars() client.DagsterClient
func MarshalJSONOrPanic ¶
func MarshalJSONOrPanic(input map[string]interface{}) json.RawMessage
func UnmarshalJSONOrPanic ¶
func UnmarshalJSONOrPanic(input json.RawMessage) map[string]interface{}
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.