azblobext

package
v0.0.0-...-771b6df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2020 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL