mock_entities

package
v0.0.0-...-fe50809 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_entities is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockEntgoClient

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

MockEntgoClient is a mock of EntgoClient interface.

func NewMockEntgoClient

func NewMockEntgoClient(ctrl *gomock.Controller) *MockEntgoClient

NewMockEntgoClient creates a new mock instance.

func (*MockEntgoClient) Close

func (m *MockEntgoClient) Close()

Close mocks base method.

func (*MockEntgoClient) CommitTransaction

func (m *MockEntgoClient) CommitTransaction(tx *entities.Tx) error

CommitTransaction mocks base method.

func (*MockEntgoClient) CreateTransaction

func (m *MockEntgoClient) CreateTransaction(ctx context.Context) (*entities.Tx, error)

CreateTransaction mocks base method.

func (*MockEntgoClient) EXPECT

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

func (*MockEntgoClient) GetClient

func (m *MockEntgoClient) GetClient() *entities.Client

GetClient mocks base method.

func (*MockEntgoClient) RollbackTransaction

func (m *MockEntgoClient) RollbackTransaction(tx *entities.Tx) error

RollbackTransaction mocks base method.

type MockEntgoClientMockRecorder

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

MockEntgoClientMockRecorder is the mock recorder for MockEntgoClient.

func (*MockEntgoClientMockRecorder) Close

Close indicates an expected call of Close.

func (*MockEntgoClientMockRecorder) CommitTransaction

func (mr *MockEntgoClientMockRecorder) CommitTransaction(tx interface{}) *gomock.Call

CommitTransaction indicates an expected call of CommitTransaction.

func (*MockEntgoClientMockRecorder) CreateTransaction

func (mr *MockEntgoClientMockRecorder) CreateTransaction(ctx interface{}) *gomock.Call

CreateTransaction indicates an expected call of CreateTransaction.

func (*MockEntgoClientMockRecorder) GetClient

func (mr *MockEntgoClientMockRecorder) GetClient() *gomock.Call

GetClient indicates an expected call of GetClient.

func (*MockEntgoClientMockRecorder) RollbackTransaction

func (mr *MockEntgoClientMockRecorder) RollbackTransaction(tx interface{}) *gomock.Call

RollbackTransaction indicates an expected call of RollbackTransaction.

Jump to

Keyboard shortcuts

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