Documentation ¶
Overview ¶
Package zoneclient implements the client for ARM.
Index ¶
Constants ¶
View Source
const ( // APIVersion is the API version for provider list api. APIVersion = "2020-06-01" // AzureStackCloudAPIVersion is the API version for Azure Stack AzureStackCloudAPIVersion = "2019-07-01" // AzureStackCloudName is the cloud name of Azure Stack AzureStackCloudName = "AZURESTACKCLOUD" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements zone client Interface.
func New ¶
func New(config *azclients.ClientConfig) *Client
New creates a new zone client with ratelimiting.
type Interface ¶
type Interface interface {
GetZones(ctx context.Context, subscriptionID string) (map[string][]string, *retry.Error)
}
Interface is the client interface for ARM. Don't forget to run the following command to generate the mock client: mockgen -source=$GOPATH/src/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/zoneclient/interface.go -package=mockzoneclient Interface > $GOPATH/src/sigs.k8s.io/cloud-provider-azure/pkg/azureclients/zoneclient/mockzoneclient/interface.go
Directories ¶
Path | Synopsis |
---|---|
Package mockzonevmclient implements the mock client for zone
|
Package mockzonevmclient implements the mock client for zone |
Click to show internal directories.
Click to hide internal directories.