event

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package event is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProcessor

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

MockProcessor is a mock of Processor interface.

func NewMockProcessor

func NewMockProcessor(ctrl *gomock.Controller) *MockProcessor

NewMockProcessor creates a new mock instance.

func (*MockProcessor) Close

func (m *MockProcessor) Close(ctx context.Context) error

Close mocks base method.

func (*MockProcessor) EXPECT

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

func (*MockProcessor) PushDefaultEvaluationEvent

func (m *MockProcessor) PushDefaultEvaluationEvent(ctx context.Context, user *user.User, featureID string)

PushDefaultEvaluationEvent mocks base method.

func (*MockProcessor) PushErrorEvent added in v1.3.4

func (m *MockProcessor) PushErrorEvent(ctx context.Context, err error, api model.APIID)

PushErrorEvent mocks base method.

func (*MockProcessor) PushEvaluationEvent

func (m *MockProcessor) PushEvaluationEvent(ctx context.Context, user *user.User, evaluation *model.Evaluation)

PushEvaluationEvent mocks base method.

func (*MockProcessor) PushGoalEvent

func (m *MockProcessor) PushGoalEvent(ctx context.Context, user *user.User, GoalID string, value float64)

PushGoalEvent mocks base method.

func (*MockProcessor) PushLatencyMetricsEvent added in v1.3.4

func (m *MockProcessor) PushLatencyMetricsEvent(ctx context.Context, duration time.Duration, api model.APIID)

PushLatencyMetricsEvent mocks base method.

func (*MockProcessor) PushSizeMetricsEvent added in v1.3.4

func (m *MockProcessor) PushSizeMetricsEvent(ctx context.Context, sizeByte int, api model.APIID)

PushSizeMetricsEvent mocks base method.

type MockProcessorMockRecorder

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

MockProcessorMockRecorder is the mock recorder for MockProcessor.

func (*MockProcessorMockRecorder) Close

func (mr *MockProcessorMockRecorder) Close(ctx interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockProcessorMockRecorder) PushDefaultEvaluationEvent

func (mr *MockProcessorMockRecorder) PushDefaultEvaluationEvent(ctx, user, featureID interface{}) *gomock.Call

PushDefaultEvaluationEvent indicates an expected call of PushDefaultEvaluationEvent.

func (*MockProcessorMockRecorder) PushErrorEvent added in v1.3.4

func (mr *MockProcessorMockRecorder) PushErrorEvent(ctx, err, api interface{}) *gomock.Call

PushErrorEvent indicates an expected call of PushErrorEvent.

func (*MockProcessorMockRecorder) PushEvaluationEvent

func (mr *MockProcessorMockRecorder) PushEvaluationEvent(ctx, user, evaluation interface{}) *gomock.Call

PushEvaluationEvent indicates an expected call of PushEvaluationEvent.

func (*MockProcessorMockRecorder) PushGoalEvent

func (mr *MockProcessorMockRecorder) PushGoalEvent(ctx, user, GoalID, value interface{}) *gomock.Call

PushGoalEvent indicates an expected call of PushGoalEvent.

func (*MockProcessorMockRecorder) PushLatencyMetricsEvent added in v1.3.4

func (mr *MockProcessorMockRecorder) PushLatencyMetricsEvent(ctx, duration, api interface{}) *gomock.Call

PushLatencyMetricsEvent indicates an expected call of PushLatencyMetricsEvent.

func (*MockProcessorMockRecorder) PushSizeMetricsEvent added in v1.3.4

func (mr *MockProcessorMockRecorder) PushSizeMetricsEvent(ctx, sizeByte, api interface{}) *gomock.Call

PushSizeMetricsEvent indicates an expected call of PushSizeMetricsEvent.

Jump to

Keyboard shortcuts

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