mocks

package
v1.32.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDatabaseClient

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

MockDatabaseClient is a mock of DatabaseClient interface.

func NewMockDatabaseClient

func NewMockDatabaseClient(ctrl *gomock.Controller) *MockDatabaseClient

NewMockDatabaseClient creates a new mock instance.

func (*MockDatabaseClient) Connect

func (m *MockDatabaseClient) Connect(arg0 context.Context, arg1 time.Duration) error

Connect mocks base method.

func (*MockDatabaseClient) Count added in v1.31.0

func (m *MockDatabaseClient) Count(arg0 context.Context, arg1 string, arg2 query.QueryBuilder) (uint64, error)

Count mocks base method.

func (*MockDatabaseClient) DeleteOne

func (m *MockDatabaseClient) DeleteOne(arg0 context.Context, arg1 string, arg2 query.QueryBuilder) error

DeleteOne mocks base method.

func (*MockDatabaseClient) Disconnect

func (m *MockDatabaseClient) Disconnect(arg0 context.Context) error

Disconnect mocks base method.

func (*MockDatabaseClient) EXPECT

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

func (*MockDatabaseClient) Find

func (m *MockDatabaseClient) Find(arg0 context.Context, arg1 string, arg2 query.QueryBuilder, arg3 interface{}) error

Find mocks base method.

func (*MockDatabaseClient) FindOne

func (m *MockDatabaseClient) FindOne(arg0 context.Context, arg1 string, arg2 query.QueryBuilder, arg3 interface{}) error

FindOne mocks base method.

func (*MockDatabaseClient) InsertOne

func (m *MockDatabaseClient) InsertOne(arg0 context.Context, arg1 string, arg2 interface{}) (string, error)

InsertOne mocks base method.

func (*MockDatabaseClient) UpdateOne

func (m *MockDatabaseClient) UpdateOne(arg0 context.Context, arg1 string, arg2 query.QueryBuilder, arg3 interface{}) error

UpdateOne mocks base method.

type MockDatabaseClientMockRecorder

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

MockDatabaseClientMockRecorder is the mock recorder for MockDatabaseClient.

func (*MockDatabaseClientMockRecorder) Connect

func (mr *MockDatabaseClientMockRecorder) Connect(arg0, arg1 interface{}) *gomock.Call

Connect indicates an expected call of Connect.

func (*MockDatabaseClientMockRecorder) Count added in v1.31.0

func (mr *MockDatabaseClientMockRecorder) Count(arg0, arg1, arg2 interface{}) *gomock.Call

Count indicates an expected call of Count.

func (*MockDatabaseClientMockRecorder) DeleteOne

func (mr *MockDatabaseClientMockRecorder) DeleteOne(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteOne indicates an expected call of DeleteOne.

func (*MockDatabaseClientMockRecorder) Disconnect

func (mr *MockDatabaseClientMockRecorder) Disconnect(arg0 interface{}) *gomock.Call

Disconnect indicates an expected call of Disconnect.

func (*MockDatabaseClientMockRecorder) Find

func (mr *MockDatabaseClientMockRecorder) Find(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Find indicates an expected call of Find.

func (*MockDatabaseClientMockRecorder) FindOne

func (mr *MockDatabaseClientMockRecorder) FindOne(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

FindOne indicates an expected call of FindOne.

func (*MockDatabaseClientMockRecorder) InsertOne

func (mr *MockDatabaseClientMockRecorder) InsertOne(arg0, arg1, arg2 interface{}) *gomock.Call

InsertOne indicates an expected call of InsertOne.

func (*MockDatabaseClientMockRecorder) UpdateOne

func (mr *MockDatabaseClientMockRecorder) UpdateOne(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateOne indicates an expected call of UpdateOne.

Jump to

Keyboard shortcuts

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