mocks

package
v0.23.7 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

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() iface.WGAddress

Address mocks base method.

func (*MockIFaceMapper) EXPECT

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

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 iface.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) 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