Documentation ¶
Index ¶
- func ContainerExists(ctx context.Context, containerURL *azblob.ContainerURL) (bool, error)
- func GetBlobURL(blobName, containerName, storageAccountName, primaryKey string, ...) (string, error)
- func GetBlockBlob(ctx context.Context, blobName string, containerURL *azblob.ContainerURL) ([]byte, error)
- func IsBlobNotFound(err error) bool
- func IsContainerNotFound(err error) bool
- func IsInvalidConfig(err error) bool
- func IsNotFound(err error) bool
- func IsWrongTypeError(err error) bool
- func ListBlobs(ctx context.Context, containerURL *azblob.ContainerURL) (*azblob.ListBlobsFlatSegmentResponse, error)
- func PutBlockBlob(ctx context.Context, blobName string, payload string, ...) (azblob.BlockBlobURL, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerExists ¶
func GetBlobURL ¶
func GetBlobURL(blobName, containerName, storageAccountName, primaryKey string, containerURL *azblob.ContainerURL) (string, error)
func GetBlockBlob ¶
func IsBlobNotFound ¶
IsBlobNotFound asserts blob not found error from upstream's API message.
func IsContainerNotFound ¶
IsContainerNotFound asserts container not found error from upstream's API message.
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
func ListBlobs ¶
func ListBlobs(ctx context.Context, containerURL *azblob.ContainerURL) (*azblob.ListBlobsFlatSegmentResponse, error)
func PutBlockBlob ¶
func PutBlockBlob(ctx context.Context, blobName string, payload string, containerURL *azblob.ContainerURL) (azblob.BlockBlobURL, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.