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: 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 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