mock_store

package
v0.17.5 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDeviceMapperInterface

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

MockDeviceMapperInterface is a mock of DeviceMapperInterface interface

func NewMockDeviceMapperInterface

func NewMockDeviceMapperInterface(ctrl *gomock.Controller) *MockDeviceMapperInterface

NewMockDeviceMapperInterface creates a new mock instance

func (*MockDeviceMapperInterface) Delete

func (m *MockDeviceMapperInterface) Delete(uid types.Uid, deviceID string) error

Delete mocks base method

func (*MockDeviceMapperInterface) EXPECT

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

func (*MockDeviceMapperInterface) GetAll

func (m *MockDeviceMapperInterface) GetAll(uid ...types.Uid) (map[types.Uid][]types.DeviceDef, int, error)

GetAll mocks base method

func (*MockDeviceMapperInterface) Update

func (m *MockDeviceMapperInterface) Update(uid types.Uid, oldDeviceID string, dev *types.DeviceDef) error

Update mocks base method

type MockDeviceMapperInterfaceMockRecorder

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

MockDeviceMapperInterfaceMockRecorder is the mock recorder for MockDeviceMapperInterface

func (*MockDeviceMapperInterfaceMockRecorder) Delete

func (mr *MockDeviceMapperInterfaceMockRecorder) Delete(uid, deviceID interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockDeviceMapperInterfaceMockRecorder) GetAll

func (mr *MockDeviceMapperInterfaceMockRecorder) GetAll(uid ...interface{}) *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockDeviceMapperInterfaceMockRecorder) Update

func (mr *MockDeviceMapperInterfaceMockRecorder) Update(uid, oldDeviceID, dev interface{}) *gomock.Call

Update indicates an expected call of Update

type MockFileMapperInterface

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

MockFileMapperInterface is a mock of FileMapperInterface interface

func NewMockFileMapperInterface

func NewMockFileMapperInterface(ctrl *gomock.Controller) *MockFileMapperInterface

NewMockFileMapperInterface creates a new mock instance

func (*MockFileMapperInterface) DeleteUnused

func (m *MockFileMapperInterface) DeleteUnused(olderThan time.Time, limit int) error

DeleteUnused mocks base method

func (*MockFileMapperInterface) EXPECT

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

func (*MockFileMapperInterface) FinishUpload

func (m *MockFileMapperInterface) FinishUpload(fid string, success bool, size int64) (*types.FileDef, error)

FinishUpload mocks base method

func (*MockFileMapperInterface) Get

Get mocks base method

func (*MockFileMapperInterface) StartUpload

func (m *MockFileMapperInterface) StartUpload(fd *types.FileDef) error

StartUpload mocks base method

type MockFileMapperInterfaceMockRecorder

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

MockFileMapperInterfaceMockRecorder is the mock recorder for MockFileMapperInterface

func (*MockFileMapperInterfaceMockRecorder) DeleteUnused

func (mr *MockFileMapperInterfaceMockRecorder) DeleteUnused(olderThan, limit interface{}) *gomock.Call

DeleteUnused indicates an expected call of DeleteUnused

func (*MockFileMapperInterfaceMockRecorder) FinishUpload

func (mr *MockFileMapperInterfaceMockRecorder) FinishUpload(fid, success, size interface{}) *gomock.Call

FinishUpload indicates an expected call of FinishUpload

func (*MockFileMapperInterfaceMockRecorder) Get

func (mr *MockFileMapperInterfaceMockRecorder) Get(fid interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockFileMapperInterfaceMockRecorder) StartUpload

func (mr *MockFileMapperInterfaceMockRecorder) StartUpload(fd interface{}) *gomock.Call

StartUpload indicates an expected call of StartUpload

type MockMessagesObjMapperInterface

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

MockMessagesObjMapperInterface is a mock of MessagesObjMapperInterface interface

func NewMockMessagesObjMapperInterface

func NewMockMessagesObjMapperInterface(ctrl *gomock.Controller) *MockMessagesObjMapperInterface

NewMockMessagesObjMapperInterface creates a new mock instance

func (*MockMessagesObjMapperInterface) DeleteList

func (m *MockMessagesObjMapperInterface) DeleteList(topic string, delID int, forUser types.Uid, ranges []types.Range) error

DeleteList mocks base method

func (*MockMessagesObjMapperInterface) EXPECT

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

func (*MockMessagesObjMapperInterface) GetAll

func (m *MockMessagesObjMapperInterface) GetAll(topic string, forUser types.Uid, opt *types.QueryOpt) ([]types.Message, error)

GetAll mocks base method

func (*MockMessagesObjMapperInterface) GetDeleted

func (m *MockMessagesObjMapperInterface) GetDeleted(topic string, forUser types.Uid, opt *types.QueryOpt) ([]types.Range, int, error)

GetDeleted mocks base method

func (*MockMessagesObjMapperInterface) Save

func (m *MockMessagesObjMapperInterface) Save(msg *types.Message, readBySender bool) error

Save mocks base method

type MockMessagesObjMapperInterfaceMockRecorder

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

MockMessagesObjMapperInterfaceMockRecorder is the mock recorder for MockMessagesObjMapperInterface

func (*MockMessagesObjMapperInterfaceMockRecorder) DeleteList

func (mr *MockMessagesObjMapperInterfaceMockRecorder) DeleteList(topic, delID, forUser, ranges interface{}) *gomock.Call

DeleteList indicates an expected call of DeleteList

func (*MockMessagesObjMapperInterfaceMockRecorder) GetAll

func (mr *MockMessagesObjMapperInterfaceMockRecorder) GetAll(topic, forUser, opt interface{}) *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockMessagesObjMapperInterfaceMockRecorder) GetDeleted

func (mr *MockMessagesObjMapperInterfaceMockRecorder) GetDeleted(topic, forUser, opt interface{}) *gomock.Call

GetDeleted indicates an expected call of GetDeleted

func (*MockMessagesObjMapperInterfaceMockRecorder) Save

func (mr *MockMessagesObjMapperInterfaceMockRecorder) Save(msg, readBySender interface{}) *gomock.Call

Save indicates an expected call of Save

type MockStoreInterface

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

MockStoreInterface is a mock of StoreInterface interface

func NewMockStoreInterface

func NewMockStoreInterface(ctrl *gomock.Controller) *MockStoreInterface

NewMockStoreInterface creates a new mock instance

func (*MockStoreInterface) Close

func (m *MockStoreInterface) Close() error

Close mocks base method

func (*MockStoreInterface) DbStats

func (m *MockStoreInterface) DbStats() func() interface{}

DbStats mocks base method

func (*MockStoreInterface) EXPECT

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

func (*MockStoreInterface) GetAdapterName

func (m *MockStoreInterface) GetAdapterName() string

GetAdapterName mocks base method

func (*MockStoreInterface) GetAdapterVersion

func (m *MockStoreInterface) GetAdapterVersion() int

GetAdapterVersion mocks base method

func (*MockStoreInterface) GetAuthHandler

func (m *MockStoreInterface) GetAuthHandler(name string) auth.AuthHandler

GetAuthHandler mocks base method

func (*MockStoreInterface) GetAuthNames

func (m *MockStoreInterface) GetAuthNames() []string

GetAuthNames mocks base method

func (*MockStoreInterface) GetDbVersion

func (m *MockStoreInterface) GetDbVersion() int

GetDbVersion mocks base method

func (*MockStoreInterface) GetLogicalAuthHandler

func (m *MockStoreInterface) GetLogicalAuthHandler(name string) auth.AuthHandler

GetLogicalAuthHandler mocks base method

func (*MockStoreInterface) GetMediaHandler

func (m *MockStoreInterface) GetMediaHandler() media.Handler

GetMediaHandler mocks base method

func (*MockStoreInterface) GetUid

func (m *MockStoreInterface) GetUid() types.Uid

GetUid mocks base method

func (*MockStoreInterface) GetUidString

func (m *MockStoreInterface) GetUidString() string

GetUidString mocks base method

func (*MockStoreInterface) GetValidator

func (m *MockStoreInterface) GetValidator(name string) validate.Validator

GetValidator mocks base method

func (*MockStoreInterface) InitDb

func (m *MockStoreInterface) InitDb(jsonconf json.RawMessage, reset bool) error

InitDb mocks base method

func (*MockStoreInterface) IsOpen

func (m *MockStoreInterface) IsOpen() bool

IsOpen mocks base method

func (*MockStoreInterface) Open

func (m *MockStoreInterface) Open(workerId int, jsonconf json.RawMessage) error

Open mocks base method

func (*MockStoreInterface) UpgradeDb

func (m *MockStoreInterface) UpgradeDb(jsonconf json.RawMessage) error

UpgradeDb mocks base method

func (*MockStoreInterface) UseMediaHandler

func (m *MockStoreInterface) UseMediaHandler(name, config string) error

UseMediaHandler mocks base method

type MockStoreInterfaceMockRecorder

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

MockStoreInterfaceMockRecorder is the mock recorder for MockStoreInterface

func (*MockStoreInterfaceMockRecorder) Close

Close indicates an expected call of Close

func (*MockStoreInterfaceMockRecorder) DbStats

DbStats indicates an expected call of DbStats

func (*MockStoreInterfaceMockRecorder) GetAdapterName

func (mr *MockStoreInterfaceMockRecorder) GetAdapterName() *gomock.Call

GetAdapterName indicates an expected call of GetAdapterName

func (*MockStoreInterfaceMockRecorder) GetAdapterVersion

func (mr *MockStoreInterfaceMockRecorder) GetAdapterVersion() *gomock.Call

GetAdapterVersion indicates an expected call of GetAdapterVersion

func (*MockStoreInterfaceMockRecorder) GetAuthHandler

func (mr *MockStoreInterfaceMockRecorder) GetAuthHandler(name interface{}) *gomock.Call

GetAuthHandler indicates an expected call of GetAuthHandler

func (*MockStoreInterfaceMockRecorder) GetAuthNames

func (mr *MockStoreInterfaceMockRecorder) GetAuthNames() *gomock.Call

GetAuthNames indicates an expected call of GetAuthNames

func (*MockStoreInterfaceMockRecorder) GetDbVersion

func (mr *MockStoreInterfaceMockRecorder) GetDbVersion() *gomock.Call

GetDbVersion indicates an expected call of GetDbVersion

func (*MockStoreInterfaceMockRecorder) GetLogicalAuthHandler

func (mr *MockStoreInterfaceMockRecorder) GetLogicalAuthHandler(name interface{}) *gomock.Call

GetLogicalAuthHandler indicates an expected call of GetLogicalAuthHandler

func (*MockStoreInterfaceMockRecorder) GetMediaHandler

func (mr *MockStoreInterfaceMockRecorder) GetMediaHandler() *gomock.Call

GetMediaHandler indicates an expected call of GetMediaHandler

func (*MockStoreInterfaceMockRecorder) GetUid

GetUid indicates an expected call of GetUid

func (*MockStoreInterfaceMockRecorder) GetUidString

func (mr *MockStoreInterfaceMockRecorder) GetUidString() *gomock.Call

GetUidString indicates an expected call of GetUidString

func (*MockStoreInterfaceMockRecorder) GetValidator

func (mr *MockStoreInterfaceMockRecorder) GetValidator(name interface{}) *gomock.Call

GetValidator indicates an expected call of GetValidator

func (*MockStoreInterfaceMockRecorder) InitDb

func (mr *MockStoreInterfaceMockRecorder) InitDb(jsonconf, reset interface{}) *gomock.Call

InitDb indicates an expected call of InitDb

func (*MockStoreInterfaceMockRecorder) IsOpen

IsOpen indicates an expected call of IsOpen

func (*MockStoreInterfaceMockRecorder) Open

func (mr *MockStoreInterfaceMockRecorder) Open(workerId, jsonconf interface{}) *gomock.Call

Open indicates an expected call of Open

func (*MockStoreInterfaceMockRecorder) UpgradeDb

func (mr *MockStoreInterfaceMockRecorder) UpgradeDb(jsonconf interface{}) *gomock.Call

UpgradeDb indicates an expected call of UpgradeDb

func (*MockStoreInterfaceMockRecorder) UseMediaHandler

func (mr *MockStoreInterfaceMockRecorder) UseMediaHandler(name, config interface{}) *gomock.Call

UseMediaHandler indicates an expected call of UseMediaHandler

type MockSubsObjMapperInterface

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

MockSubsObjMapperInterface is a mock of SubsObjMapperInterface interface

func NewMockSubsObjMapperInterface

func NewMockSubsObjMapperInterface(ctrl *gomock.Controller) *MockSubsObjMapperInterface

NewMockSubsObjMapperInterface creates a new mock instance

func (*MockSubsObjMapperInterface) Create

func (m *MockSubsObjMapperInterface) Create(subs ...*types.Subscription) error

Create mocks base method

func (*MockSubsObjMapperInterface) Delete

func (m *MockSubsObjMapperInterface) Delete(topic string, user types.Uid) error

Delete mocks base method

func (*MockSubsObjMapperInterface) EXPECT

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

func (*MockSubsObjMapperInterface) Get

Get mocks base method

func (*MockSubsObjMapperInterface) Update

func (m *MockSubsObjMapperInterface) Update(topic string, user types.Uid, update map[string]interface{}) error

Update mocks base method

type MockSubsObjMapperInterfaceMockRecorder

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

MockSubsObjMapperInterfaceMockRecorder is the mock recorder for MockSubsObjMapperInterface

func (*MockSubsObjMapperInterfaceMockRecorder) Create

func (mr *MockSubsObjMapperInterfaceMockRecorder) Create(subs ...interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockSubsObjMapperInterfaceMockRecorder) Delete

func (mr *MockSubsObjMapperInterfaceMockRecorder) Delete(topic, user interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSubsObjMapperInterfaceMockRecorder) Get

func (mr *MockSubsObjMapperInterfaceMockRecorder) Get(topic, user interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockSubsObjMapperInterfaceMockRecorder) Update

func (mr *MockSubsObjMapperInterfaceMockRecorder) Update(topic, user, update interface{}) *gomock.Call

Update indicates an expected call of Update

type MockTopicsObjMapperInterface

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

MockTopicsObjMapperInterface is a mock of TopicsObjMapperInterface interface

func NewMockTopicsObjMapperInterface

func NewMockTopicsObjMapperInterface(ctrl *gomock.Controller) *MockTopicsObjMapperInterface

NewMockTopicsObjMapperInterface creates a new mock instance

func (*MockTopicsObjMapperInterface) Create

func (m *MockTopicsObjMapperInterface) Create(topic *types.Topic, owner types.Uid, private interface{}) error

Create mocks base method

func (*MockTopicsObjMapperInterface) CreateP2P

func (m *MockTopicsObjMapperInterface) CreateP2P(initiator, invited *types.Subscription) error

CreateP2P mocks base method

func (*MockTopicsObjMapperInterface) Delete

func (m *MockTopicsObjMapperInterface) Delete(topic string, hard bool) error

Delete mocks base method

func (*MockTopicsObjMapperInterface) EXPECT

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

func (*MockTopicsObjMapperInterface) Get

Get mocks base method

func (*MockTopicsObjMapperInterface) GetSubs

GetSubs mocks base method

func (*MockTopicsObjMapperInterface) GetSubsAny

func (m *MockTopicsObjMapperInterface) GetSubsAny(topic string, opts *types.QueryOpt) ([]types.Subscription, error)

GetSubsAny mocks base method

func (*MockTopicsObjMapperInterface) GetUsers

func (m *MockTopicsObjMapperInterface) GetUsers(topic string, opts *types.QueryOpt) ([]types.Subscription, error)

GetUsers mocks base method

func (*MockTopicsObjMapperInterface) GetUsersAny

func (m *MockTopicsObjMapperInterface) GetUsersAny(topic string, opts *types.QueryOpt) ([]types.Subscription, error)

GetUsersAny mocks base method

func (*MockTopicsObjMapperInterface) OwnerChange

func (m *MockTopicsObjMapperInterface) OwnerChange(topic string, newOwner types.Uid) error

OwnerChange mocks base method

func (*MockTopicsObjMapperInterface) Update

func (m *MockTopicsObjMapperInterface) Update(topic string, update map[string]interface{}) error

Update mocks base method

type MockTopicsObjMapperInterfaceMockRecorder

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

MockTopicsObjMapperInterfaceMockRecorder is the mock recorder for MockTopicsObjMapperInterface

func (*MockTopicsObjMapperInterfaceMockRecorder) Create

func (mr *MockTopicsObjMapperInterfaceMockRecorder) Create(topic, owner, private interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockTopicsObjMapperInterfaceMockRecorder) CreateP2P

func (mr *MockTopicsObjMapperInterfaceMockRecorder) CreateP2P(initiator, invited interface{}) *gomock.Call

CreateP2P indicates an expected call of CreateP2P

func (*MockTopicsObjMapperInterfaceMockRecorder) Delete

func (mr *MockTopicsObjMapperInterfaceMockRecorder) Delete(topic, hard interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockTopicsObjMapperInterfaceMockRecorder) Get

func (mr *MockTopicsObjMapperInterfaceMockRecorder) Get(topic interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockTopicsObjMapperInterfaceMockRecorder) GetSubs

func (mr *MockTopicsObjMapperInterfaceMockRecorder) GetSubs(topic, opts interface{}) *gomock.Call

GetSubs indicates an expected call of GetSubs

func (*MockTopicsObjMapperInterfaceMockRecorder) GetSubsAny

func (mr *MockTopicsObjMapperInterfaceMockRecorder) GetSubsAny(topic, opts interface{}) *gomock.Call

GetSubsAny indicates an expected call of GetSubsAny

func (*MockTopicsObjMapperInterfaceMockRecorder) GetUsers

func (mr *MockTopicsObjMapperInterfaceMockRecorder) GetUsers(topic, opts interface{}) *gomock.Call

GetUsers indicates an expected call of GetUsers

func (*MockTopicsObjMapperInterfaceMockRecorder) GetUsersAny

func (mr *MockTopicsObjMapperInterfaceMockRecorder) GetUsersAny(topic, opts interface{}) *gomock.Call

GetUsersAny indicates an expected call of GetUsersAny

func (*MockTopicsObjMapperInterfaceMockRecorder) OwnerChange

func (mr *MockTopicsObjMapperInterfaceMockRecorder) OwnerChange(topic, newOwner interface{}) *gomock.Call

OwnerChange indicates an expected call of OwnerChange

func (*MockTopicsObjMapperInterfaceMockRecorder) Update

func (mr *MockTopicsObjMapperInterfaceMockRecorder) Update(topic, update interface{}) *gomock.Call

Update indicates an expected call of Update

type MockUsersObjMapperInterface

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

MockUsersObjMapperInterface is a mock of UsersObjMapperInterface interface

func NewMockUsersObjMapperInterface

func NewMockUsersObjMapperInterface(ctrl *gomock.Controller) *MockUsersObjMapperInterface

NewMockUsersObjMapperInterface creates a new mock instance

func (*MockUsersObjMapperInterface) AddAuthRecord

func (m *MockUsersObjMapperInterface) AddAuthRecord(uid types.Uid, authLvl auth.Level, scheme, unique string, secret []byte, expires time.Time) error

AddAuthRecord mocks base method

func (*MockUsersObjMapperInterface) ConfirmCred

func (m *MockUsersObjMapperInterface) ConfirmCred(id types.Uid, method string) error

ConfirmCred mocks base method

func (*MockUsersObjMapperInterface) Create

func (m *MockUsersObjMapperInterface) Create(user *types.User, private interface{}) (*types.User, error)

Create mocks base method

func (*MockUsersObjMapperInterface) DelAuthRecords

func (m *MockUsersObjMapperInterface) DelAuthRecords(uid types.Uid, scheme string) error

DelAuthRecords mocks base method

func (*MockUsersObjMapperInterface) DelCred

func (m *MockUsersObjMapperInterface) DelCred(id types.Uid, method, value string) error

DelCred mocks base method

func (*MockUsersObjMapperInterface) Delete

func (m *MockUsersObjMapperInterface) Delete(id types.Uid, hard bool) error

Delete mocks base method

func (*MockUsersObjMapperInterface) EXPECT

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

func (*MockUsersObjMapperInterface) FailCred

func (m *MockUsersObjMapperInterface) FailCred(id types.Uid, method string) error

FailCred mocks base method

func (*MockUsersObjMapperInterface) FindSubs

func (m *MockUsersObjMapperInterface) FindSubs(id types.Uid, required [][]string, optional []string) ([]types.Subscription, error)

FindSubs mocks base method

func (*MockUsersObjMapperInterface) Get

Get mocks base method

func (*MockUsersObjMapperInterface) GetActiveCred

func (m *MockUsersObjMapperInterface) GetActiveCred(id types.Uid, method string) (*types.Credential, error)

GetActiveCred mocks base method

func (*MockUsersObjMapperInterface) GetAll

func (m *MockUsersObjMapperInterface) GetAll(uid ...types.Uid) ([]types.User, error)

GetAll mocks base method

func (*MockUsersObjMapperInterface) GetAllCreds

func (m *MockUsersObjMapperInterface) GetAllCreds(id types.Uid, method string, validatedOnly bool) ([]types.Credential, error)

GetAllCreds mocks base method

func (*MockUsersObjMapperInterface) GetAuthRecord

func (m *MockUsersObjMapperInterface) GetAuthRecord(user types.Uid, scheme string) (string, auth.Level, []byte, time.Time, error)

GetAuthRecord mocks base method

func (*MockUsersObjMapperInterface) GetAuthUniqueRecord

func (m *MockUsersObjMapperInterface) GetAuthUniqueRecord(scheme, unique string) (types.Uid, auth.Level, []byte, time.Time, error)

GetAuthUniqueRecord mocks base method

func (*MockUsersObjMapperInterface) GetByCred

func (m *MockUsersObjMapperInterface) GetByCred(method, value string) (types.Uid, error)

GetByCred mocks base method

func (*MockUsersObjMapperInterface) GetChannels

func (m *MockUsersObjMapperInterface) GetChannels(id types.Uid) ([]string, error)

GetChannels mocks base method

func (*MockUsersObjMapperInterface) GetOwnTopics

func (m *MockUsersObjMapperInterface) GetOwnTopics(id types.Uid) ([]string, error)

GetOwnTopics mocks base method

func (*MockUsersObjMapperInterface) GetSubs

GetSubs mocks base method

func (*MockUsersObjMapperInterface) GetTopics

GetTopics mocks base method

func (*MockUsersObjMapperInterface) GetTopicsAny

func (m *MockUsersObjMapperInterface) GetTopicsAny(id types.Uid, opts *types.QueryOpt) ([]types.Subscription, error)

GetTopicsAny mocks base method

func (*MockUsersObjMapperInterface) GetUnreadCount

func (m *MockUsersObjMapperInterface) GetUnreadCount(id types.Uid) (int, error)

GetUnreadCount mocks base method

func (*MockUsersObjMapperInterface) Update

func (m *MockUsersObjMapperInterface) Update(uid types.Uid, update map[string]interface{}) error

Update mocks base method

func (*MockUsersObjMapperInterface) UpdateAuthRecord

func (m *MockUsersObjMapperInterface) UpdateAuthRecord(uid types.Uid, authLvl auth.Level, scheme, unique string, secret []byte, expires time.Time) error

UpdateAuthRecord mocks base method

func (*MockUsersObjMapperInterface) UpdateLastSeen

func (m *MockUsersObjMapperInterface) UpdateLastSeen(uid types.Uid, userAgent string, when time.Time) error

UpdateLastSeen mocks base method

func (*MockUsersObjMapperInterface) UpdateState

func (m *MockUsersObjMapperInterface) UpdateState(uid types.Uid, state types.ObjState) error

UpdateState mocks base method

func (*MockUsersObjMapperInterface) UpdateTags

func (m *MockUsersObjMapperInterface) UpdateTags(uid types.Uid, add, remove, reset []string) ([]string, error)

UpdateTags mocks base method

func (*MockUsersObjMapperInterface) UpsertCred

func (m *MockUsersObjMapperInterface) UpsertCred(cred *types.Credential) (bool, error)

UpsertCred mocks base method

type MockUsersObjMapperInterfaceMockRecorder

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

MockUsersObjMapperInterfaceMockRecorder is the mock recorder for MockUsersObjMapperInterface

func (*MockUsersObjMapperInterfaceMockRecorder) AddAuthRecord

func (mr *MockUsersObjMapperInterfaceMockRecorder) AddAuthRecord(uid, authLvl, scheme, unique, secret, expires interface{}) *gomock.Call

AddAuthRecord indicates an expected call of AddAuthRecord

func (*MockUsersObjMapperInterfaceMockRecorder) ConfirmCred

func (mr *MockUsersObjMapperInterfaceMockRecorder) ConfirmCred(id, method interface{}) *gomock.Call

ConfirmCred indicates an expected call of ConfirmCred

func (*MockUsersObjMapperInterfaceMockRecorder) Create

func (mr *MockUsersObjMapperInterfaceMockRecorder) Create(user, private interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockUsersObjMapperInterfaceMockRecorder) DelAuthRecords

func (mr *MockUsersObjMapperInterfaceMockRecorder) DelAuthRecords(uid, scheme interface{}) *gomock.Call

DelAuthRecords indicates an expected call of DelAuthRecords

func (*MockUsersObjMapperInterfaceMockRecorder) DelCred

func (mr *MockUsersObjMapperInterfaceMockRecorder) DelCred(id, method, value interface{}) *gomock.Call

DelCred indicates an expected call of DelCred

func (*MockUsersObjMapperInterfaceMockRecorder) Delete

func (mr *MockUsersObjMapperInterfaceMockRecorder) Delete(id, hard interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockUsersObjMapperInterfaceMockRecorder) FailCred

func (mr *MockUsersObjMapperInterfaceMockRecorder) FailCred(id, method interface{}) *gomock.Call

FailCred indicates an expected call of FailCred

func (*MockUsersObjMapperInterfaceMockRecorder) FindSubs

func (mr *MockUsersObjMapperInterfaceMockRecorder) FindSubs(id, required, optional interface{}) *gomock.Call

FindSubs indicates an expected call of FindSubs

func (*MockUsersObjMapperInterfaceMockRecorder) Get

func (mr *MockUsersObjMapperInterfaceMockRecorder) Get(uid interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockUsersObjMapperInterfaceMockRecorder) GetActiveCred

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetActiveCred(id, method interface{}) *gomock.Call

GetActiveCred indicates an expected call of GetActiveCred

func (*MockUsersObjMapperInterfaceMockRecorder) GetAll

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetAll(uid ...interface{}) *gomock.Call

GetAll indicates an expected call of GetAll

func (*MockUsersObjMapperInterfaceMockRecorder) GetAllCreds

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetAllCreds(id, method, validatedOnly interface{}) *gomock.Call

GetAllCreds indicates an expected call of GetAllCreds

func (*MockUsersObjMapperInterfaceMockRecorder) GetAuthRecord

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetAuthRecord(user, scheme interface{}) *gomock.Call

GetAuthRecord indicates an expected call of GetAuthRecord

func (*MockUsersObjMapperInterfaceMockRecorder) GetAuthUniqueRecord

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetAuthUniqueRecord(scheme, unique interface{}) *gomock.Call

GetAuthUniqueRecord indicates an expected call of GetAuthUniqueRecord

func (*MockUsersObjMapperInterfaceMockRecorder) GetByCred

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetByCred(method, value interface{}) *gomock.Call

GetByCred indicates an expected call of GetByCred

func (*MockUsersObjMapperInterfaceMockRecorder) GetChannels

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetChannels(id interface{}) *gomock.Call

GetChannels indicates an expected call of GetChannels

func (*MockUsersObjMapperInterfaceMockRecorder) GetOwnTopics

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetOwnTopics(id interface{}) *gomock.Call

GetOwnTopics indicates an expected call of GetOwnTopics

func (*MockUsersObjMapperInterfaceMockRecorder) GetSubs

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetSubs(id interface{}) *gomock.Call

GetSubs indicates an expected call of GetSubs

func (*MockUsersObjMapperInterfaceMockRecorder) GetTopics

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetTopics(id, opts interface{}) *gomock.Call

GetTopics indicates an expected call of GetTopics

func (*MockUsersObjMapperInterfaceMockRecorder) GetTopicsAny

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetTopicsAny(id, opts interface{}) *gomock.Call

GetTopicsAny indicates an expected call of GetTopicsAny

func (*MockUsersObjMapperInterfaceMockRecorder) GetUnreadCount

func (mr *MockUsersObjMapperInterfaceMockRecorder) GetUnreadCount(id interface{}) *gomock.Call

GetUnreadCount indicates an expected call of GetUnreadCount

func (*MockUsersObjMapperInterfaceMockRecorder) Update

func (mr *MockUsersObjMapperInterfaceMockRecorder) Update(uid, update interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockUsersObjMapperInterfaceMockRecorder) UpdateAuthRecord

func (mr *MockUsersObjMapperInterfaceMockRecorder) UpdateAuthRecord(uid, authLvl, scheme, unique, secret, expires interface{}) *gomock.Call

UpdateAuthRecord indicates an expected call of UpdateAuthRecord

func (*MockUsersObjMapperInterfaceMockRecorder) UpdateLastSeen

func (mr *MockUsersObjMapperInterfaceMockRecorder) UpdateLastSeen(uid, userAgent, when interface{}) *gomock.Call

UpdateLastSeen indicates an expected call of UpdateLastSeen

func (*MockUsersObjMapperInterfaceMockRecorder) UpdateState

func (mr *MockUsersObjMapperInterfaceMockRecorder) UpdateState(uid, state interface{}) *gomock.Call

UpdateState indicates an expected call of UpdateState

func (*MockUsersObjMapperInterfaceMockRecorder) UpdateTags

func (mr *MockUsersObjMapperInterfaceMockRecorder) UpdateTags(uid, add, remove, reset interface{}) *gomock.Call

UpdateTags indicates an expected call of UpdateTags

func (*MockUsersObjMapperInterfaceMockRecorder) UpsertCred

func (mr *MockUsersObjMapperInterfaceMockRecorder) UpsertCred(cred interface{}) *gomock.Call

UpsertCred indicates an expected call of UpsertCred

Jump to

Keyboard shortcuts

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