obsmover

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListObjs

func ListObjs(loca *LocationInfo) ([]obs.Content, error)

Types

type ObsMover

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

func (*ObsMover) AbortMultipartUpload

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

func (*ObsMover) CompleteMultipartUpload

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

func (*ObsMover) DeleteObj

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

func (*ObsMover) DownloadObj

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

func (*ObsMover) DownloadRange

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

func (*ObsMover) MultiPartDownloadInit

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

func (*ObsMover) MultiPartUploadInit

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

func (*ObsMover) UploadObj

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

func (*ObsMover) UploadPart

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