s3

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RequestRetries      = 5
	HealthCheckLabelKey = "provider-ceph.crossplane.io"
	HealthCheckLabelVal = "health-check-bucket"
)

Variables

This section is empty.

Functions

func BucketExists added in v0.0.5

func BucketExists(ctx context.Context, s3Backend *s3.Client, 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 *s3.Client, 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