mock_fwdtable

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_fwdtable is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTable

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

MockTable is a mock of Table interface.

func NewMockTable

func NewMockTable(ctrl *gomock.Controller) *MockTable

NewMockTable creates a new mock instance.

func (*MockTable) Acquire

func (m *MockTable) Acquire() error

Acquire mocks base method.

func (*MockTable) AddEntry

func (m *MockTable) AddEntry(arg0 *forwarding.EntryDesc, arg1 []*forwarding.ActionDesc) error

AddEntry mocks base method.

func (*MockTable) Attributes

func (m *MockTable) Attributes() fwdattribute.Set

Attributes mocks base method.

func (*MockTable) Clear

func (m *MockTable) Clear()

Clear mocks base method.

func (*MockTable) Counters

func (m *MockTable) Counters() map[forwarding.CounterId]fwdobject.Counter

Counters mocks base method.

func (*MockTable) EXPECT

func (m *MockTable) EXPECT() *MockTableMockRecorder

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

func (*MockTable) Entries

func (m *MockTable) Entries() []string

Entries mocks base method.

func (*MockTable) ID

func (m *MockTable) ID() fwdobject.ID

ID mocks base method.

func (*MockTable) Increment

func (m *MockTable) Increment(arg0 forwarding.CounterId, arg1 uint32)

Increment mocks base method.

func (*MockTable) Init

func (m *MockTable) Init(arg0 fwdobject.ID, arg1 fwdobject.NID, arg2 func())

Init mocks base method.

func (*MockTable) NID

func (m *MockTable) NID() fwdobject.NID

NID mocks base method.

func (*MockTable) Process

Process mocks base method.

func (*MockTable) Release

func (m *MockTable) Release(arg0 bool) error

Release mocks base method.

func (*MockTable) RemoveEntry

func (m *MockTable) RemoveEntry(arg0 *forwarding.EntryDesc) error

RemoveEntry mocks base method.

func (*MockTable) String

func (m *MockTable) String() string

String mocks base method.

type MockTableMockRecorder

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

MockTableMockRecorder is the mock recorder for MockTable.

func (*MockTableMockRecorder) Acquire

func (mr *MockTableMockRecorder) Acquire() *gomock.Call

Acquire indicates an expected call of Acquire.

func (*MockTableMockRecorder) AddEntry

func (mr *MockTableMockRecorder) AddEntry(arg0, arg1 interface{}) *gomock.Call

AddEntry indicates an expected call of AddEntry.

func (*MockTableMockRecorder) Attributes

func (mr *MockTableMockRecorder) Attributes() *gomock.Call

Attributes indicates an expected call of Attributes.

func (*MockTableMockRecorder) Clear

func (mr *MockTableMockRecorder) Clear() *gomock.Call

Clear indicates an expected call of Clear.

func (*MockTableMockRecorder) Counters

func (mr *MockTableMockRecorder) Counters() *gomock.Call

Counters indicates an expected call of Counters.

func (*MockTableMockRecorder) Entries

func (mr *MockTableMockRecorder) Entries() *gomock.Call

Entries indicates an expected call of Entries.

func (*MockTableMockRecorder) ID

func (mr *MockTableMockRecorder) ID() *gomock.Call

ID indicates an expected call of ID.

func (*MockTableMockRecorder) Increment

func (mr *MockTableMockRecorder) Increment(arg0, arg1 interface{}) *gomock.Call

Increment indicates an expected call of Increment.

func (*MockTableMockRecorder) Init

func (mr *MockTableMockRecorder) Init(arg0, arg1, arg2 interface{}) *gomock.Call

Init indicates an expected call of Init.

func (*MockTableMockRecorder) NID

func (mr *MockTableMockRecorder) NID() *gomock.Call

NID indicates an expected call of NID.

func (*MockTableMockRecorder) Process

func (mr *MockTableMockRecorder) Process(arg0, arg1 interface{}) *gomock.Call

Process indicates an expected call of Process.

func (*MockTableMockRecorder) Release

func (mr *MockTableMockRecorder) Release(arg0 interface{}) *gomock.Call

Release indicates an expected call of Release.

func (*MockTableMockRecorder) RemoveEntry

func (mr *MockTableMockRecorder) RemoveEntry(arg0 interface{}) *gomock.Call

RemoveEntry indicates an expected call of RemoveEntry.

func (*MockTableMockRecorder) String

func (mr *MockTableMockRecorder) String() *gomock.Call

String indicates an expected call of String.

Jump to

Keyboard shortcuts

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