importchecks

package
v0.95.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL