Documentation ¶
Index ¶
- func ListObjs(loca *LocationInfo, filt *pb.Filter) ([]obs.Content, error)
- type ObsMover
- func (mover *ObsMover) AbortMultipartUpload(objKey string, destLoca *LocationInfo) (err error)
- func (mover *ObsMover) ChangeStorageClass(objKey *string, newClass *string, bkend *BackendInfo) error
- func (mover *ObsMover) CompleteMultipartUpload(objKey string, destLoca *LocationInfo) (err error)
- func (mover *ObsMover) DeleteIncompleteMultipartUpload(objKey, uploadId string, loc *LocationInfo) error
- func (mover *ObsMover) DeleteObj(objKey string, loca *LocationInfo) error
- func (mover *ObsMover) DownloadObj(objKey string, srcLoca *LocationInfo, buf []byte) (size int64, err error)
- func (mover *ObsMover) DownloadRange(objKey string, srcLoca *LocationInfo, buf []byte, start int64, end int64) (size int64, err error)
- func (mover *ObsMover) MultiPartDownloadInit(srcLoca *LocationInfo) error
- func (mover *ObsMover) MultiPartUploadInit(objKey string, destLoca *LocationInfo) (string, error)
- func (mover *ObsMover) UploadObj(objKey string, destLoca *LocationInfo, buf []byte) error
- func (mover *ObsMover) UploadPart(objKey string, destLoca *LocationInfo, upBytes int64, buf []byte, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ObsMover ¶
type ObsMover struct {
// contains filtered or unexported fields
}
func (*ObsMover) AbortMultipartUpload ¶
func (*ObsMover) ChangeStorageClass ¶ added in v0.5.3
func (*ObsMover) CompleteMultipartUpload ¶
func (*ObsMover) DeleteIncompleteMultipartUpload ¶ added in v0.5.3
func (*ObsMover) DownloadObj ¶
func (*ObsMover) DownloadRange ¶
func (*ObsMover) MultiPartDownloadInit ¶
func (*ObsMover) MultiPartUploadInit ¶
Click to show internal directories.
Click to hide internal directories.