Documentation ¶
Index ¶
- type MockInterface
- func (_m *MockInterface) AuthorizeSecurityGroupIngress(ctx context.Context, params *ec2.AuthorizeSecurityGroupIngressInput, ...) (*ec2.AuthorizeSecurityGroupIngressOutput, error)
- func (_m *MockInterface) CreateSecurityGroup(ctx context.Context, params *ec2.CreateSecurityGroupInput, ...) (*ec2.CreateSecurityGroupOutput, error)
- func (_m *MockInterface) CreateTags(ctx context.Context, params *ec2.CreateTagsInput, optFns ...func(*ec2.Options)) (*ec2.CreateTagsOutput, error)
- func (_m *MockInterface) DeleteSecurityGroup(ctx context.Context, params *ec2.DeleteSecurityGroupInput, ...) (*ec2.DeleteSecurityGroupOutput, error)
- func (_m *MockInterface) DeleteTags(ctx context.Context, params *ec2.DeleteTagsInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTagsOutput, error)
- func (_m *MockInterface) DescribeInstanceTypeOfferings(ctx context.Context, params *ec2.DescribeInstanceTypeOfferingsInput, ...) (*ec2.DescribeInstanceTypeOfferingsOutput, error)
- func (_m *MockInterface) DescribeInstances(ctx context.Context, params *ec2.DescribeInstancesInput, ...) (*ec2.DescribeInstancesOutput, error)
- func (_m *MockInterface) DescribeSecurityGroups(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, ...) (*ec2.DescribeSecurityGroupsOutput, error)
- func (_m *MockInterface) DescribeSubnets(ctx context.Context, params *ec2.DescribeSubnetsInput, ...) (*ec2.DescribeSubnetsOutput, error)
- func (_m *MockInterface) DescribeVpcs(ctx context.Context, params *ec2.DescribeVpcsInput, ...) (*ec2.DescribeVpcsOutput, error)
- func (_m *MockInterface) EXPECT() *MockInterface_Expecter
- func (_m *MockInterface) RevokeSecurityGroupIngress(ctx context.Context, params *ec2.RevokeSecurityGroupIngressInput, ...) (*ec2.RevokeSecurityGroupIngressOutput, error)
- type MockInterface_AuthorizeSecurityGroupIngress_Call
- func (_c *MockInterface_AuthorizeSecurityGroupIngress_Call) Return(_a0 *ec2.AuthorizeSecurityGroupIngressOutput, _a1 error) *MockInterface_AuthorizeSecurityGroupIngress_Call
- func (_c *MockInterface_AuthorizeSecurityGroupIngress_Call) Run(...) *MockInterface_AuthorizeSecurityGroupIngress_Call
- func (_c *MockInterface_AuthorizeSecurityGroupIngress_Call) RunAndReturn(...) *MockInterface_AuthorizeSecurityGroupIngress_Call
- type MockInterface_CreateSecurityGroup_Call
- func (_c *MockInterface_CreateSecurityGroup_Call) Return(_a0 *ec2.CreateSecurityGroupOutput, _a1 error) *MockInterface_CreateSecurityGroup_Call
- func (_c *MockInterface_CreateSecurityGroup_Call) Run(run func(ctx context.Context, params *ec2.CreateSecurityGroupInput, ...)) *MockInterface_CreateSecurityGroup_Call
- func (_c *MockInterface_CreateSecurityGroup_Call) RunAndReturn(...) *MockInterface_CreateSecurityGroup_Call
- type MockInterface_CreateTags_Call
- type MockInterface_DeleteSecurityGroup_Call
- func (_c *MockInterface_DeleteSecurityGroup_Call) Return(_a0 *ec2.DeleteSecurityGroupOutput, _a1 error) *MockInterface_DeleteSecurityGroup_Call
- func (_c *MockInterface_DeleteSecurityGroup_Call) Run(run func(ctx context.Context, params *ec2.DeleteSecurityGroupInput, ...)) *MockInterface_DeleteSecurityGroup_Call
- func (_c *MockInterface_DeleteSecurityGroup_Call) RunAndReturn(...) *MockInterface_DeleteSecurityGroup_Call
- type MockInterface_DeleteTags_Call
- type MockInterface_DescribeInstanceTypeOfferings_Call
- func (_c *MockInterface_DescribeInstanceTypeOfferings_Call) Return(_a0 *ec2.DescribeInstanceTypeOfferingsOutput, _a1 error) *MockInterface_DescribeInstanceTypeOfferings_Call
- func (_c *MockInterface_DescribeInstanceTypeOfferings_Call) Run(...) *MockInterface_DescribeInstanceTypeOfferings_Call
- func (_c *MockInterface_DescribeInstanceTypeOfferings_Call) RunAndReturn(...) *MockInterface_DescribeInstanceTypeOfferings_Call
- type MockInterface_DescribeInstances_Call
- func (_c *MockInterface_DescribeInstances_Call) Return(_a0 *ec2.DescribeInstancesOutput, _a1 error) *MockInterface_DescribeInstances_Call
- func (_c *MockInterface_DescribeInstances_Call) Run(run func(ctx context.Context, params *ec2.DescribeInstancesInput, ...)) *MockInterface_DescribeInstances_Call
- func (_c *MockInterface_DescribeInstances_Call) RunAndReturn(...) *MockInterface_DescribeInstances_Call
- type MockInterface_DescribeSecurityGroups_Call
- func (_c *MockInterface_DescribeSecurityGroups_Call) Return(_a0 *ec2.DescribeSecurityGroupsOutput, _a1 error) *MockInterface_DescribeSecurityGroups_Call
- func (_c *MockInterface_DescribeSecurityGroups_Call) Run(run func(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, ...)) *MockInterface_DescribeSecurityGroups_Call
- func (_c *MockInterface_DescribeSecurityGroups_Call) RunAndReturn(...) *MockInterface_DescribeSecurityGroups_Call
- type MockInterface_DescribeSubnets_Call
- func (_c *MockInterface_DescribeSubnets_Call) Return(_a0 *ec2.DescribeSubnetsOutput, _a1 error) *MockInterface_DescribeSubnets_Call
- func (_c *MockInterface_DescribeSubnets_Call) Run(run func(ctx context.Context, params *ec2.DescribeSubnetsInput, ...)) *MockInterface_DescribeSubnets_Call
- func (_c *MockInterface_DescribeSubnets_Call) RunAndReturn(...) *MockInterface_DescribeSubnets_Call
- type MockInterface_DescribeVpcs_Call
- func (_c *MockInterface_DescribeVpcs_Call) Return(_a0 *ec2.DescribeVpcsOutput, _a1 error) *MockInterface_DescribeVpcs_Call
- func (_c *MockInterface_DescribeVpcs_Call) Run(run func(ctx context.Context, params *ec2.DescribeVpcsInput, ...)) *MockInterface_DescribeVpcs_Call
- func (_c *MockInterface_DescribeVpcs_Call) RunAndReturn(...) *MockInterface_DescribeVpcs_Call
- type MockInterface_Expecter
- func (_e *MockInterface_Expecter) AuthorizeSecurityGroupIngress(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_AuthorizeSecurityGroupIngress_Call
- func (_e *MockInterface_Expecter) CreateSecurityGroup(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_CreateSecurityGroup_Call
- func (_e *MockInterface_Expecter) CreateTags(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_CreateTags_Call
- func (_e *MockInterface_Expecter) DeleteSecurityGroup(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DeleteSecurityGroup_Call
- func (_e *MockInterface_Expecter) DeleteTags(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DeleteTags_Call
- func (_e *MockInterface_Expecter) DescribeInstanceTypeOfferings(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeInstanceTypeOfferings_Call
- func (_e *MockInterface_Expecter) DescribeInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeInstances_Call
- func (_e *MockInterface_Expecter) DescribeSecurityGroups(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeSecurityGroups_Call
- func (_e *MockInterface_Expecter) DescribeSubnets(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeSubnets_Call
- func (_e *MockInterface_Expecter) DescribeVpcs(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeVpcs_Call
- func (_e *MockInterface_Expecter) RevokeSecurityGroupIngress(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_RevokeSecurityGroupIngress_Call
- type MockInterface_RevokeSecurityGroupIngress_Call
- func (_c *MockInterface_RevokeSecurityGroupIngress_Call) Return(_a0 *ec2.RevokeSecurityGroupIngressOutput, _a1 error) *MockInterface_RevokeSecurityGroupIngress_Call
- func (_c *MockInterface_RevokeSecurityGroupIngress_Call) Run(...) *MockInterface_RevokeSecurityGroupIngress_Call
- func (_c *MockInterface_RevokeSecurityGroupIngress_Call) RunAndReturn(...) *MockInterface_RevokeSecurityGroupIngress_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
MockInterface is an autogenerated mock type for the Interface type
func NewMockInterface ¶
func NewMockInterface(t interface { mock.TestingT Cleanup(func()) }) *MockInterface
NewMockInterface creates a new instance of MockInterface. 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 (*MockInterface) AuthorizeSecurityGroupIngress ¶
func (_m *MockInterface) AuthorizeSecurityGroupIngress(ctx context.Context, params *ec2.AuthorizeSecurityGroupIngressInput, optFns ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupIngressOutput, error)
AuthorizeSecurityGroupIngress provides a mock function with given fields: ctx, params, optFns
func (*MockInterface) CreateSecurityGroup ¶
func (_m *MockInterface) CreateSecurityGroup(ctx context.Context, params *ec2.CreateSecurityGroupInput, optFns ...func(*ec2.Options)) (*ec2.CreateSecurityGroupOutput, error)
CreateSecurityGroup provides a mock function with given fields: ctx, params, optFns
func (*MockInterface) CreateTags ¶
func (_m *MockInterface) CreateTags(ctx context.Context, params *ec2.CreateTagsInput, optFns ...func(*ec2.Options)) (*ec2.CreateTagsOutput, error)
CreateTags provides a mock function with given fields: ctx, params, optFns
func (*MockInterface) DeleteSecurityGroup ¶
func (_m *MockInterface) 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 (*MockInterface) DeleteTags ¶
func (_m *MockInterface) DeleteTags(ctx context.Context, params *ec2.DeleteTagsInput, optFns ...func(*ec2.Options)) (*ec2.DeleteTagsOutput, error)
DeleteTags provides a mock function with given fields: ctx, params, optFns
func (*MockInterface) DescribeInstanceTypeOfferings ¶
func (_m *MockInterface) DescribeInstanceTypeOfferings(ctx context.Context, params *ec2.DescribeInstanceTypeOfferingsInput, optFns ...func(*ec2.Options)) (*ec2.DescribeInstanceTypeOfferingsOutput, error)
DescribeInstanceTypeOfferings provides a mock function with given fields: ctx, params, optFns
func (*MockInterface) DescribeInstances ¶
func (_m *MockInterface) 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 (*MockInterface) DescribeSecurityGroups ¶
func (_m *MockInterface) 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 (*MockInterface) DescribeSubnets ¶
func (_m *MockInterface) 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 (*MockInterface) DescribeVpcs ¶
func (_m *MockInterface) 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 (*MockInterface) EXPECT ¶
func (_m *MockInterface) EXPECT() *MockInterface_Expecter
func (*MockInterface) RevokeSecurityGroupIngress ¶
func (_m *MockInterface) RevokeSecurityGroupIngress(ctx context.Context, params *ec2.RevokeSecurityGroupIngressInput, optFns ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupIngressOutput, error)
RevokeSecurityGroupIngress provides a mock function with given fields: ctx, params, optFns
type MockInterface_AuthorizeSecurityGroupIngress_Call ¶ added in v0.19.0
MockInterface_AuthorizeSecurityGroupIngress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AuthorizeSecurityGroupIngress'
func (*MockInterface_AuthorizeSecurityGroupIngress_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_AuthorizeSecurityGroupIngress_Call) Run(run func(ctx context.Context, params *ec2.AuthorizeSecurityGroupIngressInput, optFns ...func(*ec2.Options))) *MockInterface_AuthorizeSecurityGroupIngress_Call
func (*MockInterface_AuthorizeSecurityGroupIngress_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_AuthorizeSecurityGroupIngress_Call) RunAndReturn(run func(context.Context, *ec2.AuthorizeSecurityGroupIngressInput, ...func(*ec2.Options)) (*ec2.AuthorizeSecurityGroupIngressOutput, error)) *MockInterface_AuthorizeSecurityGroupIngress_Call
type MockInterface_CreateSecurityGroup_Call ¶ added in v0.19.0
MockInterface_CreateSecurityGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateSecurityGroup'
func (*MockInterface_CreateSecurityGroup_Call) Return ¶ added in v0.19.0
func (_c *MockInterface_CreateSecurityGroup_Call) Return(_a0 *ec2.CreateSecurityGroupOutput, _a1 error) *MockInterface_CreateSecurityGroup_Call
func (*MockInterface_CreateSecurityGroup_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_CreateSecurityGroup_Call) Run(run func(ctx context.Context, params *ec2.CreateSecurityGroupInput, optFns ...func(*ec2.Options))) *MockInterface_CreateSecurityGroup_Call
func (*MockInterface_CreateSecurityGroup_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_CreateSecurityGroup_Call) RunAndReturn(run func(context.Context, *ec2.CreateSecurityGroupInput, ...func(*ec2.Options)) (*ec2.CreateSecurityGroupOutput, error)) *MockInterface_CreateSecurityGroup_Call
type MockInterface_CreateTags_Call ¶ added in v0.19.0
MockInterface_CreateTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTags'
func (*MockInterface_CreateTags_Call) Return ¶ added in v0.19.0
func (_c *MockInterface_CreateTags_Call) Return(_a0 *ec2.CreateTagsOutput, _a1 error) *MockInterface_CreateTags_Call
func (*MockInterface_CreateTags_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_CreateTags_Call) Run(run func(ctx context.Context, params *ec2.CreateTagsInput, optFns ...func(*ec2.Options))) *MockInterface_CreateTags_Call
func (*MockInterface_CreateTags_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_CreateTags_Call) RunAndReturn(run func(context.Context, *ec2.CreateTagsInput, ...func(*ec2.Options)) (*ec2.CreateTagsOutput, error)) *MockInterface_CreateTags_Call
type MockInterface_DeleteSecurityGroup_Call ¶ added in v0.19.0
MockInterface_DeleteSecurityGroup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteSecurityGroup'
func (*MockInterface_DeleteSecurityGroup_Call) Return ¶ added in v0.19.0
func (_c *MockInterface_DeleteSecurityGroup_Call) Return(_a0 *ec2.DeleteSecurityGroupOutput, _a1 error) *MockInterface_DeleteSecurityGroup_Call
func (*MockInterface_DeleteSecurityGroup_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_DeleteSecurityGroup_Call) Run(run func(ctx context.Context, params *ec2.DeleteSecurityGroupInput, optFns ...func(*ec2.Options))) *MockInterface_DeleteSecurityGroup_Call
func (*MockInterface_DeleteSecurityGroup_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_DeleteSecurityGroup_Call) RunAndReturn(run func(context.Context, *ec2.DeleteSecurityGroupInput, ...func(*ec2.Options)) (*ec2.DeleteSecurityGroupOutput, error)) *MockInterface_DeleteSecurityGroup_Call
type MockInterface_DeleteTags_Call ¶ added in v0.19.0
MockInterface_DeleteTags_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteTags'
func (*MockInterface_DeleteTags_Call) Return ¶ added in v0.19.0
func (_c *MockInterface_DeleteTags_Call) Return(_a0 *ec2.DeleteTagsOutput, _a1 error) *MockInterface_DeleteTags_Call
func (*MockInterface_DeleteTags_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_DeleteTags_Call) Run(run func(ctx context.Context, params *ec2.DeleteTagsInput, optFns ...func(*ec2.Options))) *MockInterface_DeleteTags_Call
func (*MockInterface_DeleteTags_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_DeleteTags_Call) RunAndReturn(run func(context.Context, *ec2.DeleteTagsInput, ...func(*ec2.Options)) (*ec2.DeleteTagsOutput, error)) *MockInterface_DeleteTags_Call
type MockInterface_DescribeInstanceTypeOfferings_Call ¶ added in v0.19.0
MockInterface_DescribeInstanceTypeOfferings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeInstanceTypeOfferings'
func (*MockInterface_DescribeInstanceTypeOfferings_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_DescribeInstanceTypeOfferings_Call) Run(run func(ctx context.Context, params *ec2.DescribeInstanceTypeOfferingsInput, optFns ...func(*ec2.Options))) *MockInterface_DescribeInstanceTypeOfferings_Call
func (*MockInterface_DescribeInstanceTypeOfferings_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_DescribeInstanceTypeOfferings_Call) RunAndReturn(run func(context.Context, *ec2.DescribeInstanceTypeOfferingsInput, ...func(*ec2.Options)) (*ec2.DescribeInstanceTypeOfferingsOutput, error)) *MockInterface_DescribeInstanceTypeOfferings_Call
type MockInterface_DescribeInstances_Call ¶ added in v0.19.0
MockInterface_DescribeInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeInstances'
func (*MockInterface_DescribeInstances_Call) Return ¶ added in v0.19.0
func (_c *MockInterface_DescribeInstances_Call) Return(_a0 *ec2.DescribeInstancesOutput, _a1 error) *MockInterface_DescribeInstances_Call
func (*MockInterface_DescribeInstances_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_DescribeInstances_Call) Run(run func(ctx context.Context, params *ec2.DescribeInstancesInput, optFns ...func(*ec2.Options))) *MockInterface_DescribeInstances_Call
func (*MockInterface_DescribeInstances_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_DescribeInstances_Call) RunAndReturn(run func(context.Context, *ec2.DescribeInstancesInput, ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)) *MockInterface_DescribeInstances_Call
type MockInterface_DescribeSecurityGroups_Call ¶ added in v0.19.0
MockInterface_DescribeSecurityGroups_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSecurityGroups'
func (*MockInterface_DescribeSecurityGroups_Call) Return ¶ added in v0.19.0
func (_c *MockInterface_DescribeSecurityGroups_Call) Return(_a0 *ec2.DescribeSecurityGroupsOutput, _a1 error) *MockInterface_DescribeSecurityGroups_Call
func (*MockInterface_DescribeSecurityGroups_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_DescribeSecurityGroups_Call) Run(run func(ctx context.Context, params *ec2.DescribeSecurityGroupsInput, optFns ...func(*ec2.Options))) *MockInterface_DescribeSecurityGroups_Call
func (*MockInterface_DescribeSecurityGroups_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_DescribeSecurityGroups_Call) RunAndReturn(run func(context.Context, *ec2.DescribeSecurityGroupsInput, ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)) *MockInterface_DescribeSecurityGroups_Call
type MockInterface_DescribeSubnets_Call ¶ added in v0.19.0
MockInterface_DescribeSubnets_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeSubnets'
func (*MockInterface_DescribeSubnets_Call) Return ¶ added in v0.19.0
func (_c *MockInterface_DescribeSubnets_Call) Return(_a0 *ec2.DescribeSubnetsOutput, _a1 error) *MockInterface_DescribeSubnets_Call
func (*MockInterface_DescribeSubnets_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_DescribeSubnets_Call) Run(run func(ctx context.Context, params *ec2.DescribeSubnetsInput, optFns ...func(*ec2.Options))) *MockInterface_DescribeSubnets_Call
func (*MockInterface_DescribeSubnets_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_DescribeSubnets_Call) RunAndReturn(run func(context.Context, *ec2.DescribeSubnetsInput, ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)) *MockInterface_DescribeSubnets_Call
type MockInterface_DescribeVpcs_Call ¶ added in v0.19.0
MockInterface_DescribeVpcs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DescribeVpcs'
func (*MockInterface_DescribeVpcs_Call) Return ¶ added in v0.19.0
func (_c *MockInterface_DescribeVpcs_Call) Return(_a0 *ec2.DescribeVpcsOutput, _a1 error) *MockInterface_DescribeVpcs_Call
func (*MockInterface_DescribeVpcs_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_DescribeVpcs_Call) Run(run func(ctx context.Context, params *ec2.DescribeVpcsInput, optFns ...func(*ec2.Options))) *MockInterface_DescribeVpcs_Call
func (*MockInterface_DescribeVpcs_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_DescribeVpcs_Call) RunAndReturn(run func(context.Context, *ec2.DescribeVpcsInput, ...func(*ec2.Options)) (*ec2.DescribeVpcsOutput, error)) *MockInterface_DescribeVpcs_Call
type MockInterface_Expecter ¶ added in v0.19.0
type MockInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MockInterface_Expecter) AuthorizeSecurityGroupIngress ¶ added in v0.19.0
func (_e *MockInterface_Expecter) AuthorizeSecurityGroupIngress(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_AuthorizeSecurityGroupIngress_Call
AuthorizeSecurityGroupIngress is a helper method to define mock.On call
- ctx context.Context
- params *ec2.AuthorizeSecurityGroupIngressInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) CreateSecurityGroup ¶ added in v0.19.0
func (_e *MockInterface_Expecter) CreateSecurityGroup(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_CreateSecurityGroup_Call
CreateSecurityGroup is a helper method to define mock.On call
- ctx context.Context
- params *ec2.CreateSecurityGroupInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) CreateTags ¶ added in v0.19.0
func (_e *MockInterface_Expecter) CreateTags(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_CreateTags_Call
CreateTags is a helper method to define mock.On call
- ctx context.Context
- params *ec2.CreateTagsInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) DeleteSecurityGroup ¶ added in v0.19.0
func (_e *MockInterface_Expecter) DeleteSecurityGroup(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DeleteSecurityGroup_Call
DeleteSecurityGroup is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DeleteSecurityGroupInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) DeleteTags ¶ added in v0.19.0
func (_e *MockInterface_Expecter) DeleteTags(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DeleteTags_Call
DeleteTags is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DeleteTagsInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) DescribeInstanceTypeOfferings ¶ added in v0.19.0
func (_e *MockInterface_Expecter) DescribeInstanceTypeOfferings(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeInstanceTypeOfferings_Call
DescribeInstanceTypeOfferings is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeInstanceTypeOfferingsInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) DescribeInstances ¶ added in v0.19.0
func (_e *MockInterface_Expecter) DescribeInstances(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeInstances_Call
DescribeInstances is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeInstancesInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) DescribeSecurityGroups ¶ added in v0.19.0
func (_e *MockInterface_Expecter) DescribeSecurityGroups(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeSecurityGroups_Call
DescribeSecurityGroups is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeSecurityGroupsInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) DescribeSubnets ¶ added in v0.19.0
func (_e *MockInterface_Expecter) DescribeSubnets(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeSubnets_Call
DescribeSubnets is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeSubnetsInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) DescribeVpcs ¶ added in v0.19.0
func (_e *MockInterface_Expecter) DescribeVpcs(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_DescribeVpcs_Call
DescribeVpcs is a helper method to define mock.On call
- ctx context.Context
- params *ec2.DescribeVpcsInput
- optFns ...func(*ec2.Options)
func (*MockInterface_Expecter) RevokeSecurityGroupIngress ¶ added in v0.19.0
func (_e *MockInterface_Expecter) RevokeSecurityGroupIngress(ctx interface{}, params interface{}, optFns ...interface{}) *MockInterface_RevokeSecurityGroupIngress_Call
RevokeSecurityGroupIngress is a helper method to define mock.On call
- ctx context.Context
- params *ec2.RevokeSecurityGroupIngressInput
- optFns ...func(*ec2.Options)
type MockInterface_RevokeSecurityGroupIngress_Call ¶ added in v0.19.0
MockInterface_RevokeSecurityGroupIngress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevokeSecurityGroupIngress'
func (*MockInterface_RevokeSecurityGroupIngress_Call) Return ¶ added in v0.19.0
func (_c *MockInterface_RevokeSecurityGroupIngress_Call) Return(_a0 *ec2.RevokeSecurityGroupIngressOutput, _a1 error) *MockInterface_RevokeSecurityGroupIngress_Call
func (*MockInterface_RevokeSecurityGroupIngress_Call) Run ¶ added in v0.19.0
func (_c *MockInterface_RevokeSecurityGroupIngress_Call) Run(run func(ctx context.Context, params *ec2.RevokeSecurityGroupIngressInput, optFns ...func(*ec2.Options))) *MockInterface_RevokeSecurityGroupIngress_Call
func (*MockInterface_RevokeSecurityGroupIngress_Call) RunAndReturn ¶ added in v0.19.0
func (_c *MockInterface_RevokeSecurityGroupIngress_Call) RunAndReturn(run func(context.Context, *ec2.RevokeSecurityGroupIngressInput, ...func(*ec2.Options)) (*ec2.RevokeSecurityGroupIngressOutput, error)) *MockInterface_RevokeSecurityGroupIngress_Call