mocks

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCache

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

MockCache is a mock of Cache interface.

func NewMockCache

func NewMockCache(ctrl *gomock.Controller) *MockCache

NewMockCache creates a new mock instance.

func (*MockCache) Delete

func (m *MockCache) Delete(arg0 context.Context, arg1 string) error

Delete mocks base method.

func (*MockCache) EXPECT

func (m *MockCache) EXPECT() *MockCacheMockRecorder

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

func (*MockCache) Get

func (m *MockCache) Get(arg0 context.Context, arg1 string) (string, error)

Get mocks base method.

func (*MockCache) Lock

func (m *MockCache) Lock(arg0 context.Context, arg1 string, arg2 time.Duration) (bool, error)

Lock mocks base method.

func (*MockCache) Once

func (m *MockCache) Once(arg0 context.Context, arg1 string, arg2 time.Duration, arg3 func(context.Context) error) (bool, error)

Once mocks base method.

func (*MockCache) Set

func (m *MockCache) Set(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) error

Set mocks base method.

func (*MockCache) Unlock

func (m *MockCache) Unlock(arg0 context.Context, arg1 string, arg2 time.Duration) error

Unlock mocks base method.

type MockCacheMockRecorder

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

MockCacheMockRecorder is the mock recorder for MockCache.

func (*MockCacheMockRecorder) Delete

func (mr *MockCacheMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockCacheMockRecorder) Get

func (mr *MockCacheMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCacheMockRecorder) Lock

func (mr *MockCacheMockRecorder) Lock(arg0, arg1, arg2 interface{}) *gomock.Call

Lock indicates an expected call of Lock.

func (*MockCacheMockRecorder) Once

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

Once indicates an expected call of Once.

func (*MockCacheMockRecorder) Set

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

Set indicates an expected call of Set.

func (*MockCacheMockRecorder) Unlock

func (mr *MockCacheMockRecorder) Unlock(arg0, arg1, arg2 interface{}) *gomock.Call

Unlock indicates an expected call of Unlock.

type MockContextTagger

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

MockContextTagger is a mock of ContextTagger interface.

func NewMockContextTagger

func NewMockContextTagger(ctrl *gomock.Controller) *MockContextTagger

NewMockContextTagger creates a new mock instance.

func (*MockContextTagger) EXPECT

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

func (*MockContextTagger) NewTags added in v0.11.0

func (m *MockContextTagger) NewTags(arg0 context.Context) providers.Tags

TagContext mocks base method.

type MockContextTaggerMockRecorder

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

MockContextTaggerMockRecorder is the mock recorder for MockContextTagger.

func (*MockContextTaggerMockRecorder) TagContext

func (mr *MockContextTaggerMockRecorder) TagContext(arg0 interface{}) *gomock.Call

TagContext indicates an expected call of TagContext.

type MockDatabase

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

MockDatabase is a mock of Database interface.

func NewMockDatabase

func NewMockDatabase(ctrl *gomock.Controller) *MockDatabase

NewMockDatabase creates a new mock instance.

func (*MockDatabase) Close

func (m *MockDatabase) Close() error

Close mocks base method.

func (*MockDatabase) EXPECT

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

func (*MockDatabase) Migrate

func (m *MockDatabase) Migrate(arg0 context.Context) error

Migrate mocks base method.

type MockDatabaseMockRecorder

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

MockDatabaseMockRecorder is the mock recorder for MockDatabase.

func (*MockDatabaseMockRecorder) Close

func (mr *MockDatabaseMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockDatabaseMockRecorder) Migrate

func (mr *MockDatabaseMockRecorder) Migrate(arg0 interface{}) *gomock.Call

Migrate indicates an expected call of Migrate.

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debug

func (m *MockLogger) Debug(arg0 context.Context, arg1 string, arg2 ...map[string]interface{})

Debug mocks base method.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Error

func (m *MockLogger) Error(arg0 context.Context, arg1 string, arg2 ...map[string]interface{})

Error mocks base method.

func (*MockLogger) Info

func (m *MockLogger) Info(arg0 context.Context, arg1 string, arg2 ...map[string]interface{})

Info mocks base method.

func (*MockLogger) Warn

func (m *MockLogger) Warn(arg0 context.Context, arg1 string, arg2 ...map[string]interface{})

Warn mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debug

func (mr *MockLoggerMockRecorder) Debug(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Debug indicates an expected call of Debug.

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Error indicates an expected call of Error.

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockLoggerMockRecorder) Warn

func (mr *MockLoggerMockRecorder) Warn(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Warn indicates an expected call of Warn.

type MockStream

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

MockStream is a mock of Stream interface.

func NewMockStream

func NewMockStream(ctrl *gomock.Controller) *MockStream

NewMockStream creates a new mock instance.

func (*MockStream) AsyncSubscribe

func (m *MockStream) AsyncSubscribe(arg0 context.Context, arg1, arg2 string, arg3 providers.MessageHandler) error

AsyncSubscribe mocks base method.

func (*MockStream) EXPECT

func (m *MockStream) EXPECT() *MockStreamMockRecorder

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

func (*MockStream) Publish

func (m *MockStream) Publish(arg0 context.Context, arg1 string, arg2 map[string]interface{}) error

Publish mocks base method.

func (*MockStream) Subscribe

func (m *MockStream) Subscribe(arg0 context.Context, arg1, arg2 string, arg3 providers.MessageHandler) error

Subscribe mocks base method.

type MockStreamMockRecorder

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

MockStreamMockRecorder is the mock recorder for MockStream.

func (*MockStreamMockRecorder) AsyncSubscribe

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

AsyncSubscribe indicates an expected call of AsyncSubscribe.

func (*MockStreamMockRecorder) Publish

func (mr *MockStreamMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call

Publish indicates an expected call of Publish.

func (*MockStreamMockRecorder) Subscribe

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

Subscribe indicates an expected call of Subscribe.

Jump to

Keyboard shortcuts

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