Documentation ¶
Overview ¶
Package mock_entities is a generated GoMock package.
Index ¶
- type MockEntgoClient
- func (m *MockEntgoClient) Close()
- func (m *MockEntgoClient) CommitTransaction(tx *entities.Tx) error
- func (m *MockEntgoClient) CreateTransaction(ctx context.Context) (*entities.Tx, error)
- func (m *MockEntgoClient) EXPECT() *MockEntgoClientMockRecorder
- func (m *MockEntgoClient) GetClient() *entities.Client
- func (m *MockEntgoClient) RollbackTransaction(tx *entities.Tx) error
- type MockEntgoClientMockRecorder
- func (mr *MockEntgoClientMockRecorder) Close() *gomock.Call
- func (mr *MockEntgoClientMockRecorder) CommitTransaction(tx interface{}) *gomock.Call
- func (mr *MockEntgoClientMockRecorder) CreateTransaction(ctx interface{}) *gomock.Call
- func (mr *MockEntgoClientMockRecorder) GetClient() *gomock.Call
- func (mr *MockEntgoClientMockRecorder) RollbackTransaction(tx interface{}) *gomock.Call
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) CommitTransaction ¶
func (m *MockEntgoClient) CommitTransaction(tx *entities.Tx) error
CommitTransaction mocks base method.
func (*MockEntgoClient) CreateTransaction ¶
CreateTransaction mocks base method.
func (*MockEntgoClient) EXPECT ¶
func (m *MockEntgoClient) EXPECT() *MockEntgoClientMockRecorder
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 ¶
func (mr *MockEntgoClientMockRecorder) Close() *gomock.Call
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.