mock_document

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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 *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 *document.Collection, arg1 []document.QueryExpression, arg2 int) func() (*document.Document, error)

QueryStream mocks base method.

func (*MockDocumentService) Set

func (m *MockDocumentService) Set(arg0 *document.Key, arg1 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 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDocumentServiceMockRecorder) Get

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

Get indicates an expected call of Get.

func (*MockDocumentServiceMockRecorder) Query

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

Query indicates an expected call of Query.

func (*MockDocumentServiceMockRecorder) QueryStream

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

QueryStream indicates an expected call of QueryStream.

func (*MockDocumentServiceMockRecorder) Set

func (mr *MockDocumentServiceMockRecorder) Set(arg0, arg1 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