testing

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: antrea.io/antrea/pkg/ovs/openflow (interfaces: Bridge,Table,Flow,Action,CTAction,FlowBuilder,Group,BucketBuilder,PacketOutBuilder,Meter,MeterBandBuilder)

Generated by this command:

mockgen -copyright_file hack/boilerplate/license_header.raw.txt -destination pkg/ovs/openflow/testing/mock_openflow.go -package testing antrea.io/antrea/pkg/ovs/openflow Bridge,Table,Flow,Action,CTAction,FlowBuilder,Group,BucketBuilder,PacketOutBuilder,Meter,MeterBandBuilder

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAction

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

MockAction is a mock of Action interface.

func NewMockAction

func NewMockAction(ctrl *gomock.Controller) *MockAction

NewMockAction creates a new mock instance.

func (*MockAction) CT

func (m *MockAction) CT(arg0 bool, arg1 byte, arg2 int, arg3 *openflow.RegField) openflow.CTAction

CT mocks base method.

func (*MockAction) Conjunction

func (m *MockAction) Conjunction(arg0 uint32, arg1, arg2 byte) openflow.FlowBuilder

Conjunction mocks base method.

func (*MockAction) DecTTL

func (m *MockAction) DecTTL() openflow.FlowBuilder

DecTTL mocks base method.

func (*MockAction) Drop

func (m *MockAction) Drop() openflow.FlowBuilder

Drop mocks base method.

func (*MockAction) EXPECT

func (m *MockAction) EXPECT() *MockActionMockRecorder

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

func (*MockAction) GotoStage added in v1.6.0

func (m *MockAction) GotoStage(arg0 openflow.StageID) openflow.FlowBuilder

GotoStage mocks base method.

func (*MockAction) GotoTable

func (m *MockAction) GotoTable(arg0 byte) openflow.FlowBuilder

GotoTable mocks base method.

func (*MockAction) Group

Group mocks base method.

func (*MockAction) Learn

func (m *MockAction) Learn(arg0 byte, arg1, arg2, arg3, arg4, arg5 uint16, arg6 uint64) openflow.LearnAction

Learn mocks base method.

func (*MockAction) LoadARPOperation

func (m *MockAction) LoadARPOperation(arg0 uint16) openflow.FlowBuilder

LoadARPOperation mocks base method.

func (*MockAction) LoadIPDSCP

func (m *MockAction) LoadIPDSCP(arg0 byte) openflow.FlowBuilder

LoadIPDSCP mocks base method.

func (*MockAction) LoadPktMarkRange

func (m *MockAction) LoadPktMarkRange(arg0 uint32, arg1 *openflow.Range) openflow.FlowBuilder

LoadPktMarkRange mocks base method.

func (*MockAction) LoadRegMark added in v1.3.0

func (m *MockAction) LoadRegMark(arg0 ...*openflow.RegMark) openflow.FlowBuilder

LoadRegMark mocks base method.

func (*MockAction) LoadToRegField added in v1.3.0

func (m *MockAction) LoadToRegField(arg0 *openflow.RegField, arg1 uint32) openflow.FlowBuilder

LoadToRegField mocks base method.

func (*MockAction) Meter added in v1.2.0

func (m *MockAction) Meter(arg0 uint32) openflow.FlowBuilder

Meter mocks base method.

func (*MockAction) Move

func (m *MockAction) Move(arg0, arg1 string) openflow.FlowBuilder

Move mocks base method.

func (*MockAction) MoveRange

func (m *MockAction) MoveRange(arg0, arg1 string, arg2, arg3 openflow.Range) openflow.FlowBuilder

MoveRange mocks base method.

func (*MockAction) NextTable added in v1.6.0

func (m *MockAction) NextTable() openflow.FlowBuilder

NextTable mocks base method.

func (*MockAction) Normal

func (m *MockAction) Normal() openflow.FlowBuilder

Normal mocks base method.

func (*MockAction) Note

func (m *MockAction) Note(arg0 string) openflow.FlowBuilder

Note mocks base method.

func (*MockAction) Output

func (m *MockAction) Output(arg0 uint32) openflow.FlowBuilder

Output mocks base method.

func (*MockAction) OutputFieldRange

func (m *MockAction) OutputFieldRange(arg0 string, arg1 *openflow.Range) openflow.FlowBuilder

OutputFieldRange mocks base method.

func (*MockAction) OutputInPort

func (m *MockAction) OutputInPort() openflow.FlowBuilder

OutputInPort mocks base method.

func (*MockAction) OutputToRegField added in v1.3.0

func (m *MockAction) OutputToRegField(arg0 *openflow.RegField) openflow.FlowBuilder

OutputToRegField mocks base method.

func (*MockAction) PopVLAN added in v1.6.0

func (m *MockAction) PopVLAN() openflow.FlowBuilder

PopVLAN mocks base method.

func (*MockAction) PushVLAN added in v1.6.0

func (m *MockAction) PushVLAN(arg0 uint16) openflow.FlowBuilder

PushVLAN mocks base method.

func (*MockAction) ResubmitToTables added in v1.6.0

func (m *MockAction) ResubmitToTables(arg0 ...byte) openflow.FlowBuilder

ResubmitToTables mocks base method.

func (*MockAction) SendToController

func (m *MockAction) SendToController(arg0 []byte, arg1 bool) openflow.FlowBuilder

SendToController mocks base method.

func (*MockAction) SetARPSha

func (m *MockAction) SetARPSha(arg0 net.HardwareAddr) openflow.FlowBuilder

SetARPSha mocks base method.

func (*MockAction) SetARPSpa

func (m *MockAction) SetARPSpa(arg0 net.IP) openflow.FlowBuilder

SetARPSpa mocks base method.

func (*MockAction) SetARPTha

func (m *MockAction) SetARPTha(arg0 net.HardwareAddr) openflow.FlowBuilder

SetARPTha mocks base method.

func (*MockAction) SetARPTpa

func (m *MockAction) SetARPTpa(arg0 net.IP) openflow.FlowBuilder

SetARPTpa mocks base method.

func (*MockAction) SetDstIP

func (m *MockAction) SetDstIP(arg0 net.IP) openflow.FlowBuilder

SetDstIP mocks base method.

func (*MockAction) SetDstMAC

func (m *MockAction) SetDstMAC(arg0 net.HardwareAddr) openflow.FlowBuilder

SetDstMAC mocks base method.

func (*MockAction) SetSrcIP

func (m *MockAction) SetSrcIP(arg0 net.IP) openflow.FlowBuilder

SetSrcIP mocks base method.

func (*MockAction) SetSrcMAC

func (m *MockAction) SetSrcMAC(arg0 net.HardwareAddr) openflow.FlowBuilder

SetSrcMAC mocks base method.

func (*MockAction) SetTunnelDst

func (m *MockAction) SetTunnelDst(arg0 net.IP) openflow.FlowBuilder

SetTunnelDst mocks base method.

func (*MockAction) SetTunnelID added in v1.10.0

func (m *MockAction) SetTunnelID(arg0 uint64) openflow.FlowBuilder

SetTunnelID mocks base method.

func (*MockAction) SetVLAN added in v1.6.0

func (m *MockAction) SetVLAN(arg0 uint16) openflow.FlowBuilder

SetVLAN mocks base method.

type MockActionMockRecorder

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

MockActionMockRecorder is the mock recorder for MockAction.

func (*MockActionMockRecorder) CT

func (mr *MockActionMockRecorder) CT(arg0, arg1, arg2, arg3 any) *gomock.Call

CT indicates an expected call of CT.

func (*MockActionMockRecorder) Conjunction

func (mr *MockActionMockRecorder) Conjunction(arg0, arg1, arg2 any) *gomock.Call

Conjunction indicates an expected call of Conjunction.

func (*MockActionMockRecorder) DecTTL

func (mr *MockActionMockRecorder) DecTTL() *gomock.Call

DecTTL indicates an expected call of DecTTL.

func (*MockActionMockRecorder) Drop

func (mr *MockActionMockRecorder) Drop() *gomock.Call

Drop indicates an expected call of Drop.

func (*MockActionMockRecorder) GotoStage added in v1.6.0

func (mr *MockActionMockRecorder) GotoStage(arg0 any) *gomock.Call

GotoStage indicates an expected call of GotoStage.

func (*MockActionMockRecorder) GotoTable

func (mr *MockActionMockRecorder) GotoTable(arg0 any) *gomock.Call

GotoTable indicates an expected call of GotoTable.

func (*MockActionMockRecorder) Group

func (mr *MockActionMockRecorder) Group(arg0 any) *gomock.Call

Group indicates an expected call of Group.

func (*MockActionMockRecorder) Learn

func (mr *MockActionMockRecorder) Learn(arg0, arg1, arg2, arg3, arg4, arg5, arg6 any) *gomock.Call

Learn indicates an expected call of Learn.

func (*MockActionMockRecorder) LoadARPOperation

func (mr *MockActionMockRecorder) LoadARPOperation(arg0 any) *gomock.Call

LoadARPOperation indicates an expected call of LoadARPOperation.

func (*MockActionMockRecorder) LoadIPDSCP

func (mr *MockActionMockRecorder) LoadIPDSCP(arg0 any) *gomock.Call

LoadIPDSCP indicates an expected call of LoadIPDSCP.

func (*MockActionMockRecorder) LoadPktMarkRange

func (mr *MockActionMockRecorder) LoadPktMarkRange(arg0, arg1 any) *gomock.Call

LoadPktMarkRange indicates an expected call of LoadPktMarkRange.

func (*MockActionMockRecorder) LoadRegMark added in v1.3.0

func (mr *MockActionMockRecorder) LoadRegMark(arg0 ...any) *gomock.Call

LoadRegMark indicates an expected call of LoadRegMark.

func (*MockActionMockRecorder) LoadToRegField added in v1.3.0

func (mr *MockActionMockRecorder) LoadToRegField(arg0, arg1 any) *gomock.Call

LoadToRegField indicates an expected call of LoadToRegField.

func (*MockActionMockRecorder) Meter added in v1.2.0

func (mr *MockActionMockRecorder) Meter(arg0 any) *gomock.Call

Meter indicates an expected call of Meter.

func (*MockActionMockRecorder) Move

func (mr *MockActionMockRecorder) Move(arg0, arg1 any) *gomock.Call

Move indicates an expected call of Move.

func (*MockActionMockRecorder) MoveRange

func (mr *MockActionMockRecorder) MoveRange(arg0, arg1, arg2, arg3 any) *gomock.Call

MoveRange indicates an expected call of MoveRange.

func (*MockActionMockRecorder) NextTable added in v1.6.0

func (mr *MockActionMockRecorder) NextTable() *gomock.Call

NextTable indicates an expected call of NextTable.

func (*MockActionMockRecorder) Normal

func (mr *MockActionMockRecorder) Normal() *gomock.Call

Normal indicates an expected call of Normal.

func (*MockActionMockRecorder) Note

func (mr *MockActionMockRecorder) Note(arg0 any) *gomock.Call

Note indicates an expected call of Note.

func (*MockActionMockRecorder) Output

func (mr *MockActionMockRecorder) Output(arg0 any) *gomock.Call

Output indicates an expected call of Output.

func (*MockActionMockRecorder) OutputFieldRange

func (mr *MockActionMockRecorder) OutputFieldRange(arg0, arg1 any) *gomock.Call

OutputFieldRange indicates an expected call of OutputFieldRange.

func (*MockActionMockRecorder) OutputInPort

func (mr *MockActionMockRecorder) OutputInPort() *gomock.Call

OutputInPort indicates an expected call of OutputInPort.

func (*MockActionMockRecorder) OutputToRegField added in v1.3.0

func (mr *MockActionMockRecorder) OutputToRegField(arg0 any) *gomock.Call

OutputToRegField indicates an expected call of OutputToRegField.

func (*MockActionMockRecorder) PopVLAN added in v1.6.0

func (mr *MockActionMockRecorder) PopVLAN() *gomock.Call

PopVLAN indicates an expected call of PopVLAN.

func (*MockActionMockRecorder) PushVLAN added in v1.6.0

func (mr *MockActionMockRecorder) PushVLAN(arg0 any) *gomock.Call

PushVLAN indicates an expected call of PushVLAN.

func (*MockActionMockRecorder) ResubmitToTables added in v1.6.0

func (mr *MockActionMockRecorder) ResubmitToTables(arg0 ...any) *gomock.Call

ResubmitToTables indicates an expected call of ResubmitToTables.

func (*MockActionMockRecorder) SendToController

func (mr *MockActionMockRecorder) SendToController(arg0, arg1 any) *gomock.Call

SendToController indicates an expected call of SendToController.

func (*MockActionMockRecorder) SetARPSha

func (mr *MockActionMockRecorder) SetARPSha(arg0 any) *gomock.Call

SetARPSha indicates an expected call of SetARPSha.

func (*MockActionMockRecorder) SetARPSpa

func (mr *MockActionMockRecorder) SetARPSpa(arg0 any) *gomock.Call

SetARPSpa indicates an expected call of SetARPSpa.

func (*MockActionMockRecorder) SetARPTha

func (mr *MockActionMockRecorder) SetARPTha(arg0 any) *gomock.Call

SetARPTha indicates an expected call of SetARPTha.

func (*MockActionMockRecorder) SetARPTpa

func (mr *MockActionMockRecorder) SetARPTpa(arg0 any) *gomock.Call

SetARPTpa indicates an expected call of SetARPTpa.

func (*MockActionMockRecorder) SetDstIP

func (mr *MockActionMockRecorder) SetDstIP(arg0 any) *gomock.Call

SetDstIP indicates an expected call of SetDstIP.

func (*MockActionMockRecorder) SetDstMAC

func (mr *MockActionMockRecorder) SetDstMAC(arg0 any) *gomock.Call

SetDstMAC indicates an expected call of SetDstMAC.

func (*MockActionMockRecorder) SetSrcIP

func (mr *MockActionMockRecorder) SetSrcIP(arg0 any) *gomock.Call

SetSrcIP indicates an expected call of SetSrcIP.

func (*MockActionMockRecorder) SetSrcMAC

func (mr *MockActionMockRecorder) SetSrcMAC(arg0 any) *gomock.Call

SetSrcMAC indicates an expected call of SetSrcMAC.

func (*MockActionMockRecorder) SetTunnelDst

func (mr *MockActionMockRecorder) SetTunnelDst(arg0 any) *gomock.Call

SetTunnelDst indicates an expected call of SetTunnelDst.

func (*MockActionMockRecorder) SetTunnelID added in v1.10.0

func (mr *MockActionMockRecorder) SetTunnelID(arg0 any) *gomock.Call

SetTunnelID indicates an expected call of SetTunnelID.

func (*MockActionMockRecorder) SetVLAN added in v1.6.0

func (mr *MockActionMockRecorder) SetVLAN(arg0 any) *gomock.Call

SetVLAN indicates an expected call of SetVLAN.

type MockBridge

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

MockBridge is a mock of Bridge interface.

func NewMockBridge

func NewMockBridge(ctrl *gomock.Controller) *MockBridge

NewMockBridge creates a new mock instance.

func (*MockBridge) AddFlowsInBundle

func (m *MockBridge) AddFlowsInBundle(arg0, arg1, arg2 []*openflow15.FlowMod) error

AddFlowsInBundle mocks base method.

func (*MockBridge) AddOFEntriesInBundle

func (m *MockBridge) AddOFEntriesInBundle(arg0, arg1, arg2 []openflow.OFEntry) error

AddOFEntriesInBundle mocks base method.

func (*MockBridge) BuildPacketOut

func (m *MockBridge) BuildPacketOut() openflow.PacketOutBuilder

BuildPacketOut mocks base method.

func (*MockBridge) Connect

func (m *MockBridge) Connect(arg0 int, arg1 chan struct{}) error

Connect mocks base method.

func (*MockBridge) DeleteFlowsByCookie

func (m *MockBridge) DeleteFlowsByCookie(arg0, arg1 uint64) error

DeleteFlowsByCookie mocks base method.

func (*MockBridge) DeleteMeterAll added in v1.2.0

func (m *MockBridge) DeleteMeterAll() error

DeleteMeterAll mocks base method.

func (*MockBridge) Disconnect

func (m *MockBridge) Disconnect() error

Disconnect mocks base method.

func (*MockBridge) DumpFlows

func (m *MockBridge) DumpFlows(arg0, arg1 uint64) (map[uint64]*openflow.FlowStates, error)

DumpFlows mocks base method.

func (*MockBridge) DumpTableStatus

func (m *MockBridge) DumpTableStatus() []openflow.TableStatus

DumpTableStatus mocks base method.

func (*MockBridge) EXPECT

func (m *MockBridge) EXPECT() *MockBridgeMockRecorder

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

func (*MockBridge) GetMeterStats added in v1.13.0

func (m *MockBridge) GetMeterStats(arg0 func(int, int64)) error

GetMeterStats mocks base method.

func (*MockBridge) GetTableByID added in v1.12.0

func (m *MockBridge) GetTableByID(arg0 byte) (openflow.Table, error)

GetTableByID mocks base method.

func (*MockBridge) IsConnected

func (m *MockBridge) IsConnected() bool

IsConnected mocks base method.

func (*MockBridge) NewGroup added in v1.13.0

func (m *MockBridge) NewGroup(arg0 openflow.GroupIDType) openflow.Group

NewGroup mocks base method.

func (*MockBridge) NewGroupTypeAll added in v1.13.0

func (m *MockBridge) NewGroupTypeAll(arg0 openflow.GroupIDType) openflow.Group

NewGroupTypeAll mocks base method.

func (*MockBridge) NewMeter added in v1.13.0

func (m *MockBridge) NewMeter(arg0 openflow.MeterIDType, arg1 ofctrl.MeterFlag) openflow.Meter

NewMeter mocks base method.

func (*MockBridge) NewTable added in v1.13.0

func (m *MockBridge) NewTable(arg0 openflow.Table, arg1 byte, arg2 openflow.MissActionType) openflow.Table

NewTable mocks base method.

func (*MockBridge) ResumePacket added in v1.12.0

func (m *MockBridge) ResumePacket(arg0 *ofctrl.PacketIn) error

ResumePacket mocks base method.

func (*MockBridge) SendPacketOut

func (m *MockBridge) SendPacketOut(arg0 *ofctrl.PacketOut) error

SendPacketOut mocks base method.

func (*MockBridge) SubscribePacketIn

func (m *MockBridge) SubscribePacketIn(arg0 byte, arg1 *openflow.PacketInQueue) error

SubscribePacketIn mocks base method.

type MockBridgeMockRecorder

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

MockBridgeMockRecorder is the mock recorder for MockBridge.

func (*MockBridgeMockRecorder) AddFlowsInBundle

func (mr *MockBridgeMockRecorder) AddFlowsInBundle(arg0, arg1, arg2 any) *gomock.Call

AddFlowsInBundle indicates an expected call of AddFlowsInBundle.

func (*MockBridgeMockRecorder) AddOFEntriesInBundle

func (mr *MockBridgeMockRecorder) AddOFEntriesInBundle(arg0, arg1, arg2 any) *gomock.Call

AddOFEntriesInBundle indicates an expected call of AddOFEntriesInBundle.

func (*MockBridgeMockRecorder) BuildPacketOut

func (mr *MockBridgeMockRecorder) BuildPacketOut() *gomock.Call

BuildPacketOut indicates an expected call of BuildPacketOut.

func (*MockBridgeMockRecorder) Connect

func (mr *MockBridgeMockRecorder) Connect(arg0, arg1 any) *gomock.Call

Connect indicates an expected call of Connect.

func (*MockBridgeMockRecorder) DeleteFlowsByCookie

func (mr *MockBridgeMockRecorder) DeleteFlowsByCookie(arg0, arg1 any) *gomock.Call

DeleteFlowsByCookie indicates an expected call of DeleteFlowsByCookie.

func (*MockBridgeMockRecorder) DeleteMeterAll added in v1.2.0

func (mr *MockBridgeMockRecorder) DeleteMeterAll() *gomock.Call

DeleteMeterAll indicates an expected call of DeleteMeterAll.

func (*MockBridgeMockRecorder) Disconnect

func (mr *MockBridgeMockRecorder) Disconnect() *gomock.Call

Disconnect indicates an expected call of Disconnect.

func (*MockBridgeMockRecorder) DumpFlows

func (mr *MockBridgeMockRecorder) DumpFlows(arg0, arg1 any) *gomock.Call

DumpFlows indicates an expected call of DumpFlows.

func (*MockBridgeMockRecorder) DumpTableStatus

func (mr *MockBridgeMockRecorder) DumpTableStatus() *gomock.Call

DumpTableStatus indicates an expected call of DumpTableStatus.

func (*MockBridgeMockRecorder) GetMeterStats added in v1.13.0

func (mr *MockBridgeMockRecorder) GetMeterStats(arg0 any) *gomock.Call

GetMeterStats indicates an expected call of GetMeterStats.

func (*MockBridgeMockRecorder) GetTableByID added in v1.12.0

func (mr *MockBridgeMockRecorder) GetTableByID(arg0 any) *gomock.Call

GetTableByID indicates an expected call of GetTableByID.

func (*MockBridgeMockRecorder) IsConnected

func (mr *MockBridgeMockRecorder) IsConnected() *gomock.Call

IsConnected indicates an expected call of IsConnected.

func (*MockBridgeMockRecorder) NewGroup added in v1.13.0

func (mr *MockBridgeMockRecorder) NewGroup(arg0 any) *gomock.Call

NewGroup indicates an expected call of NewGroup.

func (*MockBridgeMockRecorder) NewGroupTypeAll added in v1.13.0

func (mr *MockBridgeMockRecorder) NewGroupTypeAll(arg0 any) *gomock.Call

NewGroupTypeAll indicates an expected call of NewGroupTypeAll.

func (*MockBridgeMockRecorder) NewMeter added in v1.13.0

func (mr *MockBridgeMockRecorder) NewMeter(arg0, arg1 any) *gomock.Call

NewMeter indicates an expected call of NewMeter.

func (*MockBridgeMockRecorder) NewTable added in v1.13.0

func (mr *MockBridgeMockRecorder) NewTable(arg0, arg1, arg2 any) *gomock.Call

NewTable indicates an expected call of NewTable.

func (*MockBridgeMockRecorder) ResumePacket added in v1.12.0

func (mr *MockBridgeMockRecorder) ResumePacket(arg0 any) *gomock.Call

ResumePacket indicates an expected call of ResumePacket.

func (*MockBridgeMockRecorder) SendPacketOut

func (mr *MockBridgeMockRecorder) SendPacketOut(arg0 any) *gomock.Call

SendPacketOut indicates an expected call of SendPacketOut.

func (*MockBridgeMockRecorder) SubscribePacketIn

func (mr *MockBridgeMockRecorder) SubscribePacketIn(arg0, arg1 any) *gomock.Call

SubscribePacketIn indicates an expected call of SubscribePacketIn.

type MockBucketBuilder added in v1.7.2

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

MockBucketBuilder is a mock of BucketBuilder interface.

func NewMockBucketBuilder added in v1.7.2

func NewMockBucketBuilder(ctrl *gomock.Controller) *MockBucketBuilder

NewMockBucketBuilder creates a new mock instance.

func (*MockBucketBuilder) Done added in v1.7.2

func (m *MockBucketBuilder) Done() openflow.Group

Done mocks base method.

func (*MockBucketBuilder) EXPECT added in v1.7.2

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

func (*MockBucketBuilder) LoadRegMark added in v1.12.0

LoadRegMark mocks base method.

func (*MockBucketBuilder) LoadToRegField added in v1.7.2

func (m *MockBucketBuilder) LoadToRegField(arg0 *openflow.RegField, arg1 uint32) openflow.BucketBuilder

LoadToRegField mocks base method.

func (*MockBucketBuilder) LoadXXReg added in v1.7.2

func (m *MockBucketBuilder) LoadXXReg(arg0 int, arg1 []byte) openflow.BucketBuilder

LoadXXReg mocks base method.

func (*MockBucketBuilder) ResubmitToTable added in v1.7.2

func (m *MockBucketBuilder) ResubmitToTable(arg0 byte) openflow.BucketBuilder

ResubmitToTable mocks base method.

func (*MockBucketBuilder) SetTunnelDst added in v1.8.1

func (m *MockBucketBuilder) SetTunnelDst(arg0 net.IP) openflow.BucketBuilder

SetTunnelDst mocks base method.

func (*MockBucketBuilder) Weight added in v1.7.2

Weight mocks base method.

type MockBucketBuilderMockRecorder added in v1.7.2

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

MockBucketBuilderMockRecorder is the mock recorder for MockBucketBuilder.

func (*MockBucketBuilderMockRecorder) Done added in v1.7.2

Done indicates an expected call of Done.

func (*MockBucketBuilderMockRecorder) LoadRegMark added in v1.12.0

func (mr *MockBucketBuilderMockRecorder) LoadRegMark(arg0 any) *gomock.Call

LoadRegMark indicates an expected call of LoadRegMark.

func (*MockBucketBuilderMockRecorder) LoadToRegField added in v1.7.2

func (mr *MockBucketBuilderMockRecorder) LoadToRegField(arg0, arg1 any) *gomock.Call

LoadToRegField indicates an expected call of LoadToRegField.

func (*MockBucketBuilderMockRecorder) LoadXXReg added in v1.7.2

func (mr *MockBucketBuilderMockRecorder) LoadXXReg(arg0, arg1 any) *gomock.Call

LoadXXReg indicates an expected call of LoadXXReg.

func (*MockBucketBuilderMockRecorder) ResubmitToTable added in v1.7.2

func (mr *MockBucketBuilderMockRecorder) ResubmitToTable(arg0 any) *gomock.Call

ResubmitToTable indicates an expected call of ResubmitToTable.

func (*MockBucketBuilderMockRecorder) SetTunnelDst added in v1.8.1

func (mr *MockBucketBuilderMockRecorder) SetTunnelDst(arg0 any) *gomock.Call

SetTunnelDst indicates an expected call of SetTunnelDst.

func (*MockBucketBuilderMockRecorder) Weight added in v1.7.2

func (mr *MockBucketBuilderMockRecorder) Weight(arg0 any) *gomock.Call

Weight indicates an expected call of Weight.

type MockCTAction

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

MockCTAction is a mock of CTAction interface.

func NewMockCTAction

func NewMockCTAction(ctrl *gomock.Controller) *MockCTAction

NewMockCTAction creates a new mock instance.

func (*MockCTAction) CTDone

func (m *MockCTAction) CTDone() openflow.FlowBuilder

CTDone mocks base method.

func (*MockCTAction) DNAT

DNAT mocks base method.

func (*MockCTAction) EXPECT

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

func (*MockCTAction) LoadToCtMark added in v1.3.0

func (m *MockCTAction) LoadToCtMark(arg0 ...*openflow.CtMark) openflow.CTAction

LoadToCtMark mocks base method.

func (*MockCTAction) LoadToLabelField added in v1.3.0

func (m *MockCTAction) LoadToLabelField(arg0 uint64, arg1 *openflow.CtLabel) openflow.CTAction

LoadToLabelField mocks base method.

func (*MockCTAction) MoveToCtMarkField added in v1.5.1

func (m *MockCTAction) MoveToCtMarkField(arg0 *openflow.RegField, arg1 *openflow.CtMarkField) openflow.CTAction

MoveToCtMarkField mocks base method.

func (*MockCTAction) MoveToLabel

func (m *MockCTAction) MoveToLabel(arg0 string, arg1, arg2 *openflow.Range) openflow.CTAction

MoveToLabel mocks base method.

func (*MockCTAction) NAT

func (m *MockCTAction) NAT() openflow.CTAction

NAT mocks base method.

func (*MockCTAction) SNAT

SNAT mocks base method.

type MockCTActionMockRecorder

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

MockCTActionMockRecorder is the mock recorder for MockCTAction.

func (*MockCTActionMockRecorder) CTDone

func (mr *MockCTActionMockRecorder) CTDone() *gomock.Call

CTDone indicates an expected call of CTDone.

func (*MockCTActionMockRecorder) DNAT

func (mr *MockCTActionMockRecorder) DNAT(arg0, arg1 any) *gomock.Call

DNAT indicates an expected call of DNAT.

func (*MockCTActionMockRecorder) LoadToCtMark added in v1.3.0

func (mr *MockCTActionMockRecorder) LoadToCtMark(arg0 ...any) *gomock.Call

LoadToCtMark indicates an expected call of LoadToCtMark.

func (*MockCTActionMockRecorder) LoadToLabelField added in v1.3.0

func (mr *MockCTActionMockRecorder) LoadToLabelField(arg0, arg1 any) *gomock.Call

LoadToLabelField indicates an expected call of LoadToLabelField.

func (*MockCTActionMockRecorder) MoveToCtMarkField added in v1.5.1

func (mr *MockCTActionMockRecorder) MoveToCtMarkField(arg0, arg1 any) *gomock.Call

MoveToCtMarkField indicates an expected call of MoveToCtMarkField.

func (*MockCTActionMockRecorder) MoveToLabel

func (mr *MockCTActionMockRecorder) MoveToLabel(arg0, arg1, arg2 any) *gomock.Call

MoveToLabel indicates an expected call of MoveToLabel.

func (*MockCTActionMockRecorder) NAT

NAT indicates an expected call of NAT.

func (*MockCTActionMockRecorder) SNAT

func (mr *MockCTActionMockRecorder) SNAT(arg0, arg1 any) *gomock.Call

SNAT indicates an expected call of SNAT.

type MockFlow

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

MockFlow is a mock of Flow interface.

func NewMockFlow

func NewMockFlow(ctrl *gomock.Controller) *MockFlow

NewMockFlow creates a new mock instance.

func (*MockFlow) Add

func (m *MockFlow) Add() error

Add mocks base method.

func (*MockFlow) CopyToBuilder

func (m *MockFlow) CopyToBuilder(arg0 uint16, arg1 bool) openflow.FlowBuilder

CopyToBuilder mocks base method.

func (*MockFlow) Delete

func (m *MockFlow) Delete() error

Delete mocks base method.

func (*MockFlow) EXPECT

func (m *MockFlow) EXPECT() *MockFlowMockRecorder

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

func (*MockFlow) FlowPriority

func (m *MockFlow) FlowPriority() uint16

FlowPriority mocks base method.

func (*MockFlow) FlowProtocol

func (m *MockFlow) FlowProtocol() openflow.Protocol

FlowProtocol mocks base method.

func (*MockFlow) GetBundleMessages added in v1.9.0

func (m *MockFlow) GetBundleMessages(arg0 openflow.OFOperation) ([]ofctrl.OpenFlowModMessage, error)

GetBundleMessages mocks base method.

func (*MockFlow) MatchString

func (m *MockFlow) MatchString() string

MatchString mocks base method.

func (*MockFlow) Modify

func (m *MockFlow) Modify() error

Modify mocks base method.

func (*MockFlow) Reset

func (m *MockFlow) Reset()

Reset mocks base method.

func (*MockFlow) Type

func (m *MockFlow) Type() openflow.EntryType

Type mocks base method.

type MockFlowBuilder

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

MockFlowBuilder is a mock of FlowBuilder interface.

func NewMockFlowBuilder

func NewMockFlowBuilder(ctrl *gomock.Controller) *MockFlowBuilder

NewMockFlowBuilder creates a new mock instance.

func (*MockFlowBuilder) Action

func (m *MockFlowBuilder) Action() openflow.Action

Action mocks base method.

func (*MockFlowBuilder) Cookie

func (m *MockFlowBuilder) Cookie(arg0 uint64) openflow.FlowBuilder

Cookie mocks base method.

func (*MockFlowBuilder) Done

func (m *MockFlowBuilder) Done() openflow.Flow

Done mocks base method.

func (*MockFlowBuilder) EXPECT

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

func (*MockFlowBuilder) MatchARPOp

func (m *MockFlowBuilder) MatchARPOp(arg0 uint16) openflow.FlowBuilder

MatchARPOp mocks base method.

func (*MockFlowBuilder) MatchARPSha

func (m *MockFlowBuilder) MatchARPSha(arg0 net.HardwareAddr) openflow.FlowBuilder

MatchARPSha mocks base method.

func (*MockFlowBuilder) MatchARPSpa

func (m *MockFlowBuilder) MatchARPSpa(arg0 net.IP) openflow.FlowBuilder

MatchARPSpa mocks base method.

func (*MockFlowBuilder) MatchARPTha

func (m *MockFlowBuilder) MatchARPTha(arg0 net.HardwareAddr) openflow.FlowBuilder

MatchARPTha mocks base method.

func (*MockFlowBuilder) MatchARPTpa

func (m *MockFlowBuilder) MatchARPTpa(arg0 net.IP) openflow.FlowBuilder

MatchARPTpa mocks base method.

func (*MockFlowBuilder) MatchCTDstIP

func (m *MockFlowBuilder) MatchCTDstIP(arg0 net.IP) openflow.FlowBuilder

MatchCTDstIP mocks base method.

func (*MockFlowBuilder) MatchCTDstIPNet

func (m *MockFlowBuilder) MatchCTDstIPNet(arg0 net.IPNet) openflow.FlowBuilder

MatchCTDstIPNet mocks base method.

func (*MockFlowBuilder) MatchCTDstPort

func (m *MockFlowBuilder) MatchCTDstPort(arg0 uint16) openflow.FlowBuilder

MatchCTDstPort mocks base method.

func (*MockFlowBuilder) MatchCTLabelField added in v1.3.0

func (m *MockFlowBuilder) MatchCTLabelField(arg0, arg1 uint64, arg2 *openflow.CtLabel) openflow.FlowBuilder

MatchCTLabelField mocks base method.

func (*MockFlowBuilder) MatchCTMark

func (m *MockFlowBuilder) MatchCTMark(arg0 ...*openflow.CtMark) openflow.FlowBuilder

MatchCTMark mocks base method.

func (*MockFlowBuilder) MatchCTProtocol

func (m *MockFlowBuilder) MatchCTProtocol(arg0 openflow.Protocol) openflow.FlowBuilder

MatchCTProtocol mocks base method.

func (*MockFlowBuilder) MatchCTSrcIP

func (m *MockFlowBuilder) MatchCTSrcIP(arg0 net.IP) openflow.FlowBuilder

MatchCTSrcIP mocks base method.

func (*MockFlowBuilder) MatchCTSrcIPNet

func (m *MockFlowBuilder) MatchCTSrcIPNet(arg0 net.IPNet) openflow.FlowBuilder

MatchCTSrcIPNet mocks base method.

func (*MockFlowBuilder) MatchCTSrcPort

func (m *MockFlowBuilder) MatchCTSrcPort(arg0 uint16) openflow.FlowBuilder

MatchCTSrcPort mocks base method.

func (*MockFlowBuilder) MatchCTState added in v1.13.1

func (m *MockFlowBuilder) MatchCTState(arg0 *openflow15.CTStates) openflow.FlowBuilder

MatchCTState mocks base method.

func (*MockFlowBuilder) MatchCTStateDNAT

func (m *MockFlowBuilder) MatchCTStateDNAT(arg0 bool) openflow.FlowBuilder

MatchCTStateDNAT mocks base method.

func (*MockFlowBuilder) MatchCTStateEst

func (m *MockFlowBuilder) MatchCTStateEst(arg0 bool) openflow.FlowBuilder

MatchCTStateEst mocks base method.

func (*MockFlowBuilder) MatchCTStateInv

func (m *MockFlowBuilder) MatchCTStateInv(arg0 bool) openflow.FlowBuilder

MatchCTStateInv mocks base method.

func (*MockFlowBuilder) MatchCTStateNew

func (m *MockFlowBuilder) MatchCTStateNew(arg0 bool) openflow.FlowBuilder

MatchCTStateNew mocks base method.

func (*MockFlowBuilder) MatchCTStateRel

func (m *MockFlowBuilder) MatchCTStateRel(arg0 bool) openflow.FlowBuilder

MatchCTStateRel mocks base method.

func (*MockFlowBuilder) MatchCTStateRpl

func (m *MockFlowBuilder) MatchCTStateRpl(arg0 bool) openflow.FlowBuilder

MatchCTStateRpl mocks base method.

func (*MockFlowBuilder) MatchCTStateSNAT

func (m *MockFlowBuilder) MatchCTStateSNAT(arg0 bool) openflow.FlowBuilder

MatchCTStateSNAT mocks base method.

func (*MockFlowBuilder) MatchCTStateTrk

func (m *MockFlowBuilder) MatchCTStateTrk(arg0 bool) openflow.FlowBuilder

MatchCTStateTrk mocks base method.

func (*MockFlowBuilder) MatchConjID

func (m *MockFlowBuilder) MatchConjID(arg0 uint32) openflow.FlowBuilder

MatchConjID mocks base method.

func (*MockFlowBuilder) MatchDstIP

func (m *MockFlowBuilder) MatchDstIP(arg0 net.IP) openflow.FlowBuilder

MatchDstIP mocks base method.

func (*MockFlowBuilder) MatchDstIPNet

func (m *MockFlowBuilder) MatchDstIPNet(arg0 net.IPNet) openflow.FlowBuilder

MatchDstIPNet mocks base method.

func (*MockFlowBuilder) MatchDstMAC

func (m *MockFlowBuilder) MatchDstMAC(arg0 net.HardwareAddr) openflow.FlowBuilder

MatchDstMAC mocks base method.

func (*MockFlowBuilder) MatchDstPort

func (m *MockFlowBuilder) MatchDstPort(arg0 uint16, arg1 *uint16) openflow.FlowBuilder

MatchDstPort mocks base method.

func (*MockFlowBuilder) MatchICMPCode added in v1.7.0

func (m *MockFlowBuilder) MatchICMPCode(arg0 byte) openflow.FlowBuilder

MatchICMPCode mocks base method.

func (*MockFlowBuilder) MatchICMPType added in v1.7.0

func (m *MockFlowBuilder) MatchICMPType(arg0 byte) openflow.FlowBuilder

MatchICMPType mocks base method.

func (*MockFlowBuilder) MatchICMPv6Code

func (m *MockFlowBuilder) MatchICMPv6Code(arg0 byte) openflow.FlowBuilder

MatchICMPv6Code mocks base method.

func (*MockFlowBuilder) MatchICMPv6Type

func (m *MockFlowBuilder) MatchICMPv6Type(arg0 byte) openflow.FlowBuilder

MatchICMPv6Type mocks base method.

func (*MockFlowBuilder) MatchIPDSCP

func (m *MockFlowBuilder) MatchIPDSCP(arg0 byte) openflow.FlowBuilder

MatchIPDSCP mocks base method.

func (*MockFlowBuilder) MatchIPProtocolValue

func (m *MockFlowBuilder) MatchIPProtocolValue(arg0 bool, arg1 byte) openflow.FlowBuilder

MatchIPProtocolValue mocks base method.

func (*MockFlowBuilder) MatchInPort

func (m *MockFlowBuilder) MatchInPort(arg0 uint32) openflow.FlowBuilder

MatchInPort mocks base method.

func (*MockFlowBuilder) MatchPktMark

func (m *MockFlowBuilder) MatchPktMark(arg0 uint32, arg1 *uint32) openflow.FlowBuilder

MatchPktMark mocks base method.

func (*MockFlowBuilder) MatchPriority

func (m *MockFlowBuilder) MatchPriority(arg0 uint16) openflow.FlowBuilder

MatchPriority mocks base method.

func (*MockFlowBuilder) MatchProtocol

func (m *MockFlowBuilder) MatchProtocol(arg0 openflow.Protocol) openflow.FlowBuilder

MatchProtocol mocks base method.

func (*MockFlowBuilder) MatchRegFieldWithValue added in v1.3.0

func (m *MockFlowBuilder) MatchRegFieldWithValue(arg0 *openflow.RegField, arg1 uint32) openflow.FlowBuilder

MatchRegFieldWithValue mocks base method.

func (*MockFlowBuilder) MatchRegMark added in v1.3.0

func (m *MockFlowBuilder) MatchRegMark(arg0 ...*openflow.RegMark) openflow.FlowBuilder

MatchRegMark mocks base method.

func (*MockFlowBuilder) MatchSrcIP

func (m *MockFlowBuilder) MatchSrcIP(arg0 net.IP) openflow.FlowBuilder

MatchSrcIP mocks base method.

func (*MockFlowBuilder) MatchSrcIPNet

func (m *MockFlowBuilder) MatchSrcIPNet(arg0 net.IPNet) openflow.FlowBuilder

MatchSrcIPNet mocks base method.

func (*MockFlowBuilder) MatchSrcMAC

func (m *MockFlowBuilder) MatchSrcMAC(arg0 net.HardwareAddr) openflow.FlowBuilder

MatchSrcMAC mocks base method.

func (*MockFlowBuilder) MatchSrcPort

func (m *MockFlowBuilder) MatchSrcPort(arg0 uint16, arg1 *uint16) openflow.FlowBuilder

MatchSrcPort mocks base method.

func (*MockFlowBuilder) MatchTCPFlags added in v1.11.0

func (m *MockFlowBuilder) MatchTCPFlags(arg0, arg1 uint16) openflow.FlowBuilder

MatchTCPFlags mocks base method.

func (*MockFlowBuilder) MatchTunnelDst

func (m *MockFlowBuilder) MatchTunnelDst(arg0 net.IP) openflow.FlowBuilder

MatchTunnelDst mocks base method.

func (*MockFlowBuilder) MatchTunnelID added in v1.10.0

func (m *MockFlowBuilder) MatchTunnelID(arg0 uint64) openflow.FlowBuilder

MatchTunnelID mocks base method.

func (*MockFlowBuilder) MatchVLAN added in v1.6.0

func (m *MockFlowBuilder) MatchVLAN(arg0 bool, arg1 uint16, arg2 *uint16) openflow.FlowBuilder

MatchVLAN mocks base method.

func (*MockFlowBuilder) MatchXXReg

func (m *MockFlowBuilder) MatchXXReg(arg0 int, arg1 []byte) openflow.FlowBuilder

MatchXXReg mocks base method.

func (*MockFlowBuilder) SetHardTimeout

func (m *MockFlowBuilder) SetHardTimeout(arg0 uint16) openflow.FlowBuilder

SetHardTimeout mocks base method.

func (*MockFlowBuilder) SetIdleTimeout

func (m *MockFlowBuilder) SetIdleTimeout(arg0 uint16) openflow.FlowBuilder

SetIdleTimeout mocks base method.

type MockFlowBuilderMockRecorder

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

MockFlowBuilderMockRecorder is the mock recorder for MockFlowBuilder.

func (*MockFlowBuilderMockRecorder) Action

func (mr *MockFlowBuilderMockRecorder) Action() *gomock.Call

Action indicates an expected call of Action.

func (*MockFlowBuilderMockRecorder) Cookie

func (mr *MockFlowBuilderMockRecorder) Cookie(arg0 any) *gomock.Call

Cookie indicates an expected call of Cookie.

func (*MockFlowBuilderMockRecorder) Done

Done indicates an expected call of Done.

func (*MockFlowBuilderMockRecorder) MatchARPOp

func (mr *MockFlowBuilderMockRecorder) MatchARPOp(arg0 any) *gomock.Call

MatchARPOp indicates an expected call of MatchARPOp.

func (*MockFlowBuilderMockRecorder) MatchARPSha

func (mr *MockFlowBuilderMockRecorder) MatchARPSha(arg0 any) *gomock.Call

MatchARPSha indicates an expected call of MatchARPSha.

func (*MockFlowBuilderMockRecorder) MatchARPSpa

func (mr *MockFlowBuilderMockRecorder) MatchARPSpa(arg0 any) *gomock.Call

MatchARPSpa indicates an expected call of MatchARPSpa.

func (*MockFlowBuilderMockRecorder) MatchARPTha

func (mr *MockFlowBuilderMockRecorder) MatchARPTha(arg0 any) *gomock.Call

MatchARPTha indicates an expected call of MatchARPTha.

func (*MockFlowBuilderMockRecorder) MatchARPTpa

func (mr *MockFlowBuilderMockRecorder) MatchARPTpa(arg0 any) *gomock.Call

MatchARPTpa indicates an expected call of MatchARPTpa.

func (*MockFlowBuilderMockRecorder) MatchCTDstIP

func (mr *MockFlowBuilderMockRecorder) MatchCTDstIP(arg0 any) *gomock.Call

MatchCTDstIP indicates an expected call of MatchCTDstIP.

func (*MockFlowBuilderMockRecorder) MatchCTDstIPNet

func (mr *MockFlowBuilderMockRecorder) MatchCTDstIPNet(arg0 any) *gomock.Call

MatchCTDstIPNet indicates an expected call of MatchCTDstIPNet.

func (*MockFlowBuilderMockRecorder) MatchCTDstPort

func (mr *MockFlowBuilderMockRecorder) MatchCTDstPort(arg0 any) *gomock.Call

MatchCTDstPort indicates an expected call of MatchCTDstPort.

func (*MockFlowBuilderMockRecorder) MatchCTLabelField added in v1.3.0

func (mr *MockFlowBuilderMockRecorder) MatchCTLabelField(arg0, arg1, arg2 any) *gomock.Call

MatchCTLabelField indicates an expected call of MatchCTLabelField.

func (*MockFlowBuilderMockRecorder) MatchCTMark

func (mr *MockFlowBuilderMockRecorder) MatchCTMark(arg0 ...any) *gomock.Call

MatchCTMark indicates an expected call of MatchCTMark.

func (*MockFlowBuilderMockRecorder) MatchCTProtocol

func (mr *MockFlowBuilderMockRecorder) MatchCTProtocol(arg0 any) *gomock.Call

MatchCTProtocol indicates an expected call of MatchCTProtocol.

func (*MockFlowBuilderMockRecorder) MatchCTSrcIP

func (mr *MockFlowBuilderMockRecorder) MatchCTSrcIP(arg0 any) *gomock.Call

MatchCTSrcIP indicates an expected call of MatchCTSrcIP.

func (*MockFlowBuilderMockRecorder) MatchCTSrcIPNet

func (mr *MockFlowBuilderMockRecorder) MatchCTSrcIPNet(arg0 any) *gomock.Call

MatchCTSrcIPNet indicates an expected call of MatchCTSrcIPNet.

func (*MockFlowBuilderMockRecorder) MatchCTSrcPort

func (mr *MockFlowBuilderMockRecorder) MatchCTSrcPort(arg0 any) *gomock.Call

MatchCTSrcPort indicates an expected call of MatchCTSrcPort.

func (*MockFlowBuilderMockRecorder) MatchCTState added in v1.13.1

func (mr *MockFlowBuilderMockRecorder) MatchCTState(arg0 any) *gomock.Call

MatchCTState indicates an expected call of MatchCTState.

func (*MockFlowBuilderMockRecorder) MatchCTStateDNAT

func (mr *MockFlowBuilderMockRecorder) MatchCTStateDNAT(arg0 any) *gomock.Call

MatchCTStateDNAT indicates an expected call of MatchCTStateDNAT.

func (*MockFlowBuilderMockRecorder) MatchCTStateEst

func (mr *MockFlowBuilderMockRecorder) MatchCTStateEst(arg0 any) *gomock.Call

MatchCTStateEst indicates an expected call of MatchCTStateEst.

func (*MockFlowBuilderMockRecorder) MatchCTStateInv

func (mr *MockFlowBuilderMockRecorder) MatchCTStateInv(arg0 any) *gomock.Call

MatchCTStateInv indicates an expected call of MatchCTStateInv.

func (*MockFlowBuilderMockRecorder) MatchCTStateNew

func (mr *MockFlowBuilderMockRecorder) MatchCTStateNew(arg0 any) *gomock.Call

MatchCTStateNew indicates an expected call of MatchCTStateNew.

func (*MockFlowBuilderMockRecorder) MatchCTStateRel

func (mr *MockFlowBuilderMockRecorder) MatchCTStateRel(arg0 any) *gomock.Call

MatchCTStateRel indicates an expected call of MatchCTStateRel.

func (*MockFlowBuilderMockRecorder) MatchCTStateRpl

func (mr *MockFlowBuilderMockRecorder) MatchCTStateRpl(arg0 any) *gomock.Call

MatchCTStateRpl indicates an expected call of MatchCTStateRpl.

func (*MockFlowBuilderMockRecorder) MatchCTStateSNAT

func (mr *MockFlowBuilderMockRecorder) MatchCTStateSNAT(arg0 any) *gomock.Call

MatchCTStateSNAT indicates an expected call of MatchCTStateSNAT.

func (*MockFlowBuilderMockRecorder) MatchCTStateTrk

func (mr *MockFlowBuilderMockRecorder) MatchCTStateTrk(arg0 any) *gomock.Call

MatchCTStateTrk indicates an expected call of MatchCTStateTrk.

func (*MockFlowBuilderMockRecorder) MatchConjID

func (mr *MockFlowBuilderMockRecorder) MatchConjID(arg0 any) *gomock.Call

MatchConjID indicates an expected call of MatchConjID.

func (*MockFlowBuilderMockRecorder) MatchDstIP

func (mr *MockFlowBuilderMockRecorder) MatchDstIP(arg0 any) *gomock.Call

MatchDstIP indicates an expected call of MatchDstIP.

func (*MockFlowBuilderMockRecorder) MatchDstIPNet

func (mr *MockFlowBuilderMockRecorder) MatchDstIPNet(arg0 any) *gomock.Call

MatchDstIPNet indicates an expected call of MatchDstIPNet.

func (*MockFlowBuilderMockRecorder) MatchDstMAC

func (mr *MockFlowBuilderMockRecorder) MatchDstMAC(arg0 any) *gomock.Call

MatchDstMAC indicates an expected call of MatchDstMAC.

func (*MockFlowBuilderMockRecorder) MatchDstPort

func (mr *MockFlowBuilderMockRecorder) MatchDstPort(arg0, arg1 any) *gomock.Call

MatchDstPort indicates an expected call of MatchDstPort.

func (*MockFlowBuilderMockRecorder) MatchICMPCode added in v1.7.0

func (mr *MockFlowBuilderMockRecorder) MatchICMPCode(arg0 any) *gomock.Call

MatchICMPCode indicates an expected call of MatchICMPCode.

func (*MockFlowBuilderMockRecorder) MatchICMPType added in v1.7.0

func (mr *MockFlowBuilderMockRecorder) MatchICMPType(arg0 any) *gomock.Call

MatchICMPType indicates an expected call of MatchICMPType.

func (*MockFlowBuilderMockRecorder) MatchICMPv6Code

func (mr *MockFlowBuilderMockRecorder) MatchICMPv6Code(arg0 any) *gomock.Call

MatchICMPv6Code indicates an expected call of MatchICMPv6Code.

func (*MockFlowBuilderMockRecorder) MatchICMPv6Type

func (mr *MockFlowBuilderMockRecorder) MatchICMPv6Type(arg0 any) *gomock.Call

MatchICMPv6Type indicates an expected call of MatchICMPv6Type.

func (*MockFlowBuilderMockRecorder) MatchIPDSCP

func (mr *MockFlowBuilderMockRecorder) MatchIPDSCP(arg0 any) *gomock.Call

MatchIPDSCP indicates an expected call of MatchIPDSCP.

func (*MockFlowBuilderMockRecorder) MatchIPProtocolValue

func (mr *MockFlowBuilderMockRecorder) MatchIPProtocolValue(arg0, arg1 any) *gomock.Call

MatchIPProtocolValue indicates an expected call of MatchIPProtocolValue.

func (*MockFlowBuilderMockRecorder) MatchInPort

func (mr *MockFlowBuilderMockRecorder) MatchInPort(arg0 any) *gomock.Call

MatchInPort indicates an expected call of MatchInPort.

func (*MockFlowBuilderMockRecorder) MatchPktMark

func (mr *MockFlowBuilderMockRecorder) MatchPktMark(arg0, arg1 any) *gomock.Call

MatchPktMark indicates an expected call of MatchPktMark.

func (*MockFlowBuilderMockRecorder) MatchPriority

func (mr *MockFlowBuilderMockRecorder) MatchPriority(arg0 any) *gomock.Call

MatchPriority indicates an expected call of MatchPriority.

func (*MockFlowBuilderMockRecorder) MatchProtocol

func (mr *MockFlowBuilderMockRecorder) MatchProtocol(arg0 any) *gomock.Call

MatchProtocol indicates an expected call of MatchProtocol.

func (*MockFlowBuilderMockRecorder) MatchRegFieldWithValue added in v1.3.0

func (mr *MockFlowBuilderMockRecorder) MatchRegFieldWithValue(arg0, arg1 any) *gomock.Call

MatchRegFieldWithValue indicates an expected call of MatchRegFieldWithValue.

func (*MockFlowBuilderMockRecorder) MatchRegMark added in v1.3.0

func (mr *MockFlowBuilderMockRecorder) MatchRegMark(arg0 ...any) *gomock.Call

MatchRegMark indicates an expected call of MatchRegMark.

func (*MockFlowBuilderMockRecorder) MatchSrcIP

func (mr *MockFlowBuilderMockRecorder) MatchSrcIP(arg0 any) *gomock.Call

MatchSrcIP indicates an expected call of MatchSrcIP.

func (*MockFlowBuilderMockRecorder) MatchSrcIPNet

func (mr *MockFlowBuilderMockRecorder) MatchSrcIPNet(arg0 any) *gomock.Call

MatchSrcIPNet indicates an expected call of MatchSrcIPNet.

func (*MockFlowBuilderMockRecorder) MatchSrcMAC

func (mr *MockFlowBuilderMockRecorder) MatchSrcMAC(arg0 any) *gomock.Call

MatchSrcMAC indicates an expected call of MatchSrcMAC.

func (*MockFlowBuilderMockRecorder) MatchSrcPort

func (mr *MockFlowBuilderMockRecorder) MatchSrcPort(arg0, arg1 any) *gomock.Call

MatchSrcPort indicates an expected call of MatchSrcPort.

func (*MockFlowBuilderMockRecorder) MatchTCPFlags added in v1.11.0

func (mr *MockFlowBuilderMockRecorder) MatchTCPFlags(arg0, arg1 any) *gomock.Call

MatchTCPFlags indicates an expected call of MatchTCPFlags.

func (*MockFlowBuilderMockRecorder) MatchTunnelDst

func (mr *MockFlowBuilderMockRecorder) MatchTunnelDst(arg0 any) *gomock.Call

MatchTunnelDst indicates an expected call of MatchTunnelDst.

func (*MockFlowBuilderMockRecorder) MatchTunnelID added in v1.10.0

func (mr *MockFlowBuilderMockRecorder) MatchTunnelID(arg0 any) *gomock.Call

MatchTunnelID indicates an expected call of MatchTunnelID.

func (*MockFlowBuilderMockRecorder) MatchVLAN added in v1.6.0

func (mr *MockFlowBuilderMockRecorder) MatchVLAN(arg0, arg1, arg2 any) *gomock.Call

MatchVLAN indicates an expected call of MatchVLAN.

func (*MockFlowBuilderMockRecorder) MatchXXReg

func (mr *MockFlowBuilderMockRecorder) MatchXXReg(arg0, arg1 any) *gomock.Call

MatchXXReg indicates an expected call of MatchXXReg.

func (*MockFlowBuilderMockRecorder) SetHardTimeout

func (mr *MockFlowBuilderMockRecorder) SetHardTimeout(arg0 any) *gomock.Call

SetHardTimeout indicates an expected call of SetHardTimeout.

func (*MockFlowBuilderMockRecorder) SetIdleTimeout

func (mr *MockFlowBuilderMockRecorder) SetIdleTimeout(arg0 any) *gomock.Call

SetIdleTimeout indicates an expected call of SetIdleTimeout.

type MockFlowMockRecorder

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

MockFlowMockRecorder is the mock recorder for MockFlow.

func (*MockFlowMockRecorder) Add

func (mr *MockFlowMockRecorder) Add() *gomock.Call

Add indicates an expected call of Add.

func (*MockFlowMockRecorder) CopyToBuilder

func (mr *MockFlowMockRecorder) CopyToBuilder(arg0, arg1 any) *gomock.Call

CopyToBuilder indicates an expected call of CopyToBuilder.

func (*MockFlowMockRecorder) Delete

func (mr *MockFlowMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockFlowMockRecorder) FlowPriority

func (mr *MockFlowMockRecorder) FlowPriority() *gomock.Call

FlowPriority indicates an expected call of FlowPriority.

func (*MockFlowMockRecorder) FlowProtocol

func (mr *MockFlowMockRecorder) FlowProtocol() *gomock.Call

FlowProtocol indicates an expected call of FlowProtocol.

func (*MockFlowMockRecorder) GetBundleMessages added in v1.9.0

func (mr *MockFlowMockRecorder) GetBundleMessages(arg0 any) *gomock.Call

GetBundleMessages indicates an expected call of GetBundleMessages.

func (*MockFlowMockRecorder) MatchString

func (mr *MockFlowMockRecorder) MatchString() *gomock.Call

MatchString indicates an expected call of MatchString.

func (*MockFlowMockRecorder) Modify

func (mr *MockFlowMockRecorder) Modify() *gomock.Call

Modify indicates an expected call of Modify.

func (*MockFlowMockRecorder) Reset

func (mr *MockFlowMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset.

func (*MockFlowMockRecorder) Type

func (mr *MockFlowMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

type MockGroup added in v1.7.2

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

MockGroup is a mock of Group interface.

func NewMockGroup added in v1.7.2

func NewMockGroup(ctrl *gomock.Controller) *MockGroup

NewMockGroup creates a new mock instance.

func (*MockGroup) Add added in v1.7.2

func (m *MockGroup) Add() error

Add mocks base method.

func (*MockGroup) Bucket added in v1.7.2

func (m *MockGroup) Bucket() openflow.BucketBuilder

Bucket mocks base method.

func (*MockGroup) Delete added in v1.7.2

func (m *MockGroup) Delete() error

Delete mocks base method.

func (*MockGroup) EXPECT added in v1.7.2

func (m *MockGroup) EXPECT() *MockGroupMockRecorder

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

func (*MockGroup) GetBundleMessages added in v1.9.0

func (m *MockGroup) GetBundleMessages(arg0 openflow.OFOperation) ([]ofctrl.OpenFlowModMessage, error)

GetBundleMessages mocks base method.

func (*MockGroup) GetID added in v1.12.2

func (m *MockGroup) GetID() openflow.GroupIDType

GetID mocks base method.

func (*MockGroup) Modify added in v1.7.2

func (m *MockGroup) Modify() error

Modify mocks base method.

func (*MockGroup) Reset added in v1.7.2

func (m *MockGroup) Reset()

Reset mocks base method.

func (*MockGroup) ResetBuckets added in v1.7.2

func (m *MockGroup) ResetBuckets() openflow.Group

ResetBuckets mocks base method.

func (*MockGroup) Type added in v1.7.2

func (m *MockGroup) Type() openflow.EntryType

Type mocks base method.

type MockGroupMockRecorder added in v1.7.2

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

MockGroupMockRecorder is the mock recorder for MockGroup.

func (*MockGroupMockRecorder) Add added in v1.7.2

func (mr *MockGroupMockRecorder) Add() *gomock.Call

Add indicates an expected call of Add.

func (*MockGroupMockRecorder) Bucket added in v1.7.2

func (mr *MockGroupMockRecorder) Bucket() *gomock.Call

Bucket indicates an expected call of Bucket.

func (*MockGroupMockRecorder) Delete added in v1.7.2

func (mr *MockGroupMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockGroupMockRecorder) GetBundleMessages added in v1.9.0

func (mr *MockGroupMockRecorder) GetBundleMessages(arg0 any) *gomock.Call

GetBundleMessages indicates an expected call of GetBundleMessages.

func (*MockGroupMockRecorder) GetID added in v1.12.2

func (mr *MockGroupMockRecorder) GetID() *gomock.Call

GetID indicates an expected call of GetID.

func (*MockGroupMockRecorder) Modify added in v1.7.2

func (mr *MockGroupMockRecorder) Modify() *gomock.Call

Modify indicates an expected call of Modify.

func (*MockGroupMockRecorder) Reset added in v1.7.2

func (mr *MockGroupMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset.

func (*MockGroupMockRecorder) ResetBuckets added in v1.7.2

func (mr *MockGroupMockRecorder) ResetBuckets() *gomock.Call

ResetBuckets indicates an expected call of ResetBuckets.

func (*MockGroupMockRecorder) Type added in v1.7.2

func (mr *MockGroupMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

type MockMeter added in v1.12.2

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

MockMeter is a mock of Meter interface.

func NewMockMeter added in v1.12.2

func NewMockMeter(ctrl *gomock.Controller) *MockMeter

NewMockMeter creates a new mock instance.

func (*MockMeter) Add added in v1.12.2

func (m *MockMeter) Add() error

Add mocks base method.

func (*MockMeter) Delete added in v1.12.2

func (m *MockMeter) Delete() error

Delete mocks base method.

func (*MockMeter) EXPECT added in v1.12.2

func (m *MockMeter) EXPECT() *MockMeterMockRecorder

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

func (*MockMeter) GetBundleMessages added in v1.12.2

func (m *MockMeter) GetBundleMessages(arg0 openflow.OFOperation) ([]ofctrl.OpenFlowModMessage, error)

GetBundleMessages mocks base method.

func (*MockMeter) MeterBand added in v1.12.2

func (m *MockMeter) MeterBand() openflow.MeterBandBuilder

MeterBand mocks base method.

func (*MockMeter) Modify added in v1.12.2

func (m *MockMeter) Modify() error

Modify mocks base method.

func (*MockMeter) Reset added in v1.12.2

func (m *MockMeter) Reset()

Reset mocks base method.

func (*MockMeter) ResetMeterBands added in v1.12.2

func (m *MockMeter) ResetMeterBands() openflow.Meter

ResetMeterBands mocks base method.

func (*MockMeter) Type added in v1.12.2

func (m *MockMeter) Type() openflow.EntryType

Type mocks base method.

type MockMeterBandBuilder added in v1.12.2

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

MockMeterBandBuilder is a mock of MeterBandBuilder interface.

func NewMockMeterBandBuilder added in v1.12.2

func NewMockMeterBandBuilder(ctrl *gomock.Controller) *MockMeterBandBuilder

NewMockMeterBandBuilder creates a new mock instance.

func (*MockMeterBandBuilder) Burst added in v1.12.2

Burst mocks base method.

func (*MockMeterBandBuilder) Done added in v1.12.2

Done mocks base method.

func (*MockMeterBandBuilder) EXPECT added in v1.12.2

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

func (*MockMeterBandBuilder) Experimenter added in v1.12.2

func (m *MockMeterBandBuilder) Experimenter(arg0 uint32) openflow.MeterBandBuilder

Experimenter mocks base method.

func (*MockMeterBandBuilder) MeterType added in v1.12.2

MeterType mocks base method.

func (*MockMeterBandBuilder) PrecLevel added in v1.12.2

PrecLevel mocks base method.

func (*MockMeterBandBuilder) Rate added in v1.12.2

Rate mocks base method.

type MockMeterBandBuilderMockRecorder added in v1.12.2

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

MockMeterBandBuilderMockRecorder is the mock recorder for MockMeterBandBuilder.

func (*MockMeterBandBuilderMockRecorder) Burst added in v1.12.2

Burst indicates an expected call of Burst.

func (*MockMeterBandBuilderMockRecorder) Done added in v1.12.2

Done indicates an expected call of Done.

func (*MockMeterBandBuilderMockRecorder) Experimenter added in v1.12.2

func (mr *MockMeterBandBuilderMockRecorder) Experimenter(arg0 any) *gomock.Call

Experimenter indicates an expected call of Experimenter.

func (*MockMeterBandBuilderMockRecorder) MeterType added in v1.12.2

func (mr *MockMeterBandBuilderMockRecorder) MeterType(arg0 any) *gomock.Call

MeterType indicates an expected call of MeterType.

func (*MockMeterBandBuilderMockRecorder) PrecLevel added in v1.12.2

func (mr *MockMeterBandBuilderMockRecorder) PrecLevel(arg0 any) *gomock.Call

PrecLevel indicates an expected call of PrecLevel.

func (*MockMeterBandBuilderMockRecorder) Rate added in v1.12.2

Rate indicates an expected call of Rate.

type MockMeterMockRecorder added in v1.12.2

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

MockMeterMockRecorder is the mock recorder for MockMeter.

func (*MockMeterMockRecorder) Add added in v1.12.2

func (mr *MockMeterMockRecorder) Add() *gomock.Call

Add indicates an expected call of Add.

func (*MockMeterMockRecorder) Delete added in v1.12.2

func (mr *MockMeterMockRecorder) Delete() *gomock.Call

Delete indicates an expected call of Delete.

func (*MockMeterMockRecorder) GetBundleMessages added in v1.12.2

func (mr *MockMeterMockRecorder) GetBundleMessages(arg0 any) *gomock.Call

GetBundleMessages indicates an expected call of GetBundleMessages.

func (*MockMeterMockRecorder) MeterBand added in v1.12.2

func (mr *MockMeterMockRecorder) MeterBand() *gomock.Call

MeterBand indicates an expected call of MeterBand.

func (*MockMeterMockRecorder) Modify added in v1.12.2

func (mr *MockMeterMockRecorder) Modify() *gomock.Call

Modify indicates an expected call of Modify.

func (*MockMeterMockRecorder) Reset added in v1.12.2

func (mr *MockMeterMockRecorder) Reset() *gomock.Call

Reset indicates an expected call of Reset.

func (*MockMeterMockRecorder) ResetMeterBands added in v1.12.2

func (mr *MockMeterMockRecorder) ResetMeterBands() *gomock.Call

ResetMeterBands indicates an expected call of ResetMeterBands.

func (*MockMeterMockRecorder) Type added in v1.12.2

func (mr *MockMeterMockRecorder) Type() *gomock.Call

Type indicates an expected call of Type.

type MockPacketOutBuilder added in v1.10.0

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

MockPacketOutBuilder is a mock of PacketOutBuilder interface.

func NewMockPacketOutBuilder added in v1.10.0

func NewMockPacketOutBuilder(ctrl *gomock.Controller) *MockPacketOutBuilder

NewMockPacketOutBuilder creates a new mock instance.

func (*MockPacketOutBuilder) AddLoadRegMark added in v1.10.0

AddLoadRegMark mocks base method.

func (*MockPacketOutBuilder) AddResubmitAction added in v1.10.0

func (m *MockPacketOutBuilder) AddResubmitAction(arg0 *uint16, arg1 *byte) openflow.PacketOutBuilder

AddResubmitAction mocks base method.

func (*MockPacketOutBuilder) AddSetIPTOSAction added in v1.10.0

func (m *MockPacketOutBuilder) AddSetIPTOSAction(arg0 byte) openflow.PacketOutBuilder

AddSetIPTOSAction mocks base method.

func (*MockPacketOutBuilder) Done added in v1.10.0

Done mocks base method.

func (*MockPacketOutBuilder) EXPECT added in v1.10.0

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

func (*MockPacketOutBuilder) SetDstIP added in v1.10.0

SetDstIP mocks base method.

func (*MockPacketOutBuilder) SetDstMAC added in v1.10.0

SetDstMAC mocks base method.

func (*MockPacketOutBuilder) SetEthPacket added in v1.11.0

SetEthPacket mocks base method.

func (*MockPacketOutBuilder) SetICMPCode added in v1.10.0

func (m *MockPacketOutBuilder) SetICMPCode(arg0 byte) openflow.PacketOutBuilder

SetICMPCode mocks base method.

func (*MockPacketOutBuilder) SetICMPData added in v1.10.0

func (m *MockPacketOutBuilder) SetICMPData(arg0 []byte) openflow.PacketOutBuilder

SetICMPData mocks base method.

func (*MockPacketOutBuilder) SetICMPID added in v1.10.0

SetICMPID mocks base method.

func (*MockPacketOutBuilder) SetICMPSequence added in v1.10.0

func (m *MockPacketOutBuilder) SetICMPSequence(arg0 uint16) openflow.PacketOutBuilder

SetICMPSequence mocks base method.

func (*MockPacketOutBuilder) SetICMPType added in v1.10.0

func (m *MockPacketOutBuilder) SetICMPType(arg0 byte) openflow.PacketOutBuilder

SetICMPType mocks base method.

func (*MockPacketOutBuilder) SetIPFlags added in v1.10.0

SetIPFlags mocks base method.

func (*MockPacketOutBuilder) SetIPHeaderID added in v1.10.0

func (m *MockPacketOutBuilder) SetIPHeaderID(arg0 uint16) openflow.PacketOutBuilder

SetIPHeaderID mocks base method.

func (*MockPacketOutBuilder) SetIPProtocol added in v1.10.0

SetIPProtocol mocks base method.

func (*MockPacketOutBuilder) SetIPProtocolValue added in v1.10.0

func (m *MockPacketOutBuilder) SetIPProtocolValue(arg0 bool, arg1 byte) openflow.PacketOutBuilder

SetIPProtocolValue mocks base method.

func (*MockPacketOutBuilder) SetInport added in v1.10.0

SetInport mocks base method.

func (*MockPacketOutBuilder) SetL4Packet added in v1.10.0

SetL4Packet mocks base method.

func (*MockPacketOutBuilder) SetOutport added in v1.10.0

SetOutport mocks base method.

func (*MockPacketOutBuilder) SetSrcIP added in v1.10.0

SetSrcIP mocks base method.

func (*MockPacketOutBuilder) SetSrcMAC added in v1.10.0

SetSrcMAC mocks base method.

func (*MockPacketOutBuilder) SetTCPAckNum added in v1.10.0

func (m *MockPacketOutBuilder) SetTCPAckNum(arg0 uint32) openflow.PacketOutBuilder

SetTCPAckNum mocks base method.

func (*MockPacketOutBuilder) SetTCPData added in v1.11.0

func (m *MockPacketOutBuilder) SetTCPData(arg0 []byte) openflow.PacketOutBuilder

SetTCPData mocks base method.

func (*MockPacketOutBuilder) SetTCPDstPort added in v1.10.0

func (m *MockPacketOutBuilder) SetTCPDstPort(arg0 uint16) openflow.PacketOutBuilder

SetTCPDstPort mocks base method.

func (*MockPacketOutBuilder) SetTCPFlags added in v1.10.0

func (m *MockPacketOutBuilder) SetTCPFlags(arg0 byte) openflow.PacketOutBuilder

SetTCPFlags mocks base method.

func (*MockPacketOutBuilder) SetTCPHdrLen added in v1.11.0

func (m *MockPacketOutBuilder) SetTCPHdrLen(arg0 byte) openflow.PacketOutBuilder

SetTCPHdrLen mocks base method.

func (*MockPacketOutBuilder) SetTCPSeqNum added in v1.10.0

func (m *MockPacketOutBuilder) SetTCPSeqNum(arg0 uint32) openflow.PacketOutBuilder

SetTCPSeqNum mocks base method.

func (*MockPacketOutBuilder) SetTCPSrcPort added in v1.10.0

func (m *MockPacketOutBuilder) SetTCPSrcPort(arg0 uint16) openflow.PacketOutBuilder

SetTCPSrcPort mocks base method.

func (*MockPacketOutBuilder) SetTCPWinSize added in v1.11.0

func (m *MockPacketOutBuilder) SetTCPWinSize(arg0 uint16) openflow.PacketOutBuilder

SetTCPWinSize mocks base method.

func (*MockPacketOutBuilder) SetTTL added in v1.10.0

SetTTL mocks base method.

func (*MockPacketOutBuilder) SetUDPData added in v1.10.0

func (m *MockPacketOutBuilder) SetUDPData(arg0 []byte) openflow.PacketOutBuilder

SetUDPData mocks base method.

func (*MockPacketOutBuilder) SetUDPDstPort added in v1.10.0

func (m *MockPacketOutBuilder) SetUDPDstPort(arg0 uint16) openflow.PacketOutBuilder

SetUDPDstPort mocks base method.

func (*MockPacketOutBuilder) SetUDPSrcPort added in v1.10.0

func (m *MockPacketOutBuilder) SetUDPSrcPort(arg0 uint16) openflow.PacketOutBuilder

SetUDPSrcPort mocks base method.

type MockPacketOutBuilderMockRecorder added in v1.10.0

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

MockPacketOutBuilderMockRecorder is the mock recorder for MockPacketOutBuilder.

func (*MockPacketOutBuilderMockRecorder) AddLoadRegMark added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) AddLoadRegMark(arg0 any) *gomock.Call

AddLoadRegMark indicates an expected call of AddLoadRegMark.

func (*MockPacketOutBuilderMockRecorder) AddResubmitAction added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) AddResubmitAction(arg0, arg1 any) *gomock.Call

AddResubmitAction indicates an expected call of AddResubmitAction.

func (*MockPacketOutBuilderMockRecorder) AddSetIPTOSAction added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) AddSetIPTOSAction(arg0 any) *gomock.Call

AddSetIPTOSAction indicates an expected call of AddSetIPTOSAction.

func (*MockPacketOutBuilderMockRecorder) Done added in v1.10.0

Done indicates an expected call of Done.

func (*MockPacketOutBuilderMockRecorder) SetDstIP added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetDstIP(arg0 any) *gomock.Call

SetDstIP indicates an expected call of SetDstIP.

func (*MockPacketOutBuilderMockRecorder) SetDstMAC added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetDstMAC(arg0 any) *gomock.Call

SetDstMAC indicates an expected call of SetDstMAC.

func (*MockPacketOutBuilderMockRecorder) SetEthPacket added in v1.11.0

func (mr *MockPacketOutBuilderMockRecorder) SetEthPacket(arg0 any) *gomock.Call

SetEthPacket indicates an expected call of SetEthPacket.

func (*MockPacketOutBuilderMockRecorder) SetICMPCode added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetICMPCode(arg0 any) *gomock.Call

SetICMPCode indicates an expected call of SetICMPCode.

func (*MockPacketOutBuilderMockRecorder) SetICMPData added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetICMPData(arg0 any) *gomock.Call

SetICMPData indicates an expected call of SetICMPData.

func (*MockPacketOutBuilderMockRecorder) SetICMPID added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetICMPID(arg0 any) *gomock.Call

SetICMPID indicates an expected call of SetICMPID.

func (*MockPacketOutBuilderMockRecorder) SetICMPSequence added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetICMPSequence(arg0 any) *gomock.Call

SetICMPSequence indicates an expected call of SetICMPSequence.

func (*MockPacketOutBuilderMockRecorder) SetICMPType added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetICMPType(arg0 any) *gomock.Call

SetICMPType indicates an expected call of SetICMPType.

func (*MockPacketOutBuilderMockRecorder) SetIPFlags added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetIPFlags(arg0 any) *gomock.Call

SetIPFlags indicates an expected call of SetIPFlags.

func (*MockPacketOutBuilderMockRecorder) SetIPHeaderID added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetIPHeaderID(arg0 any) *gomock.Call

SetIPHeaderID indicates an expected call of SetIPHeaderID.

func (*MockPacketOutBuilderMockRecorder) SetIPProtocol added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetIPProtocol(arg0 any) *gomock.Call

SetIPProtocol indicates an expected call of SetIPProtocol.

func (*MockPacketOutBuilderMockRecorder) SetIPProtocolValue added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetIPProtocolValue(arg0, arg1 any) *gomock.Call

SetIPProtocolValue indicates an expected call of SetIPProtocolValue.

func (*MockPacketOutBuilderMockRecorder) SetInport added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetInport(arg0 any) *gomock.Call

SetInport indicates an expected call of SetInport.

func (*MockPacketOutBuilderMockRecorder) SetL4Packet added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetL4Packet(arg0 any) *gomock.Call

SetL4Packet indicates an expected call of SetL4Packet.

func (*MockPacketOutBuilderMockRecorder) SetOutport added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetOutport(arg0 any) *gomock.Call

SetOutport indicates an expected call of SetOutport.

func (*MockPacketOutBuilderMockRecorder) SetSrcIP added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetSrcIP(arg0 any) *gomock.Call

SetSrcIP indicates an expected call of SetSrcIP.

func (*MockPacketOutBuilderMockRecorder) SetSrcMAC added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetSrcMAC(arg0 any) *gomock.Call

SetSrcMAC indicates an expected call of SetSrcMAC.

func (*MockPacketOutBuilderMockRecorder) SetTCPAckNum added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetTCPAckNum(arg0 any) *gomock.Call

SetTCPAckNum indicates an expected call of SetTCPAckNum.

func (*MockPacketOutBuilderMockRecorder) SetTCPData added in v1.11.0

func (mr *MockPacketOutBuilderMockRecorder) SetTCPData(arg0 any) *gomock.Call

SetTCPData indicates an expected call of SetTCPData.

func (*MockPacketOutBuilderMockRecorder) SetTCPDstPort added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetTCPDstPort(arg0 any) *gomock.Call

SetTCPDstPort indicates an expected call of SetTCPDstPort.

func (*MockPacketOutBuilderMockRecorder) SetTCPFlags added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetTCPFlags(arg0 any) *gomock.Call

SetTCPFlags indicates an expected call of SetTCPFlags.

func (*MockPacketOutBuilderMockRecorder) SetTCPHdrLen added in v1.11.0

func (mr *MockPacketOutBuilderMockRecorder) SetTCPHdrLen(arg0 any) *gomock.Call

SetTCPHdrLen indicates an expected call of SetTCPHdrLen.

func (*MockPacketOutBuilderMockRecorder) SetTCPSeqNum added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetTCPSeqNum(arg0 any) *gomock.Call

SetTCPSeqNum indicates an expected call of SetTCPSeqNum.

func (*MockPacketOutBuilderMockRecorder) SetTCPSrcPort added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetTCPSrcPort(arg0 any) *gomock.Call

SetTCPSrcPort indicates an expected call of SetTCPSrcPort.

func (*MockPacketOutBuilderMockRecorder) SetTCPWinSize added in v1.11.0

func (mr *MockPacketOutBuilderMockRecorder) SetTCPWinSize(arg0 any) *gomock.Call

SetTCPWinSize indicates an expected call of SetTCPWinSize.

func (*MockPacketOutBuilderMockRecorder) SetTTL added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetTTL(arg0 any) *gomock.Call

SetTTL indicates an expected call of SetTTL.

func (*MockPacketOutBuilderMockRecorder) SetUDPData added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetUDPData(arg0 any) *gomock.Call

SetUDPData indicates an expected call of SetUDPData.

func (*MockPacketOutBuilderMockRecorder) SetUDPDstPort added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetUDPDstPort(arg0 any) *gomock.Call

SetUDPDstPort indicates an expected call of SetUDPDstPort.

func (*MockPacketOutBuilderMockRecorder) SetUDPSrcPort added in v1.10.0

func (mr *MockPacketOutBuilderMockRecorder) SetUDPSrcPort(arg0 any) *gomock.Call

SetUDPSrcPort indicates an expected call of SetUDPSrcPort.

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) BuildFlow

func (m *MockTable) BuildFlow(arg0 uint16) openflow.FlowBuilder

BuildFlow 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) GetID

func (m *MockTable) GetID() byte

GetID mocks base method.

func (*MockTable) GetMissAction

func (m *MockTable) GetMissAction() openflow.MissActionType

GetMissAction mocks base method.

func (*MockTable) GetName added in v1.4.0

func (m *MockTable) GetName() string

GetName mocks base method.

func (*MockTable) GetNext

func (m *MockTable) GetNext() byte

GetNext mocks base method.

func (*MockTable) GetStageID added in v1.6.0

func (m *MockTable) GetStageID() openflow.StageID

GetStageID mocks base method.

func (*MockTable) SetMissAction added in v1.4.0

func (m *MockTable) SetMissAction(arg0 openflow.MissActionType)

SetMissAction mocks base method.

func (*MockTable) SetNext added in v1.4.0

func (m *MockTable) SetNext(arg0 byte)

SetNext mocks base method.

func (*MockTable) SetTable added in v1.12.0

func (m *MockTable) SetTable()

SetTable mocks base method.

func (*MockTable) Status

func (m *MockTable) Status() openflow.TableStatus

Status mocks base method.

type MockTableMockRecorder

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

MockTableMockRecorder is the mock recorder for MockTable.

func (*MockTableMockRecorder) BuildFlow

func (mr *MockTableMockRecorder) BuildFlow(arg0 any) *gomock.Call

BuildFlow indicates an expected call of BuildFlow.

func (*MockTableMockRecorder) GetID

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

GetID indicates an expected call of GetID.

func (*MockTableMockRecorder) GetMissAction

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

GetMissAction indicates an expected call of GetMissAction.

func (*MockTableMockRecorder) GetName added in v1.4.0

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

GetName indicates an expected call of GetName.

func (*MockTableMockRecorder) GetNext

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

GetNext indicates an expected call of GetNext.

func (*MockTableMockRecorder) GetStageID added in v1.6.0

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

GetStageID indicates an expected call of GetStageID.

func (*MockTableMockRecorder) SetMissAction added in v1.4.0

func (mr *MockTableMockRecorder) SetMissAction(arg0 any) *gomock.Call

SetMissAction indicates an expected call of SetMissAction.

func (*MockTableMockRecorder) SetNext added in v1.4.0

func (mr *MockTableMockRecorder) SetNext(arg0 any) *gomock.Call

SetNext indicates an expected call of SetNext.

func (*MockTableMockRecorder) SetTable added in v1.12.0

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

SetTable indicates an expected call of SetTable.

func (*MockTableMockRecorder) Status

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

Status indicates an expected call of Status.

Jump to

Keyboard shortcuts

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