mock_mongo

package
v0.0.0-...-5bbb7b8 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_mongo is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) Collection

func (m *MockClient) Collection(arg0 string, arg1 ...*options.CollectionOptions) *mongo0.Collection

Collection mocks base method

func (*MockClient) Connect

func (m *MockClient) Connect() context.CancelFunc

Connect mocks base method

func (*MockClient) Database

func (m *MockClient) Database() *mongo0.Database

Database mocks base method

func (*MockClient) DefineIndexes

func (m *MockClient) DefineIndexes(arg0 ...mongo.IndexSet)

DefineIndexes mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) Collection

func (mr *MockClientMockRecorder) Collection(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Collection indicates an expected call of Collection

func (*MockClientMockRecorder) Connect

func (mr *MockClientMockRecorder) Connect() *gomock.Call

Connect indicates an expected call of Connect

func (*MockClientMockRecorder) Database

func (mr *MockClientMockRecorder) Database() *gomock.Call

Database indicates an expected call of Database

func (*MockClientMockRecorder) DefineIndexes

func (mr *MockClientMockRecorder) DefineIndexes(arg0 ...interface{}) *gomock.Call

DefineIndexes indicates an expected call of DefineIndexes

Jump to

Keyboard shortcuts

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