cephs3mover

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: 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 CephS3Mover

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

func (*CephS3Mover) AbortMultipartUpload

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

func (*CephS3Mover) CompleteMultipartUpload

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

func (*CephS3Mover) DeleteObj

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

func (*CephS3Mover) DownloadObj

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

func (*CephS3Mover) DownloadRange

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

func (*CephS3Mover) MultiPartDownloadInit

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

func (*CephS3Mover) MultiPartUploadInit

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

func (*CephS3Mover) UploadObj

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

func (*CephS3Mover) UploadPart

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

type CreateMultipartUploadOutput

type CreateMultipartUploadOutput struct {
	UploadID string
}

Jump to

Keyboard shortcuts

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