testutils

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteBucket

func DeleteBucket(ctx context.Context, svc DeleteBucketAPI, bucketName string) error

DeleteBucket deletes a S3 bucket.

func SkipIfUnitTest

func SkipIfUnitTest(t *testing.T)

SkipIfUnitTest skips join tests.

Types

type Bucket added in v0.0.13

type Bucket struct {
	// contains filtered or unexported fields
}

Bucket is an S3 bucket. It is used for integration tests.

func (*Bucket) Name added in v0.0.13

func (b *Bucket) Name() string

type BucketPool added in v0.0.13

type BucketPool struct {
	// contains filtered or unexported fields
}

BucketPool is a pool of buckets.

func NewBucketPool added in v0.0.13

func NewBucketPool(input *s3.CreateBucketInput, svc APIClient, size int) *BucketPool

func (*BucketPool) Cleanup added in v0.0.13

func (pool *BucketPool) Cleanup(ctx context.Context)

func (*BucketPool) Get added in v0.0.13

func (pool *BucketPool) Get(ctx context.Context) (*Bucket, error)

func (*BucketPool) Put added in v0.0.13

func (pool *BucketPool) Put(bucket *Bucket)

type DeleteBucketAPI added in v0.0.13

Jump to

Keyboard shortcuts

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