Documentation ¶
Overview ¶
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 MockConnTrackDumper ¶
type MockConnTrackDumper struct {
// contains filtered or unexported fields
}
MockConnTrackDumper is a mock of ConnTrackDumper interface
func NewMockConnTrackDumper ¶
func NewMockConnTrackDumper(ctrl *gomock.Controller) *MockConnTrackDumper
NewMockConnTrackDumper creates a new mock instance
func (*MockConnTrackDumper) DumpFlows ¶
func (m *MockConnTrackDumper) DumpFlows(arg0 uint16) ([]*flowexporter.Connection, int, error)
DumpFlows mocks base method
func (*MockConnTrackDumper) EXPECT ¶
func (m *MockConnTrackDumper) EXPECT() *MockConnTrackDumperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConnTrackDumper) GetMaxConnections ¶
func (m *MockConnTrackDumper) GetMaxConnections() (int, error)
GetMaxConnections mocks base method
type MockConnTrackDumperMockRecorder ¶
type MockConnTrackDumperMockRecorder struct {
// contains filtered or unexported fields
}
MockConnTrackDumperMockRecorder is the mock recorder for MockConnTrackDumper
func (*MockConnTrackDumperMockRecorder) DumpFlows ¶
func (mr *MockConnTrackDumperMockRecorder) DumpFlows(arg0 interface{}) *gomock.Call
DumpFlows indicates an expected call of DumpFlows
func (*MockConnTrackDumperMockRecorder) GetMaxConnections ¶
func (mr *MockConnTrackDumperMockRecorder) GetMaxConnections() *gomock.Call
GetMaxConnections indicates an expected call of GetMaxConnections
type MockNetFilterConnTrack ¶
type MockNetFilterConnTrack struct {
// contains filtered or unexported fields
}
MockNetFilterConnTrack is a mock of NetFilterConnTrack interface
func NewMockNetFilterConnTrack ¶
func NewMockNetFilterConnTrack(ctrl *gomock.Controller) *MockNetFilterConnTrack
NewMockNetFilterConnTrack creates a new mock instance
func (*MockNetFilterConnTrack) Dial ¶
func (m *MockNetFilterConnTrack) Dial() error
Dial mocks base method
func (*MockNetFilterConnTrack) DumpFlowsInCtZone ¶
func (m *MockNetFilterConnTrack) DumpFlowsInCtZone(arg0 uint16) ([]*flowexporter.Connection, error)
DumpFlowsInCtZone mocks base method
func (*MockNetFilterConnTrack) EXPECT ¶
func (m *MockNetFilterConnTrack) EXPECT() *MockNetFilterConnTrackMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockNetFilterConnTrackMockRecorder ¶
type MockNetFilterConnTrackMockRecorder struct {
// contains filtered or unexported fields
}
MockNetFilterConnTrackMockRecorder is the mock recorder for MockNetFilterConnTrack
func (*MockNetFilterConnTrackMockRecorder) Dial ¶
func (mr *MockNetFilterConnTrackMockRecorder) Dial() *gomock.Call
Dial indicates an expected call of Dial
func (*MockNetFilterConnTrackMockRecorder) DumpFlowsInCtZone ¶
func (mr *MockNetFilterConnTrackMockRecorder) DumpFlowsInCtZone(arg0 interface{}) *gomock.Call
DumpFlowsInCtZone indicates an expected call of DumpFlowsInCtZone