Documentation ¶
Overview ¶
Automatically generated by MockGen. DO NOT EDIT! Source: collector/interfaces.go nolint
nolint
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEventCollector ¶ added in v1.0.40
type MockEventCollector struct {
// contains filtered or unexported fields
}
Mock of EventCollector interface
func NewMockEventCollector ¶ added in v1.0.40
func NewMockEventCollector(ctrl *gomock.Controller) *MockEventCollector
func (*MockEventCollector) CollectContainerEvent ¶ added in v1.0.40
func (_m *MockEventCollector) CollectContainerEvent(record *collector.ContainerRecord)
func (*MockEventCollector) CollectFlowEvent ¶ added in v1.0.40
func (_m *MockEventCollector) CollectFlowEvent(record *collector.FlowRecord)
func (*MockEventCollector) EXPECT ¶ added in v1.0.40
func (_m *MockEventCollector) EXPECT() *_MockEventCollectorRecorder
type MockMonitor ¶
type MockMonitor struct {
// contains filtered or unexported fields
}
Mock of Monitor interface
func NewMockMonitor ¶
func NewMockMonitor(ctrl *gomock.Controller) *MockMonitor
func (*MockMonitor) EXPECT ¶
func (_m *MockMonitor) EXPECT() *_MockMonitorRecorder
func (*MockMonitor) Start ¶
func (_m *MockMonitor) Start() error
func (*MockMonitor) Stop ¶
func (_m *MockMonitor) Stop() error
type MockProcessingUnitsHandler ¶
type MockProcessingUnitsHandler struct {
// contains filtered or unexported fields
}
Mock of ProcessingUnitsHandler interface
func NewMockProcessingUnitsHandler ¶
func NewMockProcessingUnitsHandler(ctrl *gomock.Controller) *MockProcessingUnitsHandler
func (*MockProcessingUnitsHandler) EXPECT ¶
func (_m *MockProcessingUnitsHandler) EXPECT() *_MockProcessingUnitsHandlerRecorder
func (*MockProcessingUnitsHandler) HandlePUEvent ¶
func (_m *MockProcessingUnitsHandler) HandlePUEvent(contextID string, event monitor.Event) error
func (*MockProcessingUnitsHandler) SetPURuntime ¶
func (_m *MockProcessingUnitsHandler) SetPURuntime(contextID string, runtimeInfo *policy.PURuntime) error
Click to show internal directories.
Click to hide internal directories.