Documentation
¶
Overview ¶
Package mock_sqlc is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) AddAccountBalance(arg0 context.Context, arg1 db.AddAccountBalanceParams) (db.Account, error)
- func (m *MockStore) CreateAccount(arg0 context.Context, arg1 db.CreateAccountParams) (db.Account, error)
- func (m *MockStore) CreateEntry(arg0 context.Context, arg1 db.CreateEntryParams) (db.Entry, error)
- func (m *MockStore) CreateTransfer(arg0 context.Context, arg1 db.CreateTransferParams) (db.Transfer, error)
- func (m *MockStore) CreateUser(arg0 context.Context, arg1 db.CreateUserParams) (db.User, error)
- func (m *MockStore) DeleteAccount(arg0 context.Context, arg1 int64) error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetAccount(arg0 context.Context, arg1 int64) (db.Account, error)
- func (m *MockStore) GetAccountByOwner(arg0 context.Context, arg1 string) (db.Account, error)
- func (m *MockStore) GetAccountForUpdate(arg0 context.Context, arg1 int64) (db.Account, error)
- func (m *MockStore) GetEntry(arg0 context.Context, arg1 int64) (db.Entry, error)
- func (m *MockStore) GetMaxBalanceForCurrency(arg0 context.Context, arg1 string) (interface{}, error)
- func (m *MockStore) GetMinBalanceForCurrency(arg0 context.Context, arg1 string) (interface{}, error)
- func (m *MockStore) GetTransfer(arg0 context.Context, arg1 int64) (db.Transfer, error)
- func (m *MockStore) GetUser(arg0 context.Context, arg1 string) (db.User, error)
- func (m *MockStore) ListAccounts(arg0 context.Context, arg1 db.ListAccountsParams) ([]db.Account, error)
- func (m *MockStore) ListEntries(arg0 context.Context, arg1 db.ListEntriesParams) ([]db.Entry, error)
- func (m *MockStore) ListTransfersAmong(arg0 context.Context, arg1 db.ListTransfersAmongParams) ([]db.Transfer, error)
- func (m *MockStore) ListTransfersOf(arg0 context.Context, arg1 db.ListTransfersOfParams) ([]db.Transfer, error)
- func (m *MockStore) TransferTx(arg0 context.Context, arg1 db.TransferTxInputParams) (db.TransferTxResult, error)
- func (m *MockStore) UpdateAccount(arg0 context.Context, arg1 db.UpdateAccountParams) (db.Account, error)
- func (m *MockStore) UpdateUser(arg0 context.Context, arg1 db.UpdateUserParams) (db.User, error)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddAccountBalance(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateTransfer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) DeleteAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAccountByOwner(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetAccountForUpdate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetMaxBalanceForCurrency(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetMinBalanceForCurrency(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetTransfer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListAccounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListEntries(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListTransfersAmong(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ListTransfersOf(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) TransferTx(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateAccount(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
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) AddAccountBalance ¶
func (m *MockStore) AddAccountBalance(arg0 context.Context, arg1 db.AddAccountBalanceParams) (db.Account, error)
AddAccountBalance 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) CreateEntry ¶
CreateEntry mocks base method.
func (*MockStore) CreateTransfer ¶
func (m *MockStore) CreateTransfer(arg0 context.Context, arg1 db.CreateTransferParams) (db.Transfer, error)
CreateTransfer mocks base method.
func (*MockStore) CreateUser ¶
CreateUser mocks base method.
func (*MockStore) DeleteAccount ¶
DeleteAccount 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) GetAccount ¶
GetAccount mocks base method.
func (*MockStore) GetAccountByOwner ¶
GetAccountByOwner mocks base method.
func (*MockStore) GetAccountForUpdate ¶
GetAccountForUpdate mocks base method.
func (*MockStore) GetMaxBalanceForCurrency ¶
func (m *MockStore) GetMaxBalanceForCurrency(arg0 context.Context, arg1 string) (interface{}, error)
GetMaxBalanceForCurrency mocks base method.
func (*MockStore) GetMinBalanceForCurrency ¶
func (m *MockStore) GetMinBalanceForCurrency(arg0 context.Context, arg1 string) (interface{}, error)
GetMinBalanceForCurrency mocks base method.
func (*MockStore) GetTransfer ¶
GetTransfer 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) ListTransfersAmong ¶
func (m *MockStore) ListTransfersAmong(arg0 context.Context, arg1 db.ListTransfersAmongParams) ([]db.Transfer, error)
ListTransfersAmong mocks base method.
func (*MockStore) ListTransfersOf ¶
func (m *MockStore) ListTransfersOf(arg0 context.Context, arg1 db.ListTransfersOfParams) ([]db.Transfer, error)
ListTransfersOf mocks base method.
func (*MockStore) TransferTx ¶
func (m *MockStore) TransferTx(arg0 context.Context, arg1 db.TransferTxInputParams) (db.TransferTxResult, error)
TransferTx mocks base method.
func (*MockStore) UpdateAccount ¶
func (m *MockStore) UpdateAccount(arg0 context.Context, arg1 db.UpdateAccountParams) (db.Account, error)
UpdateAccount mocks base method.
func (*MockStore) UpdateUser ¶
UpdateUser mocks base method.
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore.
func (*MockStoreMockRecorder) AddAccountBalance ¶
func (mr *MockStoreMockRecorder) AddAccountBalance(arg0, arg1 interface{}) *gomock.Call
AddAccountBalance indicates an expected call of AddAccountBalance.
func (*MockStoreMockRecorder) CreateAccount ¶
func (mr *MockStoreMockRecorder) CreateAccount(arg0, arg1 interface{}) *gomock.Call
CreateAccount indicates an expected call of CreateAccount.
func (*MockStoreMockRecorder) CreateEntry ¶
func (mr *MockStoreMockRecorder) CreateEntry(arg0, arg1 interface{}) *gomock.Call
CreateEntry indicates an expected call of CreateEntry.
func (*MockStoreMockRecorder) CreateTransfer ¶
func (mr *MockStoreMockRecorder) CreateTransfer(arg0, arg1 interface{}) *gomock.Call
CreateTransfer indicates an expected call of CreateTransfer.
func (*MockStoreMockRecorder) CreateUser ¶
func (mr *MockStoreMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockStoreMockRecorder) DeleteAccount ¶
func (mr *MockStoreMockRecorder) DeleteAccount(arg0, arg1 interface{}) *gomock.Call
DeleteAccount indicates an expected call of DeleteAccount.
func (*MockStoreMockRecorder) GetAccount ¶
func (mr *MockStoreMockRecorder) GetAccount(arg0, arg1 interface{}) *gomock.Call
GetAccount indicates an expected call of GetAccount.
func (*MockStoreMockRecorder) GetAccountByOwner ¶
func (mr *MockStoreMockRecorder) GetAccountByOwner(arg0, arg1 interface{}) *gomock.Call
GetAccountByOwner indicates an expected call of GetAccountByOwner.
func (*MockStoreMockRecorder) GetAccountForUpdate ¶
func (mr *MockStoreMockRecorder) GetAccountForUpdate(arg0, arg1 interface{}) *gomock.Call
GetAccountForUpdate indicates an expected call of GetAccountForUpdate.
func (*MockStoreMockRecorder) GetEntry ¶
func (mr *MockStoreMockRecorder) GetEntry(arg0, arg1 interface{}) *gomock.Call
GetEntry indicates an expected call of GetEntry.
func (*MockStoreMockRecorder) GetMaxBalanceForCurrency ¶
func (mr *MockStoreMockRecorder) GetMaxBalanceForCurrency(arg0, arg1 interface{}) *gomock.Call
GetMaxBalanceForCurrency indicates an expected call of GetMaxBalanceForCurrency.
func (*MockStoreMockRecorder) GetMinBalanceForCurrency ¶
func (mr *MockStoreMockRecorder) GetMinBalanceForCurrency(arg0, arg1 interface{}) *gomock.Call
GetMinBalanceForCurrency indicates an expected call of GetMinBalanceForCurrency.
func (*MockStoreMockRecorder) GetTransfer ¶
func (mr *MockStoreMockRecorder) GetTransfer(arg0, arg1 interface{}) *gomock.Call
GetTransfer indicates an expected call of GetTransfer.
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) ListTransfersAmong ¶
func (mr *MockStoreMockRecorder) ListTransfersAmong(arg0, arg1 interface{}) *gomock.Call
ListTransfersAmong indicates an expected call of ListTransfersAmong.
func (*MockStoreMockRecorder) ListTransfersOf ¶
func (mr *MockStoreMockRecorder) ListTransfersOf(arg0, arg1 interface{}) *gomock.Call
ListTransfersOf indicates an expected call of ListTransfersOf.
func (*MockStoreMockRecorder) TransferTx ¶
func (mr *MockStoreMockRecorder) TransferTx(arg0, arg1 interface{}) *gomock.Call
TransferTx indicates an expected call of TransferTx.
func (*MockStoreMockRecorder) UpdateAccount ¶
func (mr *MockStoreMockRecorder) UpdateAccount(arg0, arg1 interface{}) *gomock.Call
UpdateAccount indicates an expected call of UpdateAccount.
func (*MockStoreMockRecorder) UpdateUser ¶
func (mr *MockStoreMockRecorder) UpdateUser(arg0, arg1 interface{}) *gomock.Call
UpdateUser indicates an expected call of UpdateUser.