Documentation ¶
Index ¶
- type Azure
- func (az *Azure) AbortMultipartUpload(ctx context.Context, input *s3.AbortMultipartUploadInput) error
- func (az *Azure) ChangeBucketOwner(ctx context.Context, bucket string, acl []byte) error
- func (az *Azure) CompleteMultipartUpload(ctx context.Context, input *s3.CompleteMultipartUploadInput) (*s3.CompleteMultipartUploadOutput, error)
- func (az *Azure) CopyObject(ctx context.Context, input *s3.CopyObjectInput) (*s3.CopyObjectOutput, error)
- func (az *Azure) CreateBucket(ctx context.Context, input *s3.CreateBucketInput, acl []byte) error
- func (az *Azure) CreateMultipartUpload(ctx context.Context, input *s3.CreateMultipartUploadInput) (s3response.InitiateMultipartUploadResult, error)
- func (az *Azure) DeleteBucket(ctx context.Context, bucket string) error
- func (az *Azure) DeleteBucketOwnershipControls(ctx context.Context, bucket string) error
- func (az *Azure) DeleteBucketPolicy(ctx context.Context, bucket string) error
- func (az *Azure) DeleteBucketTagging(ctx context.Context, bucket string) error
- func (az *Azure) DeleteObject(ctx context.Context, input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
- func (az *Azure) DeleteObjectTagging(ctx context.Context, bucket, object string) error
- func (az *Azure) DeleteObjects(ctx context.Context, input *s3.DeleteObjectsInput) (s3response.DeleteResult, error)
- func (az *Azure) GetBucketAcl(ctx context.Context, input *s3.GetBucketAclInput) ([]byte, error)
- func (az *Azure) GetBucketOwnershipControls(ctx context.Context, bucket string) (types.ObjectOwnership, error)
- func (az *Azure) GetBucketPolicy(ctx context.Context, bucket string) ([]byte, error)
- func (az *Azure) GetBucketTagging(ctx context.Context, bucket string) (map[string]string, error)
- func (az *Azure) GetObject(ctx context.Context, input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
- func (az *Azure) GetObjectAttributes(ctx context.Context, input *s3.GetObjectAttributesInput) (s3response.GetObjectAttributesResult, error)
- func (az *Azure) GetObjectLegalHold(ctx context.Context, bucket, object, versionId string) (*bool, error)
- func (az *Azure) GetObjectLockConfiguration(ctx context.Context, bucket string) ([]byte, error)
- func (az *Azure) GetObjectRetention(ctx context.Context, bucket, object, versionId string) ([]byte, error)
- func (az *Azure) GetObjectTagging(ctx context.Context, bucket, object string) (map[string]string, error)
- func (az *Azure) HeadBucket(ctx context.Context, input *s3.HeadBucketInput) (*s3.HeadBucketOutput, error)
- func (az *Azure) HeadObject(ctx context.Context, input *s3.HeadObjectInput) (*s3.HeadObjectOutput, error)
- func (az *Azure) ListBuckets(ctx context.Context, owner string, isAdmin bool) (s3response.ListAllMyBucketsResult, error)
- func (az *Azure) ListBucketsAndOwners(ctx context.Context) (buckets []s3response.Bucket, err error)
- func (az *Azure) ListMultipartUploads(ctx context.Context, input *s3.ListMultipartUploadsInput) (s3response.ListMultipartUploadsResult, error)
- func (az *Azure) ListObjects(ctx context.Context, input *s3.ListObjectsInput) (s3response.ListObjectsResult, error)
- func (az *Azure) ListObjectsV2(ctx context.Context, input *s3.ListObjectsV2Input) (s3response.ListObjectsV2Result, error)
- func (az *Azure) ListParts(ctx context.Context, input *s3.ListPartsInput) (s3response.ListPartsResult, error)
- func (az *Azure) PutBucketAcl(ctx context.Context, bucket string, data []byte) error
- func (az *Azure) PutBucketOwnershipControls(ctx context.Context, bucket string, ownership types.ObjectOwnership) error
- func (az *Azure) PutBucketPolicy(ctx context.Context, bucket string, policy []byte) error
- func (az *Azure) PutBucketTagging(ctx context.Context, bucket string, tags map[string]string) error
- func (az *Azure) PutObject(ctx context.Context, po *s3.PutObjectInput) (s3response.PutObjectOutput, error)
- func (az *Azure) PutObjectLegalHold(ctx context.Context, bucket, object, versionId string, status bool) error
- func (az *Azure) PutObjectLockConfiguration(ctx context.Context, bucket string, config []byte) error
- func (az *Azure) PutObjectRetention(ctx context.Context, bucket, object, versionId string, bypass bool, ...) error
- func (az *Azure) PutObjectTagging(ctx context.Context, bucket, object string, tags map[string]string) error
- func (az *Azure) Shutdown()
- func (az *Azure) String() string
- func (az *Azure) UploadPart(ctx context.Context, input *s3.UploadPartInput) (etag string, err error)
- func (az *Azure) UploadPartCopy(ctx context.Context, input *s3.UploadPartCopyInput) (s3response.CopyObjectResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Azure ¶
type Azure struct { backend.BackendUnsupported // contains filtered or unexported fields }
func (*Azure) AbortMultipartUpload ¶
func (az *Azure) AbortMultipartUpload(ctx context.Context, input *s3.AbortMultipartUploadInput) error
Deletes the block blob with committed/uncommitted blocks Cleans up the initiated multipart upload in .sgwtmp namespace
func (*Azure) ChangeBucketOwner ¶
func (*Azure) CompleteMultipartUpload ¶
func (az *Azure) CompleteMultipartUpload(ctx context.Context, input *s3.CompleteMultipartUploadInput) (*s3.CompleteMultipartUploadOutput, error)
Commits all the uncommitted blocks inside the block blob And moves the block blob from staging area into the blobs list. Copeies the multipart metadata from .sgwtmp namespace into the newly created blob Deletes the multipart upload 'blob' from .sgwtmp namespace It indicates the end of the multipart upload
func (*Azure) CopyObject ¶
func (az *Azure) CopyObject(ctx context.Context, input *s3.CopyObjectInput) (*s3.CopyObjectOutput, error)
func (*Azure) CreateBucket ¶
func (*Azure) CreateMultipartUpload ¶
func (az *Azure) CreateMultipartUpload(ctx context.Context, input *s3.CreateMultipartUploadInput) (s3response.InitiateMultipartUploadResult, error)
func (*Azure) DeleteBucket ¶
func (*Azure) DeleteBucketOwnershipControls ¶ added in v1.0.3
func (*Azure) DeleteBucketPolicy ¶
func (*Azure) DeleteBucketTagging ¶
func (*Azure) DeleteObject ¶
func (az *Azure) DeleteObject(ctx context.Context, input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
func (*Azure) DeleteObjectTagging ¶
func (*Azure) DeleteObjects ¶
func (az *Azure) DeleteObjects(ctx context.Context, input *s3.DeleteObjectsInput) (s3response.DeleteResult, error)
func (*Azure) GetBucketAcl ¶
func (*Azure) GetBucketOwnershipControls ¶ added in v1.0.3
func (*Azure) GetBucketPolicy ¶
func (*Azure) GetBucketTagging ¶
func (*Azure) GetObject ¶
func (az *Azure) GetObject(ctx context.Context, input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
func (*Azure) GetObjectAttributes ¶
func (az *Azure) GetObjectAttributes(ctx context.Context, input *s3.GetObjectAttributesInput) (s3response.GetObjectAttributesResult, error)
func (*Azure) GetObjectLegalHold ¶
func (*Azure) GetObjectLockConfiguration ¶
func (*Azure) GetObjectRetention ¶
func (*Azure) GetObjectTagging ¶
func (*Azure) HeadBucket ¶
func (az *Azure) HeadBucket(ctx context.Context, input *s3.HeadBucketInput) (*s3.HeadBucketOutput, error)
func (*Azure) HeadObject ¶
func (az *Azure) HeadObject(ctx context.Context, input *s3.HeadObjectInput) (*s3.HeadObjectOutput, error)
func (*Azure) ListBuckets ¶
func (az *Azure) ListBuckets(ctx context.Context, owner string, isAdmin bool) (s3response.ListAllMyBucketsResult, error)
func (*Azure) ListBucketsAndOwners ¶
The action actually returns the containers owned by the user, who initialized the gateway TODO: Not sure if there's a way to list all the containers and owners?
func (*Azure) ListMultipartUploads ¶
func (az *Azure) ListMultipartUploads(ctx context.Context, input *s3.ListMultipartUploadsInput) (s3response.ListMultipartUploadsResult, error)
Lists all the multipart uploads initiated with .sgwtmp/multipart prefix
func (*Azure) ListObjects ¶
func (az *Azure) ListObjects(ctx context.Context, input *s3.ListObjectsInput) (s3response.ListObjectsResult, error)
func (*Azure) ListObjectsV2 ¶
func (az *Azure) ListObjectsV2(ctx context.Context, input *s3.ListObjectsV2Input) (s3response.ListObjectsV2Result, error)
func (*Azure) ListParts ¶
func (az *Azure) ListParts(ctx context.Context, input *s3.ListPartsInput) (s3response.ListPartsResult, error)
Lists all uncommitted parts from the blob
func (*Azure) PutBucketAcl ¶
func (*Azure) PutBucketOwnershipControls ¶ added in v1.0.3
func (*Azure) PutBucketPolicy ¶
func (*Azure) PutBucketTagging ¶
func (*Azure) PutObject ¶
func (az *Azure) PutObject(ctx context.Context, po *s3.PutObjectInput) (s3response.PutObjectOutput, error)
func (*Azure) PutObjectLegalHold ¶
func (*Azure) PutObjectLockConfiguration ¶
func (*Azure) PutObjectRetention ¶
func (*Azure) PutObjectTagging ¶
func (*Azure) UploadPart ¶
func (az *Azure) UploadPart(ctx context.Context, input *s3.UploadPartInput) (etag string, err error)
Each part is translated into an uncommitted block in a newly created blob in staging area
func (*Azure) UploadPartCopy ¶
func (az *Azure) UploadPartCopy(ctx context.Context, input *s3.UploadPartCopyInput) (s3response.CopyObjectResult, error)