nbmock

package
v0.1.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package nbmock is a generated GoMock package.

Index

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

func (m *MockClient) NextAvailableAddress(arg0 context.Context) (*ipaddr.IPAddress, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL