Version: v0.12.0 Latest Latest

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

Go to latest
Published: Apr 12, 2020 License: Apache-2.0 Imports: 11 Imported by: 0




This section is empty.


This section is empty.


func ListObjs

func ListObjs(loca *LocationInfo, filt *pb.Filter) ([]*s3.Object, error)


type S3Mover

type S3Mover struct {
	// contains filtered or unexported fields

func (*S3Mover) AbortMultipartUpload

func (mover *S3Mover) AbortMultipartUpload(objKey string, destLoca *LocationInfo) error

func (*S3Mover) ChangeStorageClass added in v0.5.3

func (mover *S3Mover) ChangeStorageClass(objKey *string, newClass *string, loca *BackendInfo) error

func (*S3Mover) CompleteMultipartUpload

func (mover *S3Mover) CompleteMultipartUpload(objKey string, destLoca *LocationInfo) error

func (*S3Mover) DeleteIncompleteMultipartUpload added in v0.5.3

func (mover *S3Mover) DeleteIncompleteMultipartUpload(objKey, uploadId string, loc *LocationInfo) error

func (*S3Mover) DeleteObj

func (mover *S3Mover) DeleteObj(objKey string, loca *LocationInfo) error

func (*S3Mover) DownloadObj

func (mover *S3Mover) DownloadObj(objKey string, srcLoca *LocationInfo, buf []byte) (size int64, err error)

func (*S3Mover) DownloadRange

func (mover *S3Mover) DownloadRange(objKey string, srcLoca *LocationInfo, buf []byte, start int64, end int64) (size int64, err error)

func (*S3Mover) MultiPartDownloadInit

func (mover *S3Mover) MultiPartDownloadInit(srcLoca *LocationInfo) error

func (*S3Mover) MultiPartUploadInit

func (mover *S3Mover) MultiPartUploadInit(objKey string, destLoca *LocationInfo) (string, error)

func (*S3Mover) UploadObj

func (mover *S3Mover) UploadObj(objKey string, destLoca *LocationInfo, buf []byte) error

func (*S3Mover) UploadPart

func (mover *S3Mover) UploadPart(objKey string, destLoca *LocationInfo, upBytes int64, buf []byte, partNumber int64, offset int64) error

Jump to

Keyboard shortcuts

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