accounts

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountsClient

type AccountsClient interface {
	ListKeys(ctx context.Context, resourceGroupName string, accountName string, expand storage.ListKeyExpand) (result storage.AccountListKeysResult, err error)
}

AccountsClient is the mock interface for accounts client

type Client

type Client struct {
	Client *azurex.Client
	// contains filtered or unexported fields
}

Client is the accounts client struct

func New

func New(p *azurex.Client) *Client

New creates a new accounts client

func (*Client) GetKey

func (x *Client) GetKey(ctx context.Context, storageAccountName string) (string, error)

GetKey fetches access key for the storage account

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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