mockdb

package
v0.0.0-...-31933a3 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mockdb is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) AddAccountsBalance

func (m *MockStore) AddAccountsBalance(arg0 context.Context, arg1 db.AddAccountsBalanceParams) (db.Account, error)

AddAccountsBalance mocks base method.

func (*MockStore) CreateAccount

func (m *MockStore) CreateAccount(arg0 context.Context, arg1 db.CreateAccountParams) (db.Account, error)

CreateAccount mocks base method.

func (*MockStore) CreateEntries

func (m *MockStore) CreateEntries(arg0 context.Context, arg1 db.CreateEntriesParams) (db.Entry, error)

CreateEntries mocks base method.

func (*MockStore) CreateSession

func (m *MockStore) CreateSession(arg0 context.Context, arg1 db.CreateSessionParams) (db.Session, error)

CreateSession mocks base method.

func (*MockStore) CreateTransfers

func (m *MockStore) CreateTransfers(arg0 context.Context, arg1 db.CreateTransfersParams) (db.Transfer, error)

CreateTransfers mocks base method.

func (*MockStore) CreateUser

func (m *MockStore) CreateUser(arg0 context.Context, arg1 db.CreateUserParams) (db.User, error)

CreateUser mocks base method.

func (*MockStore) CreateUserTx

func (m *MockStore) CreateUserTx(arg0 context.Context, arg1 db.CreateUserTxParams) (db.CreateUserTxResult, error)

CreateUserTx mocks base method.

func (*MockStore) CreateVerifyEmail

func (m *MockStore) CreateVerifyEmail(arg0 context.Context, arg1 db.CreateVerifyEmailParams) (db.VerifyEmail, error)

CreateVerifyEmail mocks base method.

func (*MockStore) DeleteAccounts

func (m *MockStore) DeleteAccounts(arg0 context.Context, arg1 int64) error

DeleteAccounts mocks base method.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetAccounts

func (m *MockStore) GetAccounts(arg0 context.Context, arg1 int64) (db.Account, error)

GetAccounts mocks base method.

func (*MockStore) GetAccountsForUpdate

func (m *MockStore) GetAccountsForUpdate(arg0 context.Context, arg1 int64) (db.Account, error)

GetAccountsForUpdate mocks base method.

func (*MockStore) GetEntries

func (m *MockStore) GetEntries(arg0 context.Context, arg1 int64) (db.Entry, error)

GetEntries mocks base method.

func (*MockStore) GetSession

func (m *MockStore) GetSession(arg0 context.Context, arg1 uuid.UUID) (db.Session, error)

GetSession mocks base method.

func (*MockStore) GetTransfers

func (m *MockStore) GetTransfers(arg0 context.Context, arg1 int64) (db.Transfer, error)

GetTransfers mocks base method.

func (*MockStore) GetUser

func (m *MockStore) GetUser(arg0 context.Context, arg1 string) (db.User, error)

GetUser mocks base method.

func (*MockStore) ListAccounts

func (m *MockStore) ListAccounts(arg0 context.Context, arg1 db.ListAccountsParams) ([]db.Account, error)

ListAccounts mocks base method.

func (*MockStore) ListEntries

func (m *MockStore) ListEntries(arg0 context.Context, arg1 db.ListEntriesParams) ([]db.Entry, error)

ListEntries mocks base method.

func (*MockStore) ListTransfers

func (m *MockStore) ListTransfers(arg0 context.Context, arg1 db.ListTransfersParams) ([]db.Transfer, error)

ListTransfers mocks base method.

func (*MockStore) TransfersTx

func (m *MockStore) TransfersTx(arg0 context.Context, arg1 db.TransferTxParams) (db.TransferTxResult, error)

TransfersTx mocks base method.

func (*MockStore) UpdateAccounts

func (m *MockStore) UpdateAccounts(arg0 context.Context, arg1 db.UpdateAccountsParams) (db.Account, error)

UpdateAccounts mocks base method.

func (*MockStore) UpdateUser

func (m *MockStore) UpdateUser(arg0 context.Context, arg1 db.UpdateUserParams) (db.User, error)

UpdateUser mocks base method.

func (*MockStore) UpdateVerifyEmail

func (m *MockStore) UpdateVerifyEmail(arg0 context.Context, arg1 db.UpdateVerifyEmailParams) (db.VerifyEmail, error)

UpdateVerifyEmail mocks base method.

func (*MockStore) VerifyEmailsTx

func (m *MockStore) VerifyEmailsTx(arg0 context.Context, arg1 db.VerifyEmailsTxParams) (db.VerifyEmailsTxResult, error)

VerifyEmailsTx mocks base method.

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) AddAccountsBalance

func (mr *MockStoreMockRecorder) AddAccountsBalance(arg0, arg1 interface{}) *gomock.Call

AddAccountsBalance indicates an expected call of AddAccountsBalance.

func (*MockStoreMockRecorder) CreateAccount

func (mr *MockStoreMockRecorder) CreateAccount(arg0, arg1 interface{}) *gomock.Call

CreateAccount indicates an expected call of CreateAccount.

func (*MockStoreMockRecorder) CreateEntries

func (mr *MockStoreMockRecorder) CreateEntries(arg0, arg1 interface{}) *gomock.Call

CreateEntries indicates an expected call of CreateEntries.

func (*MockStoreMockRecorder) CreateSession

func (mr *MockStoreMockRecorder) CreateSession(arg0, arg1 interface{}) *gomock.Call

CreateSession indicates an expected call of CreateSession.

func (*MockStoreMockRecorder) CreateTransfers

func (mr *MockStoreMockRecorder) CreateTransfers(arg0, arg1 interface{}) *gomock.Call

CreateTransfers indicates an expected call of CreateTransfers.

func (*MockStoreMockRecorder) CreateUser

func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockStoreMockRecorder) CreateUserTx

func (mr *MockStoreMockRecorder) CreateUserTx(arg0, arg1 interface{}) *gomock.Call

CreateUserTx indicates an expected call of CreateUserTx.

func (*MockStoreMockRecorder) CreateVerifyEmail

func (mr *MockStoreMockRecorder) CreateVerifyEmail(arg0, arg1 interface{}) *gomock.Call

CreateVerifyEmail indicates an expected call of CreateVerifyEmail.

func (*MockStoreMockRecorder) DeleteAccounts

func (mr *MockStoreMockRecorder) DeleteAccounts(arg0, arg1 interface{}) *gomock.Call

DeleteAccounts indicates an expected call of DeleteAccounts.

func (*MockStoreMockRecorder) GetAccounts

func (mr *MockStoreMockRecorder) GetAccounts(arg0, arg1 interface{}) *gomock.Call

GetAccounts indicates an expected call of GetAccounts.

func (*MockStoreMockRecorder) GetAccountsForUpdate

func (mr *MockStoreMockRecorder) GetAccountsForUpdate(arg0, arg1 interface{}) *gomock.Call

GetAccountsForUpdate indicates an expected call of GetAccountsForUpdate.

func (*MockStoreMockRecorder) GetEntries

func (mr *MockStoreMockRecorder) GetEntries(arg0, arg1 interface{}) *gomock.Call

GetEntries indicates an expected call of GetEntries.

func (*MockStoreMockRecorder) GetSession

func (mr *MockStoreMockRecorder) GetSession(arg0, arg1 interface{}) *gomock.Call

GetSession indicates an expected call of GetSession.

func (*MockStoreMockRecorder) GetTransfers

func (mr *MockStoreMockRecorder) GetTransfers(arg0, arg1 interface{}) *gomock.Call

GetTransfers indicates an expected call of GetTransfers.

func (*MockStoreMockRecorder) GetUser

func (mr *MockStoreMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockStoreMockRecorder) ListAccounts

func (mr *MockStoreMockRecorder) ListAccounts(arg0, arg1 interface{}) *gomock.Call

ListAccounts indicates an expected call of ListAccounts.

func (*MockStoreMockRecorder) ListEntries

func (mr *MockStoreMockRecorder) ListEntries(arg0, arg1 interface{}) *gomock.Call

ListEntries indicates an expected call of ListEntries.

func (*MockStoreMockRecorder) ListTransfers

func (mr *MockStoreMockRecorder) ListTransfers(arg0, arg1 interface{}) *gomock.Call

ListTransfers indicates an expected call of ListTransfers.

func (*MockStoreMockRecorder) TransfersTx

func (mr *MockStoreMockRecorder) TransfersTx(arg0, arg1 interface{}) *gomock.Call

TransfersTx indicates an expected call of TransfersTx.

func (*MockStoreMockRecorder) UpdateAccounts

func (mr *MockStoreMockRecorder) UpdateAccounts(arg0, arg1 interface{}) *gomock.Call

UpdateAccounts indicates an expected call of UpdateAccounts.

func (*MockStoreMockRecorder) UpdateUser

func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

func (*MockStoreMockRecorder) UpdateVerifyEmail

func (mr *MockStoreMockRecorder) UpdateVerifyEmail(arg0, arg1 interface{}) *gomock.Call

UpdateVerifyEmail indicates an expected call of UpdateVerifyEmail.

func (*MockStoreMockRecorder) VerifyEmailsTx

func (mr *MockStoreMockRecorder) VerifyEmailsTx(arg0, arg1 interface{}) *gomock.Call

VerifyEmailsTx indicates an expected call of VerifyEmailsTx.

Jump to

Keyboard shortcuts

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