client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	AccountsClient *storage.AccountsClient

	Env azure.Environment
	// contains filtered or unexported fields
}

func NewClient

func NewClient(options *common.ClientOptions) *Client

func (Client) AddToCache

func (client Client) AddToCache(accountName string, props storage.Account) error

func (Client) BlobsClient

func (client Client) BlobsClient(ctx context.Context, account accountDetails) (*blobs.Client, error)

func (Client) ContainersClient

func (client Client) ContainersClient(ctx context.Context, account accountDetails) (shim.StorageContainerWrapper, error)

func (Client) FindAccount

func (client Client) FindAccount(ctx context.Context, accountName string) (*accountDetails, error)

func (Client) GetBlobStorageClientForStorageAccount

func (client Client) GetBlobStorageClientForStorageAccount(ctx context.Context, resourceGroupName, storageAccountName string) (*mainStorage.BlobStorageClient, bool, error)

func (Client) GetKeyForStorageAccount

func (client Client) GetKeyForStorageAccount(ctx context.Context, resourceGroupName, storageAccountName string) (string, bool, error)

func (Client) RemoveAccountFromCache

func (client Client) RemoveAccountFromCache(accountName string)

Jump to

Keyboard shortcuts

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