s3proxy

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Proxy

type S3Proxy struct {
	backend.BackendUnsupported
	// contains filtered or unexported fields
}

func New

func New(access, secret, endpoint, region string, disableChecksum, sslSkipVerify, debug bool) (*S3Proxy, error)

func (*S3Proxy) AbortMultipartUpload

func (s *S3Proxy) AbortMultipartUpload(ctx context.Context, input *s3.AbortMultipartUploadInput) error

func (*S3Proxy) ChangeBucketOwner

func (s *S3Proxy) ChangeBucketOwner(ctx context.Context, bucket string, acl []byte) error

func (*S3Proxy) CompleteMultipartUpload

func (s *S3Proxy) CompleteMultipartUpload(ctx context.Context, input *s3.CompleteMultipartUploadInput) (*s3.CompleteMultipartUploadOutput, error)

func (*S3Proxy) CopyObject

func (s *S3Proxy) CopyObject(ctx context.Context, input *s3.CopyObjectInput) (*s3.CopyObjectOutput, error)

func (*S3Proxy) CreateBucket

func (s *S3Proxy) CreateBucket(ctx context.Context, input *s3.CreateBucketInput, acl []byte) error

func (*S3Proxy) DeleteBucket

func (s *S3Proxy) DeleteBucket(ctx context.Context, bucket string) error

func (*S3Proxy) DeleteBucketOwnershipControls added in v1.0.3

func (s *S3Proxy) DeleteBucketOwnershipControls(ctx context.Context, bucket string) error

func (*S3Proxy) DeleteBucketPolicy

func (s *S3Proxy) DeleteBucketPolicy(ctx context.Context, bucket string) error

func (*S3Proxy) DeleteObject

func (s *S3Proxy) DeleteObject(ctx context.Context, input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)

func (*S3Proxy) DeleteObjectTagging

func (s *S3Proxy) DeleteObjectTagging(ctx context.Context, bucket, object string) error

func (*S3Proxy) DeleteObjects

func (s *S3Proxy) DeleteObjects(ctx context.Context, input *s3.DeleteObjectsInput) (s3response.DeleteResult, error)

func (*S3Proxy) GetBucketAcl

func (s *S3Proxy) GetBucketAcl(ctx context.Context, input *s3.GetBucketAclInput) ([]byte, error)

func (*S3Proxy) GetBucketOwnershipControls added in v1.0.3

func (s *S3Proxy) GetBucketOwnershipControls(ctx context.Context, bucket string) (types.ObjectOwnership, error)

func (*S3Proxy) GetBucketPolicy

func (s *S3Proxy) GetBucketPolicy(ctx context.Context, bucket string) ([]byte, error)

func (*S3Proxy) GetBucketVersioning added in v1.0.8

func (s *S3Proxy) GetBucketVersioning(ctx context.Context, bucket string) (s3response.GetBucketVersioningOutput, error)

func (*S3Proxy) GetObject

func (s *S3Proxy) GetObject(ctx context.Context, input *s3.GetObjectInput) (*s3.GetObjectOutput, error)

func (*S3Proxy) GetObjectAttributes

func (*S3Proxy) GetObjectLegalHold

func (s *S3Proxy) GetObjectLegalHold(ctx context.Context, bucket, object, versionId string) (*bool, error)

func (*S3Proxy) GetObjectLockConfiguration

func (s *S3Proxy) GetObjectLockConfiguration(ctx context.Context, bucket string) ([]byte, error)

func (*S3Proxy) GetObjectRetention

func (s *S3Proxy) GetObjectRetention(ctx context.Context, bucket, object, versionId string) ([]byte, error)

func (*S3Proxy) GetObjectTagging

func (s *S3Proxy) GetObjectTagging(ctx context.Context, bucket, object string) (map[string]string, error)

func (*S3Proxy) HeadBucket

func (s *S3Proxy) HeadBucket(ctx context.Context, input *s3.HeadBucketInput) (*s3.HeadBucketOutput, error)

func (*S3Proxy) HeadObject

func (s *S3Proxy) HeadObject(ctx context.Context, input *s3.HeadObjectInput) (*s3.HeadObjectOutput, error)

func (*S3Proxy) ListBuckets

func (s *S3Proxy) ListBuckets(ctx context.Context, owner string, isAdmin bool) (s3response.ListAllMyBucketsResult, error)

func (*S3Proxy) ListBucketsAndOwners

func (s *S3Proxy) ListBucketsAndOwners(ctx context.Context) ([]s3response.Bucket, error)

func (*S3Proxy) ListMultipartUploads

func (*S3Proxy) ListObjectVersions added in v1.0.8

func (s *S3Proxy) ListObjectVersions(ctx context.Context, input *s3.ListObjectVersionsInput) (s3response.ListVersionsResult, error)

func (*S3Proxy) ListObjects

func (*S3Proxy) ListObjectsV2

func (*S3Proxy) ListParts

func (s *S3Proxy) ListParts(ctx context.Context, input *s3.ListPartsInput) (s3response.ListPartsResult, error)

func (*S3Proxy) PutBucketAcl

func (s *S3Proxy) PutBucketAcl(ctx context.Context, bucket string, data []byte) error

func (*S3Proxy) PutBucketOwnershipControls added in v1.0.3

func (s *S3Proxy) PutBucketOwnershipControls(ctx context.Context, bucket string, ownership types.ObjectOwnership) error

func (*S3Proxy) PutBucketPolicy

func (s *S3Proxy) PutBucketPolicy(ctx context.Context, bucket string, policy []byte) error

func (*S3Proxy) PutBucketVersioning added in v1.0.8

func (s *S3Proxy) PutBucketVersioning(ctx context.Context, bucket string, status types.BucketVersioningStatus) error

func (*S3Proxy) PutObject

func (s *S3Proxy) PutObject(ctx context.Context, input *s3.PutObjectInput) (s3response.PutObjectOutput, error)

func (*S3Proxy) PutObjectLegalHold

func (s *S3Proxy) PutObjectLegalHold(ctx context.Context, bucket, object, versionId string, status bool) error

func (*S3Proxy) PutObjectLockConfiguration

func (s *S3Proxy) PutObjectLockConfiguration(ctx context.Context, bucket string, config []byte) error

func (*S3Proxy) PutObjectRetention

func (s *S3Proxy) PutObjectRetention(ctx context.Context, bucket, object, versionId string, bypass bool, retention []byte) error

func (*S3Proxy) PutObjectTagging

func (s *S3Proxy) PutObjectTagging(ctx context.Context, bucket, object string, tags map[string]string) error

func (*S3Proxy) UploadPart

func (s *S3Proxy) UploadPart(ctx context.Context, input *s3.UploadPartInput) (etag string, err error)

func (*S3Proxy) UploadPartCopy

func (s *S3Proxy) UploadPartCopy(ctx context.Context, input *s3.UploadPartCopyInput) (s3response.CopyObjectResult, error)

Jump to

Keyboard shortcuts

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