Gcps3mover

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2019 License: Apache-2.0 Imports: 11 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) ([]models.GetBucketResponseContent, error)

Types

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