Documentation ¶
Overview ¶
Package mockstatscollector is a generated GoMock package.
Index ¶
- type MockCollector
- func (m *MockCollector) CollectConnectionExceptionReport(report *collector.ConnectionExceptionReport)
- func (m *MockCollector) CollectContainerEvent(record *collector.ContainerRecord)
- func (m *MockCollector) CollectCounterEvent(counterReport *collector.CounterReport)
- func (m *MockCollector) CollectDNSRequests(request *collector.DNSRequestReport)
- func (m *MockCollector) CollectFlowEvent(record *collector.FlowRecord)
- func (m *MockCollector) CollectPacketEvent(report *collector.PacketReport)
- func (m *MockCollector) CollectPingEvent(report *collector.PingReport)
- func (m *MockCollector) CollectTraceEvent(records []string)
- func (m *MockCollector) CollectUserEvent(record *collector.UserRecord)
- func (m *MockCollector) Count() int
- func (m *MockCollector) EXPECT() *MockCollectorMockRecorder
- func (m *MockCollector) FlushUserCache()
- func (m *MockCollector) GetFlowRecords() map[uint64]*collector.FlowRecord
- func (m *MockCollector) GetReports() chan *statscollector.Report
- func (m *MockCollector) GetUserRecords() map[string]*collector.UserRecord
- type MockCollectorMockRecorder
- func (mr *MockCollectorMockRecorder) CollectConnectionExceptionReport(report interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) CollectContainerEvent(record interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) CollectCounterEvent(counterReport interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) CollectDNSRequests(request interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) CollectFlowEvent(record interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) CollectPacketEvent(report interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) CollectPingEvent(report interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) CollectTraceEvent(records interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) CollectUserEvent(record interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) Count() *gomock.Call
- func (mr *MockCollectorMockRecorder) FlushUserCache() *gomock.Call
- func (mr *MockCollectorMockRecorder) GetFlowRecords() *gomock.Call
- func (mr *MockCollectorMockRecorder) GetReports() *gomock.Call
- func (mr *MockCollectorMockRecorder) GetUserRecords() *gomock.Call
- type MockCollectorReader
- func (m *MockCollectorReader) Count() int
- func (m *MockCollectorReader) EXPECT() *MockCollectorReaderMockRecorder
- func (m *MockCollectorReader) FlushUserCache()
- func (m *MockCollectorReader) GetFlowRecords() map[uint64]*collector.FlowRecord
- func (m *MockCollectorReader) GetReports() chan *statscollector.Report
- func (m *MockCollectorReader) GetUserRecords() map[string]*collector.UserRecord
- type MockCollectorReaderMockRecorder
- func (mr *MockCollectorReaderMockRecorder) Count() *gomock.Call
- func (mr *MockCollectorReaderMockRecorder) FlushUserCache() *gomock.Call
- func (mr *MockCollectorReaderMockRecorder) GetFlowRecords() *gomock.Call
- func (mr *MockCollectorReaderMockRecorder) GetReports() *gomock.Call
- func (mr *MockCollectorReaderMockRecorder) GetUserRecords() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCollector ¶
type MockCollector struct {
// contains filtered or unexported fields
}
MockCollector is a mock of Collector interface nolint
func NewMockCollector ¶
func NewMockCollector(ctrl *gomock.Controller) *MockCollector
NewMockCollector creates a new mock instance nolint
func (*MockCollector) CollectConnectionExceptionReport ¶
func (m *MockCollector) CollectConnectionExceptionReport(report *collector.ConnectionExceptionReport)
CollectConnectionExceptionReport mocks base method nolint
func (*MockCollector) CollectContainerEvent ¶
func (m *MockCollector) CollectContainerEvent(record *collector.ContainerRecord)
CollectContainerEvent mocks base method nolint
func (*MockCollector) CollectCounterEvent ¶
func (m *MockCollector) CollectCounterEvent(counterReport *collector.CounterReport)
CollectCounterEvent mocks base method nolint
func (*MockCollector) CollectDNSRequests ¶
func (m *MockCollector) CollectDNSRequests(request *collector.DNSRequestReport)
CollectDNSRequests mocks base method nolint
func (*MockCollector) CollectFlowEvent ¶
func (m *MockCollector) CollectFlowEvent(record *collector.FlowRecord)
CollectFlowEvent mocks base method nolint
func (*MockCollector) CollectPacketEvent ¶
func (m *MockCollector) CollectPacketEvent(report *collector.PacketReport)
CollectPacketEvent mocks base method nolint
func (*MockCollector) CollectPingEvent ¶
func (m *MockCollector) CollectPingEvent(report *collector.PingReport)
CollectPingEvent mocks base method nolint
func (*MockCollector) CollectTraceEvent ¶
func (m *MockCollector) CollectTraceEvent(records []string)
CollectTraceEvent mocks base method nolint
func (*MockCollector) CollectUserEvent ¶
func (m *MockCollector) CollectUserEvent(record *collector.UserRecord)
CollectUserEvent mocks base method nolint
func (*MockCollector) EXPECT ¶
func (m *MockCollector) EXPECT() *MockCollectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockCollector) FlushUserCache ¶
func (m *MockCollector) FlushUserCache()
FlushUserCache mocks base method nolint
func (*MockCollector) GetFlowRecords ¶
func (m *MockCollector) GetFlowRecords() map[uint64]*collector.FlowRecord
GetFlowRecords mocks base method nolint
func (*MockCollector) GetReports ¶
func (m *MockCollector) GetReports() chan *statscollector.Report
GetReports mocks base method nolint
func (*MockCollector) GetUserRecords ¶
func (m *MockCollector) GetUserRecords() map[string]*collector.UserRecord
GetUserRecords mocks base method nolint
type MockCollectorMockRecorder ¶
type MockCollectorMockRecorder struct {
// contains filtered or unexported fields
}
MockCollectorMockRecorder is the mock recorder for MockCollector nolint
func (*MockCollectorMockRecorder) CollectConnectionExceptionReport ¶
func (mr *MockCollectorMockRecorder) CollectConnectionExceptionReport(report interface{}) *gomock.Call
CollectConnectionExceptionReport indicates an expected call of CollectConnectionExceptionReport nolint
func (*MockCollectorMockRecorder) CollectContainerEvent ¶
func (mr *MockCollectorMockRecorder) CollectContainerEvent(record interface{}) *gomock.Call
CollectContainerEvent indicates an expected call of CollectContainerEvent nolint
func (*MockCollectorMockRecorder) CollectCounterEvent ¶
func (mr *MockCollectorMockRecorder) CollectCounterEvent(counterReport interface{}) *gomock.Call
CollectCounterEvent indicates an expected call of CollectCounterEvent nolint
func (*MockCollectorMockRecorder) CollectDNSRequests ¶
func (mr *MockCollectorMockRecorder) CollectDNSRequests(request interface{}) *gomock.Call
CollectDNSRequests indicates an expected call of CollectDNSRequests nolint
func (*MockCollectorMockRecorder) CollectFlowEvent ¶
func (mr *MockCollectorMockRecorder) CollectFlowEvent(record interface{}) *gomock.Call
CollectFlowEvent indicates an expected call of CollectFlowEvent nolint
func (*MockCollectorMockRecorder) CollectPacketEvent ¶
func (mr *MockCollectorMockRecorder) CollectPacketEvent(report interface{}) *gomock.Call
CollectPacketEvent indicates an expected call of CollectPacketEvent nolint
func (*MockCollectorMockRecorder) CollectPingEvent ¶
func (mr *MockCollectorMockRecorder) CollectPingEvent(report interface{}) *gomock.Call
CollectPingEvent indicates an expected call of CollectPingEvent nolint
func (*MockCollectorMockRecorder) CollectTraceEvent ¶
func (mr *MockCollectorMockRecorder) CollectTraceEvent(records interface{}) *gomock.Call
CollectTraceEvent indicates an expected call of CollectTraceEvent nolint
func (*MockCollectorMockRecorder) CollectUserEvent ¶
func (mr *MockCollectorMockRecorder) CollectUserEvent(record interface{}) *gomock.Call
CollectUserEvent indicates an expected call of CollectUserEvent nolint
func (*MockCollectorMockRecorder) Count ¶
func (mr *MockCollectorMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count nolint
func (*MockCollectorMockRecorder) FlushUserCache ¶
func (mr *MockCollectorMockRecorder) FlushUserCache() *gomock.Call
FlushUserCache indicates an expected call of FlushUserCache nolint
func (*MockCollectorMockRecorder) GetFlowRecords ¶
func (mr *MockCollectorMockRecorder) GetFlowRecords() *gomock.Call
GetFlowRecords indicates an expected call of GetFlowRecords nolint
func (*MockCollectorMockRecorder) GetReports ¶
func (mr *MockCollectorMockRecorder) GetReports() *gomock.Call
GetReports indicates an expected call of GetReports nolint
func (*MockCollectorMockRecorder) GetUserRecords ¶
func (mr *MockCollectorMockRecorder) GetUserRecords() *gomock.Call
GetUserRecords indicates an expected call of GetUserRecords nolint
type MockCollectorReader ¶
type MockCollectorReader struct {
// contains filtered or unexported fields
}
MockCollectorReader is a mock of CollectorReader interface nolint
func NewMockCollectorReader ¶
func NewMockCollectorReader(ctrl *gomock.Controller) *MockCollectorReader
NewMockCollectorReader creates a new mock instance nolint
func (*MockCollectorReader) Count ¶
func (m *MockCollectorReader) Count() int
Count mocks base method nolint
func (*MockCollectorReader) EXPECT ¶
func (m *MockCollectorReader) EXPECT() *MockCollectorReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockCollectorReader) FlushUserCache ¶
func (m *MockCollectorReader) FlushUserCache()
FlushUserCache mocks base method nolint
func (*MockCollectorReader) GetFlowRecords ¶
func (m *MockCollectorReader) GetFlowRecords() map[uint64]*collector.FlowRecord
GetFlowRecords mocks base method nolint
func (*MockCollectorReader) GetReports ¶
func (m *MockCollectorReader) GetReports() chan *statscollector.Report
GetReports mocks base method nolint
func (*MockCollectorReader) GetUserRecords ¶
func (m *MockCollectorReader) GetUserRecords() map[string]*collector.UserRecord
GetUserRecords mocks base method nolint
type MockCollectorReaderMockRecorder ¶
type MockCollectorReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockCollectorReaderMockRecorder is the mock recorder for MockCollectorReader nolint
func (*MockCollectorReaderMockRecorder) Count ¶
func (mr *MockCollectorReaderMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count nolint
func (*MockCollectorReaderMockRecorder) FlushUserCache ¶
func (mr *MockCollectorReaderMockRecorder) FlushUserCache() *gomock.Call
FlushUserCache indicates an expected call of FlushUserCache nolint
func (*MockCollectorReaderMockRecorder) GetFlowRecords ¶
func (mr *MockCollectorReaderMockRecorder) GetFlowRecords() *gomock.Call
GetFlowRecords indicates an expected call of GetFlowRecords nolint
func (*MockCollectorReaderMockRecorder) GetReports ¶
func (mr *MockCollectorReaderMockRecorder) GetReports() *gomock.Call
GetReports indicates an expected call of GetReports nolint
func (*MockCollectorReaderMockRecorder) GetUserRecords ¶
func (mr *MockCollectorReaderMockRecorder) GetUserRecords() *gomock.Call
GetUserRecords indicates an expected call of GetUserRecords nolint