mock_document

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_document is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDocumentService

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

MockDocumentService is a mock of DocumentService interface.

func NewMockDocumentService

func NewMockDocumentService(ctrl *gomock.Controller) *MockDocumentService

NewMockDocumentService creates a new mock instance.

func (*MockDocumentService) Delete

func (m *MockDocumentService) Delete(arg0 context.Context, arg1 *document.Key) error

Delete mocks base method.

func (*MockDocumentService) EXPECT

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

func (*MockDocumentService) Get

Get mocks base method.

func (*MockDocumentService) Query

Query mocks base method.

func (*MockDocumentService) QueryStream

func (m *MockDocumentService) QueryStream(arg0 context.Context, arg1 *document.Collection, arg2 []document.QueryExpression, arg3 int) func() (*document.Document, error)

QueryStream mocks base method.

func (*MockDocumentService) Set

func (m *MockDocumentService) Set(arg0 context.Context, arg1 *document.Key, arg2 map[string]interface{}) error

Set mocks base method.

type MockDocumentServiceMockRecorder

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

MockDocumentServiceMockRecorder is the mock recorder for MockDocumentService.

func (*MockDocumentServiceMockRecorder) Delete

func (mr *MockDocumentServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDocumentServiceMockRecorder) Get

func (mr *MockDocumentServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockDocumentServiceMockRecorder) Query

func (mr *MockDocumentServiceMockRecorder) Query(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockDocumentServiceMockRecorder) QueryStream

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

QueryStream indicates an expected call of QueryStream.

func (*MockDocumentServiceMockRecorder) Set

func (mr *MockDocumentServiceMockRecorder) Set(arg0, arg1, arg2 interface{}) *gomock.Call

Set indicates an expected call of Set.

Jump to

Keyboard shortcuts

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