mock

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEventStorage added in v0.2.0

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

MockEventStorage is a mock of EventStorage interface.

func NewMockEventStorage added in v0.2.0

func NewMockEventStorage(ctrl *gomock.Controller) *MockEventStorage

NewMockEventStorage creates a new mock instance.

func (*MockEventStorage) EXPECT added in v0.2.0

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

func (*MockEventStorage) QueryEvaluationCount added in v0.3.0

func (m *MockEventStorage) QueryEvaluationCount(ctx context.Context, environmentNamespace string, startAt, endAt time.Time, featureID string, featureVersion int32) ([]*v2.EvaluationEventCount, error)

QueryEvaluationCount mocks base method.

func (*MockEventStorage) QueryGoalCount added in v0.3.0

func (m *MockEventStorage) QueryGoalCount(ctx context.Context, environmentNamespace string, startAt, endAt time.Time, goalID, featureID string, featureVersion int32) ([]*v2.GoalEventCount, error)

QueryGoalCount mocks base method.

type MockEventStorageMockRecorder added in v0.2.0

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

MockEventStorageMockRecorder is the mock recorder for MockEventStorage.

func (*MockEventStorageMockRecorder) QueryEvaluationCount added in v0.3.0

func (mr *MockEventStorageMockRecorder) QueryEvaluationCount(ctx, environmentNamespace, startAt, endAt, featureID, featureVersion interface{}) *gomock.Call

QueryEvaluationCount indicates an expected call of QueryEvaluationCount.

func (*MockEventStorageMockRecorder) QueryGoalCount added in v0.3.0

func (mr *MockEventStorageMockRecorder) QueryGoalCount(ctx, environmentNamespace, startAt, endAt, goalID, featureID, featureVersion interface{}) *gomock.Call

QueryGoalCount indicates an expected call of QueryGoalCount.

type MockExperimentResultStorage

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

MockExperimentResultStorage is a mock of ExperimentResultStorage interface.

func NewMockExperimentResultStorage

func NewMockExperimentResultStorage(ctrl *gomock.Controller) *MockExperimentResultStorage

NewMockExperimentResultStorage creates a new mock instance.

func (*MockExperimentResultStorage) EXPECT

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

func (*MockExperimentResultStorage) GetExperimentResult

func (m *MockExperimentResultStorage) GetExperimentResult(ctx context.Context, id, environmentNamespace string) (*domain.ExperimentResult, error)

GetExperimentResult mocks base method.

type MockExperimentResultStorageMockRecorder

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

MockExperimentResultStorageMockRecorder is the mock recorder for MockExperimentResultStorage.

func (*MockExperimentResultStorageMockRecorder) GetExperimentResult

func (mr *MockExperimentResultStorageMockRecorder) GetExperimentResult(ctx, id, environmentNamespace interface{}) *gomock.Call

GetExperimentResult indicates an expected call of GetExperimentResult.

type MockMAUSummaryStorage added in v0.4.0

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

MockMAUSummaryStorage is a mock of MAUSummaryStorage interface.

func NewMockMAUSummaryStorage added in v0.4.0

func NewMockMAUSummaryStorage(ctrl *gomock.Controller) *MockMAUSummaryStorage

NewMockMAUSummaryStorage creates a new mock instance.

func (*MockMAUSummaryStorage) EXPECT added in v0.4.0

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

func (*MockMAUSummaryStorage) UpsertMAUSummary added in v0.4.0

func (m *MockMAUSummaryStorage) UpsertMAUSummary(ctx context.Context, mauSummary *eventcounter.MAUSummary) error

UpsertMAUSummary mocks base method.

type MockMAUSummaryStorageMockRecorder added in v0.4.0

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

MockMAUSummaryStorageMockRecorder is the mock recorder for MockMAUSummaryStorage.

func (*MockMAUSummaryStorageMockRecorder) UpsertMAUSummary added in v0.4.0

func (mr *MockMAUSummaryStorageMockRecorder) UpsertMAUSummary(ctx, mauSummary interface{}) *gomock.Call

UpsertMAUSummary indicates an expected call of UpsertMAUSummary.

type MockUserCountStorage added in v0.2.0

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

MockUserCountStorage is a mock of UserCountStorage interface.

func NewMockUserCountStorage added in v0.2.0

func NewMockUserCountStorage(ctrl *gomock.Controller) *MockUserCountStorage

NewMockUserCountStorage creates a new mock instance.

func (*MockUserCountStorage) EXPECT added in v0.2.0

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

func (*MockUserCountStorage) GetMAUCount added in v0.2.0

func (m *MockUserCountStorage) GetMAUCount(ctx context.Context, environmentNamespace, yearMonth string) (int64, int64, error)

GetMAUCount mocks base method.

func (*MockUserCountStorage) GetMAUCounts added in v0.4.0

func (m *MockUserCountStorage) GetMAUCounts(ctx context.Context, yearMonth string) ([]*eventcounter.MAUSummary, error)

GetMAUCounts mocks base method.

func (*MockUserCountStorage) GetMAUCountsGroupBySourceID added in v0.4.0

func (m *MockUserCountStorage) GetMAUCountsGroupBySourceID(ctx context.Context, yearMonth string) ([]*eventcounter.MAUSummary, error)

GetMAUCountsGroupBySourceID mocks base method.

type MockUserCountStorageMockRecorder added in v0.2.0

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

MockUserCountStorageMockRecorder is the mock recorder for MockUserCountStorage.

func (*MockUserCountStorageMockRecorder) GetMAUCount added in v0.2.0

func (mr *MockUserCountStorageMockRecorder) GetMAUCount(ctx, environmentNamespace, yearMonth interface{}) *gomock.Call

GetMAUCount indicates an expected call of GetMAUCount.

func (*MockUserCountStorageMockRecorder) GetMAUCounts added in v0.4.0

func (mr *MockUserCountStorageMockRecorder) GetMAUCounts(ctx, yearMonth interface{}) *gomock.Call

GetMAUCounts indicates an expected call of GetMAUCounts.

func (*MockUserCountStorageMockRecorder) GetMAUCountsGroupBySourceID added in v0.4.0

func (mr *MockUserCountStorageMockRecorder) GetMAUCountsGroupBySourceID(ctx, yearMonth interface{}) *gomock.Call

GetMAUCountsGroupBySourceID indicates an expected call of GetMAUCountsGroupBySourceID.

Jump to

Keyboard shortcuts

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