Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Version = "0.0.0-dev"
Functions ¶
This section is empty.
Types ¶
type AWSClient ¶ added in v0.1.0
type AWSClient interface { CreateVM(ami, name string, vmInfo VMInfo) (string, error) DeleteVM(instanceID string) error GetVMInfo(name string) (VMInfo, error) StartVM(instanceID string) error StopVM(instanceID string) error AssignPublicIP(instance, ip string) error WaitForStatus(instanceID string, status string) error }
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 BlockDeviceMapping ¶ added in v0.1.10
type Client ¶ added in v0.1.2
type Client interface { Delete(vmIdentifier string) error Replace(vmIdentifier string, imageIdentifier string) error }
func NewAWSAPIClientAdaptor ¶ added in v0.1.9
type EC2Client ¶ added in v0.1.0
type EC2Client interface { DescribeInstances(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error) DescribeVolumes(*ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error) DescribeInstanceStatus(*ec2.DescribeInstanceStatusInput) (*ec2.DescribeInstanceStatusOutput, error) AssociateAddress(*ec2.AssociateAddressInput) (*ec2.AssociateAddressOutput, error) TerminateInstances(*ec2.TerminateInstancesInput) (*ec2.TerminateInstancesOutput, error) StopInstances(*ec2.StopInstancesInput) (*ec2.StopInstancesOutput, error) StartInstances(*ec2.StartInstancesInput) (*ec2.StartInstancesOutput, error) CreateTags(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error) RunInstances(*ec2.RunInstancesInput) (*ec2.Reservation, error) }
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 |
---|---|
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
cmd
|
|
iaas
|
|
azure/azurefakes
This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter |
gcp/gcpfakes
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.