Documentation ¶
Overview ¶
Package testing is a generated GoMock package.
Index ¶
- type MockConnTrackDumper
- type MockConnTrackDumperMockRecorder
- type MockConnectionStore
- func (m *MockConnectionStore) EXPECT() *MockConnectionStoreMockRecorder
- func (m *MockConnectionStore) ForAllConnectionsDo(arg0 flowexporter.ConnectionMapCallBack) error
- func (m *MockConnectionStore) GetConnByKey(arg0 flowexporter.ConnectionKey) (*flowexporter.Connection, bool)
- func (m *MockConnectionStore) Run(arg0 <-chan struct{})
- func (m *MockConnectionStore) SetExportDone(arg0 flowexporter.ConnectionKey) error
- type MockConnectionStoreMockRecorder
- func (mr *MockConnectionStoreMockRecorder) ForAllConnectionsDo(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionStoreMockRecorder) GetConnByKey(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionStoreMockRecorder) Run(arg0 interface{}) *gomock.Call
- func (mr *MockConnectionStoreMockRecorder) SetExportDone(arg0 interface{}) *gomock.Call
- type MockNetFilterConnTrack
- type MockNetFilterConnTrackMockRecorder
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 ¶ added in v0.10.0
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 ¶ added in v0.10.0
func (mr *MockConnTrackDumperMockRecorder) GetMaxConnections() *gomock.Call
GetMaxConnections indicates an expected call of GetMaxConnections
type MockConnectionStore ¶ added in v1.0.0
type MockConnectionStore struct {
// contains filtered or unexported fields
}
MockConnectionStore is a mock of ConnectionStore interface
func NewMockConnectionStore ¶ added in v1.0.0
func NewMockConnectionStore(ctrl *gomock.Controller) *MockConnectionStore
NewMockConnectionStore creates a new mock instance
func (*MockConnectionStore) EXPECT ¶ added in v1.0.0
func (m *MockConnectionStore) EXPECT() *MockConnectionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConnectionStore) ForAllConnectionsDo ¶ added in v1.0.0
func (m *MockConnectionStore) ForAllConnectionsDo(arg0 flowexporter.ConnectionMapCallBack) error
ForAllConnectionsDo mocks base method
func (*MockConnectionStore) GetConnByKey ¶ added in v1.0.0
func (m *MockConnectionStore) GetConnByKey(arg0 flowexporter.ConnectionKey) (*flowexporter.Connection, bool)
GetConnByKey mocks base method
func (*MockConnectionStore) Run ¶ added in v1.0.0
func (m *MockConnectionStore) Run(arg0 <-chan struct{})
Run mocks base method
func (*MockConnectionStore) SetExportDone ¶ added in v1.0.0
func (m *MockConnectionStore) SetExportDone(arg0 flowexporter.ConnectionKey) error
SetExportDone mocks base method
type MockConnectionStoreMockRecorder ¶ added in v1.0.0
type MockConnectionStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionStoreMockRecorder is the mock recorder for MockConnectionStore
func (*MockConnectionStoreMockRecorder) ForAllConnectionsDo ¶ added in v1.0.0
func (mr *MockConnectionStoreMockRecorder) ForAllConnectionsDo(arg0 interface{}) *gomock.Call
ForAllConnectionsDo indicates an expected call of ForAllConnectionsDo
func (*MockConnectionStoreMockRecorder) GetConnByKey ¶ added in v1.0.0
func (mr *MockConnectionStoreMockRecorder) GetConnByKey(arg0 interface{}) *gomock.Call
GetConnByKey indicates an expected call of GetConnByKey
func (*MockConnectionStoreMockRecorder) Run ¶ added in v1.0.0
func (mr *MockConnectionStoreMockRecorder) Run(arg0 interface{}) *gomock.Call
Run indicates an expected call of Run
func (*MockConnectionStoreMockRecorder) SetExportDone ¶ added in v1.0.0
func (mr *MockConnectionStoreMockRecorder) SetExportDone(arg0 interface{}) *gomock.Call
SetExportDone indicates an expected call of SetExportDone
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 ¶ added in v0.11.0
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 ¶ added in v0.11.0
func (mr *MockNetFilterConnTrackMockRecorder) DumpFlowsInCtZone(arg0 interface{}) *gomock.Call
DumpFlowsInCtZone indicates an expected call of DumpFlowsInCtZone