Documentation ¶
Index ¶
- Variables
- func DataSourceSchemaModelConsistency(schemaAttributes map[string]schema.Attribute, modelStruct interface{}, ...) error
- func ResourceSchemaModelConsistency(schemaAttributes map[string]schema.Attribute, modelStruct interface{}, ...) error
- func ResourceTestCheck(resourceName string, expectedAttrs map[string]string) resource.TestCheckFunc
- func TestAccPreCheck(t *testing.T)
- func ValidateDataSourceSchemaModelConsistency(t *testing.T, schemaAttributes map[string]schema.Attribute, ...)
- func ValidateResourceSchemaModelConsistency(t *testing.T, schemaAttributes map[string]schema.Attribute, ...)
Constants ¶
This section is empty.
Variables ¶
View Source
var TestAccProtoV6ProviderFactories = map[string]func() (tfprotov6.ProviderServer, error){ "meraki": providerserver.NewProtocol6WithError(p.New("test")()), }
TestAccProtoV6ProviderFactories initializes the provider for tests.
Functions ¶
func DataSourceSchemaModelConsistency ¶
func DataSourceSchemaModelConsistency(schemaAttributes map[string]schema.Attribute, modelStruct interface{}, entityType string) error
DataSourceSchemaModelConsistency performs schema-model validation for data sources.
func ResourceSchemaModelConsistency ¶
func ResourceSchemaModelConsistency(schemaAttributes map[string]schema.Attribute, modelStruct interface{}, entityType string) error
ResourceSchemaModelConsistency performs schema-model validation for resources.
func ResourceTestCheck ¶
func ResourceTestCheck(resourceName string, expectedAttrs map[string]string) resource.TestCheckFunc
ResourceTestCheck validates a resource's attributes.
func TestAccPreCheck ¶
TestAccPreCheck ensures all required environment variables are set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.