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, instanceType, name, keyName, subnetID, securityGroupID string) (string, error) DeleteVM(instanceID string) error GetVMInfo(name string) (VMInfo, error) StopVM(instanceID string) error AssignPublicIP(instance, ip string) error WaitForStatus(instanceID string, status string) error }
func NewAWSClient ¶ added in v0.1.0
func NewAWSClient( ec2Client EC2Client, vpcName string, options ...OptionFunc, ) AWSClient
type EC2Client ¶ added in v0.1.0
type EC2Client interface { DescribeInstances(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, 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) CreateTags(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error) RunInstances(*ec2.RunInstancesInput) (*ec2.Reservation, error) }
type OptionFunc ¶ added in v0.1.0
type OptionFunc func(*client)
func Clock ¶ added in v0.1.0
func Clock(clock clock.Clock) OptionFunc
func Timeout ¶ added in v0.1.0
func Timeout(timeout time.Duration) OptionFunc
type VMReplacer ¶ added in v0.1.0
func NewAWSVMReplacer ¶ added in v0.1.0
func NewVMReplacer ¶ added in v0.1.0
func NewVMReplacer(config Config) (VMReplacer, error)
Source Files ¶
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 |
cmd
|
|
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.