mock_eventfilter

package
v0.0.0-...-d841f61 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_eventfilter is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAdapter

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

MockAdapter is a mock of Adapter interface

func NewMockAdapter

func NewMockAdapter(ctrl *gomock.Controller) *MockAdapter

NewMockAdapter creates a new mock instance

func (*MockAdapter) EXPECT

func (m *MockAdapter) EXPECT() *MockAdapterMockRecorder

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

func (*MockAdapter) List

func (m *MockAdapter) List() ([]eventfilter.Rule, error)

List mocks base method

type MockAdapterMockRecorder

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

MockAdapterMockRecorder is the mock recorder for MockAdapter

func (*MockAdapterMockRecorder) List

func (mr *MockAdapterMockRecorder) List() *gomock.Call

List indicates an expected call of List

type MockService

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

MockService is a mock of Service interface

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) LoadDataSourceFactories

func (m *MockService) LoadDataSourceFactories(arg0 context0.EnrichmentCenter, arg1 context0.EnrichFields, arg2 string) error

LoadDataSourceFactories mocks base method

func (*MockService) LoadRules

func (m *MockService) LoadRules() error

LoadRules mocks base method

func (*MockService) ProcessEvent

func (m *MockService) ProcessEvent(arg0 context.Context, arg1 types.Event) (types.Event, eventfilter.Report, error)

ProcessEvent mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) LoadDataSourceFactories

func (mr *MockServiceMockRecorder) LoadDataSourceFactories(arg0, arg1, arg2 interface{}) *gomock.Call

LoadDataSourceFactories indicates an expected call of LoadDataSourceFactories

func (*MockServiceMockRecorder) LoadRules

func (mr *MockServiceMockRecorder) LoadRules() *gomock.Call

LoadRules indicates an expected call of LoadRules

func (*MockServiceMockRecorder) ProcessEvent

func (mr *MockServiceMockRecorder) ProcessEvent(arg0, arg1 interface{}) *gomock.Call

ProcessEvent indicates an expected call of ProcessEvent

Jump to

Keyboard shortcuts

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