secretclient

package
v0.0.48 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

+azure:enableclientgen:=true

Code generated by client-gen. DO NOT EDIT.

Index

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.

func (*Client) Get

func (client *Client) Get(ctx context.Context, resourceGroupName string, parentResourceName string, resourceName string) (result *armkeyvault.Secret, err error)

Get gets the Secret

func (*Client) List

func (client *Client) List(ctx context.Context, resourceGroupName string, parentResourceName string) (result []*armkeyvault.Secret, err error)

List gets a list of Secret in the resource group.

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.

Jump to

Keyboard shortcuts

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