Documentation ¶
Index ¶
- type MockConfigInterfacer
- type MockConfigInterfacer_Expecter
- type MockConfigInterfacer_GetString_Call
- func (_c *MockConfigInterfacer_GetString_Call) Return(_a0 string) *MockConfigInterfacer_GetString_Call
- func (_c *MockConfigInterfacer_GetString_Call) Run(run func(key string)) *MockConfigInterfacer_GetString_Call
- func (_c *MockConfigInterfacer_GetString_Call) RunAndReturn(run func(string) string) *MockConfigInterfacer_GetString_Call
- type MockEC2Clienter
- func (_m *MockEC2Clienter) CreateSubnet(ctx context.Context, params *ec2.CreateSubnetInput, ...) (*ec2.CreateSubnetOutput, error)
- func (_m *MockEC2Clienter) CreateVpc(ctx context.Context, params *ec2.CreateVpcInput, optFns ...func(*ec2.Options)) (*ec2.CreateVpcOutput, error)
- func (_m *MockEC2Clienter) DeleteSecurityGroup(ctx context.Context, params *ec2.DeleteSecurityGroupInput, ...) (*ec2.DeleteSecurityGroupOutput, error)
- func (_m *MockEC2Clienter) DeleteSubnet(ctx context.Context, params *ec2.DeleteSubnetInput, ...) (*ec2.DeleteSubnetOutput, error)
- func (_m *MockEC2Clienter) DeleteVpc(ctx context.Context, params *ec2.DeleteVpcInput, optFns ...func(*ec2.Options)) (*ec2.DeleteVpcOutput, error)
- func (_m *MockEC2Clienter) DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, ...) (*ec2.DescribeImagesOutput, error)
- func (_m *MockEC2Clienter) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, ...) (*ec2.DescribeInstancesOutput, error)
- func (_m *MockEC2Clienter) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, ...) (*ec2.DescribeSecurityGroupsOutput, error)
- func (_m *MockEC2Clienter) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, ...) (*ec2.DescribeSubnetsOutput, error)
- func (_m *MockEC2Clienter) DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, ...) (*ec2.DescribeVpcsOutput, error)
- func (_m *MockEC2Clienter) EXPECT() *MockEC2Clienter_Expecter
- func (_m *MockEC2Clienter) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, ...) (*ec2.RunInstancesOutput, error)
- func (_m *MockEC2Clienter) TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, ...) (*ec2.TerminateInstancesOutput, error)
- type MockEC2Clienter_CreateSubnet_Call
- func (_c *MockEC2Clienter_CreateSubnet_Call) Return(_a0 *ec2.CreateSubnetOutput, _a1 error) *MockEC2Clienter_CreateSubnet_Call
- func (_c *MockEC2Clienter_CreateSubnet_Call) Run(run func(ctx context.Context, params *ec2.CreateSubnetInput, ...)) *MockEC2Clienter_CreateSubnet_Call
- func (_c *MockEC2Clienter_CreateSubnet_Call) RunAndReturn(...) *MockEC2Clienter_CreateSubnet_Call
- type MockEC2Clienter_CreateVpc_Call
- type MockEC2Clienter_DeleteSecurityGroup_Call
- func (_c *MockEC2Clienter_DeleteSecurityGroup_Call) Return(_a0 *ec2.DeleteSecurityGroupOutput, _a1 error) *MockEC2Clienter_DeleteSecurityGroup_Call
- func (_c *MockEC2Clienter_DeleteSecurityGroup_Call) Run(run func(ctx context.Context, params *ec2.DeleteSecurityGroupInput, ...)) *MockEC2Clienter_DeleteSecurityGroup_Call
- func (_c *MockEC2Clienter_DeleteSecurityGroup_Call) RunAndReturn(...) *MockEC2Clienter_DeleteSecurityGroup_Call
- type MockEC2Clienter_DeleteSubnet_Call
- func (_c *MockEC2Clienter_DeleteSubnet_Call) Return(_a0 *ec2.DeleteSubnetOutput, _a1 error) *MockEC2Clienter_DeleteSubnet_Call
- func (_c *MockEC2Clienter_DeleteSubnet_Call) Run(run func(ctx context.Context, params *ec2.DeleteSubnetInput, ...)) *MockEC2Clienter_DeleteSubnet_Call
- func (_c *MockEC2Clienter_DeleteSubnet_Call) RunAndReturn(...) *MockEC2Clienter_DeleteSubnet_Call
- type MockEC2Clienter_DeleteVpc_Call
- type MockEC2Clienter_DescribeImages_Call
- func (_c *MockEC2Clienter_DescribeImages_Call) Return(_a0 *ec2.DescribeImagesOutput, _a1 error) *MockEC2Clienter_DescribeImages_Call
- func (_c *MockEC2Clienter_DescribeImages_Call) Run(run func(ctx context.Context, params *ec2.DescribeImagesInput, ...)) *MockEC2Clienter_DescribeImages_Call
- func (_c *MockEC2Clienter_DescribeImages_Call) RunAndReturn(...) *MockEC2Clienter_DescribeImages_Call
- type MockEC2Clienter_DescribeInstances_Call
- func (_c *MockEC2Clienter_DescribeInstances_Call) Return(_a0 *ec2.DescribeInstancesOutput, _a1 error) *MockEC2Clienter_DescribeInstances_Call
- func (_c *MockEC2Clienter_DescribeInstances_Call) Run(run func(ctx context.Context, params *ec2.DescribeInstancesInput, ...)) *MockEC2Clienter_DescribeInstances_Call
- func (_c *MockEC2Clienter_DescribeInstances_Call) RunAndReturn(...) *MockEC2Clienter_DescribeInstances_Call
- type MockEC2Clienter_DescribeSecurityGroups_Call
- func (_c *MockEC2Clienter_DescribeSecurityGroups_Call) Return(_a0 *ec2.DescribeSecurityGroupsOutput, _a1 error) *MockEC2Clienter_DescribeSecurityGroups_Call
- func (_c *MockEC2Clienter_DescribeSecurityGroups_Call) Run(run func(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, ...)) *MockEC2Clienter_DescribeSecurityGroups_Call
- func (_c *MockEC2Clienter_DescribeSecurityGroups_Call) RunAndReturn(...) *MockEC2Clienter_DescribeSecurityGroups_Call
- type MockEC2Clienter_DescribeSubnets_Call
- func (_c *MockEC2Clienter_DescribeSubnets_Call) Return(_a0 *ec2.DescribeSubnetsOutput, _a1 error) *MockEC2Clienter_DescribeSubnets_Call
- func (_c *MockEC2Clienter_DescribeSubnets_Call) Run(run func(ctx context.Context, params *ec2.DescribeSubnetsInput, ...)) *MockEC2Clienter_DescribeSubnets_Call
- func (_c *MockEC2Clienter_DescribeSubnets_Call) RunAndReturn(...) *MockEC2Clienter_DescribeSubnets_Call
- type MockEC2Clienter_DescribeVpcs_Call
- func (_c *MockEC2Clienter_DescribeVpcs_Call) Return(_a0 *ec2.DescribeVpcsOutput, _a1 error) *MockEC2Clienter_DescribeVpcs_Call
- func (_c *MockEC2Clienter_DescribeVpcs_Call) Run(run func(ctx context.Context, params *ec2.DescribeVpcsInput, ...)) *MockEC2Clienter_DescribeVpcs_Call
- func (_c *MockEC2Clienter_DescribeVpcs_Call) RunAndReturn(...) *MockEC2Clienter_DescribeVpcs_Call
- type MockEC2Clienter_Expecter
- func (_e *MockEC2Clienter_Expecter) CreateSubnet(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateSubnet_Call
- func (_e *MockEC2Clienter_Expecter) CreateVpc(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateVpc_Call
- func (_e *MockEC2Clienter_Expecter) DeleteSecurityGroup(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DeleteSecurityGroup_Call
- func (_e *MockEC2Clienter_Expecter) DeleteSubnet(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DeleteSubnet_Call
- func (_e *MockEC2Clienter_Expecter) DeleteVpc(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DeleteVpc_Call
- func (_e *MockEC2Clienter_Expecter) DescribeImages(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeImages_Call
- func (_e *MockEC2Clienter_Expecter) DescribeInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeInstances_Call
- func (_e *MockEC2Clienter_Expecter) DescribeSecurityGroups(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeSecurityGroups_Call
- func (_e *MockEC2Clienter_Expecter) DescribeSubnets(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeSubnets_Call
- func (_e *MockEC2Clienter_Expecter) DescribeVpcs(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeVpcs_Call
- func (_e *MockEC2Clienter_Expecter) RunInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_RunInstances_Call
- func (_e *MockEC2Clienter_Expecter) TerminateInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_TerminateInstances_Call
- type MockEC2Clienter_RunInstances_Call
- func (_c *MockEC2Clienter_RunInstances_Call) Return(_a0 *ec2.RunInstancesOutput, _a1 error) *MockEC2Clienter_RunInstances_Call
- func (_c *MockEC2Clienter_RunInstances_Call) Run(run func(ctx context.Context, params *ec2.RunInstancesInput, ...)) *MockEC2Clienter_RunInstances_Call
- func (_c *MockEC2Clienter_RunInstances_Call) RunAndReturn(...) *MockEC2Clienter_RunInstances_Call
- type MockEC2Clienter_TerminateInstances_Call
- func (_c *MockEC2Clienter_TerminateInstances_Call) Return(_a0 *ec2.TerminateInstancesOutput, _a1 error) *MockEC2Clienter_TerminateInstances_Call
- func (_c *MockEC2Clienter_TerminateInstances_Call) Run(run func(ctx context.Context, params *ec2.TerminateInstancesInput, ...)) *MockEC2Clienter_TerminateInstances_Call
- func (_c *MockEC2Clienter_TerminateInstances_Call) RunAndReturn(...) *MockEC2Clienter_TerminateInstances_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigInterfacer ¶
MockConfigInterfacer is an autogenerated mock type for the ConfigInterfacer type
func NewMockConfigInterfacer ¶
func NewMockConfigInterfacer(t interface { mock.TestingT Cleanup(func()) }) *MockConfigInterfacer
NewMockConfigInterfacer creates a new instance of MockConfigInterfacer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockConfigInterfacer) EXPECT ¶
func (_m *MockConfigInterfacer) EXPECT() *MockConfigInterfacer_Expecter
func (*MockConfigInterfacer) GetString ¶
func (_m *MockConfigInterfacer) GetString(key string) string
GetString provides a mock function with given fields: key
type MockConfigInterfacer_Expecter ¶
type MockConfigInterfacer_Expecter struct {
// contains filtered or unexported fields
}
func (*MockConfigInterfacer_Expecter) GetString ¶
func (_e *MockConfigInterfacer_Expecter) GetString(key interface{}) *MockConfigInterfacer_GetString_Call
GetString is a helper method to define mock.On call
- key string
type MockConfigInterfacer_GetString_Call ¶
MockConfigInterfacer_GetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetString'
func (*MockConfigInterfacer_GetString_Call) Return ¶
func (_c *MockConfigInterfacer_GetString_Call) Return(_a0 string) *MockConfigInterfacer_GetString_Call
func (*MockConfigInterfacer_GetString_Call) Run ¶
func (_c *MockConfigInterfacer_GetString_Call) Run(run func(key string)) *MockConfigInterfacer_GetString_Call
func (*MockConfigInterfacer_GetString_Call) RunAndReturn ¶
func (_c *MockConfigInterfacer_GetString_Call) RunAndReturn(run func(string) string) *MockConfigInterfacer_GetString_Call
type MockEC2Clienter ¶
MockEC2Clienter is an autogenerated mock type for the EC2Clienter type
func NewMockEC2Clienter ¶
func NewMockEC2Clienter(t interface { mock.TestingT Cleanup(func()) }) *MockEC2Clienter
NewMockEC2Clienter creates a new instance of MockEC2Clienter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockEC2Clienter) CreateSubnet ¶
func (_m *MockEC2Clienter) CreateSubnet(ctx context.Context, params *ec2.CreateSubnetInput, optFns ...func(*ec2.Options)) (*ec2.CreateSubnetOutput, error)
CreateSubnet provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) CreateVpc ¶
func (_m *MockEC2Clienter) CreateVpc(ctx context.Context, params *ec2.CreateVpcInput, optFns ...func(*ec2.Options)) (*ec2.CreateVpcOutput, error)
CreateVpc provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) DeleteSecurityGroup ¶
func (_m *MockEC2Clienter) DeleteSecurityGroup(ctx context.Context, params *ec2.DeleteSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.DeleteSecurityGroupOutput, error)
DeleteSecurityGroup provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) DeleteSubnet ¶
func (_m *MockEC2Clienter) DeleteSubnet(ctx context.Context, params *ec2.DeleteSubnetInput, optFns ...func(*ec2.Options)) (*ec2.DeleteSubnetOutput, error)
DeleteSubnet provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) DeleteVpc ¶
func (_m *MockEC2Clienter) DeleteVpc(ctx context.Context, params *ec2.DeleteVpcInput, optFns ...func(*ec2.Options)) (*ec2.DeleteVpcOutput, error)
DeleteVpc provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) DescribeImages ¶
func (_m *MockEC2Clienter) DescribeImages(ctx context.Context, params *ec2.DescribeImagesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)
DescribeImages provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) DescribeInstances ¶
func (_m *MockEC2Clienter) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
DescribeInstances provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) DescribeSecurityGroups ¶
func (_m *MockEC2Clienter) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)
DescribeSecurityGroups provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) DescribeSubnets ¶
func (_m *MockEC2Clienter) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
DescribeSubnets provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) DescribeVpcs ¶
func (_m *MockEC2Clienter) DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)
DescribeVpcs provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) EXPECT ¶
func (_m *MockEC2Clienter) EXPECT() *MockEC2Clienter_Expecter
func (*MockEC2Clienter) RunInstances ¶
func (_m *MockEC2Clienter) RunInstances(ctx context.Context, params *ec2.RunInstancesInput, optFns ...func(*ec2.Options)) (*ec2.RunInstancesOutput, error)
RunInstances provides a mock function with given fields: ctx, params, optFns
func (*MockEC2Clienter) TerminateInstances ¶
func (_m *MockEC2Clienter) TerminateInstances(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)
TerminateInstances provides a mock function with given fields: ctx, params, optFns
type MockEC2Clienter_CreateSubnet_Call ¶
MockEC2Clienter_CreateSubnet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSubnet'
func (*MockEC2Clienter_CreateSubnet_Call) Return ¶
func (_c *MockEC2Clienter_CreateSubnet_Call) Return(_a0 *ec2.CreateSubnetOutput, _a1 error) *MockEC2Clienter_CreateSubnet_Call
func (*MockEC2Clienter_CreateSubnet_Call) Run ¶
func (_c *MockEC2Clienter_CreateSubnet_Call) Run(run func(ctx context.Context, params *ec2.CreateSubnetInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_CreateSubnet_Call
func (*MockEC2Clienter_CreateSubnet_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_CreateSubnet_Call) RunAndReturn(run func(context.Context, *ec2.CreateSubnetInput, ...func(*ec2.Options)) (*ec2.CreateSubnetOutput, error)) *MockEC2Clienter_CreateSubnet_Call
type MockEC2Clienter_CreateVpc_Call ¶
MockEC2Clienter_CreateVpc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateVpc'
func (*MockEC2Clienter_CreateVpc_Call) Return ¶
func (_c *MockEC2Clienter_CreateVpc_Call) Return(_a0 *ec2.CreateVpcOutput, _a1 error) *MockEC2Clienter_CreateVpc_Call
func (*MockEC2Clienter_CreateVpc_Call) Run ¶
func (_c *MockEC2Clienter_CreateVpc_Call) Run(run func(ctx context.Context, params *ec2.CreateVpcInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_CreateVpc_Call
func (*MockEC2Clienter_CreateVpc_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_CreateVpc_Call) RunAndReturn(run func(context.Context, *ec2.CreateVpcInput, ...func(*ec2.Options)) (*ec2.CreateVpcOutput, error)) *MockEC2Clienter_CreateVpc_Call
type MockEC2Clienter_DeleteSecurityGroup_Call ¶
MockEC2Clienter_DeleteSecurityGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSecurityGroup'
func (*MockEC2Clienter_DeleteSecurityGroup_Call) Return ¶
func (_c *MockEC2Clienter_DeleteSecurityGroup_Call) Return(_a0 *ec2.DeleteSecurityGroupOutput, _a1 error) *MockEC2Clienter_DeleteSecurityGroup_Call
func (*MockEC2Clienter_DeleteSecurityGroup_Call) Run ¶
func (_c *MockEC2Clienter_DeleteSecurityGroup_Call) Run(run func(ctx context.Context, params *ec2.DeleteSecurityGroupInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DeleteSecurityGroup_Call
func (*MockEC2Clienter_DeleteSecurityGroup_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DeleteSecurityGroup_Call) RunAndReturn(run func(context.Context, *ec2.DeleteSecurityGroupInput, ...func(*ec2.Options)) (*ec2.DeleteSecurityGroupOutput, error)) *MockEC2Clienter_DeleteSecurityGroup_Call
type MockEC2Clienter_DeleteSubnet_Call ¶
MockEC2Clienter_DeleteSubnet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSubnet'
func (*MockEC2Clienter_DeleteSubnet_Call) Return ¶
func (_c *MockEC2Clienter_DeleteSubnet_Call) Return(_a0 *ec2.DeleteSubnetOutput, _a1 error) *MockEC2Clienter_DeleteSubnet_Call
func (*MockEC2Clienter_DeleteSubnet_Call) Run ¶
func (_c *MockEC2Clienter_DeleteSubnet_Call) Run(run func(ctx context.Context, params *ec2.DeleteSubnetInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DeleteSubnet_Call
func (*MockEC2Clienter_DeleteSubnet_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DeleteSubnet_Call) RunAndReturn(run func(context.Context, *ec2.DeleteSubnetInput, ...func(*ec2.Options)) (*ec2.DeleteSubnetOutput, error)) *MockEC2Clienter_DeleteSubnet_Call
type MockEC2Clienter_DeleteVpc_Call ¶
MockEC2Clienter_DeleteVpc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteVpc'
func (*MockEC2Clienter_DeleteVpc_Call) Return ¶
func (_c *MockEC2Clienter_DeleteVpc_Call) Return(_a0 *ec2.DeleteVpcOutput, _a1 error) *MockEC2Clienter_DeleteVpc_Call
func (*MockEC2Clienter_DeleteVpc_Call) Run ¶
func (_c *MockEC2Clienter_DeleteVpc_Call) Run(run func(ctx context.Context, params *ec2.DeleteVpcInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DeleteVpc_Call
func (*MockEC2Clienter_DeleteVpc_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DeleteVpc_Call) RunAndReturn(run func(context.Context, *ec2.DeleteVpcInput, ...func(*ec2.Options)) (*ec2.DeleteVpcOutput, error)) *MockEC2Clienter_DeleteVpc_Call
type MockEC2Clienter_DescribeImages_Call ¶
MockEC2Clienter_DescribeImages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeImages'
func (*MockEC2Clienter_DescribeImages_Call) Return ¶
func (_c *MockEC2Clienter_DescribeImages_Call) Return(_a0 *ec2.DescribeImagesOutput, _a1 error) *MockEC2Clienter_DescribeImages_Call
func (*MockEC2Clienter_DescribeImages_Call) Run ¶
func (_c *MockEC2Clienter_DescribeImages_Call) Run(run func(ctx context.Context, params *ec2.DescribeImagesInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DescribeImages_Call
func (*MockEC2Clienter_DescribeImages_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DescribeImages_Call) RunAndReturn(run func(context.Context, *ec2.DescribeImagesInput, ...func(*ec2.Options)) (*ec2.DescribeImagesOutput, error)) *MockEC2Clienter_DescribeImages_Call
type MockEC2Clienter_DescribeInstances_Call ¶
MockEC2Clienter_DescribeInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeInstances'
func (*MockEC2Clienter_DescribeInstances_Call) Return ¶
func (_c *MockEC2Clienter_DescribeInstances_Call) Return(_a0 *ec2.DescribeInstancesOutput, _a1 error) *MockEC2Clienter_DescribeInstances_Call
func (*MockEC2Clienter_DescribeInstances_Call) Run ¶
func (_c *MockEC2Clienter_DescribeInstances_Call) Run(run func(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DescribeInstances_Call
func (*MockEC2Clienter_DescribeInstances_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DescribeInstances_Call) RunAndReturn(run func(context.Context, *ec2.DescribeInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)) *MockEC2Clienter_DescribeInstances_Call
type MockEC2Clienter_DescribeSecurityGroups_Call ¶
MockEC2Clienter_DescribeSecurityGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSecurityGroups'
func (*MockEC2Clienter_DescribeSecurityGroups_Call) Return ¶
func (_c *MockEC2Clienter_DescribeSecurityGroups_Call) Return(_a0 *ec2.DescribeSecurityGroupsOutput, _a1 error) *MockEC2Clienter_DescribeSecurityGroups_Call
func (*MockEC2Clienter_DescribeSecurityGroups_Call) Run ¶
func (_c *MockEC2Clienter_DescribeSecurityGroups_Call) Run(run func(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DescribeSecurityGroups_Call
func (*MockEC2Clienter_DescribeSecurityGroups_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DescribeSecurityGroups_Call) RunAndReturn(run func(context.Context, *ec2.DescribeSecurityGroupsInput, ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)) *MockEC2Clienter_DescribeSecurityGroups_Call
type MockEC2Clienter_DescribeSubnets_Call ¶
MockEC2Clienter_DescribeSubnets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubnets'
func (*MockEC2Clienter_DescribeSubnets_Call) Return ¶
func (_c *MockEC2Clienter_DescribeSubnets_Call) Return(_a0 *ec2.DescribeSubnetsOutput, _a1 error) *MockEC2Clienter_DescribeSubnets_Call
func (*MockEC2Clienter_DescribeSubnets_Call) Run ¶
func (_c *MockEC2Clienter_DescribeSubnets_Call) Run(run func(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DescribeSubnets_Call
func (*MockEC2Clienter_DescribeSubnets_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DescribeSubnets_Call) RunAndReturn(run func(context.Context, *ec2.DescribeSubnetsInput, ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)) *MockEC2Clienter_DescribeSubnets_Call
type MockEC2Clienter_DescribeVpcs_Call ¶
MockEC2Clienter_DescribeVpcs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeVpcs'
func (*MockEC2Clienter_DescribeVpcs_Call) Return ¶
func (_c *MockEC2Clienter_DescribeVpcs_Call) Return(_a0 *ec2.DescribeVpcsOutput, _a1 error) *MockEC2Clienter_DescribeVpcs_Call
func (*MockEC2Clienter_DescribeVpcs_Call) Run ¶
func (_c *MockEC2Clienter_DescribeVpcs_Call) Run(run func(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_DescribeVpcs_Call
func (*MockEC2Clienter_DescribeVpcs_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_DescribeVpcs_Call) RunAndReturn(run func(context.Context, *ec2.DescribeVpcsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)) *MockEC2Clienter_DescribeVpcs_Call
type MockEC2Clienter_Expecter ¶
type MockEC2Clienter_Expecter struct {
// contains filtered or unexported fields
}
func (*MockEC2Clienter_Expecter) CreateSubnet ¶
func (_e *MockEC2Clienter_Expecter) CreateSubnet(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateSubnet_Call
CreateSubnet is a helper method to define mock.On call
- ctx context.Context
- params *ec2.CreateSubnetInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) CreateVpc ¶
func (_e *MockEC2Clienter_Expecter) CreateVpc(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_CreateVpc_Call
CreateVpc is a helper method to define mock.On call
- ctx context.Context
- params *ec2.CreateVpcInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) DeleteSecurityGroup ¶
func (_e *MockEC2Clienter_Expecter) DeleteSecurityGroup(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DeleteSecurityGroup_Call
DeleteSecurityGroup is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DeleteSecurityGroupInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) DeleteSubnet ¶
func (_e *MockEC2Clienter_Expecter) DeleteSubnet(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DeleteSubnet_Call
DeleteSubnet is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DeleteSubnetInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) DeleteVpc ¶
func (_e *MockEC2Clienter_Expecter) DeleteVpc(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DeleteVpc_Call
DeleteVpc is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DeleteVpcInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) DescribeImages ¶
func (_e *MockEC2Clienter_Expecter) DescribeImages(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeImages_Call
DescribeImages is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeImagesInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) DescribeInstances ¶
func (_e *MockEC2Clienter_Expecter) DescribeInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeInstances_Call
DescribeInstances is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeInstancesInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) DescribeSecurityGroups ¶
func (_e *MockEC2Clienter_Expecter) DescribeSecurityGroups(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeSecurityGroups_Call
DescribeSecurityGroups is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeSecurityGroupsInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) DescribeSubnets ¶
func (_e *MockEC2Clienter_Expecter) DescribeSubnets(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeSubnets_Call
DescribeSubnets is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeSubnetsInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) DescribeVpcs ¶
func (_e *MockEC2Clienter_Expecter) DescribeVpcs(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_DescribeVpcs_Call
DescribeVpcs is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeVpcsInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) RunInstances ¶
func (_e *MockEC2Clienter_Expecter) RunInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_RunInstances_Call
RunInstances is a helper method to define mock.On call
- ctx context.Context
- params *ec2.RunInstancesInput
- optFns ...func(*ec2.Options)
func (*MockEC2Clienter_Expecter) TerminateInstances ¶
func (_e *MockEC2Clienter_Expecter) TerminateInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockEC2Clienter_TerminateInstances_Call
TerminateInstances is a helper method to define mock.On call
- ctx context.Context
- params *ec2.TerminateInstancesInput
- optFns ...func(*ec2.Options)
type MockEC2Clienter_RunInstances_Call ¶
MockEC2Clienter_RunInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunInstances'
func (*MockEC2Clienter_RunInstances_Call) Return ¶
func (_c *MockEC2Clienter_RunInstances_Call) Return(_a0 *ec2.RunInstancesOutput, _a1 error) *MockEC2Clienter_RunInstances_Call
func (*MockEC2Clienter_RunInstances_Call) Run ¶
func (_c *MockEC2Clienter_RunInstances_Call) Run(run func(ctx context.Context, params *ec2.RunInstancesInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_RunInstances_Call
func (*MockEC2Clienter_RunInstances_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_RunInstances_Call) RunAndReturn(run func(context.Context, *ec2.RunInstancesInput, ...func(*ec2.Options)) (*ec2.RunInstancesOutput, error)) *MockEC2Clienter_RunInstances_Call
type MockEC2Clienter_TerminateInstances_Call ¶
MockEC2Clienter_TerminateInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TerminateInstances'
func (*MockEC2Clienter_TerminateInstances_Call) Return ¶
func (_c *MockEC2Clienter_TerminateInstances_Call) Return(_a0 *ec2.TerminateInstancesOutput, _a1 error) *MockEC2Clienter_TerminateInstances_Call
func (*MockEC2Clienter_TerminateInstances_Call) Run ¶
func (_c *MockEC2Clienter_TerminateInstances_Call) Run(run func(ctx context.Context, params *ec2.TerminateInstancesInput, optFns ...func(*ec2.Options))) *MockEC2Clienter_TerminateInstances_Call
func (*MockEC2Clienter_TerminateInstances_Call) RunAndReturn ¶
func (_c *MockEC2Clienter_TerminateInstances_Call) RunAndReturn(run func(context.Context, *ec2.TerminateInstancesInput, ...func(*ec2.Options)) (*ec2.TerminateInstancesOutput, error)) *MockEC2Clienter_TerminateInstances_Call