Documentation ¶
Index ¶
Constants ¶
View Source
const ( OBJMETA_TIER = "tier" OBJMETA_BACKEND = "backend" )
View Source
const ( DMERR_Success = "success" DMERR_NoPermission = "permissionDenied" DMERR_InternalError = "internalError" DMERR_UnSupportBackendType = "unsupport backend type" DMERR_UnSupportStorageClass = "unsupport storage class" DMERR_UnSupportOperation = "unsupport operation" DMERR_NoSuchKey = "noSuchkey" DMERR_NoSuchUpload = "noSuchUpload" DMERR_TransitionInprogress = "transition in-progress" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendInfo ¶ added in v0.5.3
type GetMultipartUploadRequest ¶ added in v0.5.3
type LocationInfo ¶
type MoveWorker ¶
type MoveWorker interface { DownloadObj(objKey string, srcLoca *LocationInfo, buf []byte) (size int64, err error) UploadObj(objKey string, destLoca *LocationInfo, buf []byte) error DeleteObj(objKey string, loca *LocationInfo) error MultiPartDownloadInit(srcLoca *LocationInfo) error DownloadRange(objKey string, srcLoca *LocationInfo, buf []byte, start int64, end int64) (size int64, err error) MultiPartUploadInit(objKey string, destLoca *LocationInfo) (uploadId string, err error) UploadPart(objKey string, destLoca *LocationInfo, upBytes int64, buf []byte, partNumber int64, offset int64) error AbortMultipartUpload(objKey string, destLoca *LocationInfo) error CompleteMultipartUpload(objKey string, destLoca *LocationInfo) error ChangeStorageClass(objKey *string, newClass *string, bkend *BackendInfo) error }
Click to show internal directories.
Click to hide internal directories.