Help us shape the future of Go! Take the 2026 Go Developer Survey

netmanagermock

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package netmanagermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetManager

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

MockNetManager is a mock of NetManager interface.

func NewMockNetManager

func NewMockNetManager(ctrl *gomock.Controller) *MockNetManager

NewMockNetManager creates a new mock instance.

func (*MockNetManager) AddEndpointNeigh

func (m *MockNetManager) AddEndpointNeigh(arg0 context.Context, arg1 types.Network, arg2 types.Endpoint) error

AddEndpointNeigh mocks base method.

func (*MockNetManager) Deactivate added in v0.4.5

func (m *MockNetManager) Deactivate(arg0 context.Context, arg1 types.Network) error

Deactivate mocks base method.

func (*MockNetManager) DeleteEndpoint

func (m *MockNetManager) DeleteEndpoint(arg0 context.Context, arg1 types.Network, arg2 types.Endpoint) error

DeleteEndpoint mocks base method.

func (*MockNetManager) EXPECT

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

func (*MockNetManager) Ensure

func (m *MockNetManager) Ensure(arg0 context.Context, arg1 types.Network) error

Ensure mocks base method.

func (*MockNetManager) EnsureEndpoint

func (m *MockNetManager) EnsureEndpoint(arg0 context.Context, arg1 types.Network, arg2 types.Endpoint, arg3 params.EndpointActivate) (types.Endpoint, error)

EnsureEndpoint mocks base method.

func (*MockNetManager) EnsureEndpointsNeigh

func (m *MockNetManager) EnsureEndpointsNeigh(arg0 context.Context, arg1 types.Network, arg2 []types.Endpoint) error

EnsureEndpointsNeigh mocks base method.

func (*MockNetManager) ListenNetworkChange

func (m *MockNetManager) ListenNetworkChange(arg0 context.Context, arg1 types.Network) error

ListenNetworkChange mocks base method.

func (*MockNetManager) RemoveEndpointNeigh

func (m *MockNetManager) RemoveEndpointNeigh(arg0 context.Context, arg1 types.Network, arg2 types.Endpoint) error

RemoveEndpointNeigh mocks base method.

func (*MockNetManager) StopListenNetworkChange added in v0.6.0

func (m *MockNetManager) StopListenNetworkChange(arg0 context.Context, arg1 types.Network) error

StopListenNetworkChange mocks base method.

type MockNetManagerMockRecorder

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

MockNetManagerMockRecorder is the mock recorder for MockNetManager.

func (*MockNetManagerMockRecorder) AddEndpointNeigh

func (mr *MockNetManagerMockRecorder) AddEndpointNeigh(arg0, arg1, arg2 any) *gomock.Call

AddEndpointNeigh indicates an expected call of AddEndpointNeigh.

func (*MockNetManagerMockRecorder) Deactivate added in v0.4.5

func (mr *MockNetManagerMockRecorder) Deactivate(arg0, arg1 any) *gomock.Call

Deactivate indicates an expected call of Deactivate.

func (*MockNetManagerMockRecorder) DeleteEndpoint

func (mr *MockNetManagerMockRecorder) DeleteEndpoint(arg0, arg1, arg2 any) *gomock.Call

DeleteEndpoint indicates an expected call of DeleteEndpoint.

func (*MockNetManagerMockRecorder) Ensure

func (mr *MockNetManagerMockRecorder) Ensure(arg0, arg1 any) *gomock.Call

Ensure indicates an expected call of Ensure.

func (*MockNetManagerMockRecorder) EnsureEndpoint

func (mr *MockNetManagerMockRecorder) EnsureEndpoint(arg0, arg1, arg2, arg3 any) *gomock.Call

EnsureEndpoint indicates an expected call of EnsureEndpoint.

func (*MockNetManagerMockRecorder) EnsureEndpointsNeigh

func (mr *MockNetManagerMockRecorder) EnsureEndpointsNeigh(arg0, arg1, arg2 any) *gomock.Call

EnsureEndpointsNeigh indicates an expected call of EnsureEndpointsNeigh.

func (*MockNetManagerMockRecorder) ListenNetworkChange

func (mr *MockNetManagerMockRecorder) ListenNetworkChange(arg0, arg1 any) *gomock.Call

ListenNetworkChange indicates an expected call of ListenNetworkChange.

func (*MockNetManagerMockRecorder) RemoveEndpointNeigh

func (mr *MockNetManagerMockRecorder) RemoveEndpointNeigh(arg0, arg1, arg2 any) *gomock.Call

RemoveEndpointNeigh indicates an expected call of RemoveEndpointNeigh.

func (*MockNetManagerMockRecorder) StopListenNetworkChange added in v0.6.0

func (mr *MockNetManagerMockRecorder) StopListenNetworkChange(arg0, arg1 any) *gomock.Call

StopListenNetworkChange indicates an expected call of StopListenNetworkChange.

Jump to

Keyboard shortcuts

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