event

package
Version: v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2021 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) PushEvaluationEvent

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

PushEvaluationEvent mocks base method

func (*MockProcessor) PushGetEvaluationLatencyMetricsEvent

func (m *MockProcessor) PushGetEvaluationLatencyMetricsEvent(ctx context.Context, duration time.Duration)

PushGetEvaluationLatencyMetricsEvent mocks base method

func (*MockProcessor) PushGetEvaluationSizeMetricsEvent

func (m *MockProcessor) PushGetEvaluationSizeMetricsEvent(ctx context.Context, sizeByte int)

PushGetEvaluationSizeMetricsEvent 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) PushInternalErrorCountMetricsEvent

func (m *MockProcessor) PushInternalErrorCountMetricsEvent(ctx context.Context)

PushInternalErrorCountMetricsEvent mocks base method

func (*MockProcessor) PushTimeoutErrorCountMetricsEvent

func (m *MockProcessor) PushTimeoutErrorCountMetricsEvent(ctx context.Context)

PushTimeoutErrorCountMetricsEvent 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) PushEvaluationEvent

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

PushEvaluationEvent indicates an expected call of PushEvaluationEvent

func (*MockProcessorMockRecorder) PushGetEvaluationLatencyMetricsEvent

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

PushGetEvaluationLatencyMetricsEvent indicates an expected call of PushGetEvaluationLatencyMetricsEvent

func (*MockProcessorMockRecorder) PushGetEvaluationSizeMetricsEvent

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

PushGetEvaluationSizeMetricsEvent indicates an expected call of PushGetEvaluationSizeMetricsEvent

func (*MockProcessorMockRecorder) PushGoalEvent

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

PushGoalEvent indicates an expected call of PushGoalEvent

func (*MockProcessorMockRecorder) PushInternalErrorCountMetricsEvent

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

PushInternalErrorCountMetricsEvent indicates an expected call of PushInternalErrorCountMetricsEvent

func (*MockProcessorMockRecorder) PushTimeoutErrorCountMetricsEvent

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

PushTimeoutErrorCountMetricsEvent indicates an expected call of PushTimeoutErrorCountMetricsEvent

Source Files

Jump to

Keyboard shortcuts

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