blobclient

package
v6.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerExists

func ContainerExists(ctx context.Context, containerURL *azblob.ContainerURL) (bool, error)

func GetBlobURL

func GetBlobURL(blobName, containerName, storageAccountName, primaryKey string, containerURL *azblob.ContainerURL) (string, error)

func GetBlockBlob

func GetBlockBlob(ctx context.Context, blobName string, containerURL *azblob.ContainerURL) ([]byte, error)

func IsBlobNotFound

func IsBlobNotFound(err error) bool

IsBlobNotFound asserts blob not found error from upstream's API message.

func IsContainerNotFound

func IsContainerNotFound(err error) bool

IsContainerNotFound asserts container not found error from upstream's API message.

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound asserts notFoundError.

func IsWrongTypeError

func IsWrongTypeError(err error) bool

IsWrongTypeError asserts wrongTypeError.

func PutBlockBlob

func PutBlockBlob(ctx context.Context, blobName string, payload string, containerURL *azblob.ContainerURL) (azblob.BlockBlobURL, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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