Documentation ¶
Overview ¶
Package mock_ipstore is a generated GoMock package.
Index ¶
- type MockIPAllocator
- func (m *MockIPAllocator) Assign(arg0, arg1 string) error
- func (m *MockIPAllocator) Close()
- func (m *MockIPAllocator) EXPECT() *MockIPAllocatorMockRecorder
- func (m *MockIPAllocator) Exists(arg0 string) (bool, error)
- func (m *MockIPAllocator) Get(arg0 string) (string, error)
- func (m *MockIPAllocator) GetAvailableIP(arg0 string) (string, error)
- func (m *MockIPAllocator) Release(arg0 string) error
- func (m *MockIPAllocator) ReleaseByID(arg0 string) (string, error)
- func (m *MockIPAllocator) SetLastKnownIP(arg0 net.IP)
- func (m *MockIPAllocator) Update(arg0, arg1 string) error
- type MockIPAllocatorMockRecorder
- func (mr *MockIPAllocatorMockRecorder) Assign(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIPAllocatorMockRecorder) Close() *gomock.Call
- func (mr *MockIPAllocatorMockRecorder) Exists(arg0 interface{}) *gomock.Call
- func (mr *MockIPAllocatorMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockIPAllocatorMockRecorder) GetAvailableIP(arg0 interface{}) *gomock.Call
- func (mr *MockIPAllocatorMockRecorder) Release(arg0 interface{}) *gomock.Call
- func (mr *MockIPAllocatorMockRecorder) ReleaseByID(arg0 interface{}) *gomock.Call
- func (mr *MockIPAllocatorMockRecorder) SetLastKnownIP(arg0 interface{}) *gomock.Call
- func (mr *MockIPAllocatorMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIPAllocator ¶
type MockIPAllocator struct {
// contains filtered or unexported fields
}
MockIPAllocator is a mock of IPAllocator interface
func NewMockIPAllocator ¶
func NewMockIPAllocator(ctrl *gomock.Controller) *MockIPAllocator
NewMockIPAllocator creates a new mock instance
func (*MockIPAllocator) Assign ¶
func (m *MockIPAllocator) Assign(arg0, arg1 string) error
Assign mocks base method
func (*MockIPAllocator) EXPECT ¶
func (m *MockIPAllocator) EXPECT() *MockIPAllocatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIPAllocator) Exists ¶
func (m *MockIPAllocator) Exists(arg0 string) (bool, error)
Exists mocks base method
func (*MockIPAllocator) Get ¶
func (m *MockIPAllocator) Get(arg0 string) (string, error)
Get mocks base method
func (*MockIPAllocator) GetAvailableIP ¶
func (m *MockIPAllocator) GetAvailableIP(arg0 string) (string, error)
GetAvailableIP mocks base method
func (*MockIPAllocator) Release ¶
func (m *MockIPAllocator) Release(arg0 string) error
Release mocks base method
func (*MockIPAllocator) ReleaseByID ¶
func (m *MockIPAllocator) ReleaseByID(arg0 string) (string, error)
ReleaseByID mocks base method
func (*MockIPAllocator) SetLastKnownIP ¶
func (m *MockIPAllocator) SetLastKnownIP(arg0 net.IP)
SetLastKnownIP mocks base method
func (*MockIPAllocator) Update ¶
func (m *MockIPAllocator) Update(arg0, arg1 string) error
Update mocks base method
type MockIPAllocatorMockRecorder ¶
type MockIPAllocatorMockRecorder struct {
// contains filtered or unexported fields
}
MockIPAllocatorMockRecorder is the mock recorder for MockIPAllocator
func (*MockIPAllocatorMockRecorder) Assign ¶
func (mr *MockIPAllocatorMockRecorder) Assign(arg0, arg1 interface{}) *gomock.Call
Assign indicates an expected call of Assign
func (*MockIPAllocatorMockRecorder) Close ¶
func (mr *MockIPAllocatorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockIPAllocatorMockRecorder) Exists ¶
func (mr *MockIPAllocatorMockRecorder) Exists(arg0 interface{}) *gomock.Call
Exists indicates an expected call of Exists
func (*MockIPAllocatorMockRecorder) Get ¶
func (mr *MockIPAllocatorMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockIPAllocatorMockRecorder) GetAvailableIP ¶
func (mr *MockIPAllocatorMockRecorder) GetAvailableIP(arg0 interface{}) *gomock.Call
GetAvailableIP indicates an expected call of GetAvailableIP
func (*MockIPAllocatorMockRecorder) Release ¶
func (mr *MockIPAllocatorMockRecorder) Release(arg0 interface{}) *gomock.Call
Release indicates an expected call of Release
func (*MockIPAllocatorMockRecorder) ReleaseByID ¶
func (mr *MockIPAllocatorMockRecorder) ReleaseByID(arg0 interface{}) *gomock.Call
ReleaseByID indicates an expected call of ReleaseByID
func (*MockIPAllocatorMockRecorder) SetLastKnownIP ¶
func (mr *MockIPAllocatorMockRecorder) SetLastKnownIP(arg0 interface{}) *gomock.Call
SetLastKnownIP indicates an expected call of SetLastKnownIP
func (*MockIPAllocatorMockRecorder) Update ¶
func (mr *MockIPAllocatorMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update