sweep

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 Context

func Context(region string) context.Context

func Partition

func Partition(region string) string

func PartitionDNSSuffix

func PartitionDNSSuffix(region string) string

func SharedRegionalSweepClient

func SharedRegionalSweepClient(ctx context.Context, region string) (*conns.AWSClient, error)

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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