Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeAWSClient
- func (fake *FakeAWSClient) AssociateElasticIP(instanceID string, elasticIP string) error
- func (fake *FakeAWSClient) AssociateElasticIPArgsForCall(i int) (string, string)
- func (fake *FakeAWSClient) AssociateElasticIPCallCount() int
- func (fake *FakeAWSClient) AssociateElasticIPReturns(result1 error)
- func (fake *FakeAWSClient) Create(ami string, vmType string, name string, keyPairName string, subnetID string, ...) (*ec2.Instance, error)
- func (fake *FakeAWSClient) CreateArgsForCall(i int) (string, string, string, string, string, string)
- func (fake *FakeAWSClient) CreateCallCount() int
- func (fake *FakeAWSClient) CreateReturns(result1 *ec2.Instance, result2 error)
- func (fake *FakeAWSClient) Delete(instanceID string) error
- func (fake *FakeAWSClient) DeleteArgsForCall(i int) string
- func (fake *FakeAWSClient) DeleteCallCount() int
- func (fake *FakeAWSClient) DeleteReturns(result1 error)
- func (fake *FakeAWSClient) Invocations() map[string][][]interface{}
- func (fake *FakeAWSClient) List(instanceNameRegex string, vpcName string) ([]*ec2.Instance, error)
- func (fake *FakeAWSClient) ListArgsForCall(i int) (string, string)
- func (fake *FakeAWSClient) ListCallCount() int
- func (fake *FakeAWSClient) ListReturns(result1 []*ec2.Instance, result2 error)
- func (fake *FakeAWSClient) Stop(instanceID string) error
- func (fake *FakeAWSClient) StopArgsForCall(i int) string
- func (fake *FakeAWSClient) StopCallCount() int
- func (fake *FakeAWSClient) StopReturns(result1 error)
- type FakeClient
- func (fake *FakeClient) AssignPublicIP(instance ec2.Instance, ip string) error
- func (fake *FakeClient) AssignPublicIPArgsForCall(i int) (ec2.Instance, string)
- func (fake *FakeClient) AssignPublicIPCallCount() int
- func (fake *FakeClient) AssignPublicIPReturns(result1 error)
- func (fake *FakeClient) CreateVM(ami string, instanceType string, name string, keyName string, subnetID string, ...) (*ec2.Instance, error)
- func (fake *FakeClient) CreateVMArgsForCall(i int) (string, string, string, string, string, string)
- func (fake *FakeClient) CreateVMCallCount() int
- func (fake *FakeClient) CreateVMReturns(result1 *ec2.Instance, result2 error)
- func (fake *FakeClient) DeleteVM(instanceID string) error
- func (fake *FakeClient) DeleteVMArgsForCall(i int) string
- func (fake *FakeClient) DeleteVMCallCount() int
- func (fake *FakeClient) DeleteVMReturns(result1 error)
- func (fake *FakeClient) GetVMInfo(name string) (*ec2.Instance, error)
- func (fake *FakeClient) GetVMInfoArgsForCall(i int) string
- func (fake *FakeClient) GetVMInfoCallCount() int
- func (fake *FakeClient) GetVMInfoReturns(result1 *ec2.Instance, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) StopVM(instance ec2.Instance) error
- func (fake *FakeClient) StopVMArgsForCall(i int) ec2.Instance
- func (fake *FakeClient) StopVMCallCount() int
- func (fake *FakeClient) StopVMReturns(result1 error)
- func (fake *FakeClient) WaitForStartedVM(instanceName string) error
- func (fake *FakeClient) WaitForStartedVMArgsForCall(i int) string
- func (fake *FakeClient) WaitForStartedVMCallCount() int
- func (fake *FakeClient) WaitForStartedVMReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAWSClient ¶ added in v0.2.4
type FakeAWSClient struct { ListStub func(instanceNameRegex, vpcName string) ([]*ec2.Instance, error) StopStub func(instanceID string) error DeleteStub func(instanceID string) error CreateStub func(ami, vmType, name, keyPairName, subnetID, securityGroupID string) (*ec2.Instance, error) AssociateElasticIPStub func(instanceID, elasticIP string) error // contains filtered or unexported fields }
func (*FakeAWSClient) AssociateElasticIP ¶
func (fake *FakeAWSClient) AssociateElasticIP(instanceID string, elasticIP string) error
func (*FakeAWSClient) AssociateElasticIPArgsForCall ¶
func (fake *FakeAWSClient) AssociateElasticIPArgsForCall(i int) (string, string)
func (*FakeAWSClient) AssociateElasticIPCallCount ¶
func (fake *FakeAWSClient) AssociateElasticIPCallCount() int
func (*FakeAWSClient) AssociateElasticIPReturns ¶
func (fake *FakeAWSClient) AssociateElasticIPReturns(result1 error)
func (*FakeAWSClient) CreateArgsForCall ¶
func (*FakeAWSClient) CreateCallCount ¶
func (fake *FakeAWSClient) CreateCallCount() int
func (*FakeAWSClient) CreateReturns ¶
func (fake *FakeAWSClient) CreateReturns(result1 *ec2.Instance, result2 error)
func (*FakeAWSClient) Delete ¶
func (fake *FakeAWSClient) Delete(instanceID string) error
func (*FakeAWSClient) DeleteArgsForCall ¶
func (fake *FakeAWSClient) DeleteArgsForCall(i int) string
func (*FakeAWSClient) DeleteCallCount ¶
func (fake *FakeAWSClient) DeleteCallCount() int
func (*FakeAWSClient) DeleteReturns ¶
func (fake *FakeAWSClient) DeleteReturns(result1 error)
func (*FakeAWSClient) Invocations ¶ added in v0.2.4
func (fake *FakeAWSClient) Invocations() map[string][][]interface{}
func (*FakeAWSClient) ListArgsForCall ¶
func (fake *FakeAWSClient) ListArgsForCall(i int) (string, string)
func (*FakeAWSClient) ListCallCount ¶
func (fake *FakeAWSClient) ListCallCount() int
func (*FakeAWSClient) ListReturns ¶
func (fake *FakeAWSClient) ListReturns(result1 []*ec2.Instance, result2 error)
func (*FakeAWSClient) Stop ¶
func (fake *FakeAWSClient) Stop(instanceID string) error
func (*FakeAWSClient) StopArgsForCall ¶
func (fake *FakeAWSClient) StopArgsForCall(i int) string
func (*FakeAWSClient) StopCallCount ¶
func (fake *FakeAWSClient) StopCallCount() int
func (*FakeAWSClient) StopReturns ¶
func (fake *FakeAWSClient) StopReturns(result1 error)
type FakeClient ¶
type FakeClient struct { CreateVMStub func(ami, instanceType, name, keyName, subnetID, securityGroupID string) (*ec2.Instance, error) DeleteVMStub func(instanceID string) error GetVMInfoStub func(name string) (*ec2.Instance, error) StopVMStub func(instance ec2.Instance) error AssignPublicIPStub func(instance ec2.Instance, ip string) error WaitForStartedVMStub func(instanceName string) error // contains filtered or unexported fields }
func (*FakeClient) AssignPublicIP ¶
func (fake *FakeClient) AssignPublicIP(instance ec2.Instance, ip string) error
func (*FakeClient) AssignPublicIPArgsForCall ¶
func (fake *FakeClient) AssignPublicIPArgsForCall(i int) (ec2.Instance, string)
func (*FakeClient) AssignPublicIPCallCount ¶
func (fake *FakeClient) AssignPublicIPCallCount() int
func (*FakeClient) AssignPublicIPReturns ¶
func (fake *FakeClient) AssignPublicIPReturns(result1 error)
func (*FakeClient) CreateVMArgsForCall ¶
func (*FakeClient) CreateVMCallCount ¶
func (fake *FakeClient) CreateVMCallCount() int
func (*FakeClient) CreateVMReturns ¶
func (fake *FakeClient) CreateVMReturns(result1 *ec2.Instance, result2 error)
func (*FakeClient) DeleteVM ¶
func (fake *FakeClient) DeleteVM(instanceID string) error
func (*FakeClient) DeleteVMArgsForCall ¶
func (fake *FakeClient) DeleteVMArgsForCall(i int) string
func (*FakeClient) DeleteVMCallCount ¶
func (fake *FakeClient) DeleteVMCallCount() int
func (*FakeClient) DeleteVMReturns ¶
func (fake *FakeClient) DeleteVMReturns(result1 error)
func (*FakeClient) GetVMInfo ¶
func (fake *FakeClient) GetVMInfo(name string) (*ec2.Instance, error)
func (*FakeClient) GetVMInfoArgsForCall ¶
func (fake *FakeClient) GetVMInfoArgsForCall(i int) string
func (*FakeClient) GetVMInfoCallCount ¶
func (fake *FakeClient) GetVMInfoCallCount() int
func (*FakeClient) GetVMInfoReturns ¶
func (fake *FakeClient) GetVMInfoReturns(result1 *ec2.Instance, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) StopVMArgsForCall ¶
func (fake *FakeClient) StopVMArgsForCall(i int) ec2.Instance
func (*FakeClient) StopVMCallCount ¶
func (fake *FakeClient) StopVMCallCount() int
func (*FakeClient) StopVMReturns ¶
func (fake *FakeClient) StopVMReturns(result1 error)
func (*FakeClient) WaitForStartedVM ¶
func (fake *FakeClient) WaitForStartedVM(instanceName string) error
func (*FakeClient) WaitForStartedVMArgsForCall ¶
func (fake *FakeClient) WaitForStartedVMArgsForCall(i int) string
func (*FakeClient) WaitForStartedVMCallCount ¶
func (fake *FakeClient) WaitForStartedVMCallCount() int
func (*FakeClient) WaitForStartedVMReturns ¶
func (fake *FakeClient) WaitForStartedVMReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.