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.
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.
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.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type ExampleMockJob
- type MockDB
- func (m *MockDB) Clone() db.DB
- func (m *MockDB) Close()
- func (m *MockDB) Copy() db.DB
- func (m *MockDB) Devices() db.DeviceManager
- func (m *MockDB) EXPECT() *MockDBMockRecorder
- func (m *MockDB) Migrations() db.MigrationManager
- func (m *MockDB) Permissions() db.PermissionManager
- func (m *MockDB) RefreshTokens() db.RefreshTokenManager
- func (m *MockDB) Users() db.UserManager
- type MockDBMockRecorder
- func (mr *MockDBMockRecorder) Clone() *gomock.Call
- func (mr *MockDBMockRecorder) Close() *gomock.Call
- func (mr *MockDBMockRecorder) Copy() *gomock.Call
- func (mr *MockDBMockRecorder) Devices() *gomock.Call
- func (mr *MockDBMockRecorder) Migrations() *gomock.Call
- func (mr *MockDBMockRecorder) Permissions() *gomock.Call
- func (mr *MockDBMockRecorder) RefreshTokens() *gomock.Call
- func (mr *MockDBMockRecorder) Users() *gomock.Call
- type MockDeviceManager
- type MockDeviceManagerMockRecorder
- type MockICronJob
- func (m *MockICronJob) EXPECT() *MockICronJobMockRecorder
- func (m *MockICronJob) Job() captain.Worker
- func (m *MockICronJob) LockProvider() captain.LockProvider
- func (m *MockICronJob) ResultProcessor() captain.ResultProcessor
- func (m *MockICronJob) RuntimeProcessor() captain.RuntimeProcessor
- func (m *MockICronJob) ShouldRun(arg0 string) bool
- type MockICronJobMockRecorder
- func (mr *MockICronJobMockRecorder) Job() *gomock.Call
- func (mr *MockICronJobMockRecorder) LockProvider() *gomock.Call
- func (mr *MockICronJobMockRecorder) ResultProcessor() *gomock.Call
- func (mr *MockICronJobMockRecorder) RuntimeProcessor() *gomock.Call
- func (mr *MockICronJobMockRecorder) ShouldRun(arg0 interface{}) *gomock.Call
- type MockIPushyClient
- func (m *MockIPushyClient) DeleteNotification(arg0 string) (*pushy.SimpleSuccess, *pushy.Error, error)
- func (m *MockIPushyClient) DeviceInfo(arg0 string) (*pushy.DeviceInfo, *pushy.Error, error)
- func (m *MockIPushyClient) DevicePresence(arg0 ...string) (*pushy.DevicePresenceResponse, *pushy.Error, error)
- func (m *MockIPushyClient) EXPECT() *MockIPushyClientMockRecorder
- func (m *MockIPushyClient) GetHTTPClient() pushy.IHTTPClient
- func (m *MockIPushyClient) NotificationStatus(arg0 string) (*pushy.NotificationStatus, *pushy.Error, error)
- func (m *MockIPushyClient) NotifyDevice(arg0 pushy.SendNotificationRequest) (*pushy.NotificationResponse, *pushy.Error, error)
- func (m *MockIPushyClient) SetHTTPClient(arg0 pushy.IHTTPClient)
- func (m *MockIPushyClient) SubscribeToTopic(arg0 string, arg1 ...string) (*pushy.SimpleSuccess, *pushy.Error, error)
- func (m *MockIPushyClient) UnsubscribeFromTopic(arg0 string, arg1 ...string) (*pushy.SimpleSuccess, *pushy.Error, error)
- type MockIPushyClientMockRecorder
- func (mr *MockIPushyClientMockRecorder) DeleteNotification(arg0 interface{}) *gomock.Call
- func (mr *MockIPushyClientMockRecorder) DeviceInfo(arg0 interface{}) *gomock.Call
- func (mr *MockIPushyClientMockRecorder) DevicePresence(arg0 ...interface{}) *gomock.Call
- func (mr *MockIPushyClientMockRecorder) GetHTTPClient() *gomock.Call
- func (mr *MockIPushyClientMockRecorder) NotificationStatus(arg0 interface{}) *gomock.Call
- func (mr *MockIPushyClientMockRecorder) NotifyDevice(arg0 interface{}) *gomock.Call
- func (mr *MockIPushyClientMockRecorder) SetHTTPClient(arg0 interface{}) *gomock.Call
- func (mr *MockIPushyClientMockRecorder) SubscribeToTopic(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockIPushyClientMockRecorder) UnsubscribeFromTopic(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockJwtManager
- type MockJwtManagerMockRecorder
- type MockLogger
- func (m *MockLogger) Debug(arg0 ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(arg0 ...interface{})
- func (m *MockLogger) Fatal(arg0 ...interface{})
- func (m *MockLogger) Info(arg0 ...interface{})
- func (m *MockLogger) Panic(arg0 ...interface{})
- func (m *MockLogger) Print(arg0 ...interface{})
- func (m *MockLogger) Warn(arg0 ...interface{})
- func (m *MockLogger) Warning(arg0 ...interface{})
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Panic(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Print(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(arg0 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warning(arg0 ...interface{}) *gomock.Call
- type MockMigration
- type MockMigrationManager
- type MockMigrationManagerMockRecorder
- type MockMigrationMockRecorder
- type MockPermissionManager
- type MockPermissionManagerMockRecorder
- type MockRateLimiter
- type MockRateLimiterMockRecorder
- type MockRedisClient
- func (m *MockRedisClient) EXPECT() *MockRedisClientMockRecorder
- func (m *MockRedisClient) Expire(arg0 string, arg1 time.Duration) (bool, error)
- func (m *MockRedisClient) ZAdd(arg0 string, arg1 ...redis.Z) (int64, error)
- func (m *MockRedisClient) ZCard(arg0 string) (int64, error)
- func (m *MockRedisClient) ZRemRangeByScore(arg0, arg1, arg2 string) (int64, error)
- type MockRedisClientMockRecorder
- func (mr *MockRedisClientMockRecorder) Expire(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRedisClientMockRecorder) ZAdd(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockRedisClientMockRecorder) ZCard(arg0 interface{}) *gomock.Call
- func (mr *MockRedisClientMockRecorder) ZRemRangeByScore(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockRefreshTokenManager
- func (m *MockRefreshTokenManager) Add(arg0, arg1 string) error
- func (m *MockRefreshTokenManager) Delete(arg0 string) error
- func (m *MockRefreshTokenManager) EXPECT() *MockRefreshTokenManagerMockRecorder
- func (m *MockRefreshTokenManager) FindOne(arg0 string) (*db.RefreshToken, error)
- func (m *MockRefreshTokenManager) List(arg0 string) ([]db.RefreshToken, error)
- type MockRefreshTokenManagerMockRecorder
- func (mr *MockRefreshTokenManagerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRefreshTokenManagerMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockRefreshTokenManagerMockRecorder) FindOne(arg0 interface{}) *gomock.Call
- func (mr *MockRefreshTokenManagerMockRecorder) List(arg0 interface{}) *gomock.Call
- type MockRequestHelper
- type MockRequestHelperMockRecorder
- type MockUserManager
- func (m *MockUserManager) Create(arg0 db.User) error
- func (m *MockUserManager) EXPECT() *MockUserManagerMockRecorder
- func (m *MockUserManager) FindByEmail(arg0 string) (*db.User, error)
- func (m *MockUserManager) FindByID(arg0 string) (*db.User, error)
- func (m *MockUserManager) List() ([]db.User, error)
- func (m *MockUserManager) Update(arg0 string, arg1 db.User) error
- type MockUserManagerMockRecorder
- func (mr *MockUserManagerMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockUserManagerMockRecorder) FindByEmail(arg0 interface{}) *gomock.Call
- func (mr *MockUserManagerMockRecorder) FindByID(arg0 interface{}) *gomock.Call
- func (mr *MockUserManagerMockRecorder) List() *gomock.Call
- func (mr *MockUserManagerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExampleMockJob ¶
type ExampleMockJob struct { }
func (ExampleMockJob) Job ¶
func (ExampleMockJob) Job() captain.Worker
func (ExampleMockJob) LockProvider ¶
func (ExampleMockJob) LockProvider() captain.LockProvider
func (ExampleMockJob) ResultProcessor ¶
func (ExampleMockJob) ResultProcessor() captain.ResultProcessor
func (ExampleMockJob) RuntimeProcessor ¶
func (ExampleMockJob) RuntimeProcessor() captain.RuntimeProcessor
func (ExampleMockJob) ShouldRun ¶
func (ExampleMockJob) ShouldRun(key string) bool
type MockDB ¶
type MockDB struct {
// contains filtered or unexported fields
}
MockDB is a mock of DB interface
func NewMockDB ¶
func NewMockDB(ctrl *gomock.Controller) *MockDB
NewMockDB creates a new mock instance
func (*MockDB) EXPECT ¶
func (m *MockDB) EXPECT() *MockDBMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDB) Migrations ¶
func (m *MockDB) Migrations() db.MigrationManager
Migrations mocks base method
func (*MockDB) Permissions ¶
func (m *MockDB) Permissions() db.PermissionManager
Permissions mocks base method
func (*MockDB) RefreshTokens ¶
func (m *MockDB) RefreshTokens() db.RefreshTokenManager
RefreshTokens mocks base method
type MockDBMockRecorder ¶
type MockDBMockRecorder struct {
// contains filtered or unexported fields
}
MockDBMockRecorder is the mock recorder for MockDB
func (*MockDBMockRecorder) Clone ¶
func (mr *MockDBMockRecorder) Clone() *gomock.Call
Clone indicates an expected call of Clone
func (*MockDBMockRecorder) Close ¶
func (mr *MockDBMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockDBMockRecorder) Copy ¶
func (mr *MockDBMockRecorder) Copy() *gomock.Call
Copy indicates an expected call of Copy
func (*MockDBMockRecorder) Devices ¶
func (mr *MockDBMockRecorder) Devices() *gomock.Call
Devices indicates an expected call of Devices
func (*MockDBMockRecorder) Migrations ¶
func (mr *MockDBMockRecorder) Migrations() *gomock.Call
Migrations indicates an expected call of Migrations
func (*MockDBMockRecorder) Permissions ¶
func (mr *MockDBMockRecorder) Permissions() *gomock.Call
Permissions indicates an expected call of Permissions
func (*MockDBMockRecorder) RefreshTokens ¶
func (mr *MockDBMockRecorder) RefreshTokens() *gomock.Call
RefreshTokens indicates an expected call of RefreshTokens
func (*MockDBMockRecorder) Users ¶
func (mr *MockDBMockRecorder) Users() *gomock.Call
Users indicates an expected call of Users
type MockDeviceManager ¶
type MockDeviceManager struct {
// contains filtered or unexported fields
}
MockDeviceManager is a mock of DeviceManager interface
func NewMockDeviceManager ¶
func NewMockDeviceManager(ctrl *gomock.Controller) *MockDeviceManager
NewMockDeviceManager creates a new mock instance
func (*MockDeviceManager) EXPECT ¶
func (m *MockDeviceManager) EXPECT() *MockDeviceManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDeviceManager) Exists ¶
func (m *MockDeviceManager) Exists(arg0 string) (bool, error)
Exists mocks base method
func (*MockDeviceManager) FindByToken ¶
func (m *MockDeviceManager) FindByToken(arg0 string) (*db.Device, error)
FindByToken mocks base method
func (*MockDeviceManager) Register ¶
func (m *MockDeviceManager) Register(arg0 string) error
Register mocks base method
type MockDeviceManagerMockRecorder ¶
type MockDeviceManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockDeviceManagerMockRecorder is the mock recorder for MockDeviceManager
func (*MockDeviceManagerMockRecorder) Exists ¶
func (mr *MockDeviceManagerMockRecorder) Exists(arg0 interface{}) *gomock.Call
Exists indicates an expected call of Exists
func (*MockDeviceManagerMockRecorder) FindByToken ¶
func (mr *MockDeviceManagerMockRecorder) FindByToken(arg0 interface{}) *gomock.Call
FindByToken indicates an expected call of FindByToken
func (*MockDeviceManagerMockRecorder) Register ¶
func (mr *MockDeviceManagerMockRecorder) Register(arg0 interface{}) *gomock.Call
Register indicates an expected call of Register
type MockICronJob ¶
type MockICronJob struct {
// contains filtered or unexported fields
}
MockICronJob is a mock of ICronJob interface
func NewMockICronJob ¶
func NewMockICronJob(ctrl *gomock.Controller) *MockICronJob
NewMockICronJob creates a new mock instance
func (*MockICronJob) EXPECT ¶
func (m *MockICronJob) EXPECT() *MockICronJobMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockICronJob) LockProvider ¶
func (m *MockICronJob) LockProvider() captain.LockProvider
LockProvider mock base method
func (*MockICronJob) ResultProcessor ¶
func (m *MockICronJob) ResultProcessor() captain.ResultProcessor
ResultProcessor mock base method
func (*MockICronJob) RuntimeProcessor ¶
func (m *MockICronJob) RuntimeProcessor() captain.RuntimeProcessor
RuntimeProcessor mock base method
func (*MockICronJob) ShouldRun ¶
func (m *MockICronJob) ShouldRun(arg0 string) bool
IsApplied mock base method
type MockICronJobMockRecorder ¶
type MockICronJobMockRecorder struct {
// contains filtered or unexported fields
}
MockICronJobMockRecorder is the mock recorder for MockICronJob
func (*MockICronJobMockRecorder) Job ¶
func (mr *MockICronJobMockRecorder) Job() *gomock.Call
Job indicates an expected call of Job
func (*MockICronJobMockRecorder) LockProvider ¶
func (mr *MockICronJobMockRecorder) LockProvider() *gomock.Call
LockProvider indicates an expected call of LockProvider
func (*MockICronJobMockRecorder) ResultProcessor ¶
func (mr *MockICronJobMockRecorder) ResultProcessor() *gomock.Call
ResultProcessor indicates an expected call of ResultProcessor
func (*MockICronJobMockRecorder) RuntimeProcessor ¶
func (mr *MockICronJobMockRecorder) RuntimeProcessor() *gomock.Call
RuntimeProcessor indicates an expected call of RuntimeProcessor
func (*MockICronJobMockRecorder) ShouldRun ¶
func (mr *MockICronJobMockRecorder) ShouldRun(arg0 interface{}) *gomock.Call
IsApplied indicates an expected call of IsApplied
type MockIPushyClient ¶
type MockIPushyClient struct {
// contains filtered or unexported fields
}
MockIPushyClient is a mock of IPushyClient interface
func NewMockIPushyClient ¶
func NewMockIPushyClient(ctrl *gomock.Controller) *MockIPushyClient
NewMockIPushyClient creates a new mock instance
func (*MockIPushyClient) DeleteNotification ¶
func (m *MockIPushyClient) DeleteNotification(arg0 string) (*pushy.SimpleSuccess, *pushy.Error, error)
DeleteNotification mocks base method
func (*MockIPushyClient) DeviceInfo ¶
func (m *MockIPushyClient) DeviceInfo(arg0 string) (*pushy.DeviceInfo, *pushy.Error, error)
DeviceInfo mocks base method
func (*MockIPushyClient) DevicePresence ¶
func (m *MockIPushyClient) DevicePresence(arg0 ...string) (*pushy.DevicePresenceResponse, *pushy.Error, error)
DevicePresence mocks base method
func (*MockIPushyClient) EXPECT ¶
func (m *MockIPushyClient) EXPECT() *MockIPushyClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIPushyClient) GetHTTPClient ¶
func (m *MockIPushyClient) GetHTTPClient() pushy.IHTTPClient
GetHTTPClient mocks base method
func (*MockIPushyClient) NotificationStatus ¶
func (m *MockIPushyClient) NotificationStatus(arg0 string) (*pushy.NotificationStatus, *pushy.Error, error)
NotificationStatus mocks base method
func (*MockIPushyClient) NotifyDevice ¶
func (m *MockIPushyClient) NotifyDevice(arg0 pushy.SendNotificationRequest) (*pushy.NotificationResponse, *pushy.Error, error)
NotifyDevice mocks base method
func (*MockIPushyClient) SetHTTPClient ¶
func (m *MockIPushyClient) SetHTTPClient(arg0 pushy.IHTTPClient)
SetHTTPClient mocks base method
func (*MockIPushyClient) SubscribeToTopic ¶
func (m *MockIPushyClient) SubscribeToTopic(arg0 string, arg1 ...string) (*pushy.SimpleSuccess, *pushy.Error, error)
SubscribeToTopic mocks base method
func (*MockIPushyClient) UnsubscribeFromTopic ¶
func (m *MockIPushyClient) UnsubscribeFromTopic(arg0 string, arg1 ...string) (*pushy.SimpleSuccess, *pushy.Error, error)
UnsubscribeFromTopic mocks base method
type MockIPushyClientMockRecorder ¶
type MockIPushyClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIPushyClientMockRecorder is the mock recorder for MockIPushyClient
func (*MockIPushyClientMockRecorder) DeleteNotification ¶
func (mr *MockIPushyClientMockRecorder) DeleteNotification(arg0 interface{}) *gomock.Call
DeleteNotification indicates an expected call of DeleteNotification
func (*MockIPushyClientMockRecorder) DeviceInfo ¶
func (mr *MockIPushyClientMockRecorder) DeviceInfo(arg0 interface{}) *gomock.Call
DeviceInfo indicates an expected call of DeviceInfo
func (*MockIPushyClientMockRecorder) DevicePresence ¶
func (mr *MockIPushyClientMockRecorder) DevicePresence(arg0 ...interface{}) *gomock.Call
DevicePresence indicates an expected call of DevicePresence
func (*MockIPushyClientMockRecorder) GetHTTPClient ¶
func (mr *MockIPushyClientMockRecorder) GetHTTPClient() *gomock.Call
GetHTTPClient indicates an expected call of GetHTTPClient
func (*MockIPushyClientMockRecorder) NotificationStatus ¶
func (mr *MockIPushyClientMockRecorder) NotificationStatus(arg0 interface{}) *gomock.Call
NotificationStatus indicates an expected call of NotificationStatus
func (*MockIPushyClientMockRecorder) NotifyDevice ¶
func (mr *MockIPushyClientMockRecorder) NotifyDevice(arg0 interface{}) *gomock.Call
NotifyDevice indicates an expected call of NotifyDevice
func (*MockIPushyClientMockRecorder) SetHTTPClient ¶
func (mr *MockIPushyClientMockRecorder) SetHTTPClient(arg0 interface{}) *gomock.Call
SetHTTPClient indicates an expected call of SetHTTPClient
func (*MockIPushyClientMockRecorder) SubscribeToTopic ¶
func (mr *MockIPushyClientMockRecorder) SubscribeToTopic(arg0 interface{}, arg1 ...interface{}) *gomock.Call
SubscribeToTopic indicates an expected call of SubscribeToTopic
func (*MockIPushyClientMockRecorder) UnsubscribeFromTopic ¶
func (mr *MockIPushyClientMockRecorder) UnsubscribeFromTopic(arg0 interface{}, arg1 ...interface{}) *gomock.Call
UnsubscribeFromTopic indicates an expected call of UnsubscribeFromTopic
type MockJwtManager ¶
type MockJwtManager struct {
// contains filtered or unexported fields
}
MockJwtManager is a mock of Manager interface
func NewMockJwtManager ¶
func NewMockJwtManager(ctrl *gomock.Controller) *MockJwtManager
NewMockJwtManager creates a new mock instance
func (*MockJwtManager) CreateForUser ¶
func (m *MockJwtManager) CreateForUser(arg0 *db.User) (string, error)
CreateForUser mocks base method
func (*MockJwtManager) EXPECT ¶
func (m *MockJwtManager) EXPECT() *MockJwtManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockJwtManager) GetJwtDataFromRequest ¶
GetJwtDataFromRequest mocks base method
type MockJwtManagerMockRecorder ¶
type MockJwtManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockJwtManagerMockRecorder is the mock recorder for MockJwtManager
func (*MockJwtManagerMockRecorder) CreateForUser ¶
func (mr *MockJwtManagerMockRecorder) CreateForUser(arg0 interface{}) *gomock.Call
CreateForUser indicates an expected call of CreateForUser
func (*MockJwtManagerMockRecorder) GetJwtDataFromRequest ¶
func (mr *MockJwtManagerMockRecorder) GetJwtDataFromRequest(arg0 interface{}) *gomock.Call
GetJwtDataFromRequest indicates an expected call of GetJwtDataFromRequest
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Client interface
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLogger) Warning ¶
func (m *MockLogger) Warning(arg0 ...interface{})
Warning 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 ...interface{}) *gomock.Call
Debug indicates an expected call of Debug
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(arg0 ...interface{}) *gomock.Call
Error indicates an expected call of Error
func (*MockLoggerMockRecorder) Fatal ¶
func (mr *MockLoggerMockRecorder) Fatal(arg0 ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(arg0 ...interface{}) *gomock.Call
Info indicates an expected call of Info
func (*MockLoggerMockRecorder) Panic ¶
func (mr *MockLoggerMockRecorder) Panic(arg0 ...interface{}) *gomock.Call
Panic indicates an expected call of Panic
func (*MockLoggerMockRecorder) Print ¶
func (mr *MockLoggerMockRecorder) Print(arg0 ...interface{}) *gomock.Call
Print indicates an expected call of Print
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(arg0 ...interface{}) *gomock.Call
Warn indicates an expected call of Warn
func (*MockLoggerMockRecorder) Warning ¶
func (mr *MockLoggerMockRecorder) Warning(arg0 ...interface{}) *gomock.Call
Warning indicates an expected call of Warning
type MockMigration ¶
type MockMigration struct {
// contains filtered or unexported fields
}
MockMigration is a mock of Migration interface
func NewMockMigration ¶
func NewMockMigration(ctrl *gomock.Controller) *MockMigration
NewMockMigration creates a new mock instance
func (*MockMigration) EXPECT ¶
func (m *MockMigration) EXPECT() *MockMigrationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMigration) GetDescription ¶
func (m *MockMigration) GetDescription() string
GetDescription mocks base method
func (*MockMigration) Remove ¶
func (m *MockMigration) Remove(arg0 *mgo.Database)
Remove mocks base method
type MockMigrationManager ¶
type MockMigrationManager struct {
// contains filtered or unexported fields
}
MockMigrationManager is a mock of MigrationManager interface
func NewMockMigrationManager ¶
func NewMockMigrationManager(ctrl *gomock.Controller) *MockMigrationManager
NewMockMigrationManager creates a new mock instance
func (*MockMigrationManager) EXPECT ¶
func (m *MockMigrationManager) EXPECT() *MockMigrationManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMigrationManager) IsApplied ¶
func (m *MockMigrationManager) IsApplied(arg0 string) (bool, error)
IsApplied mocks base method
func (*MockMigrationManager) MarkApplied ¶
func (m *MockMigrationManager) MarkApplied(arg0, arg1 string) error
MarkApplied mocks base method
type MockMigrationManagerMockRecorder ¶
type MockMigrationManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockMigrationManagerMockRecorder is the mock recorder for MockMigrationManager
func (*MockMigrationManagerMockRecorder) IsApplied ¶
func (mr *MockMigrationManagerMockRecorder) IsApplied(arg0 interface{}) *gomock.Call
IsApplied indicates an expected call of IsApplied
func (*MockMigrationManagerMockRecorder) MarkApplied ¶
func (mr *MockMigrationManagerMockRecorder) MarkApplied(arg0, arg1 interface{}) *gomock.Call
MarkApplied indicates an expected call of MarkApplied
type MockMigrationMockRecorder ¶
type MockMigrationMockRecorder struct {
// contains filtered or unexported fields
}
MockMigrationMockRecorder is the mock recorder for MockMigration
func (*MockMigrationMockRecorder) Apply ¶
func (mr *MockMigrationMockRecorder) Apply(arg0 interface{}) *gomock.Call
Apply indicates an expected call of Apply
func (*MockMigrationMockRecorder) GetDescription ¶
func (mr *MockMigrationMockRecorder) GetDescription() *gomock.Call
GetDescription indicates an expected call of GetDescription
func (*MockMigrationMockRecorder) GetKey ¶
func (mr *MockMigrationMockRecorder) GetKey() *gomock.Call
GetKey indicates an expected call of GetKey
func (*MockMigrationMockRecorder) Remove ¶
func (mr *MockMigrationMockRecorder) Remove(arg0 interface{}) *gomock.Call
Remove indicates an expected call of Remove
type MockPermissionManager ¶
type MockPermissionManager struct {
// contains filtered or unexported fields
}
MockPermissionManager is a mock of PermissionManager interface
func NewMockPermissionManager ¶
func NewMockPermissionManager(ctrl *gomock.Controller) *MockPermissionManager
NewMockPermissionManager creates a new mock instance
func (*MockPermissionManager) Create ¶
func (m *MockPermissionManager) Create(arg0, arg1 string) error
Create mocks base method
func (*MockPermissionManager) EXPECT ¶
func (m *MockPermissionManager) EXPECT() *MockPermissionManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPermissionManager) Exists ¶
func (m *MockPermissionManager) Exists(arg0 string) (bool, error)
Exists mocks base method
func (*MockPermissionManager) List ¶
func (m *MockPermissionManager) List() ([]db.Permission, error)
List mocks base method
type MockPermissionManagerMockRecorder ¶
type MockPermissionManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockPermissionManagerMockRecorder is the mock recorder for MockPermissionManager
func (*MockPermissionManagerMockRecorder) Create ¶
func (mr *MockPermissionManagerMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockPermissionManagerMockRecorder) Exists ¶
func (mr *MockPermissionManagerMockRecorder) Exists(arg0 interface{}) *gomock.Call
Exists indicates an expected call of Exists
func (*MockPermissionManagerMockRecorder) List ¶
func (mr *MockPermissionManagerMockRecorder) List() *gomock.Call
List indicates an expected call of List
type MockRateLimiter ¶
type MockRateLimiter struct {
// contains filtered or unexported fields
}
MockRateLimiter is a mock of RateLimiter interface
func NewMockRateLimiter ¶
func NewMockRateLimiter(ctrl *gomock.Controller) *MockRateLimiter
NewMockRateLimiter creates a new mock instance
func (*MockRateLimiter) Count ¶
func (m *MockRateLimiter) Count(arg0 string) (int64, error)
Count mocks base method
func (*MockRateLimiter) EXPECT ¶
func (m *MockRateLimiter) EXPECT() *MockRateLimiterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRateLimiterMockRecorder ¶
type MockRateLimiterMockRecorder struct {
// contains filtered or unexported fields
}
MockRateLimiterMockRecorder is the mock recorder for MockRateLimiter
func (*MockRateLimiterMockRecorder) Count ¶
func (mr *MockRateLimiterMockRecorder) Count(arg0 interface{}) *gomock.Call
Count indicates an expected call of Count
func (*MockRateLimiterMockRecorder) Hit ¶
func (mr *MockRateLimiterMockRecorder) Hit(arg0 interface{}) *gomock.Call
Hit indicates an expected call of Hit
type MockRedisClient ¶
type MockRedisClient struct {
// contains filtered or unexported fields
}
MockRedisClient is a mock of RedisClient interface
func NewMockRedisClient ¶
func NewMockRedisClient(ctrl *gomock.Controller) *MockRedisClient
NewMockRedisClient creates a new mock instance
func (*MockRedisClient) EXPECT ¶
func (m *MockRedisClient) EXPECT() *MockRedisClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRedisClient) ZCard ¶
func (m *MockRedisClient) ZCard(arg0 string) (int64, error)
ZCard mocks base method
func (*MockRedisClient) ZRemRangeByScore ¶
func (m *MockRedisClient) ZRemRangeByScore(arg0, arg1, arg2 string) (int64, error)
ZRemRangeByScore mocks base method
type MockRedisClientMockRecorder ¶
type MockRedisClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRedisClientMockRecorder is the mock recorder for MockRedisClient
func (*MockRedisClientMockRecorder) Expire ¶
func (mr *MockRedisClientMockRecorder) Expire(arg0, arg1 interface{}) *gomock.Call
Expire indicates an expected call of Expire
func (*MockRedisClientMockRecorder) ZAdd ¶
func (mr *MockRedisClientMockRecorder) ZAdd(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ZAdd indicates an expected call of ZAdd
func (*MockRedisClientMockRecorder) ZCard ¶
func (mr *MockRedisClientMockRecorder) ZCard(arg0 interface{}) *gomock.Call
ZCard indicates an expected call of ZCard
func (*MockRedisClientMockRecorder) ZRemRangeByScore ¶
func (mr *MockRedisClientMockRecorder) ZRemRangeByScore(arg0, arg1, arg2 interface{}) *gomock.Call
ZRemRangeByScore indicates an expected call of ZRemRangeByScore
type MockRefreshTokenManager ¶
type MockRefreshTokenManager struct {
// contains filtered or unexported fields
}
MockRefreshTokenManager is a mock of RefreshTokenManager interface
func NewMockRefreshTokenManager ¶
func NewMockRefreshTokenManager(ctrl *gomock.Controller) *MockRefreshTokenManager
NewMockRefreshTokenManager creates a new mock instance
func (*MockRefreshTokenManager) Add ¶
func (m *MockRefreshTokenManager) Add(arg0, arg1 string) error
Add mocks base method
func (*MockRefreshTokenManager) Delete ¶
func (m *MockRefreshTokenManager) Delete(arg0 string) error
Delete mocks base method
func (*MockRefreshTokenManager) EXPECT ¶
func (m *MockRefreshTokenManager) EXPECT() *MockRefreshTokenManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRefreshTokenManager) FindOne ¶
func (m *MockRefreshTokenManager) FindOne(arg0 string) (*db.RefreshToken, error)
FindOne mocks base method
func (*MockRefreshTokenManager) List ¶
func (m *MockRefreshTokenManager) List(arg0 string) ([]db.RefreshToken, error)
List mocks base method
type MockRefreshTokenManagerMockRecorder ¶
type MockRefreshTokenManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockRefreshTokenManagerMockRecorder is the mock recorder for MockRefreshTokenManager
func (*MockRefreshTokenManagerMockRecorder) Add ¶
func (mr *MockRefreshTokenManagerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call
Add indicates an expected call of Add
func (*MockRefreshTokenManagerMockRecorder) Delete ¶
func (mr *MockRefreshTokenManagerMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockRefreshTokenManagerMockRecorder) FindOne ¶
func (mr *MockRefreshTokenManagerMockRecorder) FindOne(arg0 interface{}) *gomock.Call
FindOne indicates an expected call of FindOne
func (*MockRefreshTokenManagerMockRecorder) List ¶
func (mr *MockRefreshTokenManagerMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List
type MockRequestHelper ¶
type MockRequestHelper struct {
// contains filtered or unexported fields
}
MockRequestHelper is a mock of RequestHelper interface
func NewMockRequestHelper ¶
func NewMockRequestHelper(ctrl *gomock.Controller) *MockRequestHelper
NewMockRequestHelper creates a new mock instance
func (*MockRequestHelper) EXPECT ¶
func (m *MockRequestHelper) EXPECT() *MockRequestHelperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRequestHelper) GetIPAddress ¶
func (m *MockRequestHelper) GetIPAddress(arg0 *http.Request) string
GetIPAddress mocks base method
type MockRequestHelperMockRecorder ¶
type MockRequestHelperMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestHelperMockRecorder is the mock recorder for MockRequestHelper
func (*MockRequestHelperMockRecorder) GetIPAddress ¶
func (mr *MockRequestHelperMockRecorder) GetIPAddress(arg0 interface{}) *gomock.Call
GetIPAddress indicates an expected call of GetIPAddress
type MockUserManager ¶
type MockUserManager struct {
// contains filtered or unexported fields
}
MockUserManager is a mock of UserManager interface
func NewMockUserManager ¶
func NewMockUserManager(ctrl *gomock.Controller) *MockUserManager
NewMockUserManager creates a new mock instance
func (*MockUserManager) Create ¶
func (m *MockUserManager) Create(arg0 db.User) error
Create mocks base method
func (*MockUserManager) EXPECT ¶
func (m *MockUserManager) EXPECT() *MockUserManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUserManager) FindByEmail ¶
func (m *MockUserManager) FindByEmail(arg0 string) (*db.User, error)
FindByEmail mocks base method
func (*MockUserManager) FindByID ¶
func (m *MockUserManager) FindByID(arg0 string) (*db.User, error)
FindByID mocks base method
type MockUserManagerMockRecorder ¶
type MockUserManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockUserManagerMockRecorder is the mock recorder for MockUserManager
func (*MockUserManagerMockRecorder) Create ¶
func (mr *MockUserManagerMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockUserManagerMockRecorder) FindByEmail ¶
func (mr *MockUserManagerMockRecorder) FindByEmail(arg0 interface{}) *gomock.Call
FindByEmail indicates an expected call of FindByEmail
func (*MockUserManagerMockRecorder) FindByID ¶
func (mr *MockUserManagerMockRecorder) FindByID(arg0 interface{}) *gomock.Call
FindByID indicates an expected call of FindByID
func (*MockUserManagerMockRecorder) List ¶
func (mr *MockUserManagerMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockUserManagerMockRecorder) Update ¶
func (mr *MockUserManagerMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update