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, ...) (result *armcontainerservice.ManagedCluster, err error)
- func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) (err error)
- func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string) (result *armcontainerservice.ManagedCluster, err error)
- func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armcontainerservice.ManagedCluster, err error)
- type Interface
Constants ¶
View Source
const CreateOrUpdateOperationName = "ManagedClustersClient.Create"
View Source
const DeleteOperationName = "ManagedClustersClient.Delete"
View Source
const GetOperationName = "ManagedClustersClient.Get"
View Source
const ListOperationName = "ManagedClustersClient.List"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *armcontainerservice.ManagedClustersClient // contains filtered or unexported fields }
func (*Client) CreateOrUpdate ¶
func (client *Client) CreateOrUpdate(ctx context.Context, resourceGroupName string, resourceName string, resource armcontainerservice.ManagedCluster) (result *armcontainerservice.ManagedCluster, err error)
CreateOrUpdate creates or updates a ManagedCluster.
func (*Client) Delete ¶
func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) (err error)
Delete deletes a ManagedCluster by name.
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string) (result *armcontainerservice.ManagedCluster, err error)
Get gets the ManagedCluster
func (*Client) List ¶
func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armcontainerservice.ManagedCluster, err error)
List gets a list of ManagedCluster in the resource group.
type Interface ¶
type Interface interface { utils.GetFunc[armcontainerservice.ManagedCluster] utils.CreateOrUpdateFunc[armcontainerservice.ManagedCluster] utils.DeleteFunc[armcontainerservice.ManagedCluster] utils.ListFunc[armcontainerservice.ManagedCluster] }
+azure:client:verbs=get;createorupdate;delete;listbyrg,resource=ManagedCluster,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice/v4,packageAlias=armcontainerservice,clientName=ManagedClustersClient,expand=false,rateLimitKey=containerServiceRateLimit
func New ¶
func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_managedclusterclient is a generated GoMock package.
|
Package mock_managedclusterclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.