Documentation ¶
Index ¶
- func ListObjs(loca *LocationInfo) ([]obs.Content, error)
- type ObsMover
- func (mover *ObsMover) AbortMultipartUpload(objKey string, destLoca *LocationInfo) error
- func (mover *ObsMover) CompleteMultipartUpload(objKey string, destLoca *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) 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) CompleteMultipartUpload ¶
func (*ObsMover) DownloadObj ¶
func (*ObsMover) DownloadRange ¶
func (*ObsMover) MultiPartDownloadInit ¶
func (*ObsMover) MultiPartUploadInit ¶
Click to show internal directories.
Click to hide internal directories.