Documentation ¶
Overview ¶
Package vmsizeclient implements the client for VirtualMachineSizes.
Index ¶
Constants ¶
View Source
const (
// APIVersion is the API version for compute.
APIVersion = "2019-07-01"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // ARM throttling configures. RetryAfterReader time.Time RetryAfterWriter time.Time // contains filtered or unexported fields }
Client implements VirtualMachineSize client Interface.
func New ¶
func New(config *azclients.ClientConfig) *Client
New creates a new VirtualMachineSize client with ratelimiting.
type Interface ¶
type Interface interface { // List gets compute.VirtualMachineSizeListResult. List(ctx context.Context, location string) (result compute.VirtualMachineSizeListResult, rerr *retry.Error) }
Interface is the client interface for VirtualMachineSizes. Don't forget to run the following command to generate the mock client: mockgen -source=$GOPATH/src/k8s.io/kubernetes/staging/src/k8s.io/legacy-cloud-providers/azure/clients/vmsizeclient/interface.go -package=mockvmsizeclient Interface > $GOPATH/src/k8s.io/kubernetes/staging/src/k8s.io/legacy-cloud-providers/azure/clients/vmsizeclient/mockvmsizeclient/interface.go
Click to show internal directories.
Click to hide internal directories.