Documentation ¶
Overview ¶
Package mock_ec2wrapper is a generated GoMock package.
Index ¶
- type MockEC2
- func (m *MockEC2) AssignPrivateIpAddressesWithContext(arg0 context.Context, arg1 *ec2.AssignPrivateIpAddressesInput, ...) (*ec2.AssignPrivateIpAddressesOutput, error)
- func (m *MockEC2) AttachNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.AttachNetworkInterfaceInput, ...) (*ec2.AttachNetworkInterfaceOutput, error)
- func (m *MockEC2) CreateNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.CreateNetworkInterfaceInput, ...) (*ec2.CreateNetworkInterfaceOutput, error)
- func (m *MockEC2) CreateTagsWithContext(arg0 context.Context, arg1 *ec2.CreateTagsInput, arg2 ...request.Option) (*ec2.CreateTagsOutput, error)
- func (m *MockEC2) DeleteNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.DeleteNetworkInterfaceInput, ...) (*ec2.DeleteNetworkInterfaceOutput, error)
- func (m *MockEC2) DescribeInstanceTypesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstanceTypesInput, ...) (*ec2.DescribeInstanceTypesOutput, error)
- func (m *MockEC2) DescribeInstancesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstancesInput, arg2 ...request.Option) (*ec2.DescribeInstancesOutput, error)
- func (m *MockEC2) DescribeNetworkInterfacesPagesWithContext(arg0 context.Context, arg1 *ec2.DescribeNetworkInterfacesInput, ...) error
- func (m *MockEC2) DescribeNetworkInterfacesWithContext(arg0 context.Context, arg1 *ec2.DescribeNetworkInterfacesInput, ...) (*ec2.DescribeNetworkInterfacesOutput, error)
- func (m *MockEC2) DetachNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.DetachNetworkInterfaceInput, ...) (*ec2.DetachNetworkInterfaceOutput, error)
- func (m *MockEC2) EXPECT() *MockEC2MockRecorder
- func (m *MockEC2) ModifyNetworkInterfaceAttributeWithContext(arg0 context.Context, arg1 *ec2.ModifyNetworkInterfaceAttributeInput, ...) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)
- func (m *MockEC2) UnassignPrivateIpAddressesWithContext(arg0 context.Context, arg1 *ec2.UnassignPrivateIpAddressesInput, ...) (*ec2.UnassignPrivateIpAddressesOutput, error)
- type MockEC2MockRecorder
- func (mr *MockEC2MockRecorder) AssignPrivateIpAddressesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) AttachNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) CreateNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) CreateTagsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DeleteNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeInstanceTypesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeInstancesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeNetworkInterfacesPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DescribeNetworkInterfacesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) DetachNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) ModifyNetworkInterfaceAttributeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockEC2MockRecorder) UnassignPrivateIpAddressesWithContext(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) AssignPrivateIpAddressesWithContext ¶ added in v1.6.2
func (m *MockEC2) AssignPrivateIpAddressesWithContext(arg0 context.Context, arg1 *ec2.AssignPrivateIpAddressesInput, arg2 ...request.Option) (*ec2.AssignPrivateIpAddressesOutput, error)
AssignPrivateIpAddressesWithContext mocks base method
func (*MockEC2) AttachNetworkInterfaceWithContext ¶ added in v1.6.2
func (m *MockEC2) AttachNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.AttachNetworkInterfaceInput, arg2 ...request.Option) (*ec2.AttachNetworkInterfaceOutput, error)
AttachNetworkInterfaceWithContext mocks base method
func (*MockEC2) CreateNetworkInterfaceWithContext ¶ added in v1.6.2
func (m *MockEC2) CreateNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.CreateNetworkInterfaceInput, arg2 ...request.Option) (*ec2.CreateNetworkInterfaceOutput, error)
CreateNetworkInterfaceWithContext mocks base method
func (*MockEC2) CreateTagsWithContext ¶ added in v1.6.2
func (m *MockEC2) CreateTagsWithContext(arg0 context.Context, arg1 *ec2.CreateTagsInput, arg2 ...request.Option) (*ec2.CreateTagsOutput, error)
CreateTagsWithContext mocks base method
func (*MockEC2) DeleteNetworkInterfaceWithContext ¶ added in v1.6.2
func (m *MockEC2) DeleteNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.DeleteNetworkInterfaceInput, arg2 ...request.Option) (*ec2.DeleteNetworkInterfaceOutput, error)
DeleteNetworkInterfaceWithContext mocks base method
func (*MockEC2) DescribeInstanceTypesWithContext ¶ added in v1.6.2
func (m *MockEC2) DescribeInstanceTypesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstanceTypesInput, arg2 ...request.Option) (*ec2.DescribeInstanceTypesOutput, error)
DescribeInstanceTypesWithContext mocks base method
func (*MockEC2) DescribeInstancesWithContext ¶ added in v1.6.2
func (m *MockEC2) DescribeInstancesWithContext(arg0 context.Context, arg1 *ec2.DescribeInstancesInput, arg2 ...request.Option) (*ec2.DescribeInstancesOutput, error)
DescribeInstancesWithContext mocks base method
func (*MockEC2) DescribeNetworkInterfacesPagesWithContext ¶ added in v1.7.8
func (m *MockEC2) DescribeNetworkInterfacesPagesWithContext(arg0 context.Context, arg1 *ec2.DescribeNetworkInterfacesInput, arg2 func(*ec2.DescribeNetworkInterfacesOutput, bool) bool, arg3 ...request.Option) error
DescribeNetworkInterfacesPagesWithContext mocks base method
func (*MockEC2) DescribeNetworkInterfacesWithContext ¶ added in v1.6.2
func (m *MockEC2) DescribeNetworkInterfacesWithContext(arg0 context.Context, arg1 *ec2.DescribeNetworkInterfacesInput, arg2 ...request.Option) (*ec2.DescribeNetworkInterfacesOutput, error)
DescribeNetworkInterfacesWithContext mocks base method
func (*MockEC2) DetachNetworkInterfaceWithContext ¶ added in v1.6.2
func (m *MockEC2) DetachNetworkInterfaceWithContext(arg0 context.Context, arg1 *ec2.DetachNetworkInterfaceInput, arg2 ...request.Option) (*ec2.DetachNetworkInterfaceOutput, error)
DetachNetworkInterfaceWithContext 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) ModifyNetworkInterfaceAttributeWithContext ¶ added in v1.6.2
func (m *MockEC2) ModifyNetworkInterfaceAttributeWithContext(arg0 context.Context, arg1 *ec2.ModifyNetworkInterfaceAttributeInput, arg2 ...request.Option) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)
ModifyNetworkInterfaceAttributeWithContext mocks base method
func (*MockEC2) UnassignPrivateIpAddressesWithContext ¶ added in v1.5.0
func (m *MockEC2) UnassignPrivateIpAddressesWithContext(arg0 context.Context, arg1 *ec2.UnassignPrivateIpAddressesInput, arg2 ...request.Option) (*ec2.UnassignPrivateIpAddressesOutput, error)
UnassignPrivateIpAddressesWithContext mocks base method
type MockEC2MockRecorder ¶
type MockEC2MockRecorder struct {
// contains filtered or unexported fields
}
MockEC2MockRecorder is the mock recorder for MockEC2
func (*MockEC2MockRecorder) AssignPrivateIpAddressesWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) AssignPrivateIpAddressesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AssignPrivateIpAddressesWithContext indicates an expected call of AssignPrivateIpAddressesWithContext
func (*MockEC2MockRecorder) AttachNetworkInterfaceWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) AttachNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
AttachNetworkInterfaceWithContext indicates an expected call of AttachNetworkInterfaceWithContext
func (*MockEC2MockRecorder) CreateNetworkInterfaceWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) CreateNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateNetworkInterfaceWithContext indicates an expected call of CreateNetworkInterfaceWithContext
func (*MockEC2MockRecorder) CreateTagsWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) CreateTagsWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CreateTagsWithContext indicates an expected call of CreateTagsWithContext
func (*MockEC2MockRecorder) DeleteNetworkInterfaceWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) DeleteNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DeleteNetworkInterfaceWithContext indicates an expected call of DeleteNetworkInterfaceWithContext
func (*MockEC2MockRecorder) DescribeInstanceTypesWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) DescribeInstanceTypesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeInstanceTypesWithContext indicates an expected call of DescribeInstanceTypesWithContext
func (*MockEC2MockRecorder) DescribeInstancesWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) DescribeInstancesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeInstancesWithContext indicates an expected call of DescribeInstancesWithContext
func (*MockEC2MockRecorder) DescribeNetworkInterfacesPagesWithContext ¶ added in v1.7.8
func (mr *MockEC2MockRecorder) DescribeNetworkInterfacesPagesWithContext(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
DescribeNetworkInterfacesPagesWithContext indicates an expected call of DescribeNetworkInterfacesPagesWithContext
func (*MockEC2MockRecorder) DescribeNetworkInterfacesWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) DescribeNetworkInterfacesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DescribeNetworkInterfacesWithContext indicates an expected call of DescribeNetworkInterfacesWithContext
func (*MockEC2MockRecorder) DetachNetworkInterfaceWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) DetachNetworkInterfaceWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
DetachNetworkInterfaceWithContext indicates an expected call of DetachNetworkInterfaceWithContext
func (*MockEC2MockRecorder) ModifyNetworkInterfaceAttributeWithContext ¶ added in v1.6.2
func (mr *MockEC2MockRecorder) ModifyNetworkInterfaceAttributeWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ModifyNetworkInterfaceAttributeWithContext indicates an expected call of ModifyNetworkInterfaceAttributeWithContext
func (*MockEC2MockRecorder) UnassignPrivateIpAddressesWithContext ¶ added in v1.5.0
func (mr *MockEC2MockRecorder) UnassignPrivateIpAddressesWithContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UnassignPrivateIpAddressesWithContext indicates an expected call of UnassignPrivateIpAddressesWithContext