Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Functions ¶
This section is empty.
Types ¶
type AWSConfig ¶ added in v0.1.2
type AzureConfig ¶ added in v0.1.2
type AzureConfig struct {
VHDImageURL string `yaml:"vhd_image_url"`
SubscriptionID string `yaml:"subscription_id"`
ClientID string `yaml:"client_id"`
ClientSecret string `yaml:"client_secret"`
TenantID string `yaml:"tenant_id"`
ResourceGroupName string `yaml:"resource_group_name"`
ResourceManagerEndpoint string `yaml:"resource_manager_endpoint"`
StorageAccountName string `yaml:"storage_account_name"`
StorageAccountKey string `yaml:"storage_account_key"`
StorageContainerName string `yaml:"storage_container_name"`
StorageURL string `yaml:"storage_url"`
VMAdminPassword string `yaml:"vm_admin_password"`
}
func (*AzureConfig) Complete ¶ added in v0.1.2
func (c *AzureConfig) Complete() bool
func (*AzureConfig) Image ¶ added in v0.1.2
func (c *AzureConfig) Image() string
func (*AzureConfig) NewClient ¶ added in v0.1.2
func (c *AzureConfig) NewClient() (Client, error)
type Client ¶ added in v0.1.2
type Client interface {
Delete(vmIdentifier string) error
Replace(vmIdentifier string, imageIdentifier string, diskSizeGB int64) error
GetDisk(vmIdentifier string) (iaas.Disk, error)
}
func NewAWSAPIClient ¶ added in v0.2.4
type GCPConfig ¶ added in v0.1.2
type MultiConfig ¶ added in v0.1.2
type MultiConfig struct {
AWS *AWSConfig `yaml:"aws"`
GCP *GCPConfig `yaml:"gcp"`
Azure *AzureConfig `yaml:"azure"`
}
func (*MultiConfig) CompleteConfigs ¶ added in v0.1.2
func (c *MultiConfig) CompleteConfigs() []Config
func (*MultiConfig) Configs ¶ added in v0.1.2
func (c *MultiConfig) Configs() []Config
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
cliaas
command
|
|
|
aws/awsfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
azure/azurefakes
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
|
gcp/gcpfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.