Documentation ¶
Index ¶
- type AwsAdapter
- func (ad *AwsAdapter) AbortMultipartUpload(multipartUpload *pb.MultipartUpload, context context.Context) S3Error
- func (ad *AwsAdapter) CompleteMultipartUpload(multipartUpload *pb.MultipartUpload, ...) (*model.CompleteMultipartUploadResult, S3Error)
- func (ad *AwsAdapter) DELETE(object *pb.DeleteObjectInput, ctx context.Context) S3Error
- func (ad *AwsAdapter) GET(object *pb.Object, context context.Context, start int64, end int64) (io.ReadCloser, S3Error)
- func (ad *AwsAdapter) GetObjectInfo(bucketName string, key string, context context.Context) (*pb.Object, S3Error)
- func (ad *AwsAdapter) InitMultipartUpload(object *pb.Object, context context.Context) (*pb.MultipartUpload, S3Error)
- func (ad *AwsAdapter) ListParts(listParts *pb.ListParts, context context.Context) (*model.ListPartsOutput, S3Error)
- func (ad *AwsAdapter) PUT(stream io.Reader, object *pb.Object, ctx context.Context) S3Error
- func (ad *AwsAdapter) UploadPart(stream io.Reader, multipartUpload *pb.MultipartUpload, partNumber int64, ...) (*model.UploadPartResult, S3Error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsAdapter ¶
type AwsAdapter struct {
// contains filtered or unexported fields
}
func Init ¶
func Init(backend *backendpb.BackendDetail) *AwsAdapter
func (*AwsAdapter) AbortMultipartUpload ¶
func (ad *AwsAdapter) AbortMultipartUpload(multipartUpload *pb.MultipartUpload, context context.Context) S3Error
func (*AwsAdapter) CompleteMultipartUpload ¶
func (ad *AwsAdapter) CompleteMultipartUpload( multipartUpload *pb.MultipartUpload, completeUpload *model.CompleteMultipartUpload, context context.Context) (*model.CompleteMultipartUploadResult, S3Error)
func (*AwsAdapter) DELETE ¶
func (ad *AwsAdapter) DELETE(object *pb.DeleteObjectInput, ctx context.Context) S3Error
func (*AwsAdapter) GET ¶
func (ad *AwsAdapter) GET(object *pb.Object, context context.Context, start int64, end int64) (io.ReadCloser, S3Error)
func (*AwsAdapter) GetObjectInfo ¶
func (*AwsAdapter) InitMultipartUpload ¶
func (ad *AwsAdapter) InitMultipartUpload(object *pb.Object, context context.Context) (*pb.MultipartUpload, S3Error)
func (*AwsAdapter) ListParts ¶
func (ad *AwsAdapter) ListParts(listParts *pb.ListParts, context context.Context) (*model.ListPartsOutput, S3Error)
func (*AwsAdapter) UploadPart ¶
func (ad *AwsAdapter) UploadPart(stream io.Reader, multipartUpload *pb.MultipartUpload, partNumber int64, upBytes int64, context context.Context) (*model.UploadPartResult, S3Error)
Click to show internal directories.
Click to hide internal directories.