blobcontainerclient

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

+azure:enableclientgen:=true

Code generated by client-gen. DO NOT EDIT.

Index

Constants

View Source
const GetOperationName = "BlobContainersClient.Get"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func (*Client) CreateContainer

func (client *Client) CreateContainer(ctx context.Context, resourceGroupName, accountName, containerName string, parameters armstorage.BlobContainer) (*armstorage.BlobContainer, error)

func (*Client) DeleteContainer

func (client *Client) DeleteContainer(ctx context.Context, resourceGroupName, accountName, containerName string) error

func (*Client) Get

func (client *Client) Get(ctx context.Context, resourceGroupName string, parentResourceName string, resourceName string) (result *armstorage.BlobContainer, rerr error)

Get gets the BlobContainer

func (*Client) List

func (client *Client) List(ctx context.Context, resourceGroupName string, parentResourceName string) (result []*armstorage.ListContainerItem, rerr error)

List gets a list of BlobContainer in the resource group.

type Interface

type Interface interface {
	utils.SubResourceGetFunc[armstorage.BlobContainer]
	CreateContainer(ctx context.Context, resourceGroupName, accountName, containerName string, parameters armstorage.BlobContainer) (*armstorage.BlobContainer, error)
	DeleteContainer(ctx context.Context, resourceGroupName, accountName, containerName string) error
	List(ctx context.Context, resourceGroupName string, parentResourceName string) (result []*armstorage.ListContainerItem, rerr error)
}

+azure:client:verbs=get,resource=Account,subResource=BlobContainer,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage,packageAlias=armstorage,clientName=BlobContainersClient,expand=false,crossSubFactory=true

func New

func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)

Directories

Path Synopsis
Package mock_blobcontainerclient is a generated GoMock package.
Package mock_blobcontainerclient is a generated GoMock package.

Jump to

Keyboard shortcuts

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