Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureClient ¶
type AzureClient struct {
// contains filtered or unexported fields
}
AzureClient contains the Azure go-sdk Client.
func NewClient ¶
func NewClient(auth azure.Authorizer) *AzureClient
NewClient creates a new VM images client from auth info.
func (*AzureClient) List ¶
func (ac *AzureClient) List(ctx context.Context, location, publisher, offer, sku string) (compute.ListVirtualMachineImageResource, error)
List returns a VM image list resource.
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache stores VM image list resources.
type Cacher ¶
type Cacher interface { Get(key interface{}) (value interface{}, ok bool) Add(key interface{}, value interface{}) bool }
Cacher allows getting items from and adding them to a cache.
type Client ¶
type Client interface {
List(ctx context.Context, location, publisher, offer, sku string) (compute.ListVirtualMachineImageResource, error)
}
Client is an interface for listing VM images.
type Key ¶
type Key struct {
// contains filtered or unexported fields
}
Key contains the fields necessary to locate a VM image list resource.
type Service ¶
type Service struct { Client azure.Authorizer }
Service provides operations on Azure VM Images.
Directories ¶
Path | Synopsis |
---|---|
Package mock_virtualmachineimages is a generated GoMock package.
|
Package mock_virtualmachineimages is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.