v0.5.4 Latest Latest

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

Go to latest
Published: Jun 12, 2019 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) ([]models.GetBucketResponseContent, error)


type CreateMultipartUploadOutput

type CreateMultipartUploadOutput struct {
	UploadID string

type GcpS3Mover

type GcpS3Mover struct {
	// contains filtered or unexported fields

func (*GcpS3Mover) AbortMultipartUpload

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

func (*GcpS3Mover) ChangeStorageClass added in v0.5.3

func (mover *GcpS3Mover) ChangeStorageClass(objKey *string, newClass *string, bkend *BackendInfo) error

func (*GcpS3Mover) CompleteMultipartUpload

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

func (*GcpS3Mover) DeleteIncompleteMultipartUpload added in v0.5.3

func (mover *GcpS3Mover) DeleteIncompleteMultipartUpload(objKey, uploadId string, destLoca *LocationInfo) error

func (*GcpS3Mover) DeleteObj

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

func (*GcpS3Mover) DownloadObj

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

func (*GcpS3Mover) DownloadRange

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

func (*GcpS3Mover) MultiPartDownloadInit

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

func (*GcpS3Mover) MultiPartUploadInit

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

func (*GcpS3Mover) UploadObj

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

func (*GcpS3Mover) UploadPart

func (mover *GcpS3Mover) 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