mock_eventfilter

package
v0.0.0-...-9b5cd94 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 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 MockActionProcessor

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

MockActionProcessor is a mock of ActionProcessor interface.

func NewMockActionProcessor

func NewMockActionProcessor(ctrl *gomock.Controller) *MockActionProcessor

NewMockActionProcessor creates a new mock instance.

func (*MockActionProcessor) EXPECT

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

func (*MockActionProcessor) Process

func (m *MockActionProcessor) Process(arg0 context.Context, arg1 string, arg2 eventfilter.ParsedAction, arg3 *types.Event, arg4 eventfilter.RegexMatch, arg5 map[string]interface{}) (bool, error)

Process mocks base method.

type MockActionProcessorMockRecorder

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

MockActionProcessorMockRecorder is the mock recorder for MockActionProcessor.

func (*MockActionProcessorMockRecorder) Process

func (mr *MockActionProcessorMockRecorder) Process(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Process indicates an expected call of Process.

type MockEventCounter

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

MockEventCounter is a mock of EventCounter interface.

func NewMockEventCounter

func NewMockEventCounter(ctrl *gomock.Controller) *MockEventCounter

NewMockEventCounter creates a new mock instance.

func (*MockEventCounter) Add

func (m *MockEventCounter) Add(arg0 string, arg1 datetime.CpsTime)

Add mocks base method.

func (*MockEventCounter) EXPECT

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

func (*MockEventCounter) Run

func (m *MockEventCounter) Run(arg0 context.Context)

Run mocks base method.

type MockEventCounterMockRecorder

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

MockEventCounterMockRecorder is the mock recorder for MockEventCounter.

func (*MockEventCounterMockRecorder) Add

func (mr *MockEventCounterMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockEventCounterMockRecorder) Run

func (mr *MockEventCounterMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockExternalDataGetter

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

MockExternalDataGetter is a mock of ExternalDataGetter interface.

func NewMockExternalDataGetter

func NewMockExternalDataGetter(ctrl *gomock.Controller) *MockExternalDataGetter

NewMockExternalDataGetter creates a new mock instance.

func (*MockExternalDataGetter) EXPECT

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

func (*MockExternalDataGetter) Get

func (m *MockExternalDataGetter) Get(arg0 context.Context, arg1, arg2 string, arg3 *types.Event, arg4 eventfilter.ParsedExternalDataParameters, arg5 eventfilter.Template) (interface{}, error)

Get mocks base method.

type MockExternalDataGetterMockRecorder

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

MockExternalDataGetterMockRecorder is the mock recorder for MockExternalDataGetter.

func (*MockExternalDataGetterMockRecorder) Get

func (mr *MockExternalDataGetterMockRecorder) Get(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

Get indicates an expected call of Get.

type MockFailureService

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

MockFailureService is a mock of FailureService interface.

func NewMockFailureService

func NewMockFailureService(ctrl *gomock.Controller) *MockFailureService

NewMockFailureService creates a new mock instance.

func (*MockFailureService) Add

func (m *MockFailureService) Add(arg0 string, arg1 int64, arg2 string, arg3 *types.Event)

Add mocks base method.

func (*MockFailureService) EXPECT

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

func (*MockFailureService) Run

func (m *MockFailureService) Run(arg0 context.Context)

Run mocks base method.

type MockFailureServiceMockRecorder

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

MockFailureServiceMockRecorder is the mock recorder for MockFailureService.

func (*MockFailureServiceMockRecorder) Add

func (mr *MockFailureServiceMockRecorder) Add(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockFailureServiceMockRecorder) Run

func (mr *MockFailureServiceMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockRuleAdapter

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

MockRuleAdapter is a mock of RuleAdapter interface.

func NewMockRuleAdapter

func NewMockRuleAdapter(ctrl *gomock.Controller) *MockRuleAdapter

NewMockRuleAdapter creates a new mock instance.

func (*MockRuleAdapter) EXPECT

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

func (*MockRuleAdapter) GetAll

func (m *MockRuleAdapter) GetAll(arg0 context.Context) ([]eventfilter.Rule, error)

GetAll mocks base method.

func (*MockRuleAdapter) GetByTypes

func (m *MockRuleAdapter) GetByTypes(arg0 context.Context, arg1 []string) ([]eventfilter.Rule, error)

GetByTypes mocks base method.

type MockRuleAdapterMockRecorder

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

MockRuleAdapterMockRecorder is the mock recorder for MockRuleAdapter.

func (*MockRuleAdapterMockRecorder) GetAll

func (mr *MockRuleAdapterMockRecorder) GetAll(arg0 interface{}) *gomock.Call

GetAll indicates an expected call of GetAll.

func (*MockRuleAdapterMockRecorder) GetByTypes

func (mr *MockRuleAdapterMockRecorder) GetByTypes(arg0, arg1 interface{}) *gomock.Call

GetByTypes indicates an expected call of GetByTypes.

type MockRuleApplicator

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

MockRuleApplicator is a mock of RuleApplicator interface.

func NewMockRuleApplicator

func NewMockRuleApplicator(ctrl *gomock.Controller) *MockRuleApplicator

NewMockRuleApplicator creates a new mock instance.

func (*MockRuleApplicator) Apply

Apply mocks base method.

func (*MockRuleApplicator) EXPECT

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

type MockRuleApplicatorContainer

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

MockRuleApplicatorContainer is a mock of RuleApplicatorContainer interface.

func NewMockRuleApplicatorContainer

func NewMockRuleApplicatorContainer(ctrl *gomock.Controller) *MockRuleApplicatorContainer

NewMockRuleApplicatorContainer creates a new mock instance.

func (*MockRuleApplicatorContainer) EXPECT

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

func (*MockRuleApplicatorContainer) Get

Get mocks base method.

func (*MockRuleApplicatorContainer) Set

Set mocks base method.

type MockRuleApplicatorContainerMockRecorder

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

MockRuleApplicatorContainerMockRecorder is the mock recorder for MockRuleApplicatorContainer.

func (*MockRuleApplicatorContainerMockRecorder) Get

func (mr *MockRuleApplicatorContainerMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockRuleApplicatorContainerMockRecorder) Set

func (mr *MockRuleApplicatorContainerMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockRuleApplicatorMockRecorder

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

MockRuleApplicatorMockRecorder is the mock recorder for MockRuleApplicator.

func (*MockRuleApplicatorMockRecorder) Apply

func (mr *MockRuleApplicatorMockRecorder) Apply(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Apply indicates an expected call of Apply.

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

func (m *MockService) LoadRules(arg0 context.Context, arg1 []string) error

LoadRules mocks base method.

func (*MockService) ProcessEvent

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

ProcessEvent mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) LoadRules

func (mr *MockServiceMockRecorder) LoadRules(arg0, arg1 interface{}) *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