Documentation ¶
Overview ¶
Package ipallocatormock is a generated GoMock package.
Index ¶
- type MockIPAllocator
- func (m *MockIPAllocator) AllocateIP(arg0 context.Context, arg1 string, arg2 ipallocator.AllocateIPOpts) (string, error)
- func (m *MockIPAllocator) EXPECT() *MockIPAllocatorMockRecorder
- func (m *MockIPAllocator) ReleaseIP(arg0 context.Context, arg1, arg2 string) error
- func (m *MockIPAllocator) ReleasePool(arg0 context.Context, arg1 string) error
- type MockIPAllocatorMockRecorder
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) AllocateIP ¶
func (m *MockIPAllocator) AllocateIP(arg0 context.Context, arg1 string, arg2 ipallocator.AllocateIPOpts) (string, error)
AllocateIP 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) ReleaseIP ¶
func (m *MockIPAllocator) ReleaseIP(arg0 context.Context, arg1, arg2 string) error
ReleaseIP mocks base method
func (*MockIPAllocator) ReleasePool ¶
func (m *MockIPAllocator) ReleasePool(arg0 context.Context, arg1 string) error
ReleasePool mocks base method
type MockIPAllocatorMockRecorder ¶
type MockIPAllocatorMockRecorder struct {
// contains filtered or unexported fields
}
MockIPAllocatorMockRecorder is the mock recorder for MockIPAllocator
func (*MockIPAllocatorMockRecorder) AllocateIP ¶
func (mr *MockIPAllocatorMockRecorder) AllocateIP(arg0, arg1, arg2 interface{}) *gomock.Call
AllocateIP indicates an expected call of AllocateIP
func (*MockIPAllocatorMockRecorder) ReleaseIP ¶
func (mr *MockIPAllocatorMockRecorder) ReleaseIP(arg0, arg1, arg2 interface{}) *gomock.Call
ReleaseIP indicates an expected call of ReleaseIP
func (*MockIPAllocatorMockRecorder) ReleasePool ¶
func (mr *MockIPAllocatorMockRecorder) ReleasePool(arg0, arg1 interface{}) *gomock.Call
ReleasePool indicates an expected call of ReleasePool
Click to show internal directories.
Click to hide internal directories.