Documentation ¶
Index ¶
- Constants
- Variables
- func Context(region string) context.Context
- func Partition(region string) string
- func PartitionDNSSuffix(region string) string
- func SharedRegionalSweepClient(ctx context.Context, region string) (*conns.AWSClient, error)
- func SweepOrchestrator(ctx context.Context, sweepables []Sweepable, optFns ...tfresource.OptionsFunc) error
- type Sweepable
Constants ¶
View Source
const ( ThrottlingRetryTimeout = 10 * time.Minute ResourcePrefix = "tf-acc-test" )
Variables ¶
View Source
var NewSweepResource = sdk.NewSweepResource
View Source
var ServicePackages []conns.ServicePackage
ServicePackages is set in TestMain in order to break an import cycle.
View Source
var SkipSweepError = awsv1.SkipSweepError
Deprecated: Usse awsv1.SkipSweepError
Functions ¶
func PartitionDNSSuffix ¶
func SharedRegionalSweepClient ¶
SharedRegionalSweepClient returns a common conns.AWSClient setup needed for the sweeper functions for a given Region.
func SweepOrchestrator ¶
func SweepOrchestrator(ctx context.Context, sweepables []Sweepable, optFns ...tfresource.OptionsFunc) error
Types ¶
type Sweepable ¶
type Sweepable interface {
Delete(ctx context.Context, timeout time.Duration, optFns ...tfresource.OptionsFunc) error
}
Click to show internal directories.
Click to hide internal directories.