mockdb

package
v0.0.0-...-42e6bdb Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2025 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) AddAccountBalance

func (m *MockStore) AddAccountBalance(ctx context.Context, arg sqlc.AddAccountBalanceParams) (sqlc.Account, error)

AddAccountBalance mocks base method.

func (*MockStore) CreateAccount

func (m *MockStore) CreateAccount(ctx context.Context, arg sqlc.CreateAccountParams) (sqlc.Account, error)

CreateAccount mocks base method.

func (*MockStore) CreateEntry

func (m *MockStore) CreateEntry(ctx context.Context, arg sqlc.CreateEntryParams) (sqlc.Entry, error)

CreateEntry mocks base method.

func (*MockStore) CreateSession

func (m *MockStore) CreateSession(ctx context.Context, arg sqlc.CreateSessionParams) (sqlc.Session, error)

CreateSession mocks base method.

func (*MockStore) CreateTransfer

func (m *MockStore) CreateTransfer(ctx context.Context, arg sqlc.CreateTransferParams) (sqlc.Transfer, error)

CreateTransfer mocks base method.

func (*MockStore) CreateUser

func (m *MockStore) CreateUser(ctx context.Context, arg sqlc.CreateUserParams) (sqlc.User, error)

CreateUser mocks base method.

func (*MockStore) CreateUserTx

CreateUserTx mocks base method.

func (*MockStore) CreateVerifyEmail

func (m *MockStore) CreateVerifyEmail(ctx context.Context, arg sqlc.CreateVerifyEmailParams) (sqlc.VerifyEmail, error)

CreateVerifyEmail mocks base method.

func (*MockStore) DeleteAccount

func (m *MockStore) DeleteAccount(ctx context.Context, id 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(ctx context.Context, id int64) (sqlc.Account, error)

GetAccount mocks base method.

func (*MockStore) GetAccountForUpdate

func (m *MockStore) GetAccountForUpdate(ctx context.Context, id int64) (sqlc.Account, error)

GetAccountForUpdate mocks base method.

func (*MockStore) GetEntry

func (m *MockStore) GetEntry(ctx context.Context, id int64) (sqlc.Entry, error)

GetEntry mocks base method.

func (*MockStore) GetSession

func (m *MockStore) GetSession(ctx context.Context, id uuid.UUID) (sqlc.Session, error)

GetSession mocks base method.

func (*MockStore) GetTransfer

func (m *MockStore) GetTransfer(ctx context.Context, id int64) (sqlc.Transfer, error)

GetTransfer mocks base method.

func (*MockStore) GetUser

func (m *MockStore) GetUser(ctx context.Context, username string) (sqlc.User, error)

GetUser mocks base method.

func (*MockStore) ListAccounts

func (m *MockStore) ListAccounts(ctx context.Context, arg sqlc.ListAccountsParams) ([]sqlc.Account, error)

ListAccounts mocks base method.

func (*MockStore) ListEntries

func (m *MockStore) ListEntries(ctx context.Context, arg sqlc.ListEntriesParams) ([]sqlc.Entry, error)

ListEntries mocks base method.

func (*MockStore) ListTransfers

func (m *MockStore) ListTransfers(ctx context.Context, arg sqlc.ListTransfersParams) ([]sqlc.Transfer, error)

ListTransfers mocks base method.

func (*MockStore) TransferTx

TransferTx mocks base method.

func (*MockStore) UpdateAccount

func (m *MockStore) UpdateAccount(ctx context.Context, arg sqlc.UpdateAccountParams) (sqlc.Account, error)

UpdateAccount mocks base method.

func (*MockStore) UpdateUser

func (m *MockStore) UpdateUser(ctx context.Context, arg sqlc.UpdateUserParams) (sqlc.User, error)

UpdateUser mocks base method.

func (*MockStore) UpdateVerifyEmail

func (m *MockStore) UpdateVerifyEmail(ctx context.Context, arg sqlc.UpdateVerifyEmailParams) (sqlc.VerifyEmail, error)

UpdateVerifyEmail mocks base method.

func (*MockStore) VerifyEmailTx

VerifyEmailTx 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(ctx, arg any) *gomock.Call

AddAccountBalance indicates an expected call of AddAccountBalance.

func (*MockStoreMockRecorder) CreateAccount

func (mr *MockStoreMockRecorder) CreateAccount(ctx, arg any) *gomock.Call

CreateAccount indicates an expected call of CreateAccount.

func (*MockStoreMockRecorder) CreateEntry

func (mr *MockStoreMockRecorder) CreateEntry(ctx, arg any) *gomock.Call

CreateEntry indicates an expected call of CreateEntry.

func (*MockStoreMockRecorder) CreateSession

func (mr *MockStoreMockRecorder) CreateSession(ctx, arg any) *gomock.Call

CreateSession indicates an expected call of CreateSession.

func (*MockStoreMockRecorder) CreateTransfer

func (mr *MockStoreMockRecorder) CreateTransfer(ctx, arg any) *gomock.Call

CreateTransfer indicates an expected call of CreateTransfer.

func (*MockStoreMockRecorder) CreateUser

func (mr *MockStoreMockRecorder) CreateUser(ctx, arg any) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockStoreMockRecorder) CreateUserTx

func (mr *MockStoreMockRecorder) CreateUserTx(ctx, arg any) *gomock.Call

CreateUserTx indicates an expected call of CreateUserTx.

func (*MockStoreMockRecorder) CreateVerifyEmail

func (mr *MockStoreMockRecorder) CreateVerifyEmail(ctx, arg any) *gomock.Call

CreateVerifyEmail indicates an expected call of CreateVerifyEmail.

func (*MockStoreMockRecorder) DeleteAccount

func (mr *MockStoreMockRecorder) DeleteAccount(ctx, id any) *gomock.Call

DeleteAccount indicates an expected call of DeleteAccount.

func (*MockStoreMockRecorder) GetAccount

func (mr *MockStoreMockRecorder) GetAccount(ctx, id any) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockStoreMockRecorder) GetAccountForUpdate

func (mr *MockStoreMockRecorder) GetAccountForUpdate(ctx, id any) *gomock.Call

GetAccountForUpdate indicates an expected call of GetAccountForUpdate.

func (*MockStoreMockRecorder) GetEntry

func (mr *MockStoreMockRecorder) GetEntry(ctx, id any) *gomock.Call

GetEntry indicates an expected call of GetEntry.

func (*MockStoreMockRecorder) GetSession

func (mr *MockStoreMockRecorder) GetSession(ctx, id any) *gomock.Call

GetSession indicates an expected call of GetSession.

func (*MockStoreMockRecorder) GetTransfer

func (mr *MockStoreMockRecorder) GetTransfer(ctx, id any) *gomock.Call

GetTransfer indicates an expected call of GetTransfer.

func (*MockStoreMockRecorder) GetUser

func (mr *MockStoreMockRecorder) GetUser(ctx, username any) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockStoreMockRecorder) ListAccounts

func (mr *MockStoreMockRecorder) ListAccounts(ctx, arg any) *gomock.Call

ListAccounts indicates an expected call of ListAccounts.

func (*MockStoreMockRecorder) ListEntries

func (mr *MockStoreMockRecorder) ListEntries(ctx, arg any) *gomock.Call

ListEntries indicates an expected call of ListEntries.

func (*MockStoreMockRecorder) ListTransfers

func (mr *MockStoreMockRecorder) ListTransfers(ctx, arg any) *gomock.Call

ListTransfers indicates an expected call of ListTransfers.

func (*MockStoreMockRecorder) TransferTx

func (mr *MockStoreMockRecorder) TransferTx(ctx, arg any) *gomock.Call

TransferTx indicates an expected call of TransferTx.

func (*MockStoreMockRecorder) UpdateAccount

func (mr *MockStoreMockRecorder) UpdateAccount(ctx, arg any) *gomock.Call

UpdateAccount indicates an expected call of UpdateAccount.

func (*MockStoreMockRecorder) UpdateUser

func (mr *MockStoreMockRecorder) UpdateUser(ctx, arg any) *gomock.Call

UpdateUser indicates an expected call of UpdateUser.

func (*MockStoreMockRecorder) UpdateVerifyEmail

func (mr *MockStoreMockRecorder) UpdateVerifyEmail(ctx, arg any) *gomock.Call

UpdateVerifyEmail indicates an expected call of UpdateVerifyEmail.

func (*MockStoreMockRecorder) VerifyEmailTx

func (mr *MockStoreMockRecorder) VerifyEmailTx(ctx, arg any) *gomock.Call

VerifyEmailTx indicates an expected call of VerifyEmailTx.

Jump to

Keyboard shortcuts

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