Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadBlobToFile ¶
func DownloadBlobToFile(ctx context.Context, blobURL azblob.BlobURL, offset int64, count int64, file *os.File, o azblob.DownloadFromBlobOptions) error
DownloadBlobToFile downloads an Azure blob to a local file. The file would be truncated if the size doesn't match. Offset and count are optional, pass 0 for both to download the entire blob.
func UploadFileToBlockBlob ¶
func UploadFileToBlockBlob(ctx context.Context, file *os.File, blockBlobURL azblob.BlockBlobURL, o azblob.UploadToBlockBlobOptions) (azblob.CommonResponse, error)
UploadFileToBlockBlob uploads a file in blocks to a block blob.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.