mockstatscollector

package
v10.248.7+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mockstatscollector is a generated GoMock package.

Index

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) 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) 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) Count

func (m *MockCollector) Count() int

Count mocks base method nolint

func (*MockCollector) EXPECT

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) GetAllCounterReports

func (m *MockCollector) GetAllCounterReports() []*collector.CounterReport

GetAllCounterReports mocks base method nolint

func (*MockCollector) GetAllDataPathPacketRecords

func (m *MockCollector) GetAllDataPathPacketRecords() []*collector.PacketReport

GetAllDataPathPacketRecords mocks base method nolint

func (*MockCollector) GetAllRecords

func (m *MockCollector) GetAllRecords() map[string]*collector.FlowRecord

GetAllRecords mocks base method nolint

func (*MockCollector) GetDNSReports

func (m *MockCollector) GetDNSReports() chan *collector.DNSRequestReport

GetDNSReports 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) 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) 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) GetAllCounterReports

func (mr *MockCollectorMockRecorder) GetAllCounterReports() *gomock.Call

GetAllCounterReports indicates an expected call of GetAllCounterReports nolint

func (*MockCollectorMockRecorder) GetAllDataPathPacketRecords

func (mr *MockCollectorMockRecorder) GetAllDataPathPacketRecords() *gomock.Call

GetAllDataPathPacketRecords indicates an expected call of GetAllDataPathPacketRecords nolint

func (*MockCollectorMockRecorder) GetAllRecords

func (mr *MockCollectorMockRecorder) GetAllRecords() *gomock.Call

GetAllRecords indicates an expected call of GetAllRecords nolint

func (*MockCollectorMockRecorder) GetDNSReports

func (mr *MockCollectorMockRecorder) GetDNSReports() *gomock.Call

GetDNSReports indicates an expected call of GetDNSReports 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

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) GetAllCounterReports

func (m *MockCollectorReader) GetAllCounterReports() []*collector.CounterReport

GetAllCounterReports mocks base method nolint

func (*MockCollectorReader) GetAllDataPathPacketRecords

func (m *MockCollectorReader) GetAllDataPathPacketRecords() []*collector.PacketReport

GetAllDataPathPacketRecords mocks base method nolint

func (*MockCollectorReader) GetAllRecords

func (m *MockCollectorReader) GetAllRecords() map[string]*collector.FlowRecord

GetAllRecords mocks base method nolint

func (*MockCollectorReader) GetDNSReports

func (m *MockCollectorReader) GetDNSReports() chan *collector.DNSRequestReport

GetDNSReports 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

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) GetAllCounterReports

func (mr *MockCollectorReaderMockRecorder) GetAllCounterReports() *gomock.Call

GetAllCounterReports indicates an expected call of GetAllCounterReports nolint

func (*MockCollectorReaderMockRecorder) GetAllDataPathPacketRecords

func (mr *MockCollectorReaderMockRecorder) GetAllDataPathPacketRecords() *gomock.Call

GetAllDataPathPacketRecords indicates an expected call of GetAllDataPathPacketRecords nolint

func (*MockCollectorReaderMockRecorder) GetAllRecords

func (mr *MockCollectorReaderMockRecorder) GetAllRecords() *gomock.Call

GetAllRecords indicates an expected call of GetAllRecords nolint

func (*MockCollectorReaderMockRecorder) GetDNSReports

func (mr *MockCollectorReaderMockRecorder) GetDNSReports() *gomock.Call

GetDNSReports indicates an expected call of GetDNSReports nolint

func (*MockCollectorReaderMockRecorder) GetUserRecords

func (mr *MockCollectorReaderMockRecorder) GetUserRecords() *gomock.Call

GetUserRecords indicates an expected call of GetUserRecords nolint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL