ibmock

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package ibmock 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) CheckNetworkExists

func (m *MockClient) CheckNetworkExists(arg0 string, arg1 netip.Prefix) (bool, error)

CheckNetworkExists mocks base method.

func (*MockClient) CheckNetworkViewExists

func (m *MockClient) CheckNetworkViewExists(arg0 string) (bool, error)

CheckNetworkViewExists mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClient) GetHostConfig

func (m *MockClient) GetHostConfig() *infoblox.HostConfig

GetHostConfig mocks base method.

func (*MockClient) GetOrAllocateAddress

func (m *MockClient) GetOrAllocateAddress(arg0 string, arg1 netip.Prefix, arg2, arg3 string) (netip.Addr, error)

GetOrAllocateAddress mocks base method.

func (*MockClient) ReleaseAddress

func (m *MockClient) ReleaseAddress(arg0 string, arg1 netip.Prefix, arg2 string) error

ReleaseAddress mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CheckNetworkExists

func (mr *MockClientMockRecorder) CheckNetworkExists(arg0, arg1 any) *gomock.Call

CheckNetworkExists indicates an expected call of CheckNetworkExists.

func (*MockClientMockRecorder) CheckNetworkViewExists

func (mr *MockClientMockRecorder) CheckNetworkViewExists(arg0 any) *gomock.Call

CheckNetworkViewExists indicates an expected call of CheckNetworkViewExists.

func (*MockClientMockRecorder) GetHostConfig

func (mr *MockClientMockRecorder) GetHostConfig() *gomock.Call

GetHostConfig indicates an expected call of GetHostConfig.

func (*MockClientMockRecorder) GetOrAllocateAddress

func (mr *MockClientMockRecorder) GetOrAllocateAddress(arg0, arg1, arg2, arg3 any) *gomock.Call

GetOrAllocateAddress indicates an expected call of GetOrAllocateAddress.

func (*MockClientMockRecorder) ReleaseAddress

func (mr *MockClientMockRecorder) ReleaseAddress(arg0, arg1, arg2 any) *gomock.Call

ReleaseAddress indicates an expected call of ReleaseAddress.

Jump to

Keyboard shortcuts

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