s3mover

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListObjs

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

Types

type S3Mover

type S3Mover struct {
	// contains filtered or unexported fields
}

func (*S3Mover) AbortMultipartUpload

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

func (*S3Mover) CompleteMultipartUpload

func (mover *S3Mover) CompleteMultipartUpload(objKey string, destLoca *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) 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