Documentation ¶
Overview ¶
Package mock_ec2 is a generated GoMock package.
Index ¶
- type MockEC2Instance
- func (m *MockEC2Instance) CurrentInstanceSecurityGroups() []string
- func (m *MockEC2Instance) EXPECT() *MockEC2InstanceMockRecorder
- func (m *MockEC2Instance) FreeDeviceIndex(arg0 int64)
- func (m *MockEC2Instance) GetHighestUnusedDeviceIndex() (int64, error)
- func (m *MockEC2Instance) InstanceID() string
- func (m *MockEC2Instance) LoadDetails(arg0 api.EC2APIHelper) error
- func (m *MockEC2Instance) Name() string
- func (m *MockEC2Instance) Os() string
- func (m *MockEC2Instance) PrimaryNetworkInterfaceID() string
- func (m *MockEC2Instance) SetNewCustomNetworkingSpec(arg0 string, arg1 []string)
- func (m *MockEC2Instance) SubnetCidrBlock() string
- func (m *MockEC2Instance) SubnetID() string
- func (m *MockEC2Instance) SubnetMask() string
- func (m *MockEC2Instance) SubnetV6CidrBlock() string
- func (m *MockEC2Instance) SubnetV6Mask() string
- func (m *MockEC2Instance) Type() string
- func (m *MockEC2Instance) UpdateCurrentSubnetAndCidrBlock(arg0 api.EC2APIHelper) error
- type MockEC2InstanceMockRecorder
- func (mr *MockEC2InstanceMockRecorder) CurrentInstanceSecurityGroups() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) FreeDeviceIndex(arg0 interface{}) *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) GetHighestUnusedDeviceIndex() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) InstanceID() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) LoadDetails(arg0 interface{}) *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) Name() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) Os() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) PrimaryNetworkInterfaceID() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) SetNewCustomNetworkingSpec(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) SubnetCidrBlock() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) SubnetID() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) SubnetMask() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) SubnetV6CidrBlock() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) SubnetV6Mask() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) Type() *gomock.Call
- func (mr *MockEC2InstanceMockRecorder) UpdateCurrentSubnetAndCidrBlock(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEC2Instance ¶
type MockEC2Instance struct {
// contains filtered or unexported fields
}
MockEC2Instance is a mock of EC2Instance interface.
func NewMockEC2Instance ¶
func NewMockEC2Instance(ctrl *gomock.Controller) *MockEC2Instance
NewMockEC2Instance creates a new mock instance.
func (*MockEC2Instance) CurrentInstanceSecurityGroups ¶ added in v1.1.6
func (m *MockEC2Instance) CurrentInstanceSecurityGroups() []string
CurrentInstanceSecurityGroups mocks base method.
func (*MockEC2Instance) EXPECT ¶
func (m *MockEC2Instance) EXPECT() *MockEC2InstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEC2Instance) FreeDeviceIndex ¶
func (m *MockEC2Instance) FreeDeviceIndex(arg0 int64)
FreeDeviceIndex mocks base method.
func (*MockEC2Instance) GetHighestUnusedDeviceIndex ¶
func (m *MockEC2Instance) GetHighestUnusedDeviceIndex() (int64, error)
GetHighestUnusedDeviceIndex mocks base method.
func (*MockEC2Instance) InstanceID ¶
func (m *MockEC2Instance) InstanceID() string
InstanceID mocks base method.
func (*MockEC2Instance) LoadDetails ¶
func (m *MockEC2Instance) LoadDetails(arg0 api.EC2APIHelper) error
LoadDetails mocks base method.
func (*MockEC2Instance) PrimaryNetworkInterfaceID ¶
func (m *MockEC2Instance) PrimaryNetworkInterfaceID() string
PrimaryNetworkInterfaceID mocks base method.
func (*MockEC2Instance) SetNewCustomNetworkingSpec ¶
func (m *MockEC2Instance) SetNewCustomNetworkingSpec(arg0 string, arg1 []string)
SetNewCustomNetworkingSpec mocks base method.
func (*MockEC2Instance) SubnetCidrBlock ¶
func (m *MockEC2Instance) SubnetCidrBlock() string
SubnetCidrBlock mocks base method.
func (*MockEC2Instance) SubnetID ¶
func (m *MockEC2Instance) SubnetID() string
SubnetID mocks base method.
func (*MockEC2Instance) SubnetMask ¶
func (m *MockEC2Instance) SubnetMask() string
SubnetMask mocks base method.
func (*MockEC2Instance) SubnetV6CidrBlock ¶ added in v1.4.1
func (m *MockEC2Instance) SubnetV6CidrBlock() string
SubnetV6CidrBlock mocks base method.
func (*MockEC2Instance) SubnetV6Mask ¶ added in v1.4.1
func (m *MockEC2Instance) SubnetV6Mask() string
SubnetV6Mask mocks base method.
func (*MockEC2Instance) UpdateCurrentSubnetAndCidrBlock ¶
func (m *MockEC2Instance) UpdateCurrentSubnetAndCidrBlock(arg0 api.EC2APIHelper) error
UpdateCurrentSubnetAndCidrBlock mocks base method.
type MockEC2InstanceMockRecorder ¶
type MockEC2InstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockEC2InstanceMockRecorder is the mock recorder for MockEC2Instance.
func (*MockEC2InstanceMockRecorder) CurrentInstanceSecurityGroups ¶ added in v1.1.6
func (mr *MockEC2InstanceMockRecorder) CurrentInstanceSecurityGroups() *gomock.Call
CurrentInstanceSecurityGroups indicates an expected call of CurrentInstanceSecurityGroups.
func (*MockEC2InstanceMockRecorder) FreeDeviceIndex ¶
func (mr *MockEC2InstanceMockRecorder) FreeDeviceIndex(arg0 interface{}) *gomock.Call
FreeDeviceIndex indicates an expected call of FreeDeviceIndex.
func (*MockEC2InstanceMockRecorder) GetHighestUnusedDeviceIndex ¶
func (mr *MockEC2InstanceMockRecorder) GetHighestUnusedDeviceIndex() *gomock.Call
GetHighestUnusedDeviceIndex indicates an expected call of GetHighestUnusedDeviceIndex.
func (*MockEC2InstanceMockRecorder) InstanceID ¶
func (mr *MockEC2InstanceMockRecorder) InstanceID() *gomock.Call
InstanceID indicates an expected call of InstanceID.
func (*MockEC2InstanceMockRecorder) LoadDetails ¶
func (mr *MockEC2InstanceMockRecorder) LoadDetails(arg0 interface{}) *gomock.Call
LoadDetails indicates an expected call of LoadDetails.
func (*MockEC2InstanceMockRecorder) Name ¶
func (mr *MockEC2InstanceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockEC2InstanceMockRecorder) Os ¶
func (mr *MockEC2InstanceMockRecorder) Os() *gomock.Call
Os indicates an expected call of Os.
func (*MockEC2InstanceMockRecorder) PrimaryNetworkInterfaceID ¶
func (mr *MockEC2InstanceMockRecorder) PrimaryNetworkInterfaceID() *gomock.Call
PrimaryNetworkInterfaceID indicates an expected call of PrimaryNetworkInterfaceID.
func (*MockEC2InstanceMockRecorder) SetNewCustomNetworkingSpec ¶
func (mr *MockEC2InstanceMockRecorder) SetNewCustomNetworkingSpec(arg0, arg1 interface{}) *gomock.Call
SetNewCustomNetworkingSpec indicates an expected call of SetNewCustomNetworkingSpec.
func (*MockEC2InstanceMockRecorder) SubnetCidrBlock ¶
func (mr *MockEC2InstanceMockRecorder) SubnetCidrBlock() *gomock.Call
SubnetCidrBlock indicates an expected call of SubnetCidrBlock.
func (*MockEC2InstanceMockRecorder) SubnetID ¶
func (mr *MockEC2InstanceMockRecorder) SubnetID() *gomock.Call
SubnetID indicates an expected call of SubnetID.
func (*MockEC2InstanceMockRecorder) SubnetMask ¶
func (mr *MockEC2InstanceMockRecorder) SubnetMask() *gomock.Call
SubnetMask indicates an expected call of SubnetMask.
func (*MockEC2InstanceMockRecorder) SubnetV6CidrBlock ¶ added in v1.4.1
func (mr *MockEC2InstanceMockRecorder) SubnetV6CidrBlock() *gomock.Call
SubnetV6CidrBlock indicates an expected call of SubnetV6CidrBlock.
func (*MockEC2InstanceMockRecorder) SubnetV6Mask ¶ added in v1.4.1
func (mr *MockEC2InstanceMockRecorder) SubnetV6Mask() *gomock.Call
SubnetV6Mask indicates an expected call of SubnetV6Mask.
func (*MockEC2InstanceMockRecorder) Type ¶
func (mr *MockEC2InstanceMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
func (*MockEC2InstanceMockRecorder) UpdateCurrentSubnetAndCidrBlock ¶
func (mr *MockEC2InstanceMockRecorder) UpdateCurrentSubnetAndCidrBlock(arg0 interface{}) *gomock.Call
UpdateCurrentSubnetAndCidrBlock indicates an expected call of UpdateCurrentSubnetAndCidrBlock.