mockdb

package
v0.0.0-...-3b6f3da Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 4 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) 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) CreateEntries

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

CreateEntries 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) DeleteAccount

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

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

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

GetAccount mocks base method.

func (*MockStore) GetAccountForUpdate

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

GetAccountForUpdate mocks base method.

func (*MockStore) GetEntries

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

GetEntries mocks base method.

func (*MockStore) GetTransfer

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

GetTransfer mocks base method.

func (*MockStore) ListAccount

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

ListAccount 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) TransferTx

func (m *MockStore) TransferTx(arg0 context.Context, arg1 db.TransferTxParams) (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.

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) CreateEntries

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

CreateEntries indicates an expected call of CreateEntries.

func (*MockStoreMockRecorder) CreateTransfer

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

CreateTransfer indicates an expected call of CreateTransfer.

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) GetAccountForUpdate

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

GetAccountForUpdate indicates an expected call of GetAccountForUpdate.

func (*MockStoreMockRecorder) GetEntries

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

GetEntries indicates an expected call of GetEntries.

func (*MockStoreMockRecorder) GetTransfer

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

GetTransfer indicates an expected call of GetTransfer.

func (*MockStoreMockRecorder) ListAccount

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

ListAccount indicates an expected call of ListAccount.

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) 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.

Jump to

Keyboard shortcuts

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