package
1.0.0
Repository: https://github.com/couchbase/tools-common.git
Documentation: pkg.go.dev

# Functions

GetServiceClient returns the Azure Service Client that facilitates all the necessary interactions with the Azure blob storage.
NewClient returns a new client which uses the given service client, in general this should be the one created using the 'azblob.NewServiceClient' function exposed by the SDK.
NewMockblobAPI creates a new mock instance.
NewMockblockBlobAPI creates a new mock instance.
NewMockcontainerAPI creates a new mock instance.
NewMockflatBlobsPager creates a new mock instance.
NewMockhierarchyBlobsPager creates a new mock instance.
NewMockserviceAPI creates a new mock instance.
NewTokenCredential returns an initialized 'TokenCredential', will return an error if none of the expected credentials are available.

# Constants

PageSize is the default page size used by Azure.

# Variables

ErrFailedToDetermineAccountName is returned in the event that we fail to determine the Azure account name using both the static credentials or the environment.

# Structs

Client implements the 'objcli.Client' interface allowing the creation/management of blobs stored in Azure blob store.
ClientOptions encapsulates the options for creating a new Azure Client.
MockblobAPI is a mock of blobAPI interface.
MockblobAPIMockRecorder is the mock recorder for MockblobAPI.
MockblockBlobAPI is a mock of blockBlobAPI interface.
MockblockBlobAPIMockRecorder is the mock recorder for MockblockBlobAPI.
MockcontainerAPI is a mock of containerAPI interface.
MockcontainerAPIMockRecorder is the mock recorder for MockcontainerAPI.
MockflatBlobsPager is a mock of flatBlobsPager interface.
MockflatBlobsPagerMockRecorder is the mock recorder for MockflatBlobsPager.
MockhierarchyBlobsPager is a mock of hierarchyBlobsPager interface.
MockhierarchyBlobsPagerMockRecorder is the mock recorder for MockhierarchyBlobsPager.
MockserviceAPI is a mock of serviceAPI interface.
MockserviceAPIMockRecorder is the mock recorder for MockserviceAPI.
TokenCredential wraps/sets up the 'ChainedTokenCredential' structure for env/imds credentials; this was explicitly added to extend the timeout for the IMDS request in the SDK.