Documentation ¶
Overview ¶
Package mock_store is a generated GoMock package.
Index ¶
- type MockDevicePersistenceInterface
- func (m *MockDevicePersistenceInterface) Delete(uid types.Uid, deviceID string) error
- func (m *MockDevicePersistenceInterface) EXPECT() *MockDevicePersistenceInterfaceMockRecorder
- func (m *MockDevicePersistenceInterface) GetAll(uid ...types.Uid) (map[types.Uid][]types.DeviceDef, int, error)
- func (m *MockDevicePersistenceInterface) Update(uid types.Uid, oldDeviceID string, dev *types.DeviceDef) error
- type MockDevicePersistenceInterfaceMockRecorder
- func (mr *MockDevicePersistenceInterfaceMockRecorder) Delete(uid, deviceID interface{}) *gomock.Call
- func (mr *MockDevicePersistenceInterfaceMockRecorder) GetAll(uid ...interface{}) *gomock.Call
- func (mr *MockDevicePersistenceInterfaceMockRecorder) Update(uid, oldDeviceID, dev interface{}) *gomock.Call
- type MockFilePersistenceInterface
- func (m *MockFilePersistenceInterface) DeleteUnused(olderThan time.Time, limit int) error
- func (m *MockFilePersistenceInterface) EXPECT() *MockFilePersistenceInterfaceMockRecorder
- func (m *MockFilePersistenceInterface) FinishUpload(fd *types.FileDef, success bool, size int64) (*types.FileDef, error)
- func (m *MockFilePersistenceInterface) Get(fid string) (*types.FileDef, error)
- func (m *MockFilePersistenceInterface) LinkAttachments(topic string, msgId types.Uid, attachments []string) error
- func (m *MockFilePersistenceInterface) StartUpload(fd *types.FileDef) error
- type MockFilePersistenceInterfaceMockRecorder
- func (mr *MockFilePersistenceInterfaceMockRecorder) DeleteUnused(olderThan, limit interface{}) *gomock.Call
- func (mr *MockFilePersistenceInterfaceMockRecorder) FinishUpload(fd, success, size interface{}) *gomock.Call
- func (mr *MockFilePersistenceInterfaceMockRecorder) Get(fid interface{}) *gomock.Call
- func (mr *MockFilePersistenceInterfaceMockRecorder) LinkAttachments(topic, msgId, attachments interface{}) *gomock.Call
- func (mr *MockFilePersistenceInterfaceMockRecorder) StartUpload(fd interface{}) *gomock.Call
- type MockMessagesPersistenceInterface
- func (m *MockMessagesPersistenceInterface) DeleteList(topic string, delID int, forUser types.Uid, ranges []types.Range) error
- func (m *MockMessagesPersistenceInterface) EXPECT() *MockMessagesPersistenceInterfaceMockRecorder
- func (m *MockMessagesPersistenceInterface) GetAll(topic string, forUser types.Uid, opt *types.QueryOpt) ([]types.Message, error)
- func (m *MockMessagesPersistenceInterface) GetDeleted(topic string, forUser types.Uid, opt *types.QueryOpt) ([]types.Range, int, error)
- func (m *MockMessagesPersistenceInterface) Save(msg *types.Message, attachmentURLs []string, readBySender bool) error
- type MockMessagesPersistenceInterfaceMockRecorder
- func (mr *MockMessagesPersistenceInterfaceMockRecorder) DeleteList(topic, delID, forUser, ranges interface{}) *gomock.Call
- func (mr *MockMessagesPersistenceInterfaceMockRecorder) GetAll(topic, forUser, opt interface{}) *gomock.Call
- func (mr *MockMessagesPersistenceInterfaceMockRecorder) GetDeleted(topic, forUser, opt interface{}) *gomock.Call
- func (mr *MockMessagesPersistenceInterfaceMockRecorder) Save(msg, attachmentURLs, readBySender interface{}) *gomock.Call
- type MockPersistentStorageInterface
- func (m *MockPersistentStorageInterface) Close() error
- func (m *MockPersistentStorageInterface) DbStats() func() interface{}
- func (m *MockPersistentStorageInterface) EXPECT() *MockPersistentStorageInterfaceMockRecorder
- func (m *MockPersistentStorageInterface) GetAdapter() adapter.Adapter
- func (m *MockPersistentStorageInterface) GetAdapterName() string
- func (m *MockPersistentStorageInterface) GetAdapterVersion() int
- func (m *MockPersistentStorageInterface) GetAuthHandler(name string) auth.AuthHandler
- func (m *MockPersistentStorageInterface) GetAuthNames() []string
- func (m *MockPersistentStorageInterface) GetDbVersion() int
- func (m *MockPersistentStorageInterface) GetLogicalAuthHandler(name string) auth.AuthHandler
- func (m *MockPersistentStorageInterface) GetMediaHandler() media.Handler
- func (m *MockPersistentStorageInterface) GetUid() types.Uid
- func (m *MockPersistentStorageInterface) GetUidString() string
- func (m *MockPersistentStorageInterface) GetValidator(name string) validate.Validator
- func (m *MockPersistentStorageInterface) InitDb(jsonconf json.RawMessage, reset bool) error
- func (m *MockPersistentStorageInterface) IsOpen() bool
- func (m *MockPersistentStorageInterface) Open(workerId int, jsonconf json.RawMessage) error
- func (m *MockPersistentStorageInterface) UpgradeDb(jsonconf json.RawMessage) error
- func (m *MockPersistentStorageInterface) UseMediaHandler(name, config string) error
- type MockPersistentStorageInterfaceMockRecorder
- func (mr *MockPersistentStorageInterfaceMockRecorder) Close() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) DbStats() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetAdapter() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetAdapterName() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetAdapterVersion() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetAuthHandler(name interface{}) *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetAuthNames() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetDbVersion() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetLogicalAuthHandler(name interface{}) *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetMediaHandler() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetUid() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetUidString() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) GetValidator(name interface{}) *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) InitDb(jsonconf, reset interface{}) *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) IsOpen() *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) Open(workerId, jsonconf interface{}) *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) UpgradeDb(jsonconf interface{}) *gomock.Call
- func (mr *MockPersistentStorageInterfaceMockRecorder) UseMediaHandler(name, config interface{}) *gomock.Call
- type MockSubsPersistenceInterface
- func (m *MockSubsPersistenceInterface) Create(subs ...*types.Subscription) error
- func (m *MockSubsPersistenceInterface) Delete(topic string, user types.Uid) error
- func (m *MockSubsPersistenceInterface) EXPECT() *MockSubsPersistenceInterfaceMockRecorder
- func (m *MockSubsPersistenceInterface) Get(topic string, user types.Uid, keepDeleted bool) (*types.Subscription, error)
- func (m *MockSubsPersistenceInterface) Update(topic string, user types.Uid, update map[string]interface{}) error
- type MockSubsPersistenceInterfaceMockRecorder
- func (mr *MockSubsPersistenceInterfaceMockRecorder) Create(subs ...interface{}) *gomock.Call
- func (mr *MockSubsPersistenceInterfaceMockRecorder) Delete(topic, user interface{}) *gomock.Call
- func (mr *MockSubsPersistenceInterfaceMockRecorder) Get(topic, user, keepDeleted interface{}) *gomock.Call
- func (mr *MockSubsPersistenceInterfaceMockRecorder) Update(topic, user, update interface{}) *gomock.Call
- type MockTopicsPersistenceInterface
- func (m *MockTopicsPersistenceInterface) Create(topic *types.Topic, owner types.Uid, private interface{}) error
- func (m *MockTopicsPersistenceInterface) CreateP2P(initiator, invited *types.Subscription) error
- func (m *MockTopicsPersistenceInterface) Delete(topic string, isChan, hard bool) error
- func (m *MockTopicsPersistenceInterface) EXPECT() *MockTopicsPersistenceInterfaceMockRecorder
- func (m *MockTopicsPersistenceInterface) Get(topic string) (*types.Topic, error)
- func (m *MockTopicsPersistenceInterface) GetSubs(topic string, opts *types.QueryOpt) ([]types.Subscription, error)
- func (m *MockTopicsPersistenceInterface) GetSubsAny(topic string, opts *types.QueryOpt) ([]types.Subscription, error)
- func (m *MockTopicsPersistenceInterface) GetUsers(topic string, opts *types.QueryOpt) ([]types.Subscription, error)
- func (m *MockTopicsPersistenceInterface) GetUsersAny(topic string, opts *types.QueryOpt) ([]types.Subscription, error)
- func (m *MockTopicsPersistenceInterface) OwnerChange(topic string, newOwner types.Uid) error
- func (m *MockTopicsPersistenceInterface) Update(topic string, update map[string]interface{}) error
- type MockTopicsPersistenceInterfaceMockRecorder
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) Create(topic, owner, private interface{}) *gomock.Call
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) CreateP2P(initiator, invited interface{}) *gomock.Call
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) Delete(topic, isChan, hard interface{}) *gomock.Call
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) Get(topic interface{}) *gomock.Call
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) GetSubs(topic, opts interface{}) *gomock.Call
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) GetSubsAny(topic, opts interface{}) *gomock.Call
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) GetUsers(topic, opts interface{}) *gomock.Call
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) GetUsersAny(topic, opts interface{}) *gomock.Call
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) OwnerChange(topic, newOwner interface{}) *gomock.Call
- func (mr *MockTopicsPersistenceInterfaceMockRecorder) Update(topic, update interface{}) *gomock.Call
- type MockUsersPersistenceInterface
- func (m *MockUsersPersistenceInterface) AddAuthRecord(uid types.Uid, authLvl auth.Level, scheme, unique string, secret []byte, ...) error
- func (m *MockUsersPersistenceInterface) ConfirmCred(id types.Uid, method string) error
- func (m *MockUsersPersistenceInterface) Create(user *types.User, private interface{}) (*types.User, error)
- func (m *MockUsersPersistenceInterface) DelAuthRecords(uid types.Uid, scheme string) error
- func (m *MockUsersPersistenceInterface) DelCred(id types.Uid, method, value string) error
- func (m *MockUsersPersistenceInterface) Delete(id types.Uid, hard bool) error
- func (m *MockUsersPersistenceInterface) EXPECT() *MockUsersPersistenceInterfaceMockRecorder
- func (m *MockUsersPersistenceInterface) FailCred(id types.Uid, method string) error
- func (m *MockUsersPersistenceInterface) FindSubs(id types.Uid, required [][]string, optional []string) ([]types.Subscription, error)
- func (m *MockUsersPersistenceInterface) Get(uid types.Uid) (*types.User, error)
- func (m *MockUsersPersistenceInterface) GetActiveCred(id types.Uid, method string) (*types.Credential, error)
- func (m *MockUsersPersistenceInterface) GetAll(uid ...types.Uid) ([]types.User, error)
- func (m *MockUsersPersistenceInterface) GetAllCreds(id types.Uid, method string, validatedOnly bool) ([]types.Credential, error)
- func (m *MockUsersPersistenceInterface) GetAuthRecord(user types.Uid, scheme string) (string, auth.Level, []byte, time.Time, error)
- func (m *MockUsersPersistenceInterface) GetAuthUniqueRecord(scheme, unique string) (types.Uid, auth.Level, []byte, time.Time, error)
- func (m *MockUsersPersistenceInterface) GetByCred(method, value string) (types.Uid, error)
- func (m *MockUsersPersistenceInterface) GetChannels(id types.Uid) ([]string, error)
- func (m *MockUsersPersistenceInterface) GetOwnTopics(id types.Uid) ([]string, error)
- func (m *MockUsersPersistenceInterface) GetSubs(id types.Uid) ([]types.Subscription, error)
- func (m *MockUsersPersistenceInterface) GetTopics(id types.Uid, opts *types.QueryOpt) ([]types.Subscription, error)
- func (m *MockUsersPersistenceInterface) GetTopicsAny(id types.Uid, opts *types.QueryOpt) ([]types.Subscription, error)
- func (m *MockUsersPersistenceInterface) GetUnreadCount(ids ...types.Uid) (map[types.Uid]int, error)
- func (m *MockUsersPersistenceInterface) Update(uid types.Uid, update map[string]interface{}) error
- func (m *MockUsersPersistenceInterface) UpdateAuthRecord(uid types.Uid, authLvl auth.Level, scheme, unique string, secret []byte, ...) error
- func (m *MockUsersPersistenceInterface) UpdateLastSeen(uid types.Uid, userAgent string, when time.Time) error
- func (m *MockUsersPersistenceInterface) UpdateState(uid types.Uid, state types.ObjState) error
- func (m *MockUsersPersistenceInterface) UpdateTags(uid types.Uid, add, remove, reset []string) ([]string, error)
- func (m *MockUsersPersistenceInterface) UpsertCred(cred *types.Credential) (bool, error)
- type MockUsersPersistenceInterfaceMockRecorder
- func (mr *MockUsersPersistenceInterfaceMockRecorder) AddAuthRecord(uid, authLvl, scheme, unique, secret, expires interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) ConfirmCred(id, method interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) Create(user, private interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) DelAuthRecords(uid, scheme interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) DelCred(id, method, value interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) Delete(id, hard interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) FailCred(id, method interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) FindSubs(id, required, optional interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) Get(uid interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetActiveCred(id, method interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetAll(uid ...interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetAllCreds(id, method, validatedOnly interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetAuthRecord(user, scheme interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetAuthUniqueRecord(scheme, unique interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetByCred(method, value interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetChannels(id interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetOwnTopics(id interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetSubs(id interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetTopics(id, opts interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetTopicsAny(id, opts interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) GetUnreadCount(ids ...interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) Update(uid, update interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) UpdateAuthRecord(uid, authLvl, scheme, unique, secret, expires interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) UpdateLastSeen(uid, userAgent, when interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) UpdateState(uid, state interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) UpdateTags(uid, add, remove, reset interface{}) *gomock.Call
- func (mr *MockUsersPersistenceInterfaceMockRecorder) UpsertCred(cred interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDevicePersistenceInterface ¶
type MockDevicePersistenceInterface struct {
// contains filtered or unexported fields
}
MockDevicePersistenceInterface is a mock of DevicePersistenceInterface interface.
func NewMockDevicePersistenceInterface ¶
func NewMockDevicePersistenceInterface(ctrl *gomock.Controller) *MockDevicePersistenceInterface
NewMockDevicePersistenceInterface creates a new mock instance.
func (*MockDevicePersistenceInterface) Delete ¶
func (m *MockDevicePersistenceInterface) Delete(uid types.Uid, deviceID string) error
Delete mocks base method.
func (*MockDevicePersistenceInterface) EXPECT ¶
func (m *MockDevicePersistenceInterface) EXPECT() *MockDevicePersistenceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDevicePersistenceInterfaceMockRecorder ¶
type MockDevicePersistenceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDevicePersistenceInterfaceMockRecorder is the mock recorder for MockDevicePersistenceInterface.
func (*MockDevicePersistenceInterfaceMockRecorder) Delete ¶
func (mr *MockDevicePersistenceInterfaceMockRecorder) Delete(uid, deviceID interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDevicePersistenceInterfaceMockRecorder) GetAll ¶
func (mr *MockDevicePersistenceInterfaceMockRecorder) GetAll(uid ...interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockDevicePersistenceInterfaceMockRecorder) Update ¶
func (mr *MockDevicePersistenceInterfaceMockRecorder) Update(uid, oldDeviceID, dev interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockFilePersistenceInterface ¶
type MockFilePersistenceInterface struct {
// contains filtered or unexported fields
}
MockFilePersistenceInterface is a mock of FilePersistenceInterface interface.
func NewMockFilePersistenceInterface ¶
func NewMockFilePersistenceInterface(ctrl *gomock.Controller) *MockFilePersistenceInterface
NewMockFilePersistenceInterface creates a new mock instance.
func (*MockFilePersistenceInterface) DeleteUnused ¶
func (m *MockFilePersistenceInterface) DeleteUnused(olderThan time.Time, limit int) error
DeleteUnused mocks base method.
func (*MockFilePersistenceInterface) EXPECT ¶
func (m *MockFilePersistenceInterface) EXPECT() *MockFilePersistenceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFilePersistenceInterface) FinishUpload ¶
func (m *MockFilePersistenceInterface) FinishUpload(fd *types.FileDef, success bool, size int64) (*types.FileDef, error)
FinishUpload mocks base method.
func (*MockFilePersistenceInterface) Get ¶
func (m *MockFilePersistenceInterface) Get(fid string) (*types.FileDef, error)
Get mocks base method.
func (*MockFilePersistenceInterface) LinkAttachments ¶
func (m *MockFilePersistenceInterface) LinkAttachments(topic string, msgId types.Uid, attachments []string) error
LinkAttachments mocks base method.
func (*MockFilePersistenceInterface) StartUpload ¶
func (m *MockFilePersistenceInterface) StartUpload(fd *types.FileDef) error
StartUpload mocks base method.
type MockFilePersistenceInterfaceMockRecorder ¶
type MockFilePersistenceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockFilePersistenceInterfaceMockRecorder is the mock recorder for MockFilePersistenceInterface.
func (*MockFilePersistenceInterfaceMockRecorder) DeleteUnused ¶
func (mr *MockFilePersistenceInterfaceMockRecorder) DeleteUnused(olderThan, limit interface{}) *gomock.Call
DeleteUnused indicates an expected call of DeleteUnused.
func (*MockFilePersistenceInterfaceMockRecorder) FinishUpload ¶
func (mr *MockFilePersistenceInterfaceMockRecorder) FinishUpload(fd, success, size interface{}) *gomock.Call
FinishUpload indicates an expected call of FinishUpload.
func (*MockFilePersistenceInterfaceMockRecorder) Get ¶
func (mr *MockFilePersistenceInterfaceMockRecorder) Get(fid interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockFilePersistenceInterfaceMockRecorder) LinkAttachments ¶
func (mr *MockFilePersistenceInterfaceMockRecorder) LinkAttachments(topic, msgId, attachments interface{}) *gomock.Call
LinkAttachments indicates an expected call of LinkAttachments.
func (*MockFilePersistenceInterfaceMockRecorder) StartUpload ¶
func (mr *MockFilePersistenceInterfaceMockRecorder) StartUpload(fd interface{}) *gomock.Call
StartUpload indicates an expected call of StartUpload.
type MockMessagesPersistenceInterface ¶
type MockMessagesPersistenceInterface struct {
// contains filtered or unexported fields
}
MockMessagesPersistenceInterface is a mock of MessagesPersistenceInterface interface.
func NewMockMessagesPersistenceInterface ¶
func NewMockMessagesPersistenceInterface(ctrl *gomock.Controller) *MockMessagesPersistenceInterface
NewMockMessagesPersistenceInterface creates a new mock instance.
func (*MockMessagesPersistenceInterface) DeleteList ¶
func (m *MockMessagesPersistenceInterface) DeleteList(topic string, delID int, forUser types.Uid, ranges []types.Range) error
DeleteList mocks base method.
func (*MockMessagesPersistenceInterface) EXPECT ¶
func (m *MockMessagesPersistenceInterface) EXPECT() *MockMessagesPersistenceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessagesPersistenceInterface) GetAll ¶
func (m *MockMessagesPersistenceInterface) GetAll(topic string, forUser types.Uid, opt *types.QueryOpt) ([]types.Message, error)
GetAll mocks base method.
type MockMessagesPersistenceInterfaceMockRecorder ¶
type MockMessagesPersistenceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockMessagesPersistenceInterfaceMockRecorder is the mock recorder for MockMessagesPersistenceInterface.
func (*MockMessagesPersistenceInterfaceMockRecorder) DeleteList ¶
func (mr *MockMessagesPersistenceInterfaceMockRecorder) DeleteList(topic, delID, forUser, ranges interface{}) *gomock.Call
DeleteList indicates an expected call of DeleteList.
func (*MockMessagesPersistenceInterfaceMockRecorder) GetAll ¶
func (mr *MockMessagesPersistenceInterfaceMockRecorder) GetAll(topic, forUser, opt interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockMessagesPersistenceInterfaceMockRecorder) GetDeleted ¶
func (mr *MockMessagesPersistenceInterfaceMockRecorder) GetDeleted(topic, forUser, opt interface{}) *gomock.Call
GetDeleted indicates an expected call of GetDeleted.
func (*MockMessagesPersistenceInterfaceMockRecorder) Save ¶
func (mr *MockMessagesPersistenceInterfaceMockRecorder) Save(msg, attachmentURLs, readBySender interface{}) *gomock.Call
Save indicates an expected call of Save.
type MockPersistentStorageInterface ¶
type MockPersistentStorageInterface struct {
// contains filtered or unexported fields
}
MockPersistentStorageInterface is a mock of PersistentStorageInterface interface.
func NewMockPersistentStorageInterface ¶
func NewMockPersistentStorageInterface(ctrl *gomock.Controller) *MockPersistentStorageInterface
NewMockPersistentStorageInterface creates a new mock instance.
func (*MockPersistentStorageInterface) Close ¶
func (m *MockPersistentStorageInterface) Close() error
Close mocks base method.
func (*MockPersistentStorageInterface) DbStats ¶
func (m *MockPersistentStorageInterface) DbStats() func() interface{}
DbStats mocks base method.
func (*MockPersistentStorageInterface) EXPECT ¶
func (m *MockPersistentStorageInterface) EXPECT() *MockPersistentStorageInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPersistentStorageInterface) GetAdapter ¶
func (m *MockPersistentStorageInterface) GetAdapter() adapter.Adapter
GetAdapter mocks base method.
func (*MockPersistentStorageInterface) GetAdapterName ¶
func (m *MockPersistentStorageInterface) GetAdapterName() string
GetAdapterName mocks base method.
func (*MockPersistentStorageInterface) GetAdapterVersion ¶
func (m *MockPersistentStorageInterface) GetAdapterVersion() int
GetAdapterVersion mocks base method.
func (*MockPersistentStorageInterface) GetAuthHandler ¶
func (m *MockPersistentStorageInterface) GetAuthHandler(name string) auth.AuthHandler
GetAuthHandler mocks base method.
func (*MockPersistentStorageInterface) GetAuthNames ¶
func (m *MockPersistentStorageInterface) GetAuthNames() []string
GetAuthNames mocks base method.
func (*MockPersistentStorageInterface) GetDbVersion ¶
func (m *MockPersistentStorageInterface) GetDbVersion() int
GetDbVersion mocks base method.
func (*MockPersistentStorageInterface) GetLogicalAuthHandler ¶
func (m *MockPersistentStorageInterface) GetLogicalAuthHandler(name string) auth.AuthHandler
GetLogicalAuthHandler mocks base method.
func (*MockPersistentStorageInterface) GetMediaHandler ¶
func (m *MockPersistentStorageInterface) GetMediaHandler() media.Handler
GetMediaHandler mocks base method.
func (*MockPersistentStorageInterface) GetUid ¶
func (m *MockPersistentStorageInterface) GetUid() types.Uid
GetUid mocks base method.
func (*MockPersistentStorageInterface) GetUidString ¶
func (m *MockPersistentStorageInterface) GetUidString() string
GetUidString mocks base method.
func (*MockPersistentStorageInterface) GetValidator ¶
func (m *MockPersistentStorageInterface) GetValidator(name string) validate.Validator
GetValidator mocks base method.
func (*MockPersistentStorageInterface) InitDb ¶
func (m *MockPersistentStorageInterface) InitDb(jsonconf json.RawMessage, reset bool) error
InitDb mocks base method.
func (*MockPersistentStorageInterface) IsOpen ¶
func (m *MockPersistentStorageInterface) IsOpen() bool
IsOpen mocks base method.
func (*MockPersistentStorageInterface) Open ¶
func (m *MockPersistentStorageInterface) Open(workerId int, jsonconf json.RawMessage) error
Open mocks base method.
func (*MockPersistentStorageInterface) UpgradeDb ¶
func (m *MockPersistentStorageInterface) UpgradeDb(jsonconf json.RawMessage) error
UpgradeDb mocks base method.
func (*MockPersistentStorageInterface) UseMediaHandler ¶
func (m *MockPersistentStorageInterface) UseMediaHandler(name, config string) error
UseMediaHandler mocks base method.
type MockPersistentStorageInterfaceMockRecorder ¶
type MockPersistentStorageInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPersistentStorageInterfaceMockRecorder is the mock recorder for MockPersistentStorageInterface.
func (*MockPersistentStorageInterfaceMockRecorder) Close ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPersistentStorageInterfaceMockRecorder) DbStats ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) DbStats() *gomock.Call
DbStats indicates an expected call of DbStats.
func (*MockPersistentStorageInterfaceMockRecorder) GetAdapter ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetAdapter() *gomock.Call
GetAdapter indicates an expected call of GetAdapter.
func (*MockPersistentStorageInterfaceMockRecorder) GetAdapterName ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetAdapterName() *gomock.Call
GetAdapterName indicates an expected call of GetAdapterName.
func (*MockPersistentStorageInterfaceMockRecorder) GetAdapterVersion ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetAdapterVersion() *gomock.Call
GetAdapterVersion indicates an expected call of GetAdapterVersion.
func (*MockPersistentStorageInterfaceMockRecorder) GetAuthHandler ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetAuthHandler(name interface{}) *gomock.Call
GetAuthHandler indicates an expected call of GetAuthHandler.
func (*MockPersistentStorageInterfaceMockRecorder) GetAuthNames ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetAuthNames() *gomock.Call
GetAuthNames indicates an expected call of GetAuthNames.
func (*MockPersistentStorageInterfaceMockRecorder) GetDbVersion ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetDbVersion() *gomock.Call
GetDbVersion indicates an expected call of GetDbVersion.
func (*MockPersistentStorageInterfaceMockRecorder) GetLogicalAuthHandler ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetLogicalAuthHandler(name interface{}) *gomock.Call
GetLogicalAuthHandler indicates an expected call of GetLogicalAuthHandler.
func (*MockPersistentStorageInterfaceMockRecorder) GetMediaHandler ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetMediaHandler() *gomock.Call
GetMediaHandler indicates an expected call of GetMediaHandler.
func (*MockPersistentStorageInterfaceMockRecorder) GetUid ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetUid() *gomock.Call
GetUid indicates an expected call of GetUid.
func (*MockPersistentStorageInterfaceMockRecorder) GetUidString ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetUidString() *gomock.Call
GetUidString indicates an expected call of GetUidString.
func (*MockPersistentStorageInterfaceMockRecorder) GetValidator ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) GetValidator(name interface{}) *gomock.Call
GetValidator indicates an expected call of GetValidator.
func (*MockPersistentStorageInterfaceMockRecorder) InitDb ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) InitDb(jsonconf, reset interface{}) *gomock.Call
InitDb indicates an expected call of InitDb.
func (*MockPersistentStorageInterfaceMockRecorder) IsOpen ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) IsOpen() *gomock.Call
IsOpen indicates an expected call of IsOpen.
func (*MockPersistentStorageInterfaceMockRecorder) Open ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) Open(workerId, jsonconf interface{}) *gomock.Call
Open indicates an expected call of Open.
func (*MockPersistentStorageInterfaceMockRecorder) UpgradeDb ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) UpgradeDb(jsonconf interface{}) *gomock.Call
UpgradeDb indicates an expected call of UpgradeDb.
func (*MockPersistentStorageInterfaceMockRecorder) UseMediaHandler ¶
func (mr *MockPersistentStorageInterfaceMockRecorder) UseMediaHandler(name, config interface{}) *gomock.Call
UseMediaHandler indicates an expected call of UseMediaHandler.
type MockSubsPersistenceInterface ¶
type MockSubsPersistenceInterface struct {
// contains filtered or unexported fields
}
MockSubsPersistenceInterface is a mock of SubsPersistenceInterface interface.
func NewMockSubsPersistenceInterface ¶
func NewMockSubsPersistenceInterface(ctrl *gomock.Controller) *MockSubsPersistenceInterface
NewMockSubsPersistenceInterface creates a new mock instance.
func (*MockSubsPersistenceInterface) Create ¶
func (m *MockSubsPersistenceInterface) Create(subs ...*types.Subscription) error
Create mocks base method.
func (*MockSubsPersistenceInterface) Delete ¶
func (m *MockSubsPersistenceInterface) Delete(topic string, user types.Uid) error
Delete mocks base method.
func (*MockSubsPersistenceInterface) EXPECT ¶
func (m *MockSubsPersistenceInterface) EXPECT() *MockSubsPersistenceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSubsPersistenceInterface) Get ¶
func (m *MockSubsPersistenceInterface) Get(topic string, user types.Uid, keepDeleted bool) (*types.Subscription, error)
Get mocks base method.
type MockSubsPersistenceInterfaceMockRecorder ¶
type MockSubsPersistenceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockSubsPersistenceInterfaceMockRecorder is the mock recorder for MockSubsPersistenceInterface.
func (*MockSubsPersistenceInterfaceMockRecorder) Create ¶
func (mr *MockSubsPersistenceInterfaceMockRecorder) Create(subs ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockSubsPersistenceInterfaceMockRecorder) Delete ¶
func (mr *MockSubsPersistenceInterfaceMockRecorder) Delete(topic, user interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSubsPersistenceInterfaceMockRecorder) Get ¶
func (mr *MockSubsPersistenceInterfaceMockRecorder) Get(topic, user, keepDeleted interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockSubsPersistenceInterfaceMockRecorder) Update ¶
func (mr *MockSubsPersistenceInterfaceMockRecorder) Update(topic, user, update interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockTopicsPersistenceInterface ¶
type MockTopicsPersistenceInterface struct {
// contains filtered or unexported fields
}
MockTopicsPersistenceInterface is a mock of TopicsPersistenceInterface interface.
func NewMockTopicsPersistenceInterface ¶
func NewMockTopicsPersistenceInterface(ctrl *gomock.Controller) *MockTopicsPersistenceInterface
NewMockTopicsPersistenceInterface creates a new mock instance.
func (*MockTopicsPersistenceInterface) Create ¶
func (m *MockTopicsPersistenceInterface) Create(topic *types.Topic, owner types.Uid, private interface{}) error
Create mocks base method.
func (*MockTopicsPersistenceInterface) CreateP2P ¶
func (m *MockTopicsPersistenceInterface) CreateP2P(initiator, invited *types.Subscription) error
CreateP2P mocks base method.
func (*MockTopicsPersistenceInterface) Delete ¶
func (m *MockTopicsPersistenceInterface) Delete(topic string, isChan, hard bool) error
Delete mocks base method.
func (*MockTopicsPersistenceInterface) EXPECT ¶
func (m *MockTopicsPersistenceInterface) EXPECT() *MockTopicsPersistenceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTopicsPersistenceInterface) Get ¶
func (m *MockTopicsPersistenceInterface) Get(topic string) (*types.Topic, error)
Get mocks base method.
func (*MockTopicsPersistenceInterface) GetSubs ¶
func (m *MockTopicsPersistenceInterface) GetSubs(topic string, opts *types.QueryOpt) ([]types.Subscription, error)
GetSubs mocks base method.
func (*MockTopicsPersistenceInterface) GetSubsAny ¶
func (m *MockTopicsPersistenceInterface) GetSubsAny(topic string, opts *types.QueryOpt) ([]types.Subscription, error)
GetSubsAny mocks base method.
func (*MockTopicsPersistenceInterface) GetUsers ¶
func (m *MockTopicsPersistenceInterface) GetUsers(topic string, opts *types.QueryOpt) ([]types.Subscription, error)
GetUsers mocks base method.
func (*MockTopicsPersistenceInterface) GetUsersAny ¶
func (m *MockTopicsPersistenceInterface) GetUsersAny(topic string, opts *types.QueryOpt) ([]types.Subscription, error)
GetUsersAny mocks base method.
func (*MockTopicsPersistenceInterface) OwnerChange ¶
func (m *MockTopicsPersistenceInterface) OwnerChange(topic string, newOwner types.Uid) error
OwnerChange mocks base method.
type MockTopicsPersistenceInterfaceMockRecorder ¶
type MockTopicsPersistenceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockTopicsPersistenceInterfaceMockRecorder is the mock recorder for MockTopicsPersistenceInterface.
func (*MockTopicsPersistenceInterfaceMockRecorder) Create ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) Create(topic, owner, private interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockTopicsPersistenceInterfaceMockRecorder) CreateP2P ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) CreateP2P(initiator, invited interface{}) *gomock.Call
CreateP2P indicates an expected call of CreateP2P.
func (*MockTopicsPersistenceInterfaceMockRecorder) Delete ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) Delete(topic, isChan, hard interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTopicsPersistenceInterfaceMockRecorder) Get ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) Get(topic interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockTopicsPersistenceInterfaceMockRecorder) GetSubs ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) GetSubs(topic, opts interface{}) *gomock.Call
GetSubs indicates an expected call of GetSubs.
func (*MockTopicsPersistenceInterfaceMockRecorder) GetSubsAny ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) GetSubsAny(topic, opts interface{}) *gomock.Call
GetSubsAny indicates an expected call of GetSubsAny.
func (*MockTopicsPersistenceInterfaceMockRecorder) GetUsers ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) GetUsers(topic, opts interface{}) *gomock.Call
GetUsers indicates an expected call of GetUsers.
func (*MockTopicsPersistenceInterfaceMockRecorder) GetUsersAny ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) GetUsersAny(topic, opts interface{}) *gomock.Call
GetUsersAny indicates an expected call of GetUsersAny.
func (*MockTopicsPersistenceInterfaceMockRecorder) OwnerChange ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) OwnerChange(topic, newOwner interface{}) *gomock.Call
OwnerChange indicates an expected call of OwnerChange.
func (*MockTopicsPersistenceInterfaceMockRecorder) Update ¶
func (mr *MockTopicsPersistenceInterfaceMockRecorder) Update(topic, update interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockUsersPersistenceInterface ¶
type MockUsersPersistenceInterface struct {
// contains filtered or unexported fields
}
MockUsersPersistenceInterface is a mock of UsersPersistenceInterface interface.
func NewMockUsersPersistenceInterface ¶
func NewMockUsersPersistenceInterface(ctrl *gomock.Controller) *MockUsersPersistenceInterface
NewMockUsersPersistenceInterface creates a new mock instance.
func (*MockUsersPersistenceInterface) AddAuthRecord ¶
func (m *MockUsersPersistenceInterface) AddAuthRecord(uid types.Uid, authLvl auth.Level, scheme, unique string, secret []byte, expires time.Time) error
AddAuthRecord mocks base method.
func (*MockUsersPersistenceInterface) ConfirmCred ¶
func (m *MockUsersPersistenceInterface) ConfirmCred(id types.Uid, method string) error
ConfirmCred mocks base method.
func (*MockUsersPersistenceInterface) Create ¶
func (m *MockUsersPersistenceInterface) Create(user *types.User, private interface{}) (*types.User, error)
Create mocks base method.
func (*MockUsersPersistenceInterface) DelAuthRecords ¶
func (m *MockUsersPersistenceInterface) DelAuthRecords(uid types.Uid, scheme string) error
DelAuthRecords mocks base method.
func (*MockUsersPersistenceInterface) DelCred ¶
func (m *MockUsersPersistenceInterface) DelCred(id types.Uid, method, value string) error
DelCred mocks base method.
func (*MockUsersPersistenceInterface) Delete ¶
func (m *MockUsersPersistenceInterface) Delete(id types.Uid, hard bool) error
Delete mocks base method.
func (*MockUsersPersistenceInterface) EXPECT ¶
func (m *MockUsersPersistenceInterface) EXPECT() *MockUsersPersistenceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUsersPersistenceInterface) FailCred ¶
func (m *MockUsersPersistenceInterface) FailCred(id types.Uid, method string) error
FailCred mocks base method.
func (*MockUsersPersistenceInterface) FindSubs ¶
func (m *MockUsersPersistenceInterface) FindSubs(id types.Uid, required [][]string, optional []string) ([]types.Subscription, error)
FindSubs mocks base method.
func (*MockUsersPersistenceInterface) GetActiveCred ¶
func (m *MockUsersPersistenceInterface) GetActiveCred(id types.Uid, method string) (*types.Credential, error)
GetActiveCred mocks base method.
func (*MockUsersPersistenceInterface) GetAllCreds ¶
func (m *MockUsersPersistenceInterface) GetAllCreds(id types.Uid, method string, validatedOnly bool) ([]types.Credential, error)
GetAllCreds mocks base method.
func (*MockUsersPersistenceInterface) GetAuthRecord ¶
func (m *MockUsersPersistenceInterface) GetAuthRecord(user types.Uid, scheme string) (string, auth.Level, []byte, time.Time, error)
GetAuthRecord mocks base method.
func (*MockUsersPersistenceInterface) GetAuthUniqueRecord ¶
func (m *MockUsersPersistenceInterface) GetAuthUniqueRecord(scheme, unique string) (types.Uid, auth.Level, []byte, time.Time, error)
GetAuthUniqueRecord mocks base method.
func (*MockUsersPersistenceInterface) GetByCred ¶
func (m *MockUsersPersistenceInterface) GetByCred(method, value string) (types.Uid, error)
GetByCred mocks base method.
func (*MockUsersPersistenceInterface) GetChannels ¶
func (m *MockUsersPersistenceInterface) GetChannels(id types.Uid) ([]string, error)
GetChannels mocks base method.
func (*MockUsersPersistenceInterface) GetOwnTopics ¶
func (m *MockUsersPersistenceInterface) GetOwnTopics(id types.Uid) ([]string, error)
GetOwnTopics mocks base method.
func (*MockUsersPersistenceInterface) GetSubs ¶
func (m *MockUsersPersistenceInterface) GetSubs(id types.Uid) ([]types.Subscription, error)
GetSubs mocks base method.
func (*MockUsersPersistenceInterface) GetTopics ¶
func (m *MockUsersPersistenceInterface) GetTopics(id types.Uid, opts *types.QueryOpt) ([]types.Subscription, error)
GetTopics mocks base method.
func (*MockUsersPersistenceInterface) GetTopicsAny ¶
func (m *MockUsersPersistenceInterface) GetTopicsAny(id types.Uid, opts *types.QueryOpt) ([]types.Subscription, error)
GetTopicsAny mocks base method.
func (*MockUsersPersistenceInterface) GetUnreadCount ¶
GetUnreadCount mocks base method.
func (*MockUsersPersistenceInterface) Update ¶
func (m *MockUsersPersistenceInterface) Update(uid types.Uid, update map[string]interface{}) error
Update mocks base method.
func (*MockUsersPersistenceInterface) UpdateAuthRecord ¶
func (m *MockUsersPersistenceInterface) UpdateAuthRecord(uid types.Uid, authLvl auth.Level, scheme, unique string, secret []byte, expires time.Time) error
UpdateAuthRecord mocks base method.
func (*MockUsersPersistenceInterface) UpdateLastSeen ¶
func (m *MockUsersPersistenceInterface) UpdateLastSeen(uid types.Uid, userAgent string, when time.Time) error
UpdateLastSeen mocks base method.
func (*MockUsersPersistenceInterface) UpdateState ¶
UpdateState mocks base method.
func (*MockUsersPersistenceInterface) UpdateTags ¶
func (m *MockUsersPersistenceInterface) UpdateTags(uid types.Uid, add, remove, reset []string) ([]string, error)
UpdateTags mocks base method.
func (*MockUsersPersistenceInterface) UpsertCred ¶
func (m *MockUsersPersistenceInterface) UpsertCred(cred *types.Credential) (bool, error)
UpsertCred mocks base method.
type MockUsersPersistenceInterfaceMockRecorder ¶
type MockUsersPersistenceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockUsersPersistenceInterfaceMockRecorder is the mock recorder for MockUsersPersistenceInterface.
func (*MockUsersPersistenceInterfaceMockRecorder) AddAuthRecord ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) AddAuthRecord(uid, authLvl, scheme, unique, secret, expires interface{}) *gomock.Call
AddAuthRecord indicates an expected call of AddAuthRecord.
func (*MockUsersPersistenceInterfaceMockRecorder) ConfirmCred ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) ConfirmCred(id, method interface{}) *gomock.Call
ConfirmCred indicates an expected call of ConfirmCred.
func (*MockUsersPersistenceInterfaceMockRecorder) Create ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) Create(user, private interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUsersPersistenceInterfaceMockRecorder) DelAuthRecords ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) DelAuthRecords(uid, scheme interface{}) *gomock.Call
DelAuthRecords indicates an expected call of DelAuthRecords.
func (*MockUsersPersistenceInterfaceMockRecorder) DelCred ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) DelCred(id, method, value interface{}) *gomock.Call
DelCred indicates an expected call of DelCred.
func (*MockUsersPersistenceInterfaceMockRecorder) Delete ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) Delete(id, hard interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockUsersPersistenceInterfaceMockRecorder) FailCred ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) FailCred(id, method interface{}) *gomock.Call
FailCred indicates an expected call of FailCred.
func (*MockUsersPersistenceInterfaceMockRecorder) FindSubs ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) FindSubs(id, required, optional interface{}) *gomock.Call
FindSubs indicates an expected call of FindSubs.
func (*MockUsersPersistenceInterfaceMockRecorder) Get ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) Get(uid interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockUsersPersistenceInterfaceMockRecorder) GetActiveCred ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetActiveCred(id, method interface{}) *gomock.Call
GetActiveCred indicates an expected call of GetActiveCred.
func (*MockUsersPersistenceInterfaceMockRecorder) GetAll ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetAll(uid ...interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockUsersPersistenceInterfaceMockRecorder) GetAllCreds ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetAllCreds(id, method, validatedOnly interface{}) *gomock.Call
GetAllCreds indicates an expected call of GetAllCreds.
func (*MockUsersPersistenceInterfaceMockRecorder) GetAuthRecord ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetAuthRecord(user, scheme interface{}) *gomock.Call
GetAuthRecord indicates an expected call of GetAuthRecord.
func (*MockUsersPersistenceInterfaceMockRecorder) GetAuthUniqueRecord ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetAuthUniqueRecord(scheme, unique interface{}) *gomock.Call
GetAuthUniqueRecord indicates an expected call of GetAuthUniqueRecord.
func (*MockUsersPersistenceInterfaceMockRecorder) GetByCred ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetByCred(method, value interface{}) *gomock.Call
GetByCred indicates an expected call of GetByCred.
func (*MockUsersPersistenceInterfaceMockRecorder) GetChannels ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetChannels(id interface{}) *gomock.Call
GetChannels indicates an expected call of GetChannels.
func (*MockUsersPersistenceInterfaceMockRecorder) GetOwnTopics ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetOwnTopics(id interface{}) *gomock.Call
GetOwnTopics indicates an expected call of GetOwnTopics.
func (*MockUsersPersistenceInterfaceMockRecorder) GetSubs ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetSubs(id interface{}) *gomock.Call
GetSubs indicates an expected call of GetSubs.
func (*MockUsersPersistenceInterfaceMockRecorder) GetTopics ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetTopics(id, opts interface{}) *gomock.Call
GetTopics indicates an expected call of GetTopics.
func (*MockUsersPersistenceInterfaceMockRecorder) GetTopicsAny ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetTopicsAny(id, opts interface{}) *gomock.Call
GetTopicsAny indicates an expected call of GetTopicsAny.
func (*MockUsersPersistenceInterfaceMockRecorder) GetUnreadCount ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) GetUnreadCount(ids ...interface{}) *gomock.Call
GetUnreadCount indicates an expected call of GetUnreadCount.
func (*MockUsersPersistenceInterfaceMockRecorder) Update ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) Update(uid, update interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockUsersPersistenceInterfaceMockRecorder) UpdateAuthRecord ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) UpdateAuthRecord(uid, authLvl, scheme, unique, secret, expires interface{}) *gomock.Call
UpdateAuthRecord indicates an expected call of UpdateAuthRecord.
func (*MockUsersPersistenceInterfaceMockRecorder) UpdateLastSeen ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) UpdateLastSeen(uid, userAgent, when interface{}) *gomock.Call
UpdateLastSeen indicates an expected call of UpdateLastSeen.
func (*MockUsersPersistenceInterfaceMockRecorder) UpdateState ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) UpdateState(uid, state interface{}) *gomock.Call
UpdateState indicates an expected call of UpdateState.
func (*MockUsersPersistenceInterfaceMockRecorder) UpdateTags ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) UpdateTags(uid, add, remove, reset interface{}) *gomock.Call
UpdateTags indicates an expected call of UpdateTags.
func (*MockUsersPersistenceInterfaceMockRecorder) UpsertCred ¶
func (mr *MockUsersPersistenceInterfaceMockRecorder) UpsertCred(cred interface{}) *gomock.Call
UpsertCred indicates an expected call of UpsertCred.