Documentation ¶
Overview ¶
Package mock_trunk is a generated GoMock package.
Index ¶
- type MockTrunkENI
- func (m *MockTrunkENI) CreateAndAssociateBranchENIs(arg0 *v1.Pod, arg1 []string, arg2 int) ([]*trunk.ENIDetails, error)
- func (m *MockTrunkENI) DeleteAllBranchENIs()
- func (m *MockTrunkENI) DeleteCooledDownENIs()
- func (m *MockTrunkENI) EXPECT() *MockTrunkENIMockRecorder
- func (m *MockTrunkENI) InitTrunk(arg0 ec2.EC2Instance, arg1 []v1.Pod) error
- func (m *MockTrunkENI) Introspect() trunk.IntrospectResponse
- func (m *MockTrunkENI) PushBranchENIsToCoolDownQueue(arg0 string)
- func (m *MockTrunkENI) PushENIsToFrontOfDeleteQueue(arg0 *v1.Pod, arg1 []*trunk.ENIDetails)
- func (m *MockTrunkENI) Reconcile(arg0 []v1.Pod) bool
- type MockTrunkENIMockRecorder
- func (mr *MockTrunkENIMockRecorder) CreateAndAssociateBranchENIs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTrunkENIMockRecorder) DeleteAllBranchENIs() *gomock.Call
- func (mr *MockTrunkENIMockRecorder) DeleteCooledDownENIs() *gomock.Call
- func (mr *MockTrunkENIMockRecorder) InitTrunk(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrunkENIMockRecorder) Introspect() *gomock.Call
- func (mr *MockTrunkENIMockRecorder) PushBranchENIsToCoolDownQueue(arg0 interface{}) *gomock.Call
- func (mr *MockTrunkENIMockRecorder) PushENIsToFrontOfDeleteQueue(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTrunkENIMockRecorder) Reconcile(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTrunkENI ¶
type MockTrunkENI struct {
// contains filtered or unexported fields
}
MockTrunkENI is a mock of TrunkENI interface.
func NewMockTrunkENI ¶
func NewMockTrunkENI(ctrl *gomock.Controller) *MockTrunkENI
NewMockTrunkENI creates a new mock instance.
func (*MockTrunkENI) CreateAndAssociateBranchENIs ¶
func (m *MockTrunkENI) CreateAndAssociateBranchENIs(arg0 *v1.Pod, arg1 []string, arg2 int) ([]*trunk.ENIDetails, error)
CreateAndAssociateBranchENIs mocks base method.
func (*MockTrunkENI) DeleteAllBranchENIs ¶
func (m *MockTrunkENI) DeleteAllBranchENIs()
DeleteAllBranchENIs mocks base method.
func (*MockTrunkENI) DeleteCooledDownENIs ¶
func (m *MockTrunkENI) DeleteCooledDownENIs()
DeleteCooledDownENIs mocks base method.
func (*MockTrunkENI) EXPECT ¶
func (m *MockTrunkENI) EXPECT() *MockTrunkENIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTrunkENI) InitTrunk ¶
func (m *MockTrunkENI) InitTrunk(arg0 ec2.EC2Instance, arg1 []v1.Pod) error
InitTrunk mocks base method.
func (*MockTrunkENI) Introspect ¶ added in v1.1.0
func (m *MockTrunkENI) Introspect() trunk.IntrospectResponse
Introspect mocks base method.
func (*MockTrunkENI) PushBranchENIsToCoolDownQueue ¶
func (m *MockTrunkENI) PushBranchENIsToCoolDownQueue(arg0 string)
PushBranchENIsToCoolDownQueue mocks base method.
func (*MockTrunkENI) PushENIsToFrontOfDeleteQueue ¶
func (m *MockTrunkENI) PushENIsToFrontOfDeleteQueue(arg0 *v1.Pod, arg1 []*trunk.ENIDetails)
PushENIsToFrontOfDeleteQueue mocks base method.
type MockTrunkENIMockRecorder ¶
type MockTrunkENIMockRecorder struct {
// contains filtered or unexported fields
}
MockTrunkENIMockRecorder is the mock recorder for MockTrunkENI.
func (*MockTrunkENIMockRecorder) CreateAndAssociateBranchENIs ¶
func (mr *MockTrunkENIMockRecorder) CreateAndAssociateBranchENIs(arg0, arg1, arg2 interface{}) *gomock.Call
CreateAndAssociateBranchENIs indicates an expected call of CreateAndAssociateBranchENIs.
func (*MockTrunkENIMockRecorder) DeleteAllBranchENIs ¶
func (mr *MockTrunkENIMockRecorder) DeleteAllBranchENIs() *gomock.Call
DeleteAllBranchENIs indicates an expected call of DeleteAllBranchENIs.
func (*MockTrunkENIMockRecorder) DeleteCooledDownENIs ¶
func (mr *MockTrunkENIMockRecorder) DeleteCooledDownENIs() *gomock.Call
DeleteCooledDownENIs indicates an expected call of DeleteCooledDownENIs.
func (*MockTrunkENIMockRecorder) InitTrunk ¶
func (mr *MockTrunkENIMockRecorder) InitTrunk(arg0, arg1 interface{}) *gomock.Call
InitTrunk indicates an expected call of InitTrunk.
func (*MockTrunkENIMockRecorder) Introspect ¶ added in v1.1.0
func (mr *MockTrunkENIMockRecorder) Introspect() *gomock.Call
Introspect indicates an expected call of Introspect.
func (*MockTrunkENIMockRecorder) PushBranchENIsToCoolDownQueue ¶
func (mr *MockTrunkENIMockRecorder) PushBranchENIsToCoolDownQueue(arg0 interface{}) *gomock.Call
PushBranchENIsToCoolDownQueue indicates an expected call of PushBranchENIsToCoolDownQueue.
func (*MockTrunkENIMockRecorder) PushENIsToFrontOfDeleteQueue ¶
func (mr *MockTrunkENIMockRecorder) PushENIsToFrontOfDeleteQueue(arg0, arg1 interface{}) *gomock.Call
PushENIsToFrontOfDeleteQueue indicates an expected call of PushENIsToFrontOfDeleteQueue.
func (*MockTrunkENIMockRecorder) Reconcile ¶
func (mr *MockTrunkENIMockRecorder) Reconcile(arg0 interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile.