Documentation ¶
Overview ¶
Package mock_fwdtable is a generated GoMock package.
Index ¶
- type MockTable
- func (m *MockTable) Acquire() error
- func (m *MockTable) AddEntry(arg0 *forwarding.EntryDesc, arg1 []*forwarding.ActionDesc) error
- func (m *MockTable) Attributes() fwdattribute.Set
- func (m *MockTable) Clear()
- func (m *MockTable) Counters() map[forwarding.CounterId]fwdobject.Counter
- func (m *MockTable) EXPECT() *MockTableMockRecorder
- func (m *MockTable) Entries() []string
- func (m *MockTable) ID() fwdobject.ID
- func (m *MockTable) Increment(arg0 forwarding.CounterId, arg1 uint32)
- func (m *MockTable) Init(arg0 fwdobject.ID, arg1 fwdobject.NID, arg2 func())
- func (m *MockTable) NID() fwdobject.NID
- func (m *MockTable) Process(arg0 fwdpacket.Packet, arg1 fwdobject.Counters) (fwdaction.Actions, fwdaction.State)
- func (m *MockTable) Release(arg0 bool) error
- func (m *MockTable) RemoveEntry(arg0 *forwarding.EntryDesc) error
- func (m *MockTable) String() string
- type MockTableMockRecorder
- func (mr *MockTableMockRecorder) Acquire() *gomock.Call
- func (mr *MockTableMockRecorder) AddEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) Attributes() *gomock.Call
- func (mr *MockTableMockRecorder) Clear() *gomock.Call
- func (mr *MockTableMockRecorder) Counters() *gomock.Call
- func (mr *MockTableMockRecorder) Entries() *gomock.Call
- func (mr *MockTableMockRecorder) ID() *gomock.Call
- func (mr *MockTableMockRecorder) Increment(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) Init(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) NID() *gomock.Call
- func (mr *MockTableMockRecorder) Process(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) Release(arg0 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) RemoveEntry(arg0 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) String() *gomock.Call
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) 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) 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) Increment ¶
func (m *MockTable) Increment(arg0 forwarding.CounterId, arg1 uint32)
Increment mocks base method.
func (*MockTable) Process ¶
func (m *MockTable) Process(arg0 fwdpacket.Packet, arg1 fwdobject.Counters) (fwdaction.Actions, fwdaction.State)
Process mocks base method.
func (*MockTable) RemoveEntry ¶
func (m *MockTable) RemoveEntry(arg0 *forwarding.EntryDesc) error
RemoveEntry 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.