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
- func (s *AWS) CreateBucketWithContext(ctx aws.Context, input *aws_s3.CreateBucketInput, opts ...request.Option) (*aws_s3.CreateBucketOutput, error)
- func (s *AWS) GetBucketAclWithContext(ctx aws.Context, input *aws_s3.GetBucketAclInput, opts ...request.Option) (*aws_s3.GetBucketAclOutput, error)
- func (s *AWS) GetObjectAclWithContext(ctx aws.Context, input *aws_s3.GetObjectAclInput, opts ...request.Option) (*aws_s3.GetObjectAclOutput, error)
- func (s *AWS) HeadBucketWithContext(ctx aws.Context, input *aws_s3.HeadBucketInput, opts ...request.Option) (*aws_s3.HeadBucketOutput, error)
- func (s *AWS) PutBucketAclWithContext(ctx aws.Context, input *aws_s3.PutBucketAclInput, opts ...request.Option) (*aws_s3.PutBucketAclOutput, error)
- func (s *AWS) PutObjectAclWithContext(ctx aws.Context, input *aws_s3.PutObjectAclInput, opts ...request.Option) (*aws_s3.PutObjectAclOutput, error)
- 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) GetObject(ctx context.Context, bucketName, objectName string, ...) (*mclient.Object, 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) PutObject(ctx context.Context, bucketName, objectName string, reader io.Reader, ...) (info mclient.UploadInfo, 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
- func (s *S3) StatObject(ctx context.Context, bucketName, objectName string, ...) (mclient.ObjectInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwsErrRetry ¶
Types ¶
type AWS ¶
func (*AWS) CreateBucketWithContext ¶ added in v0.7.0
func (s *AWS) CreateBucketWithContext(ctx aws.Context, input *aws_s3.CreateBucketInput, opts ...request.Option) (*aws_s3.CreateBucketOutput, error)
func (*AWS) GetBucketAclWithContext ¶ added in v0.7.0
func (s *AWS) GetBucketAclWithContext(ctx aws.Context, input *aws_s3.GetBucketAclInput, opts ...request.Option) (*aws_s3.GetBucketAclOutput, error)
func (*AWS) GetObjectAclWithContext ¶ added in v0.7.0
func (s *AWS) GetObjectAclWithContext(ctx aws.Context, input *aws_s3.GetObjectAclInput, opts ...request.Option) (*aws_s3.GetObjectAclOutput, error)
func (*AWS) HeadBucketWithContext ¶ added in v0.7.0
func (s *AWS) HeadBucketWithContext(ctx aws.Context, input *aws_s3.HeadBucketInput, opts ...request.Option) (*aws_s3.HeadBucketOutput, error)
func (*AWS) PutBucketAclWithContext ¶ added in v0.7.0
func (s *AWS) PutBucketAclWithContext(ctx aws.Context, input *aws_s3.PutBucketAclInput, opts ...request.Option) (*aws_s3.PutBucketAclOutput, error)
func (*AWS) PutObjectAclWithContext ¶ added in v0.7.0
func (s *AWS) PutObjectAclWithContext(ctx aws.Context, input *aws_s3.PutObjectAclInput, opts ...request.Option) (*aws_s3.PutObjectAclOutput, error)
type Client ¶
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 ¶
func (*S3) StatObject ¶ added in v0.7.0
func (s *S3) StatObject(ctx context.Context, bucketName, objectName string, opts mclient.StatObjectOptions) (mclient.ObjectInfo, error)
Click to show internal directories.
Click to hide internal directories.