trireme-lib: go.aporeto.io/trireme-lib/controller/pkg/remoteenforcer/internal/statscollector/mockstatscollector Index | Files

package mockstatscollector

import "go.aporeto.io/trireme-lib/controller/pkg/remoteenforcer/internal/statscollector/mockstatscollector"

Package mockstatscollector is a generated GoMock package.

Index

Package Files

mockstatscollector.go

type MockCollector Uses

type MockCollector struct {
    // contains filtered or unexported fields
}

MockCollector is a mock of Collector interface nolint

func NewMockCollector Uses

func NewMockCollector(ctrl *gomock.Controller) *MockCollector

NewMockCollector creates a new mock instance nolint

func (*MockCollector) CollectContainerEvent Uses

func (m *MockCollector) CollectContainerEvent(record *collector.ContainerRecord)

CollectContainerEvent mocks base method nolint

func (*MockCollector) CollectCounterEvent Uses

func (m *MockCollector) CollectCounterEvent(counterReport *collector.CounterReport)

CollectCounterEvent mocks base method nolint

func (*MockCollector) CollectDNSRequests Uses

func (m *MockCollector) CollectDNSRequests(record *collector.DNSRequestReport)

CollectDNSRequests mocks base method nolint

func (*MockCollector) CollectFlowEvent Uses

func (m *MockCollector) CollectFlowEvent(record *collector.FlowRecord)

CollectFlowEvent mocks base method nolint

func (*MockCollector) CollectPacketEvent Uses

func (m *MockCollector) CollectPacketEvent(report *collector.PacketReport)

CollectPacketEvent mocks base method nolint

func (*MockCollector) CollectTraceEvent Uses

func (m *MockCollector) CollectTraceEvent(records []string)

CollectTraceEvent mocks base method nolint

func (*MockCollector) CollectUserEvent Uses

func (m *MockCollector) CollectUserEvent(record *collector.UserRecord)

CollectUserEvent mocks base method nolint

func (*MockCollector) Count Uses

func (m *MockCollector) Count() int

Count mocks base method nolint

func (*MockCollector) EXPECT Uses

func (m *MockCollector) EXPECT() *MockCollectorMockRecorder

EXPECT returns an object that allows the caller to indicate expected use nolint

func (*MockCollector) FlushUserCache Uses

func (m *MockCollector) FlushUserCache()

FlushUserCache mocks base method nolint

func (*MockCollector) GetAllCounterReports Uses

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

GetAllCounterReports mocks base method nolint

func (*MockCollector) GetAllDataPathPacketRecords Uses

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

GetAllDataPathPacketRecords mocks base method nolint

func (*MockCollector) GetAllRecords Uses

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

GetAllRecords mocks base method nolint

func (*MockCollector) GetDNSReports Uses

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

GetDNSReports mocks base method nolint

func (*MockCollector) GetUserRecords Uses

func (m *MockCollector) GetUserRecords() map[string]*collector.UserRecord

GetUserRecords mocks base method nolint

type MockCollectorMockRecorder Uses

type MockCollectorMockRecorder struct {
    // contains filtered or unexported fields
}

MockCollectorMockRecorder is the mock recorder for MockCollector nolint

func (*MockCollectorMockRecorder) CollectContainerEvent Uses

func (mr *MockCollectorMockRecorder) CollectContainerEvent(record interface{}) *gomock.Call

CollectContainerEvent indicates an expected call of CollectContainerEvent nolint

func (*MockCollectorMockRecorder) CollectCounterEvent Uses

func (mr *MockCollectorMockRecorder) CollectCounterEvent(counterReport interface{}) *gomock.Call

CollectCounterEvent indicates an expected call of CollectCounterEvent nolint

func (*MockCollectorMockRecorder) CollectFlowEvent Uses

func (mr *MockCollectorMockRecorder) CollectFlowEvent(record interface{}) *gomock.Call

CollectFlowEvent indicates an expected call of CollectFlowEvent nolint

func (*MockCollectorMockRecorder) CollectPacketEvent Uses

func (mr *MockCollectorMockRecorder) CollectPacketEvent(report interface{}) *gomock.Call

CollectPacketEvent indicates an expected call of CollectPacketEvent nolint

func (*MockCollectorMockRecorder) CollectTraceEvent Uses

func (mr *MockCollectorMockRecorder) CollectTraceEvent(records interface{}) *gomock.Call

CollectTraceEvent indicates an expected call of CollectTraceEvent nolint

func (*MockCollectorMockRecorder) CollectUserEvent Uses

func (mr *MockCollectorMockRecorder) CollectUserEvent(record interface{}) *gomock.Call

CollectUserEvent indicates an expected call of CollectUserEvent nolint

func (*MockCollectorMockRecorder) Count Uses

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

Count indicates an expected call of Count nolint

func (*MockCollectorMockRecorder) FlushUserCache Uses

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

FlushUserCache indicates an expected call of FlushUserCache nolint

func (*MockCollectorMockRecorder) GetAllCounterReports Uses

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

GetAllCounterReports indicates an expected call of GetAllCounterReports nolint

func (*MockCollectorMockRecorder) GetAllDataPathPacketRecords Uses

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

GetAllDataPathPacketRecords indicates an expected call of GetAllDataPathPacketRecords nolint

func (*MockCollectorMockRecorder) GetAllRecords Uses

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

GetAllRecords indicates an expected call of GetAllRecords nolint

func (*MockCollectorMockRecorder) GetUserRecords Uses

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

GetUserRecords indicates an expected call of GetUserRecords nolint

type MockCollectorReader Uses

type MockCollectorReader struct {
    // contains filtered or unexported fields
}

MockCollectorReader is a mock of CollectorReader interface nolint

func NewMockCollectorReader Uses

func NewMockCollectorReader(ctrl *gomock.Controller) *MockCollectorReader

NewMockCollectorReader creates a new mock instance nolint

func (*MockCollectorReader) Count Uses

func (m *MockCollectorReader) Count() int

Count mocks base method nolint

func (*MockCollectorReader) EXPECT Uses

func (m *MockCollectorReader) EXPECT() *MockCollectorReaderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use nolint

func (*MockCollectorReader) FlushUserCache Uses

func (m *MockCollectorReader) FlushUserCache()

FlushUserCache mocks base method nolint

func (*MockCollectorReader) GetAllCounterReports Uses

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

GetAllCounterReports mocks base method nolint

func (*MockCollectorReader) GetAllDataPathPacketRecords Uses

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

GetAllDataPathPacketRecords mocks base method nolint

func (*MockCollectorReader) GetAllRecords Uses

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

GetAllRecords mocks base method nolint

func (*MockCollectorReader) GetUserRecords Uses

func (m *MockCollectorReader) GetUserRecords() map[string]*collector.UserRecord

GetUserRecords mocks base method nolint

type MockCollectorReaderMockRecorder Uses

type MockCollectorReaderMockRecorder struct {
    // contains filtered or unexported fields
}

MockCollectorReaderMockRecorder is the mock recorder for MockCollectorReader nolint

func (*MockCollectorReaderMockRecorder) Count Uses

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

Count indicates an expected call of Count nolint

func (*MockCollectorReaderMockRecorder) FlushUserCache Uses

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

FlushUserCache indicates an expected call of FlushUserCache nolint

func (*MockCollectorReaderMockRecorder) GetAllCounterReports Uses

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

GetAllCounterReports indicates an expected call of GetAllCounterReports nolint

func (*MockCollectorReaderMockRecorder) GetAllDataPathPacketRecords Uses

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

GetAllDataPathPacketRecords indicates an expected call of GetAllDataPathPacketRecords nolint

func (*MockCollectorReaderMockRecorder) GetAllRecords Uses

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

GetAllRecords indicates an expected call of GetAllRecords nolint

func (*MockCollectorReaderMockRecorder) GetUserRecords Uses

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

GetUserRecords indicates an expected call of GetUserRecords nolint

Package mockstatscollector imports 3 packages (graph). Updated 2019-09-12. Refresh now. Tools for package owners.