Documentation ¶
Overview ¶
+azure:enableclientgen:=true
Code generated by client-gen. DO NOT EDIT.
Index ¶
- Constants
- type Client
- func (client *Client) Create(ctx context.Context, resourceGroupName string, resourceName string, ...) (*armcontainerregistry.Registry, 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 *armcontainerregistry.Registry, rerr error)
- func (client *Client) ImportImage(ctx context.Context, resourceGroup string, resourceName string, ...) error
- func (client *Client) List(ctx context.Context, resourceGroupName string) (result []*armcontainerregistry.Registry, rerr error)
- type Interface
Constants ¶
View Source
const DeleteOperationName = "RegistriesClient.Delete"
View Source
const GetOperationName = "RegistriesClient.Get"
View Source
const ListOperationName = "RegistriesClient.List"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { *armcontainerregistry.RegistriesClient // contains filtered or unexported fields }
func (*Client) Create ¶
func (client *Client) Create(ctx context.Context, resourceGroupName string, resourceName string, resourceParam armcontainerregistry.Registry) (*armcontainerregistry.Registry, error)
func (*Client) Delete ¶
func (client *Client) Delete(ctx context.Context, resourceGroupName string, resourceName string) (err error)
Delete deletes a Registry by name.
func (*Client) Get ¶
func (client *Client) Get(ctx context.Context, resourceGroupName string, resourceName string) (result *armcontainerregistry.Registry, rerr error)
Get gets the Registry
func (*Client) ImportImage ¶
func (client *Client) ImportImage(ctx context.Context, resourceGroup string, resourceName string, param armcontainerregistry.ImportImageParameters) error
type Interface ¶
type Interface interface { utils.GetFunc[armcontainerregistry.Registry] Create(ctx context.Context, resourceGroupName string, resourceName string, resourceParam armcontainerregistry.Registry) (*armcontainerregistry.Registry, error) utils.DeleteFunc[armcontainerregistry.Registry] utils.ListFunc[armcontainerregistry.Registry] ImportImage(ctx context.Context, resourceGroup string, resourceName string, param armcontainerregistry.ImportImageParameters) error }
+azure:client:verbs=get;delete;listbyrg,resource=Registry,packageName=github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry,packageAlias=armcontainerregistry,clientName=RegistriesClient,expand=false
func New ¶
func New(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) (Interface, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_registryclient is a generated GoMock package.
|
Package mock_registryclient is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.