Documentation ¶
Overview ¶
+azure:enableclientgen:=true
Code generated by client-gen. DO NOT EDIT.
Index ¶
- Constants
- type Client
- func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, ...) (*armkeyvault.Vault, error)
- func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) error
- func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string) (result *armkeyvault.Vault, err error)
- func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armkeyvault.Vault, err error)
- func (client *Client) PurgeDeleted(ctx context.Context, vaultName string, location string) error
- type Interface
Constants ¶
View Source
const GetOperationName = "VaultsClient.Get"
View Source
const ListOperationName = "VaultsClient.List"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *armkeyvault.VaultsClient // contains filtered or unexported fields }
func (*Client) CreateOrUpdate ¶
func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, resource armkeyvault.VaultCreateOrUpdateParameters) (*armkeyvault.Vault, error)
CreateOrUpdate creates or updates a Vault.
func (*Client) Delete ¶
func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) error
Delete deletes a Vault by name.
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string) (result *armkeyvault.Vault, err error)
Get gets the Vault
type Interface ¶
type Interface interface { utils.GetFunc[armkeyvault.Vault] CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, resource armkeyvault.VaultCreateOrUpdateParameters) (*armkeyvault.Vault, error) utils.DeleteFunc[armkeyvault.Vault] PurgeDeleted(ctx context.Context, vaultName string, location string) error utils.ListFunc[armkeyvault.Vault] }
+azure:client:verbs=get;listbyrg,resource=Vault,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/keyvault/armkeyvault,packageAlias=armkeyvault,clientName=VaultsClient,expand=false
func New ¶
func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_vaultclient is a generated GoMock package.
|
Package mock_vaultclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.