mocks

package
v0.30.0 Latest Latest
Warning

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

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

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 MockPacketFilter

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

MockPacketFilter is a mock of PacketFilter interface.

func NewMockPacketFilter

func NewMockPacketFilter(ctrl *gomock.Controller) *MockPacketFilter

NewMockPacketFilter creates a new mock instance.

func (*MockPacketFilter) AddUDPPacketHook

func (m *MockPacketFilter) AddUDPPacketHook(arg0 bool, arg1 net.IP, arg2 uint16, arg3 func(*net.UDPAddr, []byte) bool)

AddUDPPacketHook mocks base method.

func (*MockPacketFilter) DropIncoming

func (m *MockPacketFilter) DropIncoming(arg0 []byte) bool

DropIncoming mocks base method.

func (*MockPacketFilter) DropOutgoing

func (m *MockPacketFilter) DropOutgoing(arg0 []byte) bool

DropOutgoing mocks base method.

func (*MockPacketFilter) EXPECT

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

func (*MockPacketFilter) SetNetwork

func (m *MockPacketFilter) SetNetwork(arg0 *net.IPNet)

SetNetwork mocks base method.

type MockPacketFilterMockRecorder

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

MockPacketFilterMockRecorder is the mock recorder for MockPacketFilter.

func (*MockPacketFilterMockRecorder) AddUDPPacketHook

func (mr *MockPacketFilterMockRecorder) AddUDPPacketHook(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

AddUDPPacketHook indicates an expected call of AddUDPPacketHook.

func (*MockPacketFilterMockRecorder) DropIncoming

func (mr *MockPacketFilterMockRecorder) DropIncoming(arg0 interface{}) *gomock.Call

DropIncoming indicates an expected call of DropIncoming.

func (*MockPacketFilterMockRecorder) DropOutgoing

func (mr *MockPacketFilterMockRecorder) DropOutgoing(arg0 interface{}) *gomock.Call

DropOutgoing indicates an expected call of DropOutgoing.

func (*MockPacketFilterMockRecorder) SetNetwork

func (mr *MockPacketFilterMockRecorder) SetNetwork(arg0 interface{}) *gomock.Call

SetNetwork indicates an expected call of SetNetwork.

Jump to

Keyboard shortcuts

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