Documentation ¶
Index ¶
- type MockIPAllocator
- func (_m *MockIPAllocator) Assign(_param0 string, _param1 string) error
- func (_m *MockIPAllocator) Close()
- func (_m *MockIPAllocator) EXPECT() *_MockIPAllocatorRecorder
- func (_m *MockIPAllocator) Exists(_param0 string) (bool, error)
- func (_m *MockIPAllocator) Get(_param0 string) (string, error)
- func (_m *MockIPAllocator) GetAvailableIP(_param0 string) (string, error)
- func (_m *MockIPAllocator) Release(_param0 string) error
- func (_m *MockIPAllocator) ReleaseByID(_param0 string) (string, error)
- func (_m *MockIPAllocator) SetLastKnownIP(_param0 net.IP)
- func (_m *MockIPAllocator) Update(_param0 string, _param1 string) error
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
}
Mock of IPAllocator interface
func NewMockIPAllocator ¶
func NewMockIPAllocator(ctrl *gomock.Controller) *MockIPAllocator
func (*MockIPAllocator) Assign ¶
func (_m *MockIPAllocator) Assign(_param0 string, _param1 string) error
func (*MockIPAllocator) Close ¶
func (_m *MockIPAllocator) Close()
func (*MockIPAllocator) EXPECT ¶
func (_m *MockIPAllocator) EXPECT() *_MockIPAllocatorRecorder
func (*MockIPAllocator) GetAvailableIP ¶
func (_m *MockIPAllocator) GetAvailableIP(_param0 string) (string, error)
func (*MockIPAllocator) Release ¶
func (_m *MockIPAllocator) Release(_param0 string) error
func (*MockIPAllocator) ReleaseByID ¶
func (_m *MockIPAllocator) ReleaseByID(_param0 string) (string, error)
func (*MockIPAllocator) SetLastKnownIP ¶
func (_m *MockIPAllocator) SetLastKnownIP(_param0 net.IP)
Click to show internal directories.
Click to hide internal directories.