Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockIPAssigner
- func (m *MockIPAssigner) AssignIP(arg0 string, arg1 bool) error
- func (m *MockIPAssigner) AssignedIPs() sets.Set[string]
- func (m *MockIPAssigner) EXPECT() *MockIPAssignerMockRecorder
- func (m *MockIPAssigner) InitIPs(arg0 sets.Set[string]) error
- func (m *MockIPAssigner) Run(arg0 <-chan struct{})
- func (m *MockIPAssigner) UnassignIP(arg0 string) error
- type MockIPAssignerMockRecorder
- func (mr *MockIPAssignerMockRecorder) AssignIP(arg0, arg1 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, arg1 bool) error
AssignIP mocks base method
func (*MockIPAssigner) AssignedIPs ¶
func (m *MockIPAssigner) AssignedIPs() sets.Set[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.Set[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, arg1 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