Documentation ¶
Overview ¶
Package mock_document is a generated GoMock package.
Index ¶
- type MockDocumentService
- func (m *MockDocumentService) Delete(arg0 *document.Key) error
- func (m *MockDocumentService) EXPECT() *MockDocumentServiceMockRecorder
- func (m *MockDocumentService) Get(arg0 *document.Key) (*document.Document, error)
- func (m *MockDocumentService) Query(arg0 *document.Collection, arg1 []document.QueryExpression, arg2 int, ...) (*document.QueryResult, error)
- func (m *MockDocumentService) QueryStream(arg0 *document.Collection, arg1 []document.QueryExpression, arg2 int) func() (*document.Document, error)
- func (m *MockDocumentService) Set(arg0 *document.Key, arg1 map[string]interface{}) error
- type MockDocumentServiceMockRecorder
- func (mr *MockDocumentServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockDocumentServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockDocumentServiceMockRecorder) Query(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDocumentServiceMockRecorder) QueryStream(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDocumentServiceMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockDocumentService) EXPECT() *MockDocumentServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDocumentService) Query ¶
func (m *MockDocumentService) Query(arg0 *document.Collection, arg1 []document.QueryExpression, arg2 int, arg3 map[string]string) (*document.QueryResult, error)
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.
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.
Click to show internal directories.
Click to hide internal directories.