mocks

package
v0.0.0-...-9b0c1e2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bcrypt

type Bcrypt struct {
	mock.Mock
}

Bcrypt is an autogenerated mock type for the Bcrypt type

func (*Bcrypt) CompareHashAndPassword

func (_m *Bcrypt) CompareHashAndPassword(_a0 []byte, _a1 []byte) error

CompareHashAndPassword provides a mock function with given fields: _a0, _a1

func (*Bcrypt) GenerateFromPassword

func (_m *Bcrypt) GenerateFromPassword(_a0 []byte, _a1 int) ([]byte, error)

GenerateFromPassword provides a mock function with given fields: _a0, _a1

func (*Bcrypt) GetDefaultCost

func (_m *Bcrypt) GetDefaultCost() int

GetDefaultCost provides a mock function with given fields:

type Datastore

type Datastore struct {
	mock.Mock
}

Datastore is an autogenerated mock type for the Datastore type

func (*Datastore) AcceptInvite

func (_m *Datastore) AcceptInvite(_a0 *types.Invite, _a1 string) error

AcceptInvite provides a mock function with given fields: _a0, _a1

func (*Datastore) AddBalance

func (_m *Datastore) AddBalance(_a0 *types.Account, _a1 time.Time) error

AddBalance provides a mock function with given fields: _a0, _a1

func (*Datastore) AddBalances

func (_m *Datastore) AddBalances(_a0 []*types.Account, _a1 time.Time) error

AddBalances provides a mock function with given fields: _a0, _a1

func (*Datastore) AddNativeBalanceCost

func (_m *Datastore) AddNativeBalanceCost(_a0 *types.Account, _a1 time.Time) error

AddNativeBalanceCost provides a mock function with given fields: _a0, _a1

func (*Datastore) AddNativeBalanceNearestInTime

func (_m *Datastore) AddNativeBalanceNearestInTime(_a0 *types.Account, _a1 time.Time) error

AddNativeBalanceNearestInTime provides a mock function with given fields: _a0, _a1

func (*Datastore) AddNativeBalancesCost

func (_m *Datastore) AddNativeBalancesCost(_a0 []*types.Account, _a1 time.Time) error

AddNativeBalancesCost provides a mock function with given fields: _a0, _a1

func (*Datastore) AddNativeBalancesNearestInTime

func (_m *Datastore) AddNativeBalancesNearestInTime(_a0 []*types.Account, _a1 time.Time) error

AddNativeBalancesNearestInTime provides a mock function with given fields: _a0, _a1

func (*Datastore) CreateOrg

func (_m *Datastore) CreateOrg(_a0 *types.Org, _a1 string, _a2 []*types.Account) error

CreateOrg provides a mock function with given fields: _a0, _a1, _a2

func (*Datastore) DeleteAccount

func (_m *Datastore) DeleteAccount(id string) error

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

func (_m *Datastore) DeleteApiKey(_a0 string, _a1 string) error

DeleteApiKey provides a mock function with given fields: _a0, _a1

func (*Datastore) DeleteInvite

func (_m *Datastore) DeleteInvite(_a0 string) error

DeleteInvite provides a mock function with given fields: _a0

func (*Datastore) DeletePrice

func (_m *Datastore) DeletePrice(_a0 string) error

DeletePrice provides a mock function with given fields: _a0

func (*Datastore) DeleteSession

func (_m *Datastore) DeleteSession(_a0 string, _a1 string) error

DeleteSession provides a mock function with given fields: _a0, _a1

func (*Datastore) DeleteTransaction

func (_m *Datastore) DeleteTransaction(_a0 string) error

DeleteTransaction provides a mock function with given fields: _a0

func (*Datastore) Escape

func (_m *Datastore) Escape(_a0 string) string

Escape provides a mock function with given fields: _a0

func (*Datastore) GetAccount

func (_m *Datastore) GetAccount(_a0 string) (*types.Account, error)

GetAccount provides a mock function with given fields: _a0

func (*Datastore) GetAccountsByOrgId

func (_m *Datastore) GetAccountsByOrgId(orgId string) ([]*types.Account, error)

GetAccountsByOrgId provides a mock function with given fields: orgId

func (*Datastore) GetApiKeys

func (_m *Datastore) GetApiKeys(_a0 string) ([]*types.ApiKey, error)

GetApiKeys provides a mock function with given fields: _a0

func (*Datastore) GetChildCountByAccountId

func (_m *Datastore) GetChildCountByAccountId(id string) (int64, error)

GetChildCountByAccountId provides a mock function with given fields: id

func (*Datastore) GetInvite

func (_m *Datastore) GetInvite(_a0 string) (*types.Invite, error)

GetInvite provides a mock function with given fields: _a0

func (*Datastore) GetInvites

func (_m *Datastore) GetInvites(_a0 string) ([]*types.Invite, error)

GetInvites provides a mock function with given fields: _a0

func (*Datastore) GetOrg

func (_m *Datastore) GetOrg(_a0 string, _a1 string) (*types.Org, error)

GetOrg provides a mock function with given fields: _a0, _a1

func (*Datastore) GetOrgAdmins

func (_m *Datastore) GetOrgAdmins(_a0 string) ([]*types.User, error)

GetOrgAdmins provides a mock function with given fields: _a0

func (*Datastore) GetOrgUserIds

func (_m *Datastore) GetOrgUserIds(_a0 string) ([]string, error)

GetOrgUserIds provides a mock function with given fields: _a0

func (*Datastore) GetOrgs

func (_m *Datastore) GetOrgs(_a0 string) ([]*types.Org, error)

GetOrgs 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

func (_m *Datastore) GetPriceById(_a0 string) (*types.Price, error)

GetPriceById provides a mock function with given fields: _a0

func (*Datastore) GetPricesByCurrency

func (_m *Datastore) GetPricesByCurrency(_a0 string, _a1 string) ([]*types.Price, error)

GetPricesByCurrency provides a mock function with given fields: _a0, _a1

func (*Datastore) GetPricesNearestInTime

func (_m *Datastore) GetPricesNearestInTime(_a0 string, _a1 time.Time) ([]*types.Price, error)

GetPricesNearestInTime provides a mock function with given fields: _a0, _a1

func (*Datastore) GetRootAccount

func (_m *Datastore) GetRootAccount(_a0 string) (*types.Account, error)

GetRootAccount provides a mock function with given fields: _a0

func (*Datastore) GetSplitCountByAccountId

func (_m *Datastore) GetSplitCountByAccountId(id string) (int64, error)

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

func (_m *Datastore) GetUserByActiveSession(_a0 string) (*types.User, error)

GetUserByActiveSession provides a mock function with given fields: _a0

func (*Datastore) GetUserByApiKey

func (_m *Datastore) GetUserByApiKey(_a0 string) (*types.User, error)

GetUserByApiKey provides a mock function with given fields: _a0

func (*Datastore) GetUserByResetCode

func (_m *Datastore) GetUserByResetCode(_a0 string) (*types.User, error)

GetUserByResetCode provides a mock function with given fields: _a0

func (*Datastore) GetVerifiedUserByEmail

func (_m *Datastore) GetVerifiedUserByEmail(_a0 string) (*types.User, error)

GetVerifiedUserByEmail provides a mock function with given fields: _a0

func (*Datastore) InsertAccount

func (_m *Datastore) InsertAccount(account *types.Account) error

InsertAccount provides a mock function with given fields: account

func (*Datastore) InsertApiKey

func (_m *Datastore) InsertApiKey(_a0 *types.ApiKey) error

InsertApiKey provides a mock function with given fields: _a0

func (*Datastore) InsertInvite

func (_m *Datastore) InsertInvite(_a0 *types.Invite) error

InsertInvite provides a mock function with given fields: _a0

func (*Datastore) InsertPrice

func (_m *Datastore) InsertPrice(_a0 *types.Price) error

InsertPrice provides a mock function with given fields: _a0

func (*Datastore) InsertSession

func (_m *Datastore) InsertSession(_a0 *types.Session) error

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

func (_m *Datastore) InsertUser(_a0 *types.User) error

InsertUser provides a mock function with given fields: _a0

func (*Datastore) UpdateAccount

func (_m *Datastore) UpdateAccount(account *types.Account) error

UpdateAccount provides a mock function with given fields: account

func (*Datastore) UpdateApiKey

func (_m *Datastore) UpdateApiKey(_a0 *types.ApiKey) error

UpdateApiKey provides a mock function with given fields: _a0

func (*Datastore) UpdateApiKeyActivity

func (_m *Datastore) UpdateApiKeyActivity(_a0 string) error

UpdateApiKeyActivity provides a mock function with given fields: _a0

func (*Datastore) UpdateOrg

func (_m *Datastore) UpdateOrg(_a0 *types.Org) error

UpdateOrg provides a mock function with given fields: _a0

func (*Datastore) UpdateSessionActivity

func (_m *Datastore) UpdateSessionActivity(_a0 string) error

UpdateSessionActivity provides a mock function with given fields: _a0

func (*Datastore) UpdateUser

func (_m *Datastore) UpdateUser(_a0 *types.User) error

UpdateUser provides a mock function with given fields: _a0

func (*Datastore) UpdateUserResetPassword

func (_m *Datastore) UpdateUserResetPassword(_a0 *types.User) error

UpdateUserResetPassword provides a mock function with given fields: _a0

func (*Datastore) VerifyUser

func (_m *Datastore) VerifyUser(_a0 string) error

VerifyUser provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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