mock

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRepository

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

MockRepository is a mock of Repository interface.

func NewMockRepository

func NewMockRepository(ctrl *gomock.Controller) *MockRepository

NewMockRepository creates a new mock instance.

func (*MockRepository) Create

func (m *MockRepository) Create(arg0 context.Context, arg1 *account.Account) (*account.Account, error)

Create mocks base method.

func (*MockRepository) Delete

func (m *MockRepository) Delete(arg0 context.Context, arg1, arg2, arg3, arg4 uuid.UUID) error

Delete mocks base method.

func (*MockRepository) EXPECT

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

func (*MockRepository) Find

func (m *MockRepository) Find(arg0 context.Context, arg1, arg2, arg3, arg4 uuid.UUID) (*account.Account, error)

Find mocks base method.

func (*MockRepository) FindAll

func (m *MockRepository) FindAll(arg0 context.Context, arg1, arg2, arg3 uuid.UUID, arg4, arg5 int) ([]*account.Account, error)

FindAll mocks base method.

func (*MockRepository) FindByAlias added in v1.1.0

func (m *MockRepository) FindByAlias(arg0 context.Context, arg1, arg2, arg3 uuid.UUID, arg4 string) (bool, error)

FindByAlias mocks base method.

func (*MockRepository) ListAccountsByAlias added in v1.10.0

func (m *MockRepository) ListAccountsByAlias(arg0 context.Context, arg1 []string) ([]*account.Account, error)

ListAccountsByAlias mocks base method.

func (*MockRepository) ListAccountsByIDs added in v1.10.0

func (m *MockRepository) ListAccountsByIDs(arg0 context.Context, arg1 []uuid.UUID) ([]*account.Account, error)

ListAccountsByIDs mocks base method.

func (*MockRepository) ListByAlias added in v1.10.0

func (m *MockRepository) ListByAlias(arg0 context.Context, arg1, arg2, arg3 uuid.UUID, arg4 []string) ([]*account.Account, error)

ListByAlias mocks base method.

func (*MockRepository) ListByIDs

func (m *MockRepository) ListByIDs(arg0 context.Context, arg1, arg2, arg3 uuid.UUID, arg4 []uuid.UUID) ([]*account.Account, error)

ListByIDs mocks base method.

func (*MockRepository) Update

func (m *MockRepository) Update(arg0 context.Context, arg1, arg2, arg3, arg4 uuid.UUID, arg5 *account.Account) (*account.Account, error)

Update mocks base method.

func (*MockRepository) UpdateAccountByID added in v1.10.0

func (m *MockRepository) UpdateAccountByID(arg0 context.Context, arg1 uuid.UUID, arg2 *account.Account) (*account.Account, error)

UpdateAccountByID mocks base method.

type MockRepositoryMockRecorder

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

MockRepositoryMockRecorder is the mock recorder for MockRepository.

func (*MockRepositoryMockRecorder) Create

func (mr *MockRepositoryMockRecorder) Create(arg0, arg1 any) *gomock.Call

Create indicates an expected call of Create.

func (*MockRepositoryMockRecorder) Delete

func (mr *MockRepositoryMockRecorder) Delete(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockRepositoryMockRecorder) Find

func (mr *MockRepositoryMockRecorder) Find(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

Find indicates an expected call of Find.

func (*MockRepositoryMockRecorder) FindAll

func (mr *MockRepositoryMockRecorder) FindAll(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

FindAll indicates an expected call of FindAll.

func (*MockRepositoryMockRecorder) FindByAlias added in v1.1.0

func (mr *MockRepositoryMockRecorder) FindByAlias(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

FindByAlias indicates an expected call of FindByAlias.

func (*MockRepositoryMockRecorder) ListAccountsByAlias added in v1.10.0

func (mr *MockRepositoryMockRecorder) ListAccountsByAlias(arg0, arg1 any) *gomock.Call

ListAccountsByAlias indicates an expected call of ListAccountsByAlias.

func (*MockRepositoryMockRecorder) ListAccountsByIDs added in v1.10.0

func (mr *MockRepositoryMockRecorder) ListAccountsByIDs(arg0, arg1 any) *gomock.Call

ListAccountsByIDs indicates an expected call of ListAccountsByIDs.

func (*MockRepositoryMockRecorder) ListByAlias added in v1.10.0

func (mr *MockRepositoryMockRecorder) ListByAlias(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

ListByAlias indicates an expected call of ListByAlias.

func (*MockRepositoryMockRecorder) ListByIDs

func (mr *MockRepositoryMockRecorder) ListByIDs(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call

ListByIDs indicates an expected call of ListByIDs.

func (*MockRepositoryMockRecorder) Update

func (mr *MockRepositoryMockRecorder) Update(arg0, arg1, arg2, arg3, arg4, arg5 any) *gomock.Call

Update indicates an expected call of Update.

func (*MockRepositoryMockRecorder) UpdateAccountByID added in v1.10.0

func (mr *MockRepositoryMockRecorder) UpdateAccountByID(arg0, arg1, arg2 any) *gomock.Call

UpdateAccountByID indicates an expected call of UpdateAccountByID.

Jump to

Keyboard shortcuts

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