Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAuthManager
- func (m *MockAuthManager) Close()
- func (m *MockAuthManager) CreateNewSession(arg0 models.UserID) (*models.Session, *fcerror.Error)
- func (m *MockAuthManager) EXPECT() *MockAuthManagerMockRecorder
- func (m *MockAuthManager) Login(arg0, arg1 string) (*models.Session, *fcerror.Error)
- func (m *MockAuthManager) Logout(arg0 models.Token) *fcerror.Error
- func (m *MockAuthManager) VerifyToken(arg0 models.Token) (*models.User, *fcerror.Error)
- type MockAuthManagerMockRecorder
- func (mr *MockAuthManagerMockRecorder) Close() *gomock.Call
- func (mr *MockAuthManagerMockRecorder) CreateNewSession(arg0 interface{}) *gomock.Call
- func (mr *MockAuthManagerMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthManagerMockRecorder) Logout(arg0 interface{}) *gomock.Call
- func (mr *MockAuthManagerMockRecorder) VerifyToken(arg0 interface{}) *gomock.Call
- type MockDriver
- func (m *MockDriver) Close() error
- func (m *MockDriver) EXPECT() *MockDriverMockRecorder
- func (m *MockDriver) NewSession(arg0 neo4j.SessionConfig) (neo4j.Session, error)
- func (m *MockDriver) Session(arg0 neo4j.AccessMode, arg1 ...string) (neo4j.Session, error)
- func (m *MockDriver) Target() url.URL
- func (m *MockDriver) VerifyConnectivity() error
- type MockDriverMockRecorder
- func (mr *MockDriverMockRecorder) Close() *gomock.Call
- func (mr *MockDriverMockRecorder) NewSession(arg0 interface{}) *gomock.Call
- func (mr *MockDriverMockRecorder) Session(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockDriverMockRecorder) Target() *gomock.Call
- func (mr *MockDriverMockRecorder) VerifyConnectivity() *gomock.Call
- type MockNode
- type MockNodeManager
- func (m *MockNodeManager) Close()
- func (m *MockNodeManager) CreateNode(arg0 *authorization.Context, arg1 *models.Node) (bool, *fcerror.Error)
- func (m *MockNodeManager) CreateUserRootFolder(arg0 *authorization.Context, arg1 models.UserID) *fcerror.Error
- func (m *MockNodeManager) DownloadFile(arg0 *authorization.Context, arg1 models.NodeID) (*models.Node, io.ReadCloser, int64, *fcerror.Error)
- func (m *MockNodeManager) EXPECT() *MockNodeManagerMockRecorder
- func (m *MockNodeManager) GetNodeByID(arg0 *authorization.Context, arg1 models.NodeID) (*models.Node, *fcerror.Error)
- func (m *MockNodeManager) GetNodeByPath(arg0 *authorization.Context, arg1 string) (*models.Node, *fcerror.Error)
- func (m *MockNodeManager) ListByID(arg0 *authorization.Context, arg1 models.NodeID) ([]*models.Node, *fcerror.Error)
- func (m *MockNodeManager) UploadFileByID(arg0 *authorization.Context, arg1 models.NodeID, arg2 string) *fcerror.Error
- type MockNodeManagerMockRecorder
- func (mr *MockNodeManagerMockRecorder) Close() *gomock.Call
- func (mr *MockNodeManagerMockRecorder) CreateNode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeManagerMockRecorder) CreateUserRootFolder(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeManagerMockRecorder) DownloadFile(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeManagerMockRecorder) GetNodeByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeManagerMockRecorder) GetNodeByPath(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeManagerMockRecorder) ListByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeManagerMockRecorder) UploadFileByID(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockNodeMockRecorder
- type MockRecord
- type MockRecordMockRecorder
- type MockResult
- func (m *MockResult) Consume() (neo4j.ResultSummary, error)
- func (m *MockResult) EXPECT() *MockResultMockRecorder
- func (m *MockResult) Err() error
- func (m *MockResult) Keys() ([]string, error)
- func (m *MockResult) Next() bool
- func (m *MockResult) Record() neo4j.Record
- func (m *MockResult) Summary() (neo4j.ResultSummary, error)
- type MockResultMockRecorder
- func (mr *MockResultMockRecorder) Consume() *gomock.Call
- func (mr *MockResultMockRecorder) Err() *gomock.Call
- func (mr *MockResultMockRecorder) Keys() *gomock.Call
- func (mr *MockResultMockRecorder) Next() *gomock.Call
- func (mr *MockResultMockRecorder) Record() *gomock.Call
- func (mr *MockResultMockRecorder) Summary() *gomock.Call
- type MockSession
- func (m *MockSession) BeginTransaction(arg0 ...func(*neo4j.TransactionConfig)) (neo4j.Transaction, error)
- func (m *MockSession) Close() error
- func (m *MockSession) EXPECT() *MockSessionMockRecorder
- func (m *MockSession) LastBookmark() string
- func (m *MockSession) ReadTransaction(arg0 neo4j.TransactionWork, arg1 ...func(*neo4j.TransactionConfig)) (interface{}, error)
- func (m *MockSession) Run(arg0 string, arg1 map[string]interface{}, ...) (neo4j.Result, error)
- func (m *MockSession) WriteTransaction(arg0 neo4j.TransactionWork, arg1 ...func(*neo4j.TransactionConfig)) (interface{}, error)
- type MockSessionMockRecorder
- func (mr *MockSessionMockRecorder) BeginTransaction(arg0 ...interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) Close() *gomock.Call
- func (mr *MockSessionMockRecorder) LastBookmark() *gomock.Call
- func (mr *MockSessionMockRecorder) ReadTransaction(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) Run(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSessionMockRecorder) WriteTransaction(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockTransaction
- type MockTransactionMockRecorder
- type MockUserManager
- func (m *MockUserManager) Close()
- func (m *MockUserManager) CountUsers(arg0 *authorization.Context) (int64, *fcerror.Error)
- func (m *MockUserManager) CreateUser(arg0 *models.User) (*models.Session, *fcerror.Error)
- func (m *MockUserManager) EXPECT() *MockUserManagerMockRecorder
- func (m *MockUserManager) GetUserByEmail(arg0 *authorization.Context, arg1 string) (*models.User, *fcerror.Error)
- func (m *MockUserManager) GetUserByID(arg0 *authorization.Context, arg1 models.UserID) (*models.User, *fcerror.Error)
- func (m *MockUserManager) UpdateUser(arg0 *authorization.Context, arg1 models.UserID, arg2 *models.UserUpdate) (*models.User, *fcerror.Error)
- type MockUserManagerMockRecorder
- func (mr *MockUserManagerMockRecorder) Close() *gomock.Call
- func (mr *MockUserManagerMockRecorder) CountUsers(arg0 interface{}) *gomock.Call
- func (mr *MockUserManagerMockRecorder) CreateUser(arg0 interface{}) *gomock.Call
- func (mr *MockUserManagerMockRecorder) GetUserByEmail(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserManagerMockRecorder) GetUserByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockUserManagerMockRecorder) UpdateUser(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthManager ¶
type MockAuthManager struct {
// contains filtered or unexported fields
}
MockAuthManager is a mock of AuthManager interface.
func NewMockAuthManager ¶
func NewMockAuthManager(ctrl *gomock.Controller) *MockAuthManager
NewMockAuthManager creates a new mock instance.
func (*MockAuthManager) CreateNewSession ¶
CreateNewSession mocks base method.
func (*MockAuthManager) EXPECT ¶
func (m *MockAuthManager) EXPECT() *MockAuthManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthManager) Logout ¶
func (m *MockAuthManager) Logout(arg0 models.Token) *fcerror.Error
Logout mocks base method.
func (*MockAuthManager) VerifyToken ¶
VerifyToken mocks base method.
type MockAuthManagerMockRecorder ¶
type MockAuthManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthManagerMockRecorder is the mock recorder for MockAuthManager.
func (*MockAuthManagerMockRecorder) Close ¶
func (mr *MockAuthManagerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockAuthManagerMockRecorder) CreateNewSession ¶
func (mr *MockAuthManagerMockRecorder) CreateNewSession(arg0 interface{}) *gomock.Call
CreateNewSession indicates an expected call of CreateNewSession.
func (*MockAuthManagerMockRecorder) Login ¶
func (mr *MockAuthManagerMockRecorder) Login(arg0, arg1 interface{}) *gomock.Call
Login indicates an expected call of Login.
func (*MockAuthManagerMockRecorder) Logout ¶
func (mr *MockAuthManagerMockRecorder) Logout(arg0 interface{}) *gomock.Call
Logout indicates an expected call of Logout.
func (*MockAuthManagerMockRecorder) VerifyToken ¶
func (mr *MockAuthManagerMockRecorder) VerifyToken(arg0 interface{}) *gomock.Call
VerifyToken indicates an expected call of VerifyToken.
type MockDriver ¶
type MockDriver struct {
// contains filtered or unexported fields
}
MockDriver is a mock of Driver interface.
func NewMockDriver ¶
func NewMockDriver(ctrl *gomock.Controller) *MockDriver
NewMockDriver creates a new mock instance.
func (*MockDriver) EXPECT ¶
func (m *MockDriver) EXPECT() *MockDriverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDriver) NewSession ¶
func (m *MockDriver) NewSession(arg0 neo4j.SessionConfig) (neo4j.Session, error)
NewSession mocks base method.
func (*MockDriver) Session ¶
func (m *MockDriver) Session(arg0 neo4j.AccessMode, arg1 ...string) (neo4j.Session, error)
Session mocks base method.
func (*MockDriver) VerifyConnectivity ¶
func (m *MockDriver) VerifyConnectivity() error
VerifyConnectivity mocks base method.
type MockDriverMockRecorder ¶
type MockDriverMockRecorder struct {
// contains filtered or unexported fields
}
MockDriverMockRecorder is the mock recorder for MockDriver.
func (*MockDriverMockRecorder) Close ¶
func (mr *MockDriverMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockDriverMockRecorder) NewSession ¶
func (mr *MockDriverMockRecorder) NewSession(arg0 interface{}) *gomock.Call
NewSession indicates an expected call of NewSession.
func (*MockDriverMockRecorder) Session ¶
func (mr *MockDriverMockRecorder) Session(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Session indicates an expected call of Session.
func (*MockDriverMockRecorder) Target ¶
func (mr *MockDriverMockRecorder) Target() *gomock.Call
Target indicates an expected call of Target.
func (*MockDriverMockRecorder) VerifyConnectivity ¶
func (mr *MockDriverMockRecorder) VerifyConnectivity() *gomock.Call
VerifyConnectivity indicates an expected call of VerifyConnectivity.
type MockNode ¶
type MockNode struct {
// contains filtered or unexported fields
}
MockNode is a mock of Node interface.
func NewMockNode ¶
func NewMockNode(ctrl *gomock.Controller) *MockNode
NewMockNode creates a new mock instance.
func (*MockNode) EXPECT ¶
func (m *MockNode) EXPECT() *MockNodeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNodeManager ¶
type MockNodeManager struct {
// contains filtered or unexported fields
}
MockNodeManager is a mock of NodeManager interface.
func NewMockNodeManager ¶
func NewMockNodeManager(ctrl *gomock.Controller) *MockNodeManager
NewMockNodeManager creates a new mock instance.
func (*MockNodeManager) CreateNode ¶
func (m *MockNodeManager) CreateNode(arg0 *authorization.Context, arg1 *models.Node) (bool, *fcerror.Error)
CreateNode mocks base method.
func (*MockNodeManager) CreateUserRootFolder ¶
func (m *MockNodeManager) CreateUserRootFolder(arg0 *authorization.Context, arg1 models.UserID) *fcerror.Error
CreateUserRootFolder mocks base method.
func (*MockNodeManager) DownloadFile ¶
func (m *MockNodeManager) DownloadFile(arg0 *authorization.Context, arg1 models.NodeID) (*models.Node, io.ReadCloser, int64, *fcerror.Error)
DownloadFile mocks base method.
func (*MockNodeManager) EXPECT ¶
func (m *MockNodeManager) EXPECT() *MockNodeManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeManager) GetNodeByID ¶
func (m *MockNodeManager) GetNodeByID(arg0 *authorization.Context, arg1 models.NodeID) (*models.Node, *fcerror.Error)
GetNodeByID mocks base method.
func (*MockNodeManager) GetNodeByPath ¶
func (m *MockNodeManager) GetNodeByPath(arg0 *authorization.Context, arg1 string) (*models.Node, *fcerror.Error)
GetNodeByPath mocks base method.
func (*MockNodeManager) ListByID ¶
func (m *MockNodeManager) ListByID(arg0 *authorization.Context, arg1 models.NodeID) ([]*models.Node, *fcerror.Error)
ListByID mocks base method.
func (*MockNodeManager) UploadFileByID ¶
func (m *MockNodeManager) UploadFileByID(arg0 *authorization.Context, arg1 models.NodeID, arg2 string) *fcerror.Error
UploadFileByID mocks base method.
type MockNodeManagerMockRecorder ¶
type MockNodeManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeManagerMockRecorder is the mock recorder for MockNodeManager.
func (*MockNodeManagerMockRecorder) Close ¶
func (mr *MockNodeManagerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockNodeManagerMockRecorder) CreateNode ¶
func (mr *MockNodeManagerMockRecorder) CreateNode(arg0, arg1 interface{}) *gomock.Call
CreateNode indicates an expected call of CreateNode.
func (*MockNodeManagerMockRecorder) CreateUserRootFolder ¶
func (mr *MockNodeManagerMockRecorder) CreateUserRootFolder(arg0, arg1 interface{}) *gomock.Call
CreateUserRootFolder indicates an expected call of CreateUserRootFolder.
func (*MockNodeManagerMockRecorder) DownloadFile ¶
func (mr *MockNodeManagerMockRecorder) DownloadFile(arg0, arg1 interface{}) *gomock.Call
DownloadFile indicates an expected call of DownloadFile.
func (*MockNodeManagerMockRecorder) GetNodeByID ¶
func (mr *MockNodeManagerMockRecorder) GetNodeByID(arg0, arg1 interface{}) *gomock.Call
GetNodeByID indicates an expected call of GetNodeByID.
func (*MockNodeManagerMockRecorder) GetNodeByPath ¶
func (mr *MockNodeManagerMockRecorder) GetNodeByPath(arg0, arg1 interface{}) *gomock.Call
GetNodeByPath indicates an expected call of GetNodeByPath.
func (*MockNodeManagerMockRecorder) ListByID ¶
func (mr *MockNodeManagerMockRecorder) ListByID(arg0, arg1 interface{}) *gomock.Call
ListByID indicates an expected call of ListByID.
func (*MockNodeManagerMockRecorder) UploadFileByID ¶
func (mr *MockNodeManagerMockRecorder) UploadFileByID(arg0, arg1, arg2 interface{}) *gomock.Call
UploadFileByID indicates an expected call of UploadFileByID.
type MockNodeMockRecorder ¶
type MockNodeMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeMockRecorder is the mock recorder for MockNode.
func (*MockNodeMockRecorder) Id ¶
func (mr *MockNodeMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
func (*MockNodeMockRecorder) Labels ¶
func (mr *MockNodeMockRecorder) Labels() *gomock.Call
Labels indicates an expected call of Labels.
func (*MockNodeMockRecorder) Props ¶
func (mr *MockNodeMockRecorder) Props() *gomock.Call
Props indicates an expected call of Props.
type MockRecord ¶
type MockRecord struct {
// contains filtered or unexported fields
}
MockRecord is a mock of Record interface.
func NewMockRecord ¶
func NewMockRecord(ctrl *gomock.Controller) *MockRecord
NewMockRecord creates a new mock instance.
func (*MockRecord) EXPECT ¶
func (m *MockRecord) EXPECT() *MockRecordMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecord) Get ¶
func (m *MockRecord) Get(arg0 string) (interface{}, bool)
Get mocks base method.
func (*MockRecord) GetByIndex ¶
func (m *MockRecord) GetByIndex(arg0 int) interface{}
GetByIndex mocks base method.
type MockRecordMockRecorder ¶
type MockRecordMockRecorder struct {
// contains filtered or unexported fields
}
MockRecordMockRecorder is the mock recorder for MockRecord.
func (*MockRecordMockRecorder) Get ¶
func (mr *MockRecordMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockRecordMockRecorder) GetByIndex ¶
func (mr *MockRecordMockRecorder) GetByIndex(arg0 interface{}) *gomock.Call
GetByIndex indicates an expected call of GetByIndex.
func (*MockRecordMockRecorder) Keys ¶
func (mr *MockRecordMockRecorder) Keys() *gomock.Call
Keys indicates an expected call of Keys.
func (*MockRecordMockRecorder) Values ¶
func (mr *MockRecordMockRecorder) Values() *gomock.Call
Values indicates an expected call of Values.
type MockResult ¶
type MockResult struct {
// contains filtered or unexported fields
}
MockResult is a mock of Result interface.
func NewMockResult ¶
func NewMockResult(ctrl *gomock.Controller) *MockResult
NewMockResult creates a new mock instance.
func (*MockResult) Consume ¶
func (m *MockResult) Consume() (neo4j.ResultSummary, error)
Consume mocks base method.
func (*MockResult) EXPECT ¶
func (m *MockResult) EXPECT() *MockResultMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResult) Summary ¶
func (m *MockResult) Summary() (neo4j.ResultSummary, error)
Summary mocks base method.
type MockResultMockRecorder ¶
type MockResultMockRecorder struct {
// contains filtered or unexported fields
}
MockResultMockRecorder is the mock recorder for MockResult.
func (*MockResultMockRecorder) Consume ¶
func (mr *MockResultMockRecorder) Consume() *gomock.Call
Consume indicates an expected call of Consume.
func (*MockResultMockRecorder) Err ¶
func (mr *MockResultMockRecorder) Err() *gomock.Call
Err indicates an expected call of Err.
func (*MockResultMockRecorder) Keys ¶
func (mr *MockResultMockRecorder) Keys() *gomock.Call
Keys indicates an expected call of Keys.
func (*MockResultMockRecorder) Next ¶
func (mr *MockResultMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockResultMockRecorder) Record ¶
func (mr *MockResultMockRecorder) Record() *gomock.Call
Record indicates an expected call of Record.
func (*MockResultMockRecorder) Summary ¶
func (mr *MockResultMockRecorder) Summary() *gomock.Call
Summary indicates an expected call of Summary.
type MockSession ¶
type MockSession struct {
// contains filtered or unexported fields
}
MockSession is a mock of Session interface.
func NewMockSession ¶
func NewMockSession(ctrl *gomock.Controller) *MockSession
NewMockSession creates a new mock instance.
func (*MockSession) BeginTransaction ¶
func (m *MockSession) BeginTransaction(arg0 ...func(*neo4j.TransactionConfig)) (neo4j.Transaction, error)
BeginTransaction mocks base method.
func (*MockSession) EXPECT ¶
func (m *MockSession) EXPECT() *MockSessionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSession) LastBookmark ¶
func (m *MockSession) LastBookmark() string
LastBookmark mocks base method.
func (*MockSession) ReadTransaction ¶
func (m *MockSession) ReadTransaction(arg0 neo4j.TransactionWork, arg1 ...func(*neo4j.TransactionConfig)) (interface{}, error)
ReadTransaction mocks base method.
func (*MockSession) Run ¶
func (m *MockSession) Run(arg0 string, arg1 map[string]interface{}, arg2 ...func(*neo4j.TransactionConfig)) (neo4j.Result, error)
Run mocks base method.
func (*MockSession) WriteTransaction ¶
func (m *MockSession) WriteTransaction(arg0 neo4j.TransactionWork, arg1 ...func(*neo4j.TransactionConfig)) (interface{}, error)
WriteTransaction mocks base method.
type MockSessionMockRecorder ¶
type MockSessionMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionMockRecorder is the mock recorder for MockSession.
func (*MockSessionMockRecorder) BeginTransaction ¶
func (mr *MockSessionMockRecorder) BeginTransaction(arg0 ...interface{}) *gomock.Call
BeginTransaction indicates an expected call of BeginTransaction.
func (*MockSessionMockRecorder) Close ¶
func (mr *MockSessionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSessionMockRecorder) LastBookmark ¶
func (mr *MockSessionMockRecorder) LastBookmark() *gomock.Call
LastBookmark indicates an expected call of LastBookmark.
func (*MockSessionMockRecorder) ReadTransaction ¶
func (mr *MockSessionMockRecorder) ReadTransaction(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ReadTransaction indicates an expected call of ReadTransaction.
func (*MockSessionMockRecorder) Run ¶
func (mr *MockSessionMockRecorder) Run(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Run indicates an expected call of Run.
func (*MockSessionMockRecorder) WriteTransaction ¶
func (mr *MockSessionMockRecorder) WriteTransaction(arg0 interface{}, arg1 ...interface{}) *gomock.Call
WriteTransaction indicates an expected call of WriteTransaction.
type MockTransaction ¶
type MockTransaction struct {
// contains filtered or unexported fields
}
MockTransaction is a mock of Transaction interface.
func NewMockTransaction ¶
func NewMockTransaction(ctrl *gomock.Controller) *MockTransaction
NewMockTransaction creates a new mock instance.
func (*MockTransaction) EXPECT ¶
func (m *MockTransaction) EXPECT() *MockTransactionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTransaction) Rollback ¶
func (m *MockTransaction) Rollback() error
Rollback mocks base method.
type MockTransactionMockRecorder ¶
type MockTransactionMockRecorder struct {
// contains filtered or unexported fields
}
MockTransactionMockRecorder is the mock recorder for MockTransaction.
func (*MockTransactionMockRecorder) Close ¶
func (mr *MockTransactionMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockTransactionMockRecorder) Commit ¶
func (mr *MockTransactionMockRecorder) Commit() *gomock.Call
Commit indicates an expected call of Commit.
func (*MockTransactionMockRecorder) Rollback ¶
func (mr *MockTransactionMockRecorder) Rollback() *gomock.Call
Rollback indicates an expected call of Rollback.
func (*MockTransactionMockRecorder) Run ¶
func (mr *MockTransactionMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call
Run indicates an expected call of Run.
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) CountUsers ¶
func (m *MockUserManager) CountUsers(arg0 *authorization.Context) (int64, *fcerror.Error)
CountUsers mocks base method.
func (*MockUserManager) CreateUser ¶
CreateUser 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) GetUserByEmail ¶
func (m *MockUserManager) GetUserByEmail(arg0 *authorization.Context, arg1 string) (*models.User, *fcerror.Error)
GetUserByEmail mocks base method.
func (*MockUserManager) GetUserByID ¶
func (m *MockUserManager) GetUserByID(arg0 *authorization.Context, arg1 models.UserID) (*models.User, *fcerror.Error)
GetUserByID mocks base method.
func (*MockUserManager) UpdateUser ¶
func (m *MockUserManager) UpdateUser(arg0 *authorization.Context, arg1 models.UserID, arg2 *models.UserUpdate) (*models.User, *fcerror.Error)
UpdateUser mocks base method.
type MockUserManagerMockRecorder ¶
type MockUserManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockUserManagerMockRecorder is the mock recorder for MockUserManager.
func (*MockUserManagerMockRecorder) Close ¶
func (mr *MockUserManagerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockUserManagerMockRecorder) CountUsers ¶
func (mr *MockUserManagerMockRecorder) CountUsers(arg0 interface{}) *gomock.Call
CountUsers indicates an expected call of CountUsers.
func (*MockUserManagerMockRecorder) CreateUser ¶
func (mr *MockUserManagerMockRecorder) CreateUser(arg0 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockUserManagerMockRecorder) GetUserByEmail ¶
func (mr *MockUserManagerMockRecorder) GetUserByEmail(arg0, arg1 interface{}) *gomock.Call
GetUserByEmail indicates an expected call of GetUserByEmail.
func (*MockUserManagerMockRecorder) GetUserByID ¶
func (mr *MockUserManagerMockRecorder) GetUserByID(arg0, arg1 interface{}) *gomock.Call
GetUserByID indicates an expected call of GetUserByID.
func (*MockUserManagerMockRecorder) UpdateUser ¶
func (mr *MockUserManagerMockRecorder) UpdateUser(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.