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.
Package mocks is a generated GoMock package.
Index ¶
- type MockAuth
- type MockAuthMockRecorder
- type MockCache
- func (m *MockCache) Delete(arg0 context.Context, arg1 string) error
- func (m *MockCache) EXPECT() *MockCacheMockRecorder
- func (m *MockCache) Get(arg0 context.Context, arg1 string) (string, error)
- func (m *MockCache) Lock(arg0 context.Context, arg1 string, arg2 time.Duration) (bool, error)
- func (m *MockCache) Once(arg0 context.Context, arg1 string, arg2 time.Duration, ...) (bool, error)
- func (m *MockCache) Set(arg0 context.Context, arg1, arg2 string, arg3 time.Duration) error
- func (m *MockCache) Unlock(arg0 context.Context, arg1 string, arg2 time.Duration) error
- type MockCacheMockRecorder
- func (mr *MockCacheMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Lock(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Once(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Set(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockCacheMockRecorder) Unlock(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockContextTagger
- type MockContextTaggerMockRecorder
- type MockDatabase
- type MockDatabaseMockRecorder
- type MockLogger
- func (m *MockLogger) Debug(arg0 context.Context, arg1 string, arg2 ...map[string]interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(arg0 context.Context, arg1 string, arg2 ...map[string]interface{})
- func (m *MockLogger) Info(arg0 context.Context, arg1 string, arg2 ...map[string]interface{})
- func (m *MockLogger) Warn(arg0 context.Context, arg1 string, arg2 ...map[string]interface{})
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockStream
- func (m *MockStream) AsyncSubscribe(arg0 context.Context, arg1, arg2 string, arg3 providers.MessageHandler) error
- func (m *MockStream) EXPECT() *MockStreamMockRecorder
- func (m *MockStream) Publish(arg0 context.Context, arg1 string, arg2 map[string]interface{}) error
- func (m *MockStream) Subscribe(arg0 context.Context, arg1, arg2 string, arg3 providers.MessageHandler) error
- type MockStreamMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuth ¶
type MockAuth struct {
// contains filtered or unexported fields
}
MockAuth is a mock of Auth interface.
func NewMockAuth ¶
func NewMockAuth(ctrl *gomock.Controller) *MockAuth
NewMockAuth creates a new mock instance.
func (*MockAuth) EXPECT ¶
func (m *MockAuth) EXPECT() *MockAuthMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockAuthMockRecorder ¶
type MockAuthMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthMockRecorder is the mock recorder for MockAuth.
func (*MockAuthMockRecorder) Auth ¶
func (mr *MockAuthMockRecorder) Auth(arg0, arg1 interface{}) *gomock.Call
Auth indicates an expected call of Auth.
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) EXPECT ¶
func (m *MockCache) EXPECT() *MockCacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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 ¶
func (m *MockContextTagger) EXPECT() *MockContextTaggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContextTagger) TagContext ¶
func (m *MockContextTagger) TagContext(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) EXPECT ¶
func (m *MockDatabase) EXPECT() *MockDatabaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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.
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) 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.