Documentation ¶
Index ¶
- Variables
- func ListObjs(loca *LocationInfo) ([]azblob.BlobItem, error)
- type BlobMover
- func (mover *BlobMover) AbortMultipartUpload(objKey string, destLoca *LocationInfo) error
- func (mover *BlobMover) Base64ToInt64(base64ID string) int64
- func (mover *BlobMover) BinaryToBase64(binaryID []byte) string
- func (mover *BlobMover) CompleteMultipartUpload(objKey string, destLoca *LocationInfo) error
- func (mover *BlobMover) DeleteObj(objKey string, loca *LocationInfo) error
- func (mover *BlobMover) DownloadObj(objKey string, srcLoca *LocationInfo, buf []byte) (size int64, err error)
- func (mover *BlobMover) DownloadRange(objKey string, srcLoca *LocationInfo, buf []byte, start int64, end int64) (size int64, err error)
- func (mover *BlobMover) Init(endpoint *string, acountName *string, accountKey *string) error
- func (mover *BlobMover) Int64ToBase64(blockID int64) string
- func (mover *BlobMover) MultiPartDownloadInit(srcLoca *LocationInfo) error
- func (mover *BlobMover) MultiPartUploadInit(objKey string, destLoca *LocationInfo) error
- func (mover *BlobMover) UploadObj(objKey string, destLoca *LocationInfo, buf []byte) error
- func (mover *BlobMover) UploadPart(objKey string, destLoca *LocationInfo, upBytes int64, buf []byte, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HTTP_OK = 200 HTTP_CREATED = 201 )
View Source
var MaxTimeForSingleHttpRequest = 50 * time.Minute
TryTimeout indicates the maximum time allowed for any single try of an HTTP request.
Functions ¶
Types ¶
type BlobMover ¶
type BlobMover struct {
// contains filtered or unexported fields
}
func (*BlobMover) AbortMultipartUpload ¶
func (*BlobMover) Base64ToInt64 ¶
func (*BlobMover) BinaryToBase64 ¶
func (*BlobMover) CompleteMultipartUpload ¶
A blob can have up to 100,000 uncommitted blocks, but their total size cannot exceed 200,000 MB.
func (*BlobMover) DownloadObj ¶
func (*BlobMover) DownloadRange ¶
func (*BlobMover) Int64ToBase64 ¶
func (*BlobMover) MultiPartDownloadInit ¶
func (*BlobMover) MultiPartUploadInit ¶
Click to show internal directories.
Click to hide internal directories.