package integration
import "github.com/aws/aws-sdk-go-v2/feature/s3/manager/internal/integration"
Index ¶
- Constants
- func CleanupBucket(client *s3.Client, bucketName string) error
- func CreateFileOfSize(dir string, size int64) (*os.File, error)
- func GenerateBucketName() string
- func MustUUID() string
- func SetupBucket(client *s3.Client, bucketName, region string) (err error)
- func SizeToName(size int) string
Constants ¶
const BucketPrefix = "aws-sdk-go-v2-integration"
BucketPrefix is the root prefix of integration test buckets.
Functions ¶
func CleanupBucket ¶
CleanupBucket deletes the contents of a S3 bucket, before deleting the bucket it self.
func CreateFileOfSize ¶
CreateFileOfSize will return an *os.File that is of size bytes
func GenerateBucketName ¶
func GenerateBucketName() string
GenerateBucketName returns a unique bucket name.
func MustUUID ¶
func MustUUID() string
MustUUID returns an UUID string or panics
func SetupBucket ¶
SetupBucket returns a test bucket created for the integration tests.
func SizeToName ¶
SizeToName returns a human-readable string for the given size bytes
Source Files ¶
- Version
- v1.17.79 (latest)
- Published
- Jun 10, 2025
- Platform
- windows/amd64
- Imports
- 12 packages
- Last checked
- 4 minutes ago –
Tools for package owners.