Documentation ¶
Overview ¶
Package mockstatscollector is a generated GoMock package.
Index ¶
- type MockCollector
- func (m *MockCollector) CollectContainerEvent(record *collector.ContainerRecord)
- func (m *MockCollector) CollectFlowEvent(record *collector.FlowRecord)
- func (m *MockCollector) Count() int
- func (m *MockCollector) EXPECT() *MockCollectorMockRecorder
- func (m *MockCollector) GetAllRecords() map[string]*collector.FlowRecord
- type MockCollectorMockRecorder
- func (mr *MockCollectorMockRecorder) CollectContainerEvent(record interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) CollectFlowEvent(record interface{}) *gomock.Call
- func (mr *MockCollectorMockRecorder) Count() *gomock.Call
- func (mr *MockCollectorMockRecorder) GetAllRecords() *gomock.Call
- type MockCollectorReader
- type MockCollectorReaderMockRecorder
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) CollectFlowEvent ¶
func (m *MockCollector) CollectFlowEvent(record *collector.FlowRecord)
CollectFlowEvent 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) GetAllRecords ¶
func (m *MockCollector) GetAllRecords() map[string]*collector.FlowRecord
GetAllRecords 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) CollectFlowEvent ¶
func (mr *MockCollectorMockRecorder) CollectFlowEvent(record interface{}) *gomock.Call
CollectFlowEvent indicates an expected call of CollectFlowEvent nolint
func (*MockCollectorMockRecorder) Count ¶
func (mr *MockCollectorMockRecorder) Count() *gomock.Call
Count indicates an expected call of Count nolint
func (*MockCollectorMockRecorder) GetAllRecords ¶
func (mr *MockCollectorMockRecorder) GetAllRecords() *gomock.Call
GetAllRecords indicates an expected call of GetAllRecords 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) GetAllRecords ¶
func (m *MockCollectorReader) GetAllRecords() map[string]*collector.FlowRecord
GetAllRecords 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) GetAllRecords ¶
func (mr *MockCollectorReaderMockRecorder) GetAllRecords() *gomock.Call
GetAllRecords indicates an expected call of GetAllRecords nolint