Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockAction
- func (m *MockAction) CT(arg0 bool, arg1 openflow.TableIDType, arg2 int) openflow.CTAction
- func (m *MockAction) Conjunction(arg0 uint32, arg1, arg2 byte) openflow.FlowBuilder
- func (m *MockAction) DecTTL() openflow.FlowBuilder
- func (m *MockAction) Drop() openflow.FlowBuilder
- func (m *MockAction) EXPECT() *MockActionMockRecorder
- func (m *MockAction) LoadARPOperation(arg0 uint16) openflow.FlowBuilder
- func (m *MockAction) LoadRange(arg0 string, arg1 uint64, arg2 openflow.Range) openflow.FlowBuilder
- func (m *MockAction) LoadRegRange(arg0 int, arg1 uint32, arg2 openflow.Range) openflow.FlowBuilder
- func (m *MockAction) Move(arg0, arg1 string) openflow.FlowBuilder
- func (m *MockAction) MoveRange(arg0, arg1 string, arg2, arg3 openflow.Range) openflow.FlowBuilder
- func (m *MockAction) Normal() openflow.FlowBuilder
- func (m *MockAction) Output(arg0 int) openflow.FlowBuilder
- func (m *MockAction) OutputFieldRange(arg0 string, arg1 openflow.Range) openflow.FlowBuilder
- func (m *MockAction) OutputInPort() openflow.FlowBuilder
- func (m *MockAction) OutputRegRange(arg0 int, arg1 openflow.Range) openflow.FlowBuilder
- func (m *MockAction) Resubmit(arg0 uint16, arg1 openflow.TableIDType) openflow.FlowBuilder
- func (m *MockAction) ResubmitToTable(arg0 openflow.TableIDType) openflow.FlowBuilder
- func (m *MockAction) SetARPSha(arg0 net.HardwareAddr) openflow.FlowBuilder
- func (m *MockAction) SetARPSpa(arg0 net.IP) openflow.FlowBuilder
- func (m *MockAction) SetARPTha(arg0 net.HardwareAddr) openflow.FlowBuilder
- func (m *MockAction) SetARPTpa(arg0 net.IP) openflow.FlowBuilder
- func (m *MockAction) SetDstIP(arg0 net.IP) openflow.FlowBuilder
- func (m *MockAction) SetDstMAC(arg0 net.HardwareAddr) openflow.FlowBuilder
- func (m *MockAction) SetSrcIP(arg0 net.IP) openflow.FlowBuilder
- func (m *MockAction) SetSrcMAC(arg0 net.HardwareAddr) openflow.FlowBuilder
- func (m *MockAction) SetTunnelDst(arg0 net.IP) openflow.FlowBuilder
- type MockActionMockRecorder
- func (mr *MockActionMockRecorder) CT(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) Conjunction(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) DecTTL() *gomock.Call
- func (mr *MockActionMockRecorder) Drop() *gomock.Call
- func (mr *MockActionMockRecorder) LoadARPOperation(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) LoadRange(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) LoadRegRange(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) Move(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) MoveRange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) Normal() *gomock.Call
- func (mr *MockActionMockRecorder) Output(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) OutputFieldRange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) OutputInPort() *gomock.Call
- func (mr *MockActionMockRecorder) OutputRegRange(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) Resubmit(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) ResubmitToTable(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) SetARPSha(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) SetARPSpa(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) SetARPTha(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) SetARPTpa(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) SetDstIP(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) SetDstMAC(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) SetSrcIP(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) SetSrcMAC(arg0 interface{}) *gomock.Call
- func (mr *MockActionMockRecorder) SetTunnelDst(arg0 interface{}) *gomock.Call
- type MockBridge
- func (m *MockBridge) AddFlowsInBundle(arg0, arg1, arg2 []openflow.Flow) error
- func (m *MockBridge) Connect(arg0 int, arg1 chan struct{}) error
- func (m *MockBridge) CreateTable(arg0, arg1 openflow.TableIDType, arg2 openflow.MissActionType) openflow.Table
- func (m *MockBridge) DeleteFlowsByCookie(arg0, arg1 uint64) error
- func (m *MockBridge) DeleteTable(arg0 openflow.TableIDType) bool
- func (m *MockBridge) Disconnect() error
- func (m *MockBridge) DumpFlows(arg0, arg1 uint64) map[uint64]*openflow.FlowStates
- func (m *MockBridge) DumpTableStatus() []openflow.TableStatus
- func (m *MockBridge) EXPECT() *MockBridgeMockRecorder
- func (m *MockBridge) IsConnected() bool
- type MockBridgeMockRecorder
- func (mr *MockBridgeMockRecorder) AddFlowsInBundle(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBridgeMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBridgeMockRecorder) CreateTable(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBridgeMockRecorder) DeleteFlowsByCookie(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBridgeMockRecorder) DeleteTable(arg0 interface{}) *gomock.Call
- func (mr *MockBridgeMockRecorder) Disconnect() *gomock.Call
- func (mr *MockBridgeMockRecorder) DumpFlows(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBridgeMockRecorder) DumpTableStatus() *gomock.Call
- func (mr *MockBridgeMockRecorder) IsConnected() *gomock.Call
- type MockFlow
- type MockFlowBuilder
- func (m *MockFlowBuilder) Action() openflow.Action
- func (m *MockFlowBuilder) Cookie(arg0 uint64) openflow.FlowBuilder
- func (m *MockFlowBuilder) Done() openflow.Flow
- func (m *MockFlowBuilder) EXPECT() *MockFlowBuilderMockRecorder
- func (m *MockFlowBuilder) MatchARPOp(arg0 uint16) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchARPSha(arg0 net.HardwareAddr) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchARPSpa(arg0 net.IP) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchARPTha(arg0 net.HardwareAddr) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchARPTpa(arg0 net.IP) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchCTMark(arg0 uint32) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchCTStateEst(arg0 bool) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchCTStateInv(arg0 bool) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchCTStateNew(arg0 bool) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchCTStateRel(arg0 bool) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchCTStateRpl(arg0 bool) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchCTStateTrk(arg0 bool) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchConjID(arg0 uint32) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchDstIP(arg0 net.IP) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchDstIPNet(arg0 net.IPNet) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchDstMAC(arg0 net.HardwareAddr) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchInPort(arg0 uint32) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchProtocol(arg0 string) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchReg(arg0 int, arg1 uint32) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchRegRange(arg0 int, arg1 uint32, arg2 openflow.Range) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchSCTPDstPort(arg0 uint16) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchSrcIP(arg0 net.IP) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchSrcIPNet(arg0 net.IPNet) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchSrcMAC(arg0 net.HardwareAddr) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchTCPDstPort(arg0 uint16) openflow.FlowBuilder
- func (m *MockFlowBuilder) MatchUDPDstPort(arg0 uint16) openflow.FlowBuilder
- type MockFlowBuilderMockRecorder
- func (mr *MockFlowBuilderMockRecorder) Action() *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) Cookie(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) Done() *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchARPOp(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchARPSha(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchARPSpa(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchARPTha(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchARPTpa(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchCTMark(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchCTStateEst(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchCTStateInv(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchCTStateNew(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchCTStateRel(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchCTStateRpl(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchCTStateTrk(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchConjID(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchDstIP(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchDstIPNet(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchDstMAC(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchInPort(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchProtocol(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchReg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchRegRange(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchSCTPDstPort(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchSrcIP(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchSrcIPNet(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchSrcMAC(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchTCPDstPort(arg0 interface{}) *gomock.Call
- func (mr *MockFlowBuilderMockRecorder) MatchUDPDstPort(arg0 interface{}) *gomock.Call
- type MockFlowMockRecorder
- func (mr *MockFlowMockRecorder) Add() *gomock.Call
- func (mr *MockFlowMockRecorder) CopyToBuilder() *gomock.Call
- func (mr *MockFlowMockRecorder) Delete() *gomock.Call
- func (mr *MockFlowMockRecorder) MatchString() *gomock.Call
- func (mr *MockFlowMockRecorder) Modify() *gomock.Call
- func (mr *MockFlowMockRecorder) Reset() *gomock.Call
- type MockTable
- func (m *MockTable) BuildFlow(arg0 uint16) openflow.FlowBuilder
- func (m *MockTable) EXPECT() *MockTableMockRecorder
- func (m *MockTable) GetID() openflow.TableIDType
- func (m *MockTable) GetMissAction() openflow.MissActionType
- func (m *MockTable) GetNext() openflow.TableIDType
- func (m *MockTable) Status() openflow.TableStatus
- type MockTableMockRecorder
- func (mr *MockTableMockRecorder) BuildFlow(arg0 interface{}) *gomock.Call
- func (mr *MockTableMockRecorder) GetID() *gomock.Call
- func (mr *MockTableMockRecorder) GetMissAction() *gomock.Call
- func (mr *MockTableMockRecorder) GetNext() *gomock.Call
- func (mr *MockTableMockRecorder) Status() *gomock.Call
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 openflow.TableIDType, arg2 int) 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) EXPECT ¶
func (m *MockAction) EXPECT() *MockActionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAction) LoadARPOperation ¶
func (m *MockAction) LoadARPOperation(arg0 uint16) openflow.FlowBuilder
LoadARPOperation mocks base method
func (*MockAction) LoadRange ¶
func (m *MockAction) LoadRange(arg0 string, arg1 uint64, arg2 openflow.Range) openflow.FlowBuilder
LoadRange mocks base method
func (*MockAction) LoadRegRange ¶
func (m *MockAction) LoadRegRange(arg0 int, arg1 uint32, arg2 openflow.Range) openflow.FlowBuilder
LoadRegRange 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) Normal ¶
func (m *MockAction) Normal() openflow.FlowBuilder
Normal mocks base method
func (*MockAction) Output ¶
func (m *MockAction) Output(arg0 int) 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) OutputRegRange ¶
func (m *MockAction) OutputRegRange(arg0 int, arg1 openflow.Range) openflow.FlowBuilder
OutputRegRange mocks base method
func (*MockAction) Resubmit ¶
func (m *MockAction) Resubmit(arg0 uint16, arg1 openflow.TableIDType) openflow.FlowBuilder
Resubmit mocks base method
func (*MockAction) ResubmitToTable ¶ added in v0.2.0
func (m *MockAction) ResubmitToTable(arg0 openflow.TableIDType) openflow.FlowBuilder
ResubmitToTable 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
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 interface{}) *gomock.Call
CT indicates an expected call of CT
func (*MockActionMockRecorder) Conjunction ¶
func (mr *MockActionMockRecorder) Conjunction(arg0, arg1, arg2 interface{}) *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) LoadARPOperation ¶
func (mr *MockActionMockRecorder) LoadARPOperation(arg0 interface{}) *gomock.Call
LoadARPOperation indicates an expected call of LoadARPOperation
func (*MockActionMockRecorder) LoadRange ¶
func (mr *MockActionMockRecorder) LoadRange(arg0, arg1, arg2 interface{}) *gomock.Call
LoadRange indicates an expected call of LoadRange
func (*MockActionMockRecorder) LoadRegRange ¶
func (mr *MockActionMockRecorder) LoadRegRange(arg0, arg1, arg2 interface{}) *gomock.Call
LoadRegRange indicates an expected call of LoadRegRange
func (*MockActionMockRecorder) Move ¶
func (mr *MockActionMockRecorder) Move(arg0, arg1 interface{}) *gomock.Call
Move indicates an expected call of Move
func (*MockActionMockRecorder) MoveRange ¶
func (mr *MockActionMockRecorder) MoveRange(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
MoveRange indicates an expected call of MoveRange
func (*MockActionMockRecorder) Normal ¶
func (mr *MockActionMockRecorder) Normal() *gomock.Call
Normal indicates an expected call of Normal
func (*MockActionMockRecorder) Output ¶
func (mr *MockActionMockRecorder) Output(arg0 interface{}) *gomock.Call
Output indicates an expected call of Output
func (*MockActionMockRecorder) OutputFieldRange ¶
func (mr *MockActionMockRecorder) OutputFieldRange(arg0, arg1 interface{}) *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) OutputRegRange ¶
func (mr *MockActionMockRecorder) OutputRegRange(arg0, arg1 interface{}) *gomock.Call
OutputRegRange indicates an expected call of OutputRegRange
func (*MockActionMockRecorder) Resubmit ¶
func (mr *MockActionMockRecorder) Resubmit(arg0, arg1 interface{}) *gomock.Call
Resubmit indicates an expected call of Resubmit
func (*MockActionMockRecorder) ResubmitToTable ¶ added in v0.2.0
func (mr *MockActionMockRecorder) ResubmitToTable(arg0 interface{}) *gomock.Call
ResubmitToTable indicates an expected call of ResubmitToTable
func (*MockActionMockRecorder) SetARPSha ¶
func (mr *MockActionMockRecorder) SetARPSha(arg0 interface{}) *gomock.Call
SetARPSha indicates an expected call of SetARPSha
func (*MockActionMockRecorder) SetARPSpa ¶
func (mr *MockActionMockRecorder) SetARPSpa(arg0 interface{}) *gomock.Call
SetARPSpa indicates an expected call of SetARPSpa
func (*MockActionMockRecorder) SetARPTha ¶
func (mr *MockActionMockRecorder) SetARPTha(arg0 interface{}) *gomock.Call
SetARPTha indicates an expected call of SetARPTha
func (*MockActionMockRecorder) SetARPTpa ¶
func (mr *MockActionMockRecorder) SetARPTpa(arg0 interface{}) *gomock.Call
SetARPTpa indicates an expected call of SetARPTpa
func (*MockActionMockRecorder) SetDstIP ¶
func (mr *MockActionMockRecorder) SetDstIP(arg0 interface{}) *gomock.Call
SetDstIP indicates an expected call of SetDstIP
func (*MockActionMockRecorder) SetDstMAC ¶
func (mr *MockActionMockRecorder) SetDstMAC(arg0 interface{}) *gomock.Call
SetDstMAC indicates an expected call of SetDstMAC
func (*MockActionMockRecorder) SetSrcIP ¶
func (mr *MockActionMockRecorder) SetSrcIP(arg0 interface{}) *gomock.Call
SetSrcIP indicates an expected call of SetSrcIP
func (*MockActionMockRecorder) SetSrcMAC ¶
func (mr *MockActionMockRecorder) SetSrcMAC(arg0 interface{}) *gomock.Call
SetSrcMAC indicates an expected call of SetSrcMAC
func (*MockActionMockRecorder) SetTunnelDst ¶
func (mr *MockActionMockRecorder) SetTunnelDst(arg0 interface{}) *gomock.Call
SetTunnelDst indicates an expected call of SetTunnelDst
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 ¶ added in v0.3.0
func (m *MockBridge) AddFlowsInBundle(arg0, arg1, arg2 []openflow.Flow) error
AddFlowsInBundle mocks base method
func (*MockBridge) Connect ¶
func (m *MockBridge) Connect(arg0 int, arg1 chan struct{}) error
Connect mocks base method
func (*MockBridge) CreateTable ¶
func (m *MockBridge) CreateTable(arg0, arg1 openflow.TableIDType, arg2 openflow.MissActionType) openflow.Table
CreateTable mocks base method
func (*MockBridge) DeleteFlowsByCookie ¶ added in v0.2.0
func (m *MockBridge) DeleteFlowsByCookie(arg0, arg1 uint64) error
DeleteFlowsByCookie mocks base method
func (*MockBridge) DeleteTable ¶
func (m *MockBridge) DeleteTable(arg0 openflow.TableIDType) bool
DeleteTable mocks base method
func (*MockBridge) Disconnect ¶
func (m *MockBridge) Disconnect() error
Disconnect mocks base method
func (*MockBridge) DumpFlows ¶ added in v0.2.0
func (m *MockBridge) DumpFlows(arg0, arg1 uint64) map[uint64]*openflow.FlowStates
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) IsConnected ¶ added in v0.2.0
func (m *MockBridge) IsConnected() bool
IsConnected mocks base method
type MockBridgeMockRecorder ¶
type MockBridgeMockRecorder struct {
// contains filtered or unexported fields
}
MockBridgeMockRecorder is the mock recorder for MockBridge
func (*MockBridgeMockRecorder) AddFlowsInBundle ¶ added in v0.3.0
func (mr *MockBridgeMockRecorder) AddFlowsInBundle(arg0, arg1, arg2 interface{}) *gomock.Call
AddFlowsInBundle indicates an expected call of AddFlowsInBundle
func (*MockBridgeMockRecorder) Connect ¶
func (mr *MockBridgeMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call
Connect indicates an expected call of Connect
func (*MockBridgeMockRecorder) CreateTable ¶
func (mr *MockBridgeMockRecorder) CreateTable(arg0, arg1, arg2 interface{}) *gomock.Call
CreateTable indicates an expected call of CreateTable
func (*MockBridgeMockRecorder) DeleteFlowsByCookie ¶ added in v0.2.0
func (mr *MockBridgeMockRecorder) DeleteFlowsByCookie(arg0, arg1 interface{}) *gomock.Call
DeleteFlowsByCookie indicates an expected call of DeleteFlowsByCookie
func (*MockBridgeMockRecorder) DeleteTable ¶
func (mr *MockBridgeMockRecorder) DeleteTable(arg0 interface{}) *gomock.Call
DeleteTable indicates an expected call of DeleteTable
func (*MockBridgeMockRecorder) Disconnect ¶
func (mr *MockBridgeMockRecorder) Disconnect() *gomock.Call
Disconnect indicates an expected call of Disconnect
func (*MockBridgeMockRecorder) DumpFlows ¶ added in v0.2.0
func (mr *MockBridgeMockRecorder) DumpFlows(arg0, arg1 interface{}) *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) IsConnected ¶ added in v0.2.0
func (mr *MockBridgeMockRecorder) IsConnected() *gomock.Call
IsConnected indicates an expected call of IsConnected
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) CopyToBuilder ¶
func (m *MockFlow) CopyToBuilder() openflow.FlowBuilder
CopyToBuilder 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) MatchString ¶
MatchString 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 ¶
func (m *MockFlowBuilder) EXPECT() *MockFlowBuilderMockRecorder
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) MatchCTMark ¶
func (m *MockFlowBuilder) MatchCTMark(arg0 uint32) openflow.FlowBuilder
MatchCTMark mocks base method
func (*MockFlowBuilder) MatchCTStateEst ¶ added in v0.2.0
func (m *MockFlowBuilder) MatchCTStateEst(arg0 bool) openflow.FlowBuilder
MatchCTStateEst mocks base method
func (*MockFlowBuilder) MatchCTStateInv ¶ added in v0.2.0
func (m *MockFlowBuilder) MatchCTStateInv(arg0 bool) openflow.FlowBuilder
MatchCTStateInv mocks base method
func (*MockFlowBuilder) MatchCTStateNew ¶ added in v0.2.0
func (m *MockFlowBuilder) MatchCTStateNew(arg0 bool) openflow.FlowBuilder
MatchCTStateNew mocks base method
func (*MockFlowBuilder) MatchCTStateRel ¶ added in v0.2.0
func (m *MockFlowBuilder) MatchCTStateRel(arg0 bool) openflow.FlowBuilder
MatchCTStateRel mocks base method
func (*MockFlowBuilder) MatchCTStateRpl ¶ added in v0.2.0
func (m *MockFlowBuilder) MatchCTStateRpl(arg0 bool) openflow.FlowBuilder
MatchCTStateRpl mocks base method
func (*MockFlowBuilder) MatchCTStateTrk ¶ added in v0.2.0
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) MatchInPort ¶
func (m *MockFlowBuilder) MatchInPort(arg0 uint32) openflow.FlowBuilder
MatchInPort mocks base method
func (*MockFlowBuilder) MatchProtocol ¶
func (m *MockFlowBuilder) MatchProtocol(arg0 string) openflow.FlowBuilder
MatchProtocol mocks base method
func (*MockFlowBuilder) MatchReg ¶
func (m *MockFlowBuilder) MatchReg(arg0 int, arg1 uint32) openflow.FlowBuilder
MatchReg mocks base method
func (*MockFlowBuilder) MatchRegRange ¶
func (m *MockFlowBuilder) MatchRegRange(arg0 int, arg1 uint32, arg2 openflow.Range) openflow.FlowBuilder
MatchRegRange mocks base method
func (*MockFlowBuilder) MatchSCTPDstPort ¶
func (m *MockFlowBuilder) MatchSCTPDstPort(arg0 uint16) openflow.FlowBuilder
MatchSCTPDstPort 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) MatchTCPDstPort ¶
func (m *MockFlowBuilder) MatchTCPDstPort(arg0 uint16) openflow.FlowBuilder
MatchTCPDstPort mocks base method
func (*MockFlowBuilder) MatchUDPDstPort ¶
func (m *MockFlowBuilder) MatchUDPDstPort(arg0 uint16) openflow.FlowBuilder
MatchUDPDstPort 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 interface{}) *gomock.Call
Cookie indicates an expected call of Cookie
func (*MockFlowBuilderMockRecorder) Done ¶
func (mr *MockFlowBuilderMockRecorder) Done() *gomock.Call
Done indicates an expected call of Done
func (*MockFlowBuilderMockRecorder) MatchARPOp ¶
func (mr *MockFlowBuilderMockRecorder) MatchARPOp(arg0 interface{}) *gomock.Call
MatchARPOp indicates an expected call of MatchARPOp
func (*MockFlowBuilderMockRecorder) MatchARPSha ¶
func (mr *MockFlowBuilderMockRecorder) MatchARPSha(arg0 interface{}) *gomock.Call
MatchARPSha indicates an expected call of MatchARPSha
func (*MockFlowBuilderMockRecorder) MatchARPSpa ¶
func (mr *MockFlowBuilderMockRecorder) MatchARPSpa(arg0 interface{}) *gomock.Call
MatchARPSpa indicates an expected call of MatchARPSpa
func (*MockFlowBuilderMockRecorder) MatchARPTha ¶
func (mr *MockFlowBuilderMockRecorder) MatchARPTha(arg0 interface{}) *gomock.Call
MatchARPTha indicates an expected call of MatchARPTha
func (*MockFlowBuilderMockRecorder) MatchARPTpa ¶
func (mr *MockFlowBuilderMockRecorder) MatchARPTpa(arg0 interface{}) *gomock.Call
MatchARPTpa indicates an expected call of MatchARPTpa
func (*MockFlowBuilderMockRecorder) MatchCTMark ¶
func (mr *MockFlowBuilderMockRecorder) MatchCTMark(arg0 interface{}) *gomock.Call
MatchCTMark indicates an expected call of MatchCTMark
func (*MockFlowBuilderMockRecorder) MatchCTStateEst ¶ added in v0.2.0
func (mr *MockFlowBuilderMockRecorder) MatchCTStateEst(arg0 interface{}) *gomock.Call
MatchCTStateEst indicates an expected call of MatchCTStateEst
func (*MockFlowBuilderMockRecorder) MatchCTStateInv ¶ added in v0.2.0
func (mr *MockFlowBuilderMockRecorder) MatchCTStateInv(arg0 interface{}) *gomock.Call
MatchCTStateInv indicates an expected call of MatchCTStateInv
func (*MockFlowBuilderMockRecorder) MatchCTStateNew ¶ added in v0.2.0
func (mr *MockFlowBuilderMockRecorder) MatchCTStateNew(arg0 interface{}) *gomock.Call
MatchCTStateNew indicates an expected call of MatchCTStateNew
func (*MockFlowBuilderMockRecorder) MatchCTStateRel ¶ added in v0.2.0
func (mr *MockFlowBuilderMockRecorder) MatchCTStateRel(arg0 interface{}) *gomock.Call
MatchCTStateRel indicates an expected call of MatchCTStateRel
func (*MockFlowBuilderMockRecorder) MatchCTStateRpl ¶ added in v0.2.0
func (mr *MockFlowBuilderMockRecorder) MatchCTStateRpl(arg0 interface{}) *gomock.Call
MatchCTStateRpl indicates an expected call of MatchCTStateRpl
func (*MockFlowBuilderMockRecorder) MatchCTStateTrk ¶ added in v0.2.0
func (mr *MockFlowBuilderMockRecorder) MatchCTStateTrk(arg0 interface{}) *gomock.Call
MatchCTStateTrk indicates an expected call of MatchCTStateTrk
func (*MockFlowBuilderMockRecorder) MatchConjID ¶
func (mr *MockFlowBuilderMockRecorder) MatchConjID(arg0 interface{}) *gomock.Call
MatchConjID indicates an expected call of MatchConjID
func (*MockFlowBuilderMockRecorder) MatchDstIP ¶
func (mr *MockFlowBuilderMockRecorder) MatchDstIP(arg0 interface{}) *gomock.Call
MatchDstIP indicates an expected call of MatchDstIP
func (*MockFlowBuilderMockRecorder) MatchDstIPNet ¶
func (mr *MockFlowBuilderMockRecorder) MatchDstIPNet(arg0 interface{}) *gomock.Call
MatchDstIPNet indicates an expected call of MatchDstIPNet
func (*MockFlowBuilderMockRecorder) MatchDstMAC ¶
func (mr *MockFlowBuilderMockRecorder) MatchDstMAC(arg0 interface{}) *gomock.Call
MatchDstMAC indicates an expected call of MatchDstMAC
func (*MockFlowBuilderMockRecorder) MatchInPort ¶
func (mr *MockFlowBuilderMockRecorder) MatchInPort(arg0 interface{}) *gomock.Call
MatchInPort indicates an expected call of MatchInPort
func (*MockFlowBuilderMockRecorder) MatchProtocol ¶
func (mr *MockFlowBuilderMockRecorder) MatchProtocol(arg0 interface{}) *gomock.Call
MatchProtocol indicates an expected call of MatchProtocol
func (*MockFlowBuilderMockRecorder) MatchReg ¶
func (mr *MockFlowBuilderMockRecorder) MatchReg(arg0, arg1 interface{}) *gomock.Call
MatchReg indicates an expected call of MatchReg
func (*MockFlowBuilderMockRecorder) MatchRegRange ¶
func (mr *MockFlowBuilderMockRecorder) MatchRegRange(arg0, arg1, arg2 interface{}) *gomock.Call
MatchRegRange indicates an expected call of MatchRegRange
func (*MockFlowBuilderMockRecorder) MatchSCTPDstPort ¶
func (mr *MockFlowBuilderMockRecorder) MatchSCTPDstPort(arg0 interface{}) *gomock.Call
MatchSCTPDstPort indicates an expected call of MatchSCTPDstPort
func (*MockFlowBuilderMockRecorder) MatchSrcIP ¶
func (mr *MockFlowBuilderMockRecorder) MatchSrcIP(arg0 interface{}) *gomock.Call
MatchSrcIP indicates an expected call of MatchSrcIP
func (*MockFlowBuilderMockRecorder) MatchSrcIPNet ¶
func (mr *MockFlowBuilderMockRecorder) MatchSrcIPNet(arg0 interface{}) *gomock.Call
MatchSrcIPNet indicates an expected call of MatchSrcIPNet
func (*MockFlowBuilderMockRecorder) MatchSrcMAC ¶
func (mr *MockFlowBuilderMockRecorder) MatchSrcMAC(arg0 interface{}) *gomock.Call
MatchSrcMAC indicates an expected call of MatchSrcMAC
func (*MockFlowBuilderMockRecorder) MatchTCPDstPort ¶
func (mr *MockFlowBuilderMockRecorder) MatchTCPDstPort(arg0 interface{}) *gomock.Call
MatchTCPDstPort indicates an expected call of MatchTCPDstPort
func (*MockFlowBuilderMockRecorder) MatchUDPDstPort ¶
func (mr *MockFlowBuilderMockRecorder) MatchUDPDstPort(arg0 interface{}) *gomock.Call
MatchUDPDstPort indicates an expected call of MatchUDPDstPort
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() *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) 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 ¶ added in v0.3.0
func (mr *MockFlowMockRecorder) Reset() *gomock.Call
Reset indicates an expected call of Reset
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) GetMissAction ¶
func (m *MockTable) GetMissAction() openflow.MissActionType
GetMissAction mocks base method
func (*MockTable) GetNext ¶
func (m *MockTable) GetNext() openflow.TableIDType
GetNext 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 interface{}) *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) GetNext ¶
func (mr *MockTableMockRecorder) GetNext() *gomock.Call
GetNext indicates an expected call of GetNext
func (*MockTableMockRecorder) Status ¶
func (mr *MockTableMockRecorder) Status() *gomock.Call
Status indicates an expected call of Status