mocks

package
v0.48.0-dev2 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Mocks

To generate (or refresh) mocks from acl package please install mockgen. Run this command from the ./client/internal/acl folder to update iface mapper interface mock:

mockgen -destination mocks/iface_mapper.go -package mocks . IFaceMapper

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockIFaceMapper

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

MockIFaceMapper is a mock of IFaceMapper interface.

func NewMockIFaceMapper

func NewMockIFaceMapper(ctrl *gomock.Controller) *MockIFaceMapper

NewMockIFaceMapper creates a new mock instance.

func (*MockIFaceMapper) Address added in v0.21.1

func (m *MockIFaceMapper) Address() wgaddr.Address

Address mocks base method.

func (*MockIFaceMapper) EXPECT

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

func (*MockIFaceMapper) GetDevice added in v0.36.6

func (m *MockIFaceMapper) GetDevice() *device.FilteredDevice

GetDevice mocks base method.

func (*MockIFaceMapper) GetWGDevice added in v0.36.6

func (m *MockIFaceMapper) GetWGDevice() *wgdevice.Device

GetWGDevice mocks base method.

func (*MockIFaceMapper) IsUserspaceBind

func (m *MockIFaceMapper) IsUserspaceBind() bool

IsUserspaceBind mocks base method.

func (*MockIFaceMapper) Name

func (m *MockIFaceMapper) Name() string

Name mocks base method.

func (*MockIFaceMapper) SetFilter added in v0.21.2

func (m *MockIFaceMapper) SetFilter(arg0 device.PacketFilter) error

SetFilter mocks base method.

type MockIFaceMapperMockRecorder

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

MockIFaceMapperMockRecorder is the mock recorder for MockIFaceMapper.

func (*MockIFaceMapperMockRecorder) Address added in v0.21.1

func (mr *MockIFaceMapperMockRecorder) Address() *gomock.Call

Address indicates an expected call of Address.

func (*MockIFaceMapperMockRecorder) GetDevice added in v0.36.6

func (mr *MockIFaceMapperMockRecorder) GetDevice() *gomock.Call

GetDevice indicates an expected call of GetDevice.

func (*MockIFaceMapperMockRecorder) GetWGDevice added in v0.36.6

func (mr *MockIFaceMapperMockRecorder) GetWGDevice() *gomock.Call

GetWGDevice indicates an expected call of GetWGDevice.

func (*MockIFaceMapperMockRecorder) IsUserspaceBind

func (mr *MockIFaceMapperMockRecorder) IsUserspaceBind() *gomock.Call

IsUserspaceBind indicates an expected call of IsUserspaceBind.

func (*MockIFaceMapperMockRecorder) Name

Name indicates an expected call of Name.

func (*MockIFaceMapperMockRecorder) SetFilter added in v0.21.2

func (mr *MockIFaceMapperMockRecorder) SetFilter(arg0 interface{}) *gomock.Call

SetFilter indicates an expected call of SetFilter.

Jump to

Keyboard shortcuts

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