awsfakes

package
v0.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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 {
	CreateVMStub func(ami, name string, vmInfo aws.VMInfo) (string, error)

	DeleteVMStub func(instanceID string) error

	GetVMInfoStub func(name string) (aws.VMInfo, error)

	GetDiskStub func(name string) (aws.EBS, error)

	StartVMStub func(instanceID string) error

	StopVMStub func(instanceID string) error

	AssignPublicIPStub func(instance, ip string) error

	WaitForStatusStub func(instanceID string, status string) error
	// contains filtered or unexported fields
}

func (*FakeAWSClient) AssignPublicIP added in v0.2.4

func (fake *FakeAWSClient) AssignPublicIP(instance string, ip string) error

func (*FakeAWSClient) AssignPublicIPArgsForCall added in v0.2.4

func (fake *FakeAWSClient) AssignPublicIPArgsForCall(i int) (string, string)

func (*FakeAWSClient) AssignPublicIPCallCount added in v0.2.4

func (fake *FakeAWSClient) AssignPublicIPCallCount() int

func (*FakeAWSClient) AssignPublicIPReturns added in v0.2.4

func (fake *FakeAWSClient) AssignPublicIPReturns(result1 error)

func (*FakeAWSClient) AssignPublicIPReturnsOnCall added in v0.2.4

func (fake *FakeAWSClient) AssignPublicIPReturnsOnCall(i int, result1 error)

func (*FakeAWSClient) CreateVM added in v0.2.4

func (fake *FakeAWSClient) CreateVM(ami string, name string, vmInfo aws.VMInfo) (string, error)

func (*FakeAWSClient) CreateVMArgsForCall added in v0.2.4

func (fake *FakeAWSClient) CreateVMArgsForCall(i int) (string, string, aws.VMInfo)

func (*FakeAWSClient) CreateVMCallCount added in v0.2.4

func (fake *FakeAWSClient) CreateVMCallCount() int

func (*FakeAWSClient) CreateVMReturns added in v0.2.4

func (fake *FakeAWSClient) CreateVMReturns(result1 string, result2 error)

func (*FakeAWSClient) CreateVMReturnsOnCall added in v0.2.4

func (fake *FakeAWSClient) CreateVMReturnsOnCall(i int, result1 string, result2 error)

func (*FakeAWSClient) DeleteVM added in v0.2.4

func (fake *FakeAWSClient) DeleteVM(instanceID string) error

func (*FakeAWSClient) DeleteVMArgsForCall added in v0.2.4

func (fake *FakeAWSClient) DeleteVMArgsForCall(i int) string

func (*FakeAWSClient) DeleteVMCallCount added in v0.2.4

func (fake *FakeAWSClient) DeleteVMCallCount() int

func (*FakeAWSClient) DeleteVMReturns added in v0.2.4

func (fake *FakeAWSClient) DeleteVMReturns(result1 error)

func (*FakeAWSClient) DeleteVMReturnsOnCall added in v0.2.4

func (fake *FakeAWSClient) DeleteVMReturnsOnCall(i int, result1 error)

func (*FakeAWSClient) GetDisk added in v0.2.4

func (fake *FakeAWSClient) GetDisk(name string) (aws.EBS, error)

func (*FakeAWSClient) GetDiskArgsForCall added in v0.2.4

func (fake *FakeAWSClient) GetDiskArgsForCall(i int) string

func (*FakeAWSClient) GetDiskCallCount added in v0.2.4

func (fake *FakeAWSClient) GetDiskCallCount() int

func (*FakeAWSClient) GetDiskReturns added in v0.2.4

func (fake *FakeAWSClient) GetDiskReturns(result1 aws.EBS, result2 error)

func (*FakeAWSClient) GetDiskReturnsOnCall added in v0.2.4

func (fake *FakeAWSClient) GetDiskReturnsOnCall(i int, result1 aws.EBS, result2 error)

func (*FakeAWSClient) GetVMInfo added in v0.2.4

func (fake *FakeAWSClient) GetVMInfo(name string) (aws.VMInfo, error)

func (*FakeAWSClient) GetVMInfoArgsForCall added in v0.2.4

func (fake *FakeAWSClient) GetVMInfoArgsForCall(i int) string

func (*FakeAWSClient) GetVMInfoCallCount added in v0.2.4

func (fake *FakeAWSClient) GetVMInfoCallCount() int

func (*FakeAWSClient) GetVMInfoReturns added in v0.2.4

func (fake *FakeAWSClient) GetVMInfoReturns(result1 aws.VMInfo, result2 error)

func (*FakeAWSClient) GetVMInfoReturnsOnCall added in v0.2.4

func (fake *FakeAWSClient) GetVMInfoReturnsOnCall(i int, result1 aws.VMInfo, result2 error)

func (*FakeAWSClient) Invocations added in v0.2.4

func (fake *FakeAWSClient) Invocations() map[string][][]interface{}

func (*FakeAWSClient) StartVM added in v0.2.4

func (fake *FakeAWSClient) StartVM(instanceID string) error

func (*FakeAWSClient) StartVMArgsForCall added in v0.2.4

func (fake *FakeAWSClient) StartVMArgsForCall(i int) string

func (*FakeAWSClient) StartVMCallCount added in v0.2.4

func (fake *FakeAWSClient) StartVMCallCount() int

func (*FakeAWSClient) StartVMReturns added in v0.2.4

func (fake *FakeAWSClient) StartVMReturns(result1 error)

func (*FakeAWSClient) StartVMReturnsOnCall added in v0.2.4

func (fake *FakeAWSClient) StartVMReturnsOnCall(i int, result1 error)

func (*FakeAWSClient) StopVM added in v0.2.4

func (fake *FakeAWSClient) StopVM(instanceID string) error

func (*FakeAWSClient) StopVMArgsForCall added in v0.2.4

func (fake *FakeAWSClient) StopVMArgsForCall(i int) string

func (*FakeAWSClient) StopVMCallCount added in v0.2.4

func (fake *FakeAWSClient) StopVMCallCount() int

func (*FakeAWSClient) StopVMReturns added in v0.2.4

func (fake *FakeAWSClient) StopVMReturns(result1 error)

func (*FakeAWSClient) StopVMReturnsOnCall added in v0.2.4

func (fake *FakeAWSClient) StopVMReturnsOnCall(i int, result1 error)

func (*FakeAWSClient) WaitForStatus added in v0.2.4

func (fake *FakeAWSClient) WaitForStatus(instanceID string, status string) error

func (*FakeAWSClient) WaitForStatusArgsForCall added in v0.2.4

func (fake *FakeAWSClient) WaitForStatusArgsForCall(i int) (string, string)

func (*FakeAWSClient) WaitForStatusCallCount added in v0.2.4

func (fake *FakeAWSClient) WaitForStatusCallCount() int

func (*FakeAWSClient) WaitForStatusReturns added in v0.2.4

func (fake *FakeAWSClient) WaitForStatusReturns(result1 error)

func (*FakeAWSClient) WaitForStatusReturnsOnCall added in v0.2.4

func (fake *FakeAWSClient) WaitForStatusReturnsOnCall(i int, result1 error)

type FakeEC2Client added in v0.2.4

type FakeEC2Client struct {
	DescribeInstancesStub func(*ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)

	DescribeVolumesStub func(*ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)

	DescribeInstanceStatusStub func(*ec2.DescribeInstanceStatusInput) (*ec2.DescribeInstanceStatusOutput, error)

	AssociateAddressStub func(*ec2.AssociateAddressInput) (*ec2.AssociateAddressOutput, error)

	TerminateInstancesStub func(*ec2.TerminateInstancesInput) (*ec2.TerminateInstancesOutput, error)

	StopInstancesStub func(*ec2.StopInstancesInput) (*ec2.StopInstancesOutput, error)

	StartInstancesStub func(*ec2.StartInstancesInput) (*ec2.StartInstancesOutput, error)

	CreateTagsStub func(*ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error)

	RunInstancesStub func(*ec2.RunInstancesInput) (*ec2.Reservation, error)
	// contains filtered or unexported fields
}

func (*FakeEC2Client) AssociateAddress added in v0.2.4

func (fake *FakeEC2Client) AssociateAddress(arg1 *ec2.AssociateAddressInput) (*ec2.AssociateAddressOutput, error)

func (*FakeEC2Client) AssociateAddressArgsForCall added in v0.2.4

func (fake *FakeEC2Client) AssociateAddressArgsForCall(i int) *ec2.AssociateAddressInput

func (*FakeEC2Client) AssociateAddressCallCount added in v0.2.4

func (fake *FakeEC2Client) AssociateAddressCallCount() int

func (*FakeEC2Client) AssociateAddressReturns added in v0.2.4

func (fake *FakeEC2Client) AssociateAddressReturns(result1 *ec2.AssociateAddressOutput, result2 error)

func (*FakeEC2Client) AssociateAddressReturnsOnCall added in v0.2.4

func (fake *FakeEC2Client) AssociateAddressReturnsOnCall(i int, result1 *ec2.AssociateAddressOutput, result2 error)

func (*FakeEC2Client) CreateTags added in v0.2.4

func (fake *FakeEC2Client) CreateTags(arg1 *ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error)

func (*FakeEC2Client) CreateTagsArgsForCall added in v0.2.4

func (fake *FakeEC2Client) CreateTagsArgsForCall(i int) *ec2.CreateTagsInput

func (*FakeEC2Client) CreateTagsCallCount added in v0.2.4

func (fake *FakeEC2Client) CreateTagsCallCount() int

func (*FakeEC2Client) CreateTagsReturns added in v0.2.4

func (fake *FakeEC2Client) CreateTagsReturns(result1 *ec2.CreateTagsOutput, result2 error)

func (*FakeEC2Client) CreateTagsReturnsOnCall added in v0.2.4

func (fake *FakeEC2Client) CreateTagsReturnsOnCall(i int, result1 *ec2.CreateTagsOutput, result2 error)

func (*FakeEC2Client) DescribeInstanceStatus added in v0.2.4

func (fake *FakeEC2Client) DescribeInstanceStatus(arg1 *ec2.DescribeInstanceStatusInput) (*ec2.DescribeInstanceStatusOutput, error)

func (*FakeEC2Client) DescribeInstanceStatusArgsForCall added in v0.2.4

func (fake *FakeEC2Client) DescribeInstanceStatusArgsForCall(i int) *ec2.DescribeInstanceStatusInput

func (*FakeEC2Client) DescribeInstanceStatusCallCount added in v0.2.4

func (fake *FakeEC2Client) DescribeInstanceStatusCallCount() int

func (*FakeEC2Client) DescribeInstanceStatusReturns added in v0.2.4

func (fake *FakeEC2Client) DescribeInstanceStatusReturns(result1 *ec2.DescribeInstanceStatusOutput, result2 error)

func (*FakeEC2Client) DescribeInstanceStatusReturnsOnCall added in v0.2.4

func (fake *FakeEC2Client) DescribeInstanceStatusReturnsOnCall(i int, result1 *ec2.DescribeInstanceStatusOutput, result2 error)

func (*FakeEC2Client) DescribeInstances added in v0.2.4

func (fake *FakeEC2Client) DescribeInstances(arg1 *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)

func (*FakeEC2Client) DescribeInstancesArgsForCall added in v0.2.4

func (fake *FakeEC2Client) DescribeInstancesArgsForCall(i int) *ec2.DescribeInstancesInput

func (*FakeEC2Client) DescribeInstancesCallCount added in v0.2.4

func (fake *FakeEC2Client) DescribeInstancesCallCount() int

func (*FakeEC2Client) DescribeInstancesReturns added in v0.2.4

func (fake *FakeEC2Client) DescribeInstancesReturns(result1 *ec2.DescribeInstancesOutput, result2 error)

func (*FakeEC2Client) DescribeInstancesReturnsOnCall added in v0.2.4

func (fake *FakeEC2Client) DescribeInstancesReturnsOnCall(i int, result1 *ec2.DescribeInstancesOutput, result2 error)

func (*FakeEC2Client) DescribeVolumes added in v0.2.4

func (fake *FakeEC2Client) DescribeVolumes(arg1 *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)

func (*FakeEC2Client) DescribeVolumesArgsForCall added in v0.2.4

func (fake *FakeEC2Client) DescribeVolumesArgsForCall(i int) *ec2.DescribeVolumesInput

func (*FakeEC2Client) DescribeVolumesCallCount added in v0.2.4

func (fake *FakeEC2Client) DescribeVolumesCallCount() int

func (*FakeEC2Client) DescribeVolumesReturns added in v0.2.4

func (fake *FakeEC2Client) DescribeVolumesReturns(result1 *ec2.DescribeVolumesOutput, result2 error)

func (*FakeEC2Client) DescribeVolumesReturnsOnCall added in v0.2.4

func (fake *FakeEC2Client) DescribeVolumesReturnsOnCall(i int, result1 *ec2.DescribeVolumesOutput, result2 error)

func (*FakeEC2Client) Invocations added in v0.2.4

func (fake *FakeEC2Client) Invocations() map[string][][]interface{}

func (*FakeEC2Client) RunInstances added in v0.2.4

func (fake *FakeEC2Client) RunInstances(arg1 *ec2.RunInstancesInput) (*ec2.Reservation, error)

func (*FakeEC2Client) RunInstancesArgsForCall added in v0.2.4

func (fake *FakeEC2Client) RunInstancesArgsForCall(i int) *ec2.RunInstancesInput

func (*FakeEC2Client) RunInstancesCallCount added in v0.2.4

func (fake *FakeEC2Client) RunInstancesCallCount() int

func (*FakeEC2Client) RunInstancesReturns added in v0.2.4

func (fake *FakeEC2Client) RunInstancesReturns(result1 *ec2.Reservation, result2 error)

func (*FakeEC2Client) RunInstancesReturnsOnCall added in v0.2.4

func (fake *FakeEC2Client) RunInstancesReturnsOnCall(i int, result1 *ec2.Reservation, result2 error)

func (*FakeEC2Client) StartInstances added in v0.2.4

func (fake *FakeEC2Client) StartInstances(arg1 *ec2.StartInstancesInput) (*ec2.StartInstancesOutput, error)

func (*FakeEC2Client) StartInstancesArgsForCall added in v0.2.4

func (fake *FakeEC2Client) StartInstancesArgsForCall(i int) *ec2.StartInstancesInput

func (*FakeEC2Client) StartInstancesCallCount added in v0.2.4

func (fake *FakeEC2Client) StartInstancesCallCount() int

func (*FakeEC2Client) StartInstancesReturns added in v0.2.4

func (fake *FakeEC2Client) StartInstancesReturns(result1 *ec2.StartInstancesOutput, result2 error)

func (*FakeEC2Client) StartInstancesReturnsOnCall added in v0.2.4

func (fake *FakeEC2Client) StartInstancesReturnsOnCall(i int, result1 *ec2.StartInstancesOutput, result2 error)

func (*FakeEC2Client) StopInstances added in v0.2.4

func (fake *FakeEC2Client) StopInstances(arg1 *ec2.StopInstancesInput) (*ec2.StopInstancesOutput, error)

func (*FakeEC2Client) StopInstancesArgsForCall added in v0.2.4

func (fake *FakeEC2Client) StopInstancesArgsForCall(i int) *ec2.StopInstancesInput

func (*FakeEC2Client) StopInstancesCallCount added in v0.2.4

func (fake *FakeEC2Client) StopInstancesCallCount() int

func (*FakeEC2Client) StopInstancesReturns added in v0.2.4

func (fake *FakeEC2Client) StopInstancesReturns(result1 *ec2.StopInstancesOutput, result2 error)

func (*FakeEC2Client) StopInstancesReturnsOnCall added in v0.2.4

func (fake *FakeEC2Client) StopInstancesReturnsOnCall(i int, result1 *ec2.StopInstancesOutput, result2 error)

func (*FakeEC2Client) TerminateInstances added in v0.2.4

func (fake *FakeEC2Client) TerminateInstances(arg1 *ec2.TerminateInstancesInput) (*ec2.TerminateInstancesOutput, error)

func (*FakeEC2Client) TerminateInstancesArgsForCall added in v0.2.4

func (fake *FakeEC2Client) TerminateInstancesArgsForCall(i int) *ec2.TerminateInstancesInput

func (*FakeEC2Client) TerminateInstancesCallCount added in v0.2.4

func (fake *FakeEC2Client) TerminateInstancesCallCount() int

func (*FakeEC2Client) TerminateInstancesReturns added in v0.2.4

func (fake *FakeEC2Client) TerminateInstancesReturns(result1 *ec2.TerminateInstancesOutput, result2 error)

func (*FakeEC2Client) TerminateInstancesReturnsOnCall added in v0.2.4

func (fake *FakeEC2Client) TerminateInstancesReturnsOnCall(i int, result1 *ec2.TerminateInstancesOutput, result2 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL