mongodb_mock

package
v0.0.0-...-9cb16bd Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mongodb_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMongoDBContext

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

MockMongoDBContext is a mock of MongoDBContext interface.

func NewMockMongoDBContext

func NewMockMongoDBContext(ctrl *gomock.Controller) *MockMongoDBContext

NewMockMongoDBContext creates a new mock instance.

func (*MockMongoDBContext) Close

func (m *MockMongoDBContext) Close() error

Close mocks base method.

func (*MockMongoDBContext) EXPECT

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

func (*MockMongoDBContext) GetConn

func (m *MockMongoDBContext) GetConn() *mongo.Client

GetConn mocks base method.

func (*MockMongoDBContext) GetDatabase

func (m *MockMongoDBContext) GetDatabase() *mongo.Database

GetDatabase mocks base method.

func (*MockMongoDBContext) Ping

func (m *MockMongoDBContext) Ping() error

Ping mocks base method.

type MockMongoDBContextMockRecorder

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

MockMongoDBContextMockRecorder is the mock recorder for MockMongoDBContext.

func (*MockMongoDBContextMockRecorder) Close

Close indicates an expected call of Close.

func (*MockMongoDBContextMockRecorder) GetConn

GetConn indicates an expected call of GetConn.

func (*MockMongoDBContextMockRecorder) GetDatabase

func (mr *MockMongoDBContextMockRecorder) GetDatabase() *gomock.Call

GetDatabase indicates an expected call of GetDatabase.

func (*MockMongoDBContextMockRecorder) Ping

Ping indicates an expected call of Ping.

Jump to

Keyboard shortcuts

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