Documentation ¶
Index ¶
- Variables
- type BlobCopier
- type Client
- func (s *Client) Delete(identifier string) error
- func (s *Client) Replace(identifier string, vhdURL string) error
- func (s *Client) SetBlobServiceClient(storageAccountName string, storageAccountKey string, storageURL string) error
- func (s *Client) SetStorageAccountName(name string)
- func (s *Client) SetStorageBaseURL(baseURL string)
- func (s *Client) SetStorageContainerName(name string)
- func (s *Client) SetVMAdminPassword(password string)
- type ComputeVirtualMachinesClient
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidAzureClientErr = errors.New("invalid azure sdk client defined")
View Source
var MultipleMatchesErr = errors.New("multiple VM names match the provided prefix")
View Source
var NoMatchesErr = errors.New("no VM names match the provided prefix")
Functions ¶
This section is empty.
Types ¶
type BlobCopier ¶
type Client ¶
type Client struct { BlobServiceClient BlobCopier VirtualMachinesClient ComputeVirtualMachinesClient // contains filtered or unexported fields }
func (*Client) SetBlobServiceClient ¶
func (*Client) SetStorageAccountName ¶
func (*Client) SetStorageBaseURL ¶
func (*Client) SetStorageContainerName ¶
func (*Client) SetVMAdminPassword ¶
type ComputeVirtualMachinesClient ¶
type ComputeVirtualMachinesClient interface { Get(resourceGroupName string, vmName string, expand compute.InstanceViewTypes) (result compute.VirtualMachine, err error) ListAllNextResults(lastResults compute.VirtualMachineListResult) (result compute.VirtualMachineListResult, err error) CreateOrUpdate(resourceGroupName string, vmName string, parameters compute.VirtualMachine, cancel <-chan struct{}) (result autorest.Response, err error) Delete(resourceGroupName string, vmName string, cancel <-chan struct{}) (result autorest.Response, err error) Deallocate(resourceGroupName string, vmName string, cancel <-chan struct{}) (result autorest.Response, err error) List(resourceGroupName string) (result compute.VirtualMachineListResult, err error) }
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.