mock_enriching

package
v2.0.0-...-91315bd Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_enriching is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEnricher

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

MockEnricher is a mock of Enricher interface.

func NewMockEnricher

func NewMockEnricher(ctrl *gomock.Controller) *MockEnricher

NewMockEnricher creates a new mock instance.

func (*MockEnricher) EXPECT

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

func (*MockEnricher) Enrich

func (m *MockEnricher) Enrich(ctx context.Context, tenantID, leaderboardID string, members []*model.Member) ([]*model.Member, error)

Enrich mocks base method.

type MockEnricherCache

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

MockEnricherCache is a mock of EnricherCache interface.

func NewMockEnricherCache

func NewMockEnricherCache(ctrl *gomock.Controller) *MockEnricherCache

NewMockEnricherCache creates a new mock instance.

func (*MockEnricherCache) EXPECT

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

func (*MockEnricherCache) Get

func (m *MockEnricherCache) Get(ctx context.Context, tenantID string, members []*model.Member) (map[string]map[string]string, bool, error)

Get mocks base method.

func (*MockEnricherCache) Set

func (m *MockEnricherCache) Set(ctx context.Context, tenantID string, members []*model.Member, ttl time.Duration) error

Set mocks base method.

type MockEnricherCacheMockRecorder

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

MockEnricherCacheMockRecorder is the mock recorder for MockEnricherCache.

func (*MockEnricherCacheMockRecorder) Get

func (mr *MockEnricherCacheMockRecorder) Get(ctx, tenantID, members interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockEnricherCacheMockRecorder) Set

func (mr *MockEnricherCacheMockRecorder) Set(ctx, tenantID, members, ttl interface{}) *gomock.Call

Set indicates an expected call of Set.

type MockEnricherMockRecorder

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

MockEnricherMockRecorder is the mock recorder for MockEnricher.

func (*MockEnricherMockRecorder) Enrich

func (mr *MockEnricherMockRecorder) Enrich(ctx, tenantID, leaderboardID, members interface{}) *gomock.Call

Enrich indicates an expected call of Enrich.

Jump to

Keyboard shortcuts

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