mock_transaction

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: usecase.go

Generated by this command:

mockgen -source usecase.go -destination mocks/mocks.go -typed true

Package mock_transaction is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mockcleaner

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

Mockcleaner is a mock of cleaner interface.

func NewMockcleaner

func NewMockcleaner(ctrl *gomock.Controller) *Mockcleaner

NewMockcleaner creates a new mock instance.

func (*Mockcleaner) Clean

func (m *Mockcleaner) Clean(contentIds []string) error

Clean mocks base method.

func (*Mockcleaner) EXPECT

func (m *Mockcleaner) EXPECT() *MockcleanerMockRecorder

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

type MockcleanerMockRecorder

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

MockcleanerMockRecorder is the mock recorder for Mockcleaner.

func (*MockcleanerMockRecorder) Clean

func (mr *MockcleanerMockRecorder) Clean(contentIds any) *cleanerCleanCall

Clean indicates an expected call of Clean.

type MockfileRepository

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

MockfileRepository is a mock of fileRepository interface.

func NewMockfileRepository

func NewMockfileRepository(ctrl *gomock.Controller) *MockfileRepository

NewMockfileRepository creates a new mock instance.

func (*MockfileRepository) EXPECT

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

func (*MockfileRepository) HardDelete

func (m *MockfileRepository) HardDelete(ctx context.Context, txId string, filter *model.FileFilter) ([]string, error)

HardDelete mocks base method.

func (*MockfileRepository) UpdateTx

func (m *MockfileRepository) UpdateTx(ctx context.Context, oldTxId, newTxId string, filter *model.FileFilter) error

UpdateTx mocks base method.

type MockfileRepositoryMockRecorder

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

MockfileRepositoryMockRecorder is the mock recorder for MockfileRepository.

func (*MockfileRepositoryMockRecorder) HardDelete

func (mr *MockfileRepositoryMockRecorder) HardDelete(ctx, txId, filter any) *fileRepositoryHardDeleteCall

HardDelete indicates an expected call of HardDelete.

func (*MockfileRepositoryMockRecorder) UpdateTx

func (mr *MockfileRepositoryMockRecorder) UpdateTx(ctx, oldTxId, newTxId, filter any) *fileRepositoryUpdateTxCall

UpdateTx indicates an expected call of UpdateTx.

type Mockgenerator

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

Mockgenerator is a mock of generator interface.

func NewMockgenerator

func NewMockgenerator(ctrl *gomock.Controller) *Mockgenerator

NewMockgenerator creates a new mock instance.

func (*Mockgenerator) EXPECT

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

func (*Mockgenerator) Generate

func (m *Mockgenerator) Generate() string

Generate mocks base method.

type MockgeneratorMockRecorder

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

MockgeneratorMockRecorder is the mock recorder for Mockgenerator.

func (*MockgeneratorMockRecorder) Generate

func (mr *MockgeneratorMockRecorder) Generate() *generatorGenerateCall

Generate indicates an expected call of Generate.

type MocktxRepository

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

MocktxRepository is a mock of txRepository interface.

func NewMocktxRepository

func NewMocktxRepository(ctrl *gomock.Controller) *MocktxRepository

NewMocktxRepository creates a new mock instance.

func (*MocktxRepository) Delete

func (m *MocktxRepository) Delete(ctx context.Context, id string) (*model.Transaction, error)

Delete mocks base method.

func (*MocktxRepository) EXPECT

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

func (*MocktxRepository) Store

Store mocks base method.

type MocktxRepositoryMockRecorder

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

MocktxRepositoryMockRecorder is the mock recorder for MocktxRepository.

func (*MocktxRepositoryMockRecorder) Delete

func (mr *MocktxRepositoryMockRecorder) Delete(ctx, id any) *txRepositoryDeleteCall

Delete indicates an expected call of Delete.

func (*MocktxRepositoryMockRecorder) Store

func (mr *MocktxRepositoryMockRecorder) Store(ctx, tx any) *txRepositoryStoreCall

Store indicates an expected call of Store.

Jump to

Keyboard shortcuts

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