Documentation ¶
Index ¶
- func ComposeAggregateImportStateCheck(fs ...resource.ImportStateCheckFunc) resource.ImportStateCheckFunc
- func ComposeImportStateCheck(fs ...resource.ImportStateCheckFunc) resource.ImportStateCheckFunc
- func TestCheckResourceAttrInstanceState(id string, attributeName, attributeValue string) resource.ImportStateCheckFunc
- func TestCheckResourceAttrInstanceStateSet(id string, attributeName string) resource.ImportStateCheckFunc
- func TestCheckResourceAttrNotInInstanceState(id string, attributeName string) resource.ImportStateCheckFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposeAggregateImportStateCheck ¶
func ComposeAggregateImportStateCheck(fs ...resource.ImportStateCheckFunc) resource.ImportStateCheckFunc
ComposeAggregateImportStateCheck does the same as ComposeImportStateCheck, but it aggregates all the occurred errors, instead of returning the first encountered one.
func ComposeImportStateCheck ¶
func ComposeImportStateCheck(fs ...resource.ImportStateCheckFunc) resource.ImportStateCheckFunc
ComposeImportStateCheck is based on unexported composeImportStateCheck from teststep_providers_test.go
func TestCheckResourceAttrInstanceState ¶
func TestCheckResourceAttrInstanceState(id string, attributeName, attributeValue string) resource.ImportStateCheckFunc
TestCheckResourceAttrInstanceState is based on unexported testCheckResourceAttrInstanceState from teststep_providers_test.go
func TestCheckResourceAttrInstanceStateSet ¶
func TestCheckResourceAttrInstanceStateSet(id string, attributeName string) resource.ImportStateCheckFunc
TestCheckResourceAttrInstanceStateSet is based on unexported testCheckResourceAttrInstanceState from teststep_providers_test.go, but instead of comparing values, it only checks if the value is set.
func TestCheckResourceAttrNotInInstanceState ¶
func TestCheckResourceAttrNotInInstanceState(id string, attributeName string) resource.ImportStateCheckFunc
TestCheckResourceAttrNotInInstanceState is based on unexported testCheckResourceAttrInstanceState from teststep_providers_test.go, but instead of comparing values, it only checks if the attribute is present in the InstanceState.
Types ¶
This section is empty.