Documentation ¶
Index ¶
- type MockEC2
- func (_m *MockEC2) AssignPrivateIpAddresses(input *ec2.AssignPrivateIpAddressesInput) (*ec2.AssignPrivateIpAddressesOutput, error)
- func (_m *MockEC2) AttachNetworkInterface(input *ec2.AttachNetworkInterfaceInput) (*ec2.AttachNetworkInterfaceOutput, error)
- func (_m *MockEC2) CreateNetworkInterface(input *ec2.CreateNetworkInterfaceInput) (*ec2.CreateNetworkInterfaceOutput, error)
- func (_m *MockEC2) CreateTags(input *ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error)
- func (_m *MockEC2) DeleteNetworkInterface(input *ec2.DeleteNetworkInterfaceInput) (*ec2.DeleteNetworkInterfaceOutput, error)
- func (_m *MockEC2) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
- func (_m *MockEC2) DescribeNetworkInterfaces(input *ec2.DescribeNetworkInterfacesInput) (*ec2.DescribeNetworkInterfacesOutput, error)
- func (_m *MockEC2) DetachNetworkInterface(input *ec2.DetachNetworkInterfaceInput) (*ec2.DetachNetworkInterfaceOutput, error)
- func (_m *MockEC2) EXPECT() *MockEC2MockRecorder
- func (_m *MockEC2) ModifyNetworkInterfaceAttribute(input *ec2.ModifyNetworkInterfaceAttributeInput) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)
- type MockEC2MockRecorder
- func (_mr *MockEC2MockRecorder) AssignPrivateIpAddresses(arg0 interface{}) *gomock.Call
- func (_mr *MockEC2MockRecorder) AttachNetworkInterface(arg0 interface{}) *gomock.Call
- func (_mr *MockEC2MockRecorder) CreateNetworkInterface(arg0 interface{}) *gomock.Call
- func (_mr *MockEC2MockRecorder) CreateTags(arg0 interface{}) *gomock.Call
- func (_mr *MockEC2MockRecorder) DeleteNetworkInterface(arg0 interface{}) *gomock.Call
- func (_mr *MockEC2MockRecorder) DescribeInstances(arg0 interface{}) *gomock.Call
- func (_mr *MockEC2MockRecorder) DescribeNetworkInterfaces(arg0 interface{}) *gomock.Call
- func (_mr *MockEC2MockRecorder) DetachNetworkInterface(arg0 interface{}) *gomock.Call
- func (_mr *MockEC2MockRecorder) ModifyNetworkInterfaceAttribute(arg0 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) AssignPrivateIpAddresses ¶
func (_m *MockEC2) AssignPrivateIpAddresses(input *ec2.AssignPrivateIpAddressesInput) (*ec2.AssignPrivateIpAddressesOutput, error)
AssignPrivateIpAddresses mocks base method
func (*MockEC2) AttachNetworkInterface ¶
func (_m *MockEC2) AttachNetworkInterface(input *ec2.AttachNetworkInterfaceInput) (*ec2.AttachNetworkInterfaceOutput, error)
AttachNetworkInterface mocks base method
func (*MockEC2) CreateNetworkInterface ¶
func (_m *MockEC2) CreateNetworkInterface(input *ec2.CreateNetworkInterfaceInput) (*ec2.CreateNetworkInterfaceOutput, error)
CreateNetworkInterface mocks base method
func (*MockEC2) CreateTags ¶ added in v1.1.0
func (_m *MockEC2) CreateTags(input *ec2.CreateTagsInput) (*ec2.CreateTagsOutput, error)
CreateTags mocks base method
func (*MockEC2) DeleteNetworkInterface ¶
func (_m *MockEC2) DeleteNetworkInterface(input *ec2.DeleteNetworkInterfaceInput) (*ec2.DeleteNetworkInterfaceOutput, error)
DeleteNetworkInterface mocks base method
func (*MockEC2) DescribeInstances ¶
func (_m *MockEC2) DescribeInstances(input *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)
DescribeInstances mocks base method
func (*MockEC2) DescribeNetworkInterfaces ¶
func (_m *MockEC2) DescribeNetworkInterfaces(input *ec2.DescribeNetworkInterfacesInput) (*ec2.DescribeNetworkInterfacesOutput, error)
DescribeNetworkInterfaces mocks base method
func (*MockEC2) DetachNetworkInterface ¶
func (_m *MockEC2) DetachNetworkInterface(input *ec2.DetachNetworkInterfaceInput) (*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(input *ec2.ModifyNetworkInterfaceAttributeInput) (*ec2.ModifyNetworkInterfaceAttributeOutput, error)
ModifyNetworkInterfaceAttribute mocks base method
type MockEC2MockRecorder ¶
type MockEC2MockRecorder struct {
// contains filtered or unexported fields
}
MockEC2MockRecorder is the mock recorder for MockEC2
func (*MockEC2MockRecorder) AssignPrivateIpAddresses ¶
func (_mr *MockEC2MockRecorder) AssignPrivateIpAddresses(arg0 interface{}) *gomock.Call
AssignPrivateIpAddresses indicates an expected call of AssignPrivateIpAddresses
func (*MockEC2MockRecorder) AttachNetworkInterface ¶
func (_mr *MockEC2MockRecorder) AttachNetworkInterface(arg0 interface{}) *gomock.Call
AttachNetworkInterface indicates an expected call of AttachNetworkInterface
func (*MockEC2MockRecorder) CreateNetworkInterface ¶
func (_mr *MockEC2MockRecorder) CreateNetworkInterface(arg0 interface{}) *gomock.Call
CreateNetworkInterface indicates an expected call of CreateNetworkInterface
func (*MockEC2MockRecorder) CreateTags ¶ added in v1.1.0
func (_mr *MockEC2MockRecorder) CreateTags(arg0 interface{}) *gomock.Call
CreateTags indicates an expected call of CreateTags
func (*MockEC2MockRecorder) DeleteNetworkInterface ¶
func (_mr *MockEC2MockRecorder) DeleteNetworkInterface(arg0 interface{}) *gomock.Call
DeleteNetworkInterface indicates an expected call of DeleteNetworkInterface
func (*MockEC2MockRecorder) DescribeInstances ¶
func (_mr *MockEC2MockRecorder) DescribeInstances(arg0 interface{}) *gomock.Call
DescribeInstances indicates an expected call of DescribeInstances
func (*MockEC2MockRecorder) DescribeNetworkInterfaces ¶
func (_mr *MockEC2MockRecorder) DescribeNetworkInterfaces(arg0 interface{}) *gomock.Call
DescribeNetworkInterfaces indicates an expected call of DescribeNetworkInterfaces
func (*MockEC2MockRecorder) DetachNetworkInterface ¶
func (_mr *MockEC2MockRecorder) DetachNetworkInterface(arg0 interface{}) *gomock.Call
DetachNetworkInterface indicates an expected call of DetachNetworkInterface
func (*MockEC2MockRecorder) ModifyNetworkInterfaceAttribute ¶
func (_mr *MockEC2MockRecorder) ModifyNetworkInterfaceAttribute(arg0 interface{}) *gomock.Call
ModifyNetworkInterfaceAttribute indicates an expected call of ModifyNetworkInterfaceAttribute