Documentation
¶
Overview ¶
Package nbmock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GatherStatistics(arg0 context.Context, arg1 []*netbox.NetboxIPPool) error
- func (m *MockClient) GetIPRange(arg0 context.Context, arg1, arg2 string) (*netbox.NetboxIPPool, error)
- func (m *MockClient) GetPrefix(arg0 context.Context, arg1, arg2 string) (*netbox.NetboxIPPool, error)
- func (m *MockClient) NextAvailableAddress(arg0 context.Context) (*ipaddr.IPAddress, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) GatherStatistics(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetIPRange(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetPrefix(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockClientMockRecorder) NextAvailableAddress(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GatherStatistics ¶
func (m *MockClient) GatherStatistics(arg0 context.Context, arg1 []*netbox.NetboxIPPool) error
GatherStatistics mocks base method.
func (*MockClient) GetIPRange ¶
func (m *MockClient) GetIPRange(arg0 context.Context, arg1, arg2 string) (*netbox.NetboxIPPool, error)
GetIPRange mocks base method.
func (*MockClient) GetPrefix ¶
func (m *MockClient) GetPrefix(arg0 context.Context, arg1, arg2 string) (*netbox.NetboxIPPool, error)
GetPrefix mocks base method.
func (*MockClient) NextAvailableAddress ¶
NextAvailableAddress mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) GatherStatistics ¶
func (mr *MockClientMockRecorder) GatherStatistics(arg0, arg1 any) *gomock.Call
GatherStatistics indicates an expected call of GatherStatistics.
func (*MockClientMockRecorder) GetIPRange ¶
func (mr *MockClientMockRecorder) GetIPRange(arg0, arg1, arg2 any) *gomock.Call
GetIPRange indicates an expected call of GetIPRange.
func (*MockClientMockRecorder) GetPrefix ¶
func (mr *MockClientMockRecorder) GetPrefix(arg0, arg1, arg2 any) *gomock.Call
GetPrefix indicates an expected call of GetPrefix.
func (*MockClientMockRecorder) NextAvailableAddress ¶
func (mr *MockClientMockRecorder) NextAvailableAddress(arg0 any) *gomock.Call
NextAvailableAddress indicates an expected call of NextAvailableAddress.