Documentation ¶
Index ¶
- func RandomInt() int
- func RandomString() string
- type Client
- func (c Client) BuildTestResources(ctx context.Context, resourceGroup, name string, kind storageaccounts.Kind) (*TestResources, error)
- func (c Client) BuildTestResourcesWithHns(ctx context.Context, resourceGroup, name string, kind storageaccounts.Kind) (*TestResources, error)
- func (c Client) BuildTestResourcesWithSku(ctx context.Context, resourceGroup, name string, kind storageaccounts.Kind, ...) (*TestResources, error)
- func (c Client) Configure(client *client.Client, authorizer auth.Authorizer)
- func (c Client) DestroyTestResources(ctx context.Context, resourceGroup, name string) error
- func (c Client) PrepareWithResourceManagerAuth(input *storage.Client)
- func (c Client) PrepareWithSharedKeyAuth(input *storage.Client, data *TestResources, keyType auth.SharedKeyType) error
- type TestResources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomString ¶
func RandomString() string
Types ¶
type Client ¶
type Client struct { Environment environments.Environment ResourceGroupsClient *resourcegroups.ResourceGroupsClient StorageAccountClient *storageaccounts.StorageAccountsClient SubscriptionId string // contains filtered or unexported fields }
func (Client) BuildTestResources ¶
func (c Client) BuildTestResources(ctx context.Context, resourceGroup, name string, kind storageaccounts.Kind) (*TestResources, error)
func (Client) BuildTestResourcesWithHns ¶
func (c Client) BuildTestResourcesWithHns(ctx context.Context, resourceGroup, name string, kind storageaccounts.Kind) (*TestResources, error)
func (Client) BuildTestResourcesWithSku ¶
func (c Client) BuildTestResourcesWithSku(ctx context.Context, resourceGroup, name string, kind storageaccounts.Kind, sku storageaccounts.SkuName) (*TestResources, error)
func (Client) Configure ¶
func (c Client) Configure(client *client.Client, authorizer auth.Authorizer)
func (Client) DestroyTestResources ¶
func (Client) PrepareWithResourceManagerAuth ¶
func (Client) PrepareWithSharedKeyAuth ¶
func (c Client) PrepareWithSharedKeyAuth(input *storage.Client, data *TestResources, keyType auth.SharedKeyType) error
type TestResources ¶
Click to show internal directories.
Click to hide internal directories.