Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BulkDeleteConfig ¶
type BullDelete ¶
type BullDelete struct {
// contains filtered or unexported fields
}
func NewBulkDelete ¶
func NewBulkDelete(cfg *BulkDeleteConfig) (*BullDelete, error)
func (*BullDelete) RunWithOptions ¶
func (c *BullDelete) RunWithOptions(ctx context.Context, opts Options) error
type EC2SnapshotAPI ¶
type EC2SnapshotAPI interface { DescribeSnapshotsPagesWithContext(ctx aws.Context, input *ec2.DescribeSnapshotsInput, fn func(*ec2.DescribeSnapshotsOutput, bool) bool, opts ...request.Option) error DeleteSnapshotWithContext(ctx aws.Context, input *ec2.DeleteSnapshotInput, opts ...request.Option) (*ec2.DeleteSnapshotOutput, error) }
type ErrorWithSnapshot ¶
type Options ¶
type Options struct { BeforeDescribeSnapshotsFunc func() error AfterDescribeSnapshotsFunc func(snapshots []*ec2.Snapshot) error BeforeDeleteSnapshotsFunc func(snapshots []*ec2.Snapshot) error EachDeleteSnapshotsFunc func(snapshot *ec2.Snapshot) error AfterDeleteSnapshotsFunc func(successful []*ec2.Snapshot, failed []*ErrorWithSnapshot) error }
Click to show internal directories.
Click to hide internal directories.