Documentation ¶
Overview ¶
Package mockcollector is a generated GoMock package.
Index ¶
- type MockEventCollector
- func (m *MockEventCollector) CollectContainerEvent(record *collector.ContainerRecord)
- func (m *MockEventCollector) CollectCounterEvent(counterReport *collector.CounterReport)
- func (m *MockEventCollector) CollectDNSRequests(request *collector.DNSRequestReport)
- func (m *MockEventCollector) CollectFlowEvent(record *collector.FlowRecord)
- func (m *MockEventCollector) CollectPacketEvent(report *collector.PacketReport)
- func (m *MockEventCollector) CollectPingEvent(report *collector.PingReport)
- func (m *MockEventCollector) CollectTraceEvent(records []string)
- func (m *MockEventCollector) CollectUserEvent(record *collector.UserRecord)
- func (m *MockEventCollector) EXPECT() *MockEventCollectorMockRecorder
- type MockEventCollectorMockRecorder
- func (mr *MockEventCollectorMockRecorder) CollectContainerEvent(record interface{}) *gomock.Call
- func (mr *MockEventCollectorMockRecorder) CollectCounterEvent(counterReport interface{}) *gomock.Call
- func (mr *MockEventCollectorMockRecorder) CollectDNSRequests(request interface{}) *gomock.Call
- func (mr *MockEventCollectorMockRecorder) CollectFlowEvent(record interface{}) *gomock.Call
- func (mr *MockEventCollectorMockRecorder) CollectPacketEvent(report interface{}) *gomock.Call
- func (mr *MockEventCollectorMockRecorder) CollectPingEvent(report interface{}) *gomock.Call
- func (mr *MockEventCollectorMockRecorder) CollectTraceEvent(records interface{}) *gomock.Call
- func (mr *MockEventCollectorMockRecorder) CollectUserEvent(record interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventCollector ¶
type MockEventCollector struct {
// contains filtered or unexported fields
}
MockEventCollector is a mock of EventCollector interface nolint
func NewMockEventCollector ¶
func NewMockEventCollector(ctrl *gomock.Controller) *MockEventCollector
NewMockEventCollector creates a new mock instance nolint
func (*MockEventCollector) CollectContainerEvent ¶
func (m *MockEventCollector) CollectContainerEvent(record *collector.ContainerRecord)
CollectContainerEvent mocks base method nolint
func (*MockEventCollector) CollectCounterEvent ¶
func (m *MockEventCollector) CollectCounterEvent(counterReport *collector.CounterReport)
CollectCounterEvent mocks base method nolint
func (*MockEventCollector) CollectDNSRequests ¶
func (m *MockEventCollector) CollectDNSRequests(request *collector.DNSRequestReport)
CollectDNSRequests mocks base method nolint
func (*MockEventCollector) CollectFlowEvent ¶
func (m *MockEventCollector) CollectFlowEvent(record *collector.FlowRecord)
CollectFlowEvent mocks base method nolint
func (*MockEventCollector) CollectPacketEvent ¶
func (m *MockEventCollector) CollectPacketEvent(report *collector.PacketReport)
CollectPacketEvent mocks base method nolint
func (*MockEventCollector) CollectPingEvent ¶
func (m *MockEventCollector) CollectPingEvent(report *collector.PingReport)
CollectPingEvent mocks base method nolint
func (*MockEventCollector) CollectTraceEvent ¶
func (m *MockEventCollector) CollectTraceEvent(records []string)
CollectTraceEvent mocks base method nolint
func (*MockEventCollector) CollectUserEvent ¶
func (m *MockEventCollector) CollectUserEvent(record *collector.UserRecord)
CollectUserEvent mocks base method nolint
func (*MockEventCollector) EXPECT ¶
func (m *MockEventCollector) EXPECT() *MockEventCollectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
type MockEventCollectorMockRecorder ¶
type MockEventCollectorMockRecorder struct {
// contains filtered or unexported fields
}
MockEventCollectorMockRecorder is the mock recorder for MockEventCollector nolint
func (*MockEventCollectorMockRecorder) CollectContainerEvent ¶
func (mr *MockEventCollectorMockRecorder) CollectContainerEvent(record interface{}) *gomock.Call
CollectContainerEvent indicates an expected call of CollectContainerEvent nolint
func (*MockEventCollectorMockRecorder) CollectCounterEvent ¶
func (mr *MockEventCollectorMockRecorder) CollectCounterEvent(counterReport interface{}) *gomock.Call
CollectCounterEvent indicates an expected call of CollectCounterEvent nolint
func (*MockEventCollectorMockRecorder) CollectDNSRequests ¶
func (mr *MockEventCollectorMockRecorder) CollectDNSRequests(request interface{}) *gomock.Call
CollectDNSRequests indicates an expected call of CollectDNSRequests nolint
func (*MockEventCollectorMockRecorder) CollectFlowEvent ¶
func (mr *MockEventCollectorMockRecorder) CollectFlowEvent(record interface{}) *gomock.Call
CollectFlowEvent indicates an expected call of CollectFlowEvent nolint
func (*MockEventCollectorMockRecorder) CollectPacketEvent ¶
func (mr *MockEventCollectorMockRecorder) CollectPacketEvent(report interface{}) *gomock.Call
CollectPacketEvent indicates an expected call of CollectPacketEvent nolint
func (*MockEventCollectorMockRecorder) CollectPingEvent ¶
func (mr *MockEventCollectorMockRecorder) CollectPingEvent(report interface{}) *gomock.Call
CollectPingEvent indicates an expected call of CollectPingEvent nolint
func (*MockEventCollectorMockRecorder) CollectTraceEvent ¶
func (mr *MockEventCollectorMockRecorder) CollectTraceEvent(records interface{}) *gomock.Call
CollectTraceEvent indicates an expected call of CollectTraceEvent nolint
func (*MockEventCollectorMockRecorder) CollectUserEvent ¶
func (mr *MockEventCollectorMockRecorder) CollectUserEvent(record interface{}) *gomock.Call
CollectUserEvent indicates an expected call of CollectUserEvent nolint