mocks

package
v0.0.0-...-677ce44 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 4 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 MockIAdapter

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

MockIAdapter is a mock of IAdapter interface

func NewMockIAdapter

func NewMockIAdapter(ctrl *gomock.Controller) *MockIAdapter

NewMockIAdapter creates a new mock instance

func (*MockIAdapter) Count

func (m *MockIAdapter) Count(ctx context.Context, query interface{}) (int64, error)

Count mocks base method

func (*MockIAdapter) Delete

func (m *MockIAdapter) Delete(ctx context.Context, filter interface{}) (int64, error)

Delete mocks base method

func (*MockIAdapter) DeleteMany

func (m *MockIAdapter) DeleteMany(ctx context.Context, filter interface{}) (int64, error)

DeleteMany mocks base method

func (*MockIAdapter) EXPECT

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

func (*MockIAdapter) Find

func (m *MockIAdapter) Find(ctx context.Context, query, docs interface{}, opts ...interface{}) error

Find mocks base method

func (*MockIAdapter) FindOne

func (m *MockIAdapter) FindOne(ctx context.Context, query, doc interface{}, opts ...interface{}) error

FindOne mocks base method

func (*MockIAdapter) Insert

func (m *MockIAdapter) Insert(ctx context.Context, doc interface{}) (interface{}, error)

Insert mocks base method

func (*MockIAdapter) InsertMany

func (m *MockIAdapter) InsertMany(ctx context.Context, docs []interface{}) ([]interface{}, error)

InsertMany mocks base method

func (*MockIAdapter) Update

func (m *MockIAdapter) Update(ctx context.Context, query, update interface{}) (*adapter.UpdateSummary, error)

Update mocks base method

func (*MockIAdapter) UpdateMany

func (m *MockIAdapter) UpdateMany(ctx context.Context, query, update interface{}) (*adapter.UpdateSummary, error)

UpdateMany mocks base method

type MockIAdapterMockRecorder

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

MockIAdapterMockRecorder is the mock recorder for MockIAdapter

func (*MockIAdapterMockRecorder) Count

func (mr *MockIAdapterMockRecorder) Count(ctx, query interface{}) *gomock.Call

Count indicates an expected call of Count

func (*MockIAdapterMockRecorder) Delete

func (mr *MockIAdapterMockRecorder) Delete(ctx, filter interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockIAdapterMockRecorder) DeleteMany

func (mr *MockIAdapterMockRecorder) DeleteMany(ctx, filter interface{}) *gomock.Call

DeleteMany indicates an expected call of DeleteMany

func (*MockIAdapterMockRecorder) Find

func (mr *MockIAdapterMockRecorder) Find(ctx, query, docs interface{}, opts ...interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockIAdapterMockRecorder) FindOne

func (mr *MockIAdapterMockRecorder) FindOne(ctx, query, doc interface{}, opts ...interface{}) *gomock.Call

FindOne indicates an expected call of FindOne

func (*MockIAdapterMockRecorder) Insert

func (mr *MockIAdapterMockRecorder) Insert(ctx, doc interface{}) *gomock.Call

Insert indicates an expected call of Insert

func (*MockIAdapterMockRecorder) InsertMany

func (mr *MockIAdapterMockRecorder) InsertMany(ctx, docs interface{}) *gomock.Call

InsertMany indicates an expected call of InsertMany

func (*MockIAdapterMockRecorder) Update

func (mr *MockIAdapterMockRecorder) Update(ctx, query, update interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockIAdapterMockRecorder) UpdateMany

func (mr *MockIAdapterMockRecorder) UpdateMany(ctx, query, update interface{}) *gomock.Call

UpdateMany indicates an expected call of UpdateMany

Jump to

Keyboard shortcuts

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