Documentation
¶
Index ¶
- func AwsErrRetry(err error) bool
- func ExtractReqBody(r *http.Request, body any) error
- func ExtractRespBody(r *http.Response, body any) error
- type AWS
- type Client
- type RequestID
- type S3
- func (s *S3) BucketExists(ctx context.Context, bucketName string) (bool, error)
- func (s *S3) GetBucketLifecycle(ctx context.Context, bucketName string) (*lifecycle.Configuration, error)
- func (s *S3) GetBucketPolicy(ctx context.Context, bucketName string) (string, error)
- func (s *S3) GetBucketTagging(ctx context.Context, bucketName string) (*tags.Tags, error)
- func (s *S3) GetBucketVersioning(ctx context.Context, bucketName string) (mclient.BucketVersioningConfiguration, error)
- func (s *S3) GetObjectTagging(ctx context.Context, bucketName, objectName string, ...) (*tags.Tags, error)
- func (s *S3) ListBuckets(ctx context.Context) ([]mclient.BucketInfo, error)
- func (s *S3) ListObjects(ctx context.Context, bucketName string, opts mclient.ListObjectsOptions) <-chan mclient.ObjectInfo
- func (s *S3) MakeBucket(ctx context.Context, bucketName string, opts mclient.MakeBucketOptions) (err error)
- func (s *S3) PutObjectTagging(ctx context.Context, bucketName, objectName string, otags *tags.Tags, ...) error
- func (s *S3) RemoveBucket(ctx context.Context, bucketName string) error
- func (s *S3) RemoveBucketTagging(ctx context.Context, bucketName string) error
- func (s *S3) RemoveObject(ctx context.Context, bucketName, objectName string, ...) error
- func (s *S3) RemoveObjectTagging(ctx context.Context, bucketName, objectName string, ...) error
- func (s *S3) RemoveObjects(ctx context.Context, bucketName string, objectsCh <-chan mclient.ObjectInfo, ...) <-chan mclient.RemoveObjectError
- func (s *S3) SetBucketLifecycle(ctx context.Context, bucketName string, config *lifecycle.Configuration) error
- func (s *S3) SetBucketPolicy(ctx context.Context, bucketName, policy string) error
- func (s *S3) SetBucketTagging(ctx context.Context, bucketName string, tags *tags.Tags) error
- func (s *S3) SetBucketVersioning(ctx context.Context, bucketName string, ...) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwsErrRetry ¶
Types ¶
type RequestID ¶
func MustRequestID ¶
type S3 ¶
func (*S3) BucketExists ¶
func (*S3) GetBucketLifecycle ¶
func (*S3) GetBucketPolicy ¶
func (*S3) GetBucketTagging ¶
func (*S3) GetBucketVersioning ¶
func (*S3) GetObjectTagging ¶
func (*S3) ListBuckets ¶
func (*S3) ListObjects ¶
func (s *S3) ListObjects(ctx context.Context, bucketName string, opts mclient.ListObjectsOptions) <-chan mclient.ObjectInfo
func (*S3) MakeBucket ¶
func (*S3) PutObjectTagging ¶
func (*S3) RemoveBucketTagging ¶
func (*S3) RemoveObject ¶
func (*S3) RemoveObjectTagging ¶
func (*S3) RemoveObjects ¶
func (s *S3) RemoveObjects(ctx context.Context, bucketName string, objectsCh <-chan mclient.ObjectInfo, opts mclient.RemoveObjectsOptions) <-chan mclient.RemoveObjectError
func (*S3) SetBucketLifecycle ¶
func (*S3) SetBucketPolicy ¶
func (*S3) SetBucketTagging ¶
func (*S3) SetBucketVersioning ¶
Click to show internal directories.
Click to hide internal directories.