Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBlobsClientUsingEntra ¶
func NewBlobsClientUsingEntra(serviceURL string, credential azcore.TokenCredential, options *arm.ClientOptions) (*blobsClient, error)
NewBlobsClientUsingEntra creates a new BlobsClient Microsoft Entra credentials
func NewBlobsClientUsingSAS ¶
func NewBlobsClientUsingSAS(sasURL string, options *arm.ClientOptions) (*blobsClient, error)
NewBlobsClientUsingSAS creates a new BlobsClient using SAS
Types ¶
type BlobsClient ¶
type BlobsClient interface { DownloadStream(ctx context.Context, containerName string, blobName string, o *azblob.DownloadStreamOptions) (azblob.DownloadStreamResponse, error) UploadBuffer(ctx context.Context, containerName string, blobName string, buffer []byte, o *azblob.UploadBufferOptions) (azblob.UploadBufferResponse, error) DeleteBlob(ctx context.Context, containerName string, blobName string, o *azblob.DeleteBlobOptions) (azblob.DeleteBlobResponse, error) ServiceClient() *service.Client BlobsClientAddons }
BlobsClient is a minimal interface for Azure BlobsClient
Click to show internal directories.
Click to hide internal directories.