Documentation ¶
Overview ¶
Code generated by mockery v1.0.0. DO NOT EDIT.
Code generated by mockery v1.0.0. DO NOT EDIT.
Index ¶
- type Bcrypt
- type Datastore
- func (_m *Datastore) AcceptInvite(_a0 *types.Invite, _a1 string) error
- func (_m *Datastore) AddBalance(_a0 *types.Account, _a1 time.Time) error
- func (_m *Datastore) AddBalances(_a0 []*types.Account, _a1 time.Time) error
- func (_m *Datastore) AddNativeBalanceCost(_a0 *types.Account, _a1 time.Time) error
- func (_m *Datastore) AddNativeBalanceNearestInTime(_a0 *types.Account, _a1 time.Time) error
- func (_m *Datastore) AddNativeBalancesCost(_a0 []*types.Account, _a1 time.Time) error
- func (_m *Datastore) AddNativeBalancesNearestInTime(_a0 []*types.Account, _a1 time.Time) error
- func (_m *Datastore) CreateOrg(_a0 *types.Org, _a1 string, _a2 []*types.Account) error
- func (_m *Datastore) DeleteAccount(id string) error
- func (_m *Datastore) DeleteAndInsertTransaction(_a0 string, _a1 *types.Transaction) error
- func (_m *Datastore) DeleteApiKey(_a0 string, _a1 string) error
- func (_m *Datastore) DeleteInvite(_a0 string) error
- func (_m *Datastore) DeletePrice(_a0 string) error
- func (_m *Datastore) DeleteSession(_a0 string, _a1 string) error
- func (_m *Datastore) DeleteTransaction(_a0 string) error
- func (_m *Datastore) Escape(_a0 string) string
- func (_m *Datastore) GetAccount(_a0 string) (*types.Account, error)
- func (_m *Datastore) GetAccountsByOrgId(orgId string) ([]*types.Account, error)
- func (_m *Datastore) GetApiKeys(_a0 string) ([]*types.ApiKey, error)
- func (_m *Datastore) GetChildCountByAccountId(id string) (int64, error)
- func (_m *Datastore) GetInvite(_a0 string) (*types.Invite, error)
- func (_m *Datastore) GetInvites(_a0 string) ([]*types.Invite, error)
- func (_m *Datastore) GetOrg(_a0 string, _a1 string) (*types.Org, error)
- func (_m *Datastore) GetOrgAdmins(_a0 string) ([]*types.User, error)
- func (_m *Datastore) GetOrgUserIds(_a0 string) ([]string, error)
- func (_m *Datastore) GetOrgs(_a0 string) ([]*types.Org, error)
- func (_m *Datastore) GetPermissionedAccountIds(_a0 string, _a1 string, _a2 string) ([]string, error)
- func (_m *Datastore) GetPriceById(_a0 string) (*types.Price, error)
- func (_m *Datastore) GetPricesByCurrency(_a0 string, _a1 string) ([]*types.Price, error)
- func (_m *Datastore) GetPricesNearestInTime(_a0 string, _a1 time.Time) ([]*types.Price, error)
- func (_m *Datastore) GetRootAccount(_a0 string) (*types.Account, error)
- func (_m *Datastore) GetSplitCountByAccountId(id string) (int64, error)
- func (_m *Datastore) GetTransactionById(_a0 string) (*types.Transaction, error)
- func (_m *Datastore) GetTransactionsByAccount(_a0 string, _a1 *types.QueryOptions) ([]*types.Transaction, error)
- func (_m *Datastore) GetTransactionsByOrg(_a0 string, _a1 *types.QueryOptions, _a2 []string) ([]*types.Transaction, error)
- func (_m *Datastore) GetUserByActiveSession(_a0 string) (*types.User, error)
- func (_m *Datastore) GetUserByApiKey(_a0 string) (*types.User, error)
- func (_m *Datastore) GetUserByResetCode(_a0 string) (*types.User, error)
- func (_m *Datastore) GetVerifiedUserByEmail(_a0 string) (*types.User, error)
- func (_m *Datastore) InsertAccount(account *types.Account) error
- func (_m *Datastore) InsertApiKey(_a0 *types.ApiKey) error
- func (_m *Datastore) InsertInvite(_a0 *types.Invite) error
- func (_m *Datastore) InsertPrice(_a0 *types.Price) error
- func (_m *Datastore) InsertSession(_a0 *types.Session) error
- func (_m *Datastore) InsertTransaction(_a0 *types.Transaction) error
- func (_m *Datastore) InsertUser(_a0 *types.User) error
- func (_m *Datastore) UpdateAccount(account *types.Account) error
- func (_m *Datastore) UpdateApiKey(_a0 *types.ApiKey) error
- func (_m *Datastore) UpdateApiKeyActivity(_a0 string) error
- func (_m *Datastore) UpdateOrg(_a0 *types.Org) error
- func (_m *Datastore) UpdateSessionActivity(_a0 string) error
- func (_m *Datastore) UpdateUser(_a0 *types.User) error
- func (_m *Datastore) UpdateUserResetPassword(_a0 *types.User) error
- func (_m *Datastore) VerifyUser(_a0 string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bcrypt ¶
Bcrypt is an autogenerated mock type for the Bcrypt type
func (*Bcrypt) CompareHashAndPassword ¶
CompareHashAndPassword provides a mock function with given fields: _a0, _a1
func (*Bcrypt) GenerateFromPassword ¶
GenerateFromPassword provides a mock function with given fields: _a0, _a1
func (*Bcrypt) GetDefaultCost ¶
GetDefaultCost provides a mock function with given fields:
type Datastore ¶
Datastore is an autogenerated mock type for the Datastore type
func (*Datastore) AcceptInvite ¶
AcceptInvite provides a mock function with given fields: _a0, _a1
func (*Datastore) AddBalance ¶
AddBalance provides a mock function with given fields: _a0, _a1
func (*Datastore) AddBalances ¶
AddBalances provides a mock function with given fields: _a0, _a1
func (*Datastore) AddNativeBalanceCost ¶
AddNativeBalanceCost provides a mock function with given fields: _a0, _a1
func (*Datastore) AddNativeBalanceNearestInTime ¶
AddNativeBalanceNearestInTime provides a mock function with given fields: _a0, _a1
func (*Datastore) AddNativeBalancesCost ¶
AddNativeBalancesCost provides a mock function with given fields: _a0, _a1
func (*Datastore) AddNativeBalancesNearestInTime ¶
AddNativeBalancesNearestInTime provides a mock function with given fields: _a0, _a1
func (*Datastore) DeleteAccount ¶
DeleteAccount provides a mock function with given fields: id
func (*Datastore) DeleteAndInsertTransaction ¶
func (_m *Datastore) DeleteAndInsertTransaction(_a0 string, _a1 *types.Transaction) error
DeleteAndInsertTransaction provides a mock function with given fields: _a0, _a1
func (*Datastore) DeleteApiKey ¶
DeleteApiKey provides a mock function with given fields: _a0, _a1
func (*Datastore) DeleteInvite ¶
DeleteInvite provides a mock function with given fields: _a0
func (*Datastore) DeletePrice ¶
DeletePrice provides a mock function with given fields: _a0
func (*Datastore) DeleteSession ¶
DeleteSession provides a mock function with given fields: _a0, _a1
func (*Datastore) DeleteTransaction ¶
DeleteTransaction provides a mock function with given fields: _a0
func (*Datastore) GetAccount ¶
GetAccount provides a mock function with given fields: _a0
func (*Datastore) GetAccountsByOrgId ¶
GetAccountsByOrgId provides a mock function with given fields: orgId
func (*Datastore) GetApiKeys ¶
GetApiKeys provides a mock function with given fields: _a0
func (*Datastore) GetChildCountByAccountId ¶
GetChildCountByAccountId provides a mock function with given fields: id
func (*Datastore) GetInvites ¶
GetInvites provides a mock function with given fields: _a0
func (*Datastore) GetOrgAdmins ¶
GetOrgAdmins provides a mock function with given fields: _a0
func (*Datastore) GetOrgUserIds ¶
GetOrgUserIds provides a mock function with given fields: _a0
func (*Datastore) GetPermissionedAccountIds ¶
func (_m *Datastore) GetPermissionedAccountIds(_a0 string, _a1 string, _a2 string) ([]string, error)
GetPermissionedAccountIds provides a mock function with given fields: _a0, _a1, _a2
func (*Datastore) GetPriceById ¶
GetPriceById provides a mock function with given fields: _a0
func (*Datastore) GetPricesByCurrency ¶
GetPricesByCurrency provides a mock function with given fields: _a0, _a1
func (*Datastore) GetPricesNearestInTime ¶
GetPricesNearestInTime provides a mock function with given fields: _a0, _a1
func (*Datastore) GetRootAccount ¶
GetRootAccount provides a mock function with given fields: _a0
func (*Datastore) GetSplitCountByAccountId ¶
GetSplitCountByAccountId provides a mock function with given fields: id
func (*Datastore) GetTransactionById ¶
func (_m *Datastore) GetTransactionById(_a0 string) (*types.Transaction, error)
GetTransactionById provides a mock function with given fields: _a0
func (*Datastore) GetTransactionsByAccount ¶
func (_m *Datastore) GetTransactionsByAccount(_a0 string, _a1 *types.QueryOptions) ([]*types.Transaction, error)
GetTransactionsByAccount provides a mock function with given fields: _a0, _a1
func (*Datastore) GetTransactionsByOrg ¶
func (_m *Datastore) GetTransactionsByOrg(_a0 string, _a1 *types.QueryOptions, _a2 []string) ([]*types.Transaction, error)
GetTransactionsByOrg provides a mock function with given fields: _a0, _a1, _a2
func (*Datastore) GetUserByActiveSession ¶
GetUserByActiveSession provides a mock function with given fields: _a0
func (*Datastore) GetUserByApiKey ¶
GetUserByApiKey provides a mock function with given fields: _a0
func (*Datastore) GetUserByResetCode ¶
GetUserByResetCode provides a mock function with given fields: _a0
func (*Datastore) GetVerifiedUserByEmail ¶
GetVerifiedUserByEmail provides a mock function with given fields: _a0
func (*Datastore) InsertAccount ¶
InsertAccount provides a mock function with given fields: account
func (*Datastore) InsertApiKey ¶
InsertApiKey provides a mock function with given fields: _a0
func (*Datastore) InsertInvite ¶
InsertInvite provides a mock function with given fields: _a0
func (*Datastore) InsertPrice ¶
InsertPrice provides a mock function with given fields: _a0
func (*Datastore) InsertSession ¶
InsertSession provides a mock function with given fields: _a0
func (*Datastore) InsertTransaction ¶
func (_m *Datastore) InsertTransaction(_a0 *types.Transaction) error
InsertTransaction provides a mock function with given fields: _a0
func (*Datastore) InsertUser ¶
InsertUser provides a mock function with given fields: _a0
func (*Datastore) UpdateAccount ¶
UpdateAccount provides a mock function with given fields: account
func (*Datastore) UpdateApiKey ¶
UpdateApiKey provides a mock function with given fields: _a0
func (*Datastore) UpdateApiKeyActivity ¶
UpdateApiKeyActivity provides a mock function with given fields: _a0
func (*Datastore) UpdateSessionActivity ¶
UpdateSessionActivity provides a mock function with given fields: _a0
func (*Datastore) UpdateUser ¶
UpdateUser provides a mock function with given fields: _a0
func (*Datastore) UpdateUserResetPassword ¶
UpdateUserResetPassword provides a mock function with given fields: _a0
func (*Datastore) VerifyUser ¶
VerifyUser provides a mock function with given fields: _a0