Documentation ¶
Index ¶
- type BlobContainerClient
- func (c *BlobContainerClient) DeleteBlockBlob(ctx context.Context, blobName string, ...) (*azblob.BlobDeleteResponse, error)
- func (c *BlobContainerClient) ListBlobsFlatSegment(ctx context.Context, marker azblob.Marker, opts azblob.ListBlobsSegmentOptions) (*azblob.ListBlobsFlatSegmentResponse, error)
- type ExtractCredsFromSecretOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobContainerClient ¶
type BlobContainerClient struct {
// contains filtered or unexported fields
}
BlobContainerClient is facade for creating and using the azure-storage-blob-go client. Allows easy mocking Azure client dependency in tests.
func NewBlobContainerClient ¶
func NewBlobContainerClient(absAccountName, absAccountKey, absContainerName string) (*BlobContainerClient, error)
NewBlobContainerClient returns client for Azure blob storage
func (*BlobContainerClient) DeleteBlockBlob ¶
func (c *BlobContainerClient) DeleteBlockBlob(ctx context.Context, blobName string, deleteOpt azblob.DeleteSnapshotsOptionType, ac azblob.BlobAccessConditions) (*azblob.BlobDeleteResponse, error)
DeleteBlockBlob allows you to delete block blob by calling only one method.
func (*BlobContainerClient) ListBlobsFlatSegment ¶
func (c *BlobContainerClient) ListBlobsFlatSegment(ctx context.Context, marker azblob.Marker, opts azblob.ListBlobsSegmentOptions) (*azblob.ListBlobsFlatSegmentResponse, error)
ListBlobsFlatSegment wraps the ContainerURL.ListBlobsFlatSegment
type ExtractCredsFromSecretOutput ¶
ExtractCredsFromSecretOutput contains all information which will be returned from ExtractCredsFromSecret function
func ExtractCredsFromSecret ¶
func ExtractCredsFromSecret(absSecretName string, secretCli coreCli.SecretInterface) (*ExtractCredsFromSecretOutput, error)
ExtractCredsFromSecret returns account info for ABS from given k8s Secret
Click to show internal directories.
Click to hide internal directories.