Documentation ¶
Overview ¶
+azure:enableclientgen:=true
Code generated by client-gen. DO NOT EDIT.
Index ¶
- Constants
- type Client
- func (client *Client) CreateContainer(ctx context.Context, resourceGroupName, accountName, containerName string, ...) (*armstorage.BlobContainer, error)
- func (client *Client) DeleteContainer(ctx context.Context, resourceGroupName, accountName, containerName string) error
- func (client *Client) Get(ctx context.Context, resourceGroupName string, parentResourceName string, ...) (result *armstorage.BlobContainer, err error)
- func (client *Client) List(ctx context.Context, resourceGroupName string, parentResourceName string) (result []*armstorage.ListContainerItem, rerr error)
- type Interface
Constants ¶
View Source
const AzureStackCloudAPIVersion = "2019-06-01"
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) Get ¶
func (client *Client) Get(ctx context.Context, resourceGroupName string, parentResourceName string, resourceName string) (result *armstorage.BlobContainer, err 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,azureStackCloudAPIVersion="2019-06-01"
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. |
Click to show internal directories.
Click to hide internal directories.