s3

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequestRetries = 5
)

Variables

This section is empty.

Functions

func BucketExists added in v0.0.5

func BucketExists(ctx context.Context, s3Backend backendstore.S3Client, bucketName string) (bool, error)

func BucketToCreateBucketInput

func BucketToCreateBucketInput(bucket *v1alpha1.Bucket) *s3.CreateBucketInput

func BucketToPutBucketACLInput added in v0.0.2

func BucketToPutBucketACLInput(bucket *v1alpha1.Bucket) *s3.PutBucketAclInput

func BucketToPutBucketOwnershipControlsInput added in v0.0.2

func BucketToPutBucketOwnershipControlsInput(bucket *v1alpha1.Bucket) *s3.PutBucketOwnershipControlsInput

func DeleteBucket added in v0.0.5

func DeleteBucket(ctx context.Context, s3Backend backendstore.S3Client, bucketName *string) error

func NewClient

func NewClient(ctx context.Context, data map[string][]byte, pcSpec *apisv1alpha1.ProviderConfigSpec) (*s3.Client, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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