Documentation
¶
Overview ¶
Package mock_ec2wrapper is a generated GoMock package.
Index ¶
- type MockEC2
- func (m *MockEC2) AssignIpv6Addresses(arg0 context.Context, arg1 *ec2.AssignIpv6AddressesInput, ...) (*ec2.AssignIpv6AddressesOutput, error)
- func (m *MockEC2) AssignPrivateIpAddresses(arg0 context.Context, arg1 *ec2.AssignPrivateIpAddressesInput, ...) (*ec2.AssignPrivateIpAddressesOutput, error)
- func (m *MockEC2) AttachNetworkInterface(arg0 context.Context, arg1 *ec2.AttachNetworkInterfaceInput, ...) (*ec2.AttachNetworkInterfaceOutput, error)
- func (m *MockEC2) CreateNetworkInterface(arg0 context.Context, arg1 *ec2.CreateNetworkInterfaceInput, ...) (*ec2.CreateNetworkInterfaceOutput, error)
- func (m *MockEC2) CreateTags(arg0 context.Context, arg1 *ec2.CreateTagsInput, arg2 ...func(*ec2.Options)) (*ec2.CreateTagsOutput, error)
- func (m *MockEC2) DeleteNetworkInterface(arg0 context.Context, arg1 *ec2.DeleteNetworkInterfaceInput, ...) (*ec2.DeleteNetworkInterfaceOutput, error)
- func (m *MockEC2) DescribeInstanceTypes(arg0 context.Context, arg1 *ec2.DescribeInstanceTypesInput, ...) (*ec2.DescribeInstanceTypesOutput, error)
- func (m *MockEC2) DescribeInstances(arg0 context.Context, arg1 *ec2.DescribeInstancesInput, ...) (*ec2.DescribeInstancesOutput, error)
- func (m *MockEC2) DescribeNetworkInterfaces(arg0 context.Context, arg1 *ec2.DescribeNetworkInterfacesInput, ...) (*ec2.DescribeNetworkInterfacesOutput, error)
- func (m *MockEC2) DescribeSecurityGroups(arg0 context.Context, arg1 *ec2.DescribeSecurityGroupsInput, ...) (*ec2.DescribeSecurityGroupsOutput, error)
- func (m *MockEC2) DescribeSubnets(arg0 context.Context, arg1 *ec2.DescribeSubnetsInput, ...) (*ec2.DescribeSubnetsOutput, error)
- func (m *MockEC2) DetachNetworkInterface(arg0 context.Context, arg1 *ec2.DetachNetworkInterfaceInput, ...) (*ec2.DetachNetworkInterfaceOutput, error)
- func (m *MockEC2) EXPECT() *MockEC2MockRecorder
- func (m *MockEC2) ModifyNetworkInterfaceAttribute(arg0 context.Context, arg1 *ec2.ModifyNetworkInterfaceAttributeInput, ...) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)
- func (m *MockEC2) UnassignIpv6Addresses(arg0 context.Context, arg1 *ec2.UnassignIpv6AddressesInput, ...) (*ec2.UnassignIpv6AddressesOutput, error)
- func (m *MockEC2) UnassignPrivateIpAddresses(arg0 context.Context, arg1 *ec2.UnassignPrivateIpAddressesInput, ...) (*ec2.UnassignPrivateIpAddressesOutput, error)
- type MockEC2MockRecorder
- func (mr *MockEC2MockRecorder) AssignIpv6Addresses(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) AssignPrivateIpAddresses(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) AttachNetworkInterface(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) CreateNetworkInterface(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) CreateTags(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DeleteNetworkInterface(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeInstanceTypes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeInstances(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeNetworkInterfaces(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeSecurityGroups(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeSubnets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DetachNetworkInterface(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) ModifyNetworkInterfaceAttribute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) UnassignIpv6Addresses(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) UnassignPrivateIpAddresses(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEC2 ¶
type MockEC2 struct {
// contains filtered or unexported fields
}
MockEC2 is a mock of EC2 interface.
func NewMockEC2 ¶
func NewMockEC2(ctrl *gomock.Controller) *MockEC2
NewMockEC2 creates a new mock instance.
func (*MockEC2) AssignIpv6Addresses ¶ added in v1.19.4
func (m *MockEC2) AssignIpv6Addresses(arg0 context.Context, arg1 *ec2.AssignIpv6AddressesInput, arg2 ...func(*ec2.Options)) (*ec2.AssignIpv6AddressesOutput, error)
AssignIpv6Addresses mocks base method.
func (*MockEC2) AssignPrivateIpAddresses ¶
func (m *MockEC2) AssignPrivateIpAddresses(arg0 context.Context, arg1 *ec2.AssignPrivateIpAddressesInput, arg2 ...func(*ec2.Options)) (*ec2.AssignPrivateIpAddressesOutput, error)
AssignPrivateIpAddresses mocks base method.
func (*MockEC2) AttachNetworkInterface ¶
func (m *MockEC2) AttachNetworkInterface(arg0 context.Context, arg1 *ec2.AttachNetworkInterfaceInput, arg2 ...func(*ec2.Options)) (*ec2.AttachNetworkInterfaceOutput, error)
AttachNetworkInterface mocks base method.
func (*MockEC2) CreateNetworkInterface ¶
func (m *MockEC2) CreateNetworkInterface(arg0 context.Context, arg1 *ec2.CreateNetworkInterfaceInput, arg2 ...func(*ec2.Options)) (*ec2.CreateNetworkInterfaceOutput, error)
CreateNetworkInterface mocks base method.
func (*MockEC2) CreateTags ¶ added in v1.1.0
func (m *MockEC2) CreateTags(arg0 context.Context, arg1 *ec2.CreateTagsInput, arg2 ...func(*ec2.Options)) (*ec2.CreateTagsOutput, error)
CreateTags mocks base method.
func (*MockEC2) DeleteNetworkInterface ¶
func (m *MockEC2) DeleteNetworkInterface(arg0 context.Context, arg1 *ec2.DeleteNetworkInterfaceInput, arg2 ...func(*ec2.Options)) (*ec2.DeleteNetworkInterfaceOutput, error)
DeleteNetworkInterface mocks base method.
func (*MockEC2) DescribeInstanceTypes ¶ added in v1.6.1
func (m *MockEC2) DescribeInstanceTypes(arg0 context.Context, arg1 *ec2.DescribeInstanceTypesInput, arg2 ...func(*ec2.Options)) (*ec2.DescribeInstanceTypesOutput, error)
DescribeInstanceTypes mocks base method.
func (*MockEC2) DescribeInstances ¶
func (m *MockEC2) DescribeInstances(arg0 context.Context, arg1 *ec2.DescribeInstancesInput, arg2 ...func(*ec2.Options)) (*ec2.DescribeInstancesOutput, error)
DescribeInstances mocks base method.
func (*MockEC2) DescribeNetworkInterfaces ¶
func (m *MockEC2) DescribeNetworkInterfaces(arg0 context.Context, arg1 *ec2.DescribeNetworkInterfacesInput, arg2 ...func(*ec2.Options)) (*ec2.DescribeNetworkInterfacesOutput, error)
DescribeNetworkInterfaces mocks base method.
func (*MockEC2) DescribeSecurityGroups ¶ added in v1.22.0
func (m *MockEC2) DescribeSecurityGroups(arg0 context.Context, arg1 *ec2.DescribeSecurityGroupsInput, arg2 ...func(*ec2.Options)) (*ec2.DescribeSecurityGroupsOutput, error)
DescribeSecurityGroups mocks base method.
func (*MockEC2) DescribeSubnets ¶ added in v1.19.4
func (m *MockEC2) DescribeSubnets(arg0 context.Context, arg1 *ec2.DescribeSubnetsInput, arg2 ...func(*ec2.Options)) (*ec2.DescribeSubnetsOutput, error)
DescribeSubnets mocks base method.
func (*MockEC2) DetachNetworkInterface ¶
func (m *MockEC2) DetachNetworkInterface(arg0 context.Context, arg1 *ec2.DetachNetworkInterfaceInput, arg2 ...func(*ec2.Options)) (*ec2.DetachNetworkInterfaceOutput, error)
DetachNetworkInterface mocks base method.
func (*MockEC2) EXPECT ¶
func (m *MockEC2) EXPECT() *MockEC2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEC2) ModifyNetworkInterfaceAttribute ¶
func (m *MockEC2) ModifyNetworkInterfaceAttribute(arg0 context.Context, arg1 *ec2.ModifyNetworkInterfaceAttributeInput, arg2 ...func(*ec2.Options)) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)
ModifyNetworkInterfaceAttribute mocks base method.
func (*MockEC2) UnassignIpv6Addresses ¶ added in v1.19.4
func (m *MockEC2) UnassignIpv6Addresses(arg0 context.Context, arg1 *ec2.UnassignIpv6AddressesInput, arg2 ...func(*ec2.Options)) (*ec2.UnassignIpv6AddressesOutput, error)
UnassignIpv6Addresses mocks base method.
func (*MockEC2) UnassignPrivateIpAddresses ¶ added in v1.19.4
func (m *MockEC2) UnassignPrivateIpAddresses(arg0 context.Context, arg1 *ec2.UnassignPrivateIpAddressesInput, arg2 ...func(*ec2.Options)) (*ec2.UnassignPrivateIpAddressesOutput, error)
UnassignPrivateIpAddresses mocks base method.
type MockEC2MockRecorder ¶
type MockEC2MockRecorder struct {
// contains filtered or unexported fields
}
MockEC2MockRecorder is the mock recorder for MockEC2.
func (*MockEC2MockRecorder) AssignIpv6Addresses ¶ added in v1.19.4
func (mr *MockEC2MockRecorder) AssignIpv6Addresses(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AssignIpv6Addresses indicates an expected call of AssignIpv6Addresses.
func (*MockEC2MockRecorder) AssignPrivateIpAddresses ¶
func (mr *MockEC2MockRecorder) AssignPrivateIpAddresses(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AssignPrivateIpAddresses indicates an expected call of AssignPrivateIpAddresses.
func (*MockEC2MockRecorder) AttachNetworkInterface ¶
func (mr *MockEC2MockRecorder) AttachNetworkInterface(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AttachNetworkInterface indicates an expected call of AttachNetworkInterface.
func (*MockEC2MockRecorder) CreateNetworkInterface ¶
func (mr *MockEC2MockRecorder) CreateNetworkInterface(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateNetworkInterface indicates an expected call of CreateNetworkInterface.
func (*MockEC2MockRecorder) CreateTags ¶ added in v1.1.0
func (mr *MockEC2MockRecorder) CreateTags(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateTags indicates an expected call of CreateTags.
func (*MockEC2MockRecorder) DeleteNetworkInterface ¶
func (mr *MockEC2MockRecorder) DeleteNetworkInterface(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteNetworkInterface indicates an expected call of DeleteNetworkInterface.
func (*MockEC2MockRecorder) DescribeInstanceTypes ¶ added in v1.6.1
func (mr *MockEC2MockRecorder) DescribeInstanceTypes(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeInstanceTypes indicates an expected call of DescribeInstanceTypes.
func (*MockEC2MockRecorder) DescribeInstances ¶
func (mr *MockEC2MockRecorder) DescribeInstances(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeInstances indicates an expected call of DescribeInstances.
func (*MockEC2MockRecorder) DescribeNetworkInterfaces ¶
func (mr *MockEC2MockRecorder) DescribeNetworkInterfaces(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeNetworkInterfaces indicates an expected call of DescribeNetworkInterfaces.
func (*MockEC2MockRecorder) DescribeSecurityGroups ¶ added in v1.22.0
func (mr *MockEC2MockRecorder) DescribeSecurityGroups(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeSecurityGroups indicates an expected call of DescribeSecurityGroups.
func (*MockEC2MockRecorder) DescribeSubnets ¶ added in v1.19.4
func (mr *MockEC2MockRecorder) DescribeSubnets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeSubnets indicates an expected call of DescribeSubnets.
func (*MockEC2MockRecorder) DetachNetworkInterface ¶
func (mr *MockEC2MockRecorder) DetachNetworkInterface(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DetachNetworkInterface indicates an expected call of DetachNetworkInterface.
func (*MockEC2MockRecorder) ModifyNetworkInterfaceAttribute ¶
func (mr *MockEC2MockRecorder) ModifyNetworkInterfaceAttribute(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ModifyNetworkInterfaceAttribute indicates an expected call of ModifyNetworkInterfaceAttribute.
func (*MockEC2MockRecorder) UnassignIpv6Addresses ¶ added in v1.19.4
func (mr *MockEC2MockRecorder) UnassignIpv6Addresses(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UnassignIpv6Addresses indicates an expected call of UnassignIpv6Addresses.
func (*MockEC2MockRecorder) UnassignPrivateIpAddresses ¶ added in v1.19.4
func (mr *MockEC2MockRecorder) UnassignPrivateIpAddresses(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UnassignPrivateIpAddresses indicates an expected call of UnassignPrivateIpAddresses.