Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockIPAssigner
- func (m *MockIPAssigner) AssignIP(arg0 string) error
- func (m *MockIPAssigner) AssignedIPs() sets.String
- func (m *MockIPAssigner) EXPECT() *MockIPAssignerMockRecorder
- func (m *MockIPAssigner) InitIPs(arg0 sets.String) error
- func (m *MockIPAssigner) Run(arg0 <-chan struct{})
- func (m *MockIPAssigner) UnassignIP(arg0 string) error
- type MockIPAssignerMockRecorder
- func (mr *MockIPAssignerMockRecorder) AssignIP(arg0 interface{}) *gomock.Call
- func (mr *MockIPAssignerMockRecorder) AssignedIPs() *gomock.Call
- func (mr *MockIPAssignerMockRecorder) InitIPs(arg0 interface{}) *gomock.Call
- func (mr *MockIPAssignerMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockIPAssignerMockRecorder) UnassignIP(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIPAssigner ¶
type MockIPAssigner struct {
// contains filtered or unexported fields
}
MockIPAssigner is a mock of IPAssigner interface
func NewMockIPAssigner ¶
func NewMockIPAssigner(ctrl *gomock.Controller) *MockIPAssigner
NewMockIPAssigner creates a new mock instance
func (*MockIPAssigner) AssignIP ¶
func (m *MockIPAssigner) AssignIP(arg0 string) error
AssignIP mocks base method
func (*MockIPAssigner) AssignedIPs ¶
func (m *MockIPAssigner) AssignedIPs() sets.String
AssignedIPs mocks base method
func (*MockIPAssigner) EXPECT ¶
func (m *MockIPAssigner) EXPECT() *MockIPAssignerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIPAssigner) InitIPs ¶ added in v1.7.0
func (m *MockIPAssigner) InitIPs(arg0 sets.String) error
InitIPs mocks base method
func (*MockIPAssigner) Run ¶ added in v1.6.0
func (m *MockIPAssigner) Run(arg0 <-chan struct{})
Run mocks base method
func (*MockIPAssigner) UnassignIP ¶
func (m *MockIPAssigner) UnassignIP(arg0 string) error
UnassignIP mocks base method
type MockIPAssignerMockRecorder ¶
type MockIPAssignerMockRecorder struct {
// contains filtered or unexported fields
}
MockIPAssignerMockRecorder is the mock recorder for MockIPAssigner
func (*MockIPAssignerMockRecorder) AssignIP ¶
func (mr *MockIPAssignerMockRecorder) AssignIP(arg0 interface{}) *gomock.Call
AssignIP indicates an expected call of AssignIP
func (*MockIPAssignerMockRecorder) AssignedIPs ¶
func (mr *MockIPAssignerMockRecorder) AssignedIPs() *gomock.Call
AssignedIPs indicates an expected call of AssignedIPs
func (*MockIPAssignerMockRecorder) InitIPs ¶ added in v1.7.0
func (mr *MockIPAssignerMockRecorder) InitIPs(arg0 interface{}) *gomock.Call
InitIPs indicates an expected call of InitIPs
func (*MockIPAssignerMockRecorder) Run ¶ added in v1.6.0
func (mr *MockIPAssignerMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run
func (*MockIPAssignerMockRecorder) UnassignIP ¶
func (mr *MockIPAssignerMockRecorder) UnassignIP(arg0 interface{}) *gomock.Call
UnassignIP indicates an expected call of UnassignIP