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.Secret, error)
- func (client *Client) Get(ctx context.Context, resourceGroupName string, parentResourceName string, ...) (result *armkeyvault.Secret, rerr error)
- func (client *Client) List(ctx context.Context, resourceGroupName string, parentResourceName string) (result []*armkeyvault.Secret, rerr error)
- type Interface
Constants ¶
View Source
const GetOperationName = "SecretsClient.Get"
View Source
const ListOperationName = "SecretsClient.List"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *armkeyvault.SecretsClient // contains filtered or unexported fields }
func (*Client) CreateOrUpdate ¶
func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, parentResourceName string, resource armkeyvault.SecretCreateOrUpdateParameters) (*armkeyvault.Secret, error)
CreateOrUpdate creates or updates a Secret.
type Interface ¶
type Interface interface { utils.SubResourceGetFunc[armkeyvault.Secret] CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, parentResourceName string, resource armkeyvault.SecretCreateOrUpdateParameters) (*armkeyvault.Secret, error) utils.SubResourceListFunc[armkeyvault.Secret] }
+azure:client:verbs=get;list,resource=Vault,subResource=Secret,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/keyvault/armkeyvault,packageAlias=armkeyvault,clientName=SecretsClient,expand=false
func New ¶
func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_secretclient is a generated GoMock package.
|
Package mock_secretclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.