Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTextIndexerClient
- func (m *MockTextIndexerClient) EXPECT() *MockTextIndexerClientMockRecorder
- func (m *MockTextIndexerClient) Index(arg0 context.Context, arg1 *proto.Document, arg2 ...grpc.CallOption) (*proto.Document, error)
- func (m *MockTextIndexerClient) Search(arg0 context.Context, arg1 *proto.Query, arg2 ...grpc.CallOption) (proto.TextIndexer_SearchClient, error)
- func (m *MockTextIndexerClient) UpdateScore(arg0 context.Context, arg1 *proto.UpdateScoreRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
- type MockTextIndexerClientMockRecorder
- func (mr *MockTextIndexerClientMockRecorder) Index(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockTextIndexerClientMockRecorder) Search(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockTextIndexerClientMockRecorder) UpdateScore(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockTextIndexer_SearchClient
- func (m *MockTextIndexer_SearchClient) CloseSend() error
- func (m *MockTextIndexer_SearchClient) Context() context.Context
- func (m *MockTextIndexer_SearchClient) EXPECT() *MockTextIndexer_SearchClientMockRecorder
- func (m *MockTextIndexer_SearchClient) Header() (metadata.MD, error)
- func (m *MockTextIndexer_SearchClient) Recv() (*proto.QueryResult, error)
- func (m *MockTextIndexer_SearchClient) RecvMsg(arg0 interface{}) error
- func (m *MockTextIndexer_SearchClient) SendMsg(arg0 interface{}) error
- func (m *MockTextIndexer_SearchClient) Trailer() metadata.MD
- type MockTextIndexer_SearchClientMockRecorder
- func (mr *MockTextIndexer_SearchClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockTextIndexer_SearchClientMockRecorder) Context() *gomock.Call
- func (mr *MockTextIndexer_SearchClientMockRecorder) Header() *gomock.Call
- func (mr *MockTextIndexer_SearchClientMockRecorder) Recv() *gomock.Call
- func (mr *MockTextIndexer_SearchClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
- func (mr *MockTextIndexer_SearchClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
- func (mr *MockTextIndexer_SearchClientMockRecorder) Trailer() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTextIndexerClient ¶
type MockTextIndexerClient struct {
// contains filtered or unexported fields
}
MockTextIndexerClient is a mock of TextIndexerClient interface
func NewMockTextIndexerClient ¶
func NewMockTextIndexerClient(ctrl *gomock.Controller) *MockTextIndexerClient
NewMockTextIndexerClient creates a new mock instance
func (*MockTextIndexerClient) EXPECT ¶
func (m *MockTextIndexerClient) EXPECT() *MockTextIndexerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTextIndexerClient) Index ¶
func (m *MockTextIndexerClient) Index(arg0 context.Context, arg1 *proto.Document, arg2 ...grpc.CallOption) (*proto.Document, error)
Index mocks base method
func (*MockTextIndexerClient) Search ¶
func (m *MockTextIndexerClient) Search(arg0 context.Context, arg1 *proto.Query, arg2 ...grpc.CallOption) (proto.TextIndexer_SearchClient, error)
Search mocks base method
func (*MockTextIndexerClient) UpdateScore ¶
func (m *MockTextIndexerClient) UpdateScore(arg0 context.Context, arg1 *proto.UpdateScoreRequest, arg2 ...grpc.CallOption) (*empty.Empty, error)
UpdateScore mocks base method
type MockTextIndexerClientMockRecorder ¶
type MockTextIndexerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTextIndexerClientMockRecorder is the mock recorder for MockTextIndexerClient
func (*MockTextIndexerClientMockRecorder) Index ¶
func (mr *MockTextIndexerClientMockRecorder) Index(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Index indicates an expected call of Index
func (*MockTextIndexerClientMockRecorder) Search ¶
func (mr *MockTextIndexerClientMockRecorder) Search(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Search indicates an expected call of Search
func (*MockTextIndexerClientMockRecorder) UpdateScore ¶
func (mr *MockTextIndexerClientMockRecorder) UpdateScore(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
UpdateScore indicates an expected call of UpdateScore
type MockTextIndexer_SearchClient ¶
type MockTextIndexer_SearchClient struct {
// contains filtered or unexported fields
}
MockTextIndexer_SearchClient is a mock of TextIndexer_SearchClient interface
func NewMockTextIndexer_SearchClient ¶
func NewMockTextIndexer_SearchClient(ctrl *gomock.Controller) *MockTextIndexer_SearchClient
NewMockTextIndexer_SearchClient creates a new mock instance
func (*MockTextIndexer_SearchClient) CloseSend ¶
func (m *MockTextIndexer_SearchClient) CloseSend() error
CloseSend mocks base method
func (*MockTextIndexer_SearchClient) Context ¶
func (m *MockTextIndexer_SearchClient) Context() context.Context
Context mocks base method
func (*MockTextIndexer_SearchClient) EXPECT ¶
func (m *MockTextIndexer_SearchClient) EXPECT() *MockTextIndexer_SearchClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTextIndexer_SearchClient) Header ¶
func (m *MockTextIndexer_SearchClient) Header() (metadata.MD, error)
Header mocks base method
func (*MockTextIndexer_SearchClient) Recv ¶
func (m *MockTextIndexer_SearchClient) Recv() (*proto.QueryResult, error)
Recv mocks base method
func (*MockTextIndexer_SearchClient) RecvMsg ¶
func (m *MockTextIndexer_SearchClient) RecvMsg(arg0 interface{}) error
RecvMsg mocks base method
func (*MockTextIndexer_SearchClient) SendMsg ¶
func (m *MockTextIndexer_SearchClient) SendMsg(arg0 interface{}) error
SendMsg mocks base method
func (*MockTextIndexer_SearchClient) Trailer ¶
func (m *MockTextIndexer_SearchClient) Trailer() metadata.MD
Trailer mocks base method
type MockTextIndexer_SearchClientMockRecorder ¶
type MockTextIndexer_SearchClientMockRecorder struct {
// contains filtered or unexported fields
}
MockTextIndexer_SearchClientMockRecorder is the mock recorder for MockTextIndexer_SearchClient
func (*MockTextIndexer_SearchClientMockRecorder) CloseSend ¶
func (mr *MockTextIndexer_SearchClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend
func (*MockTextIndexer_SearchClientMockRecorder) Context ¶
func (mr *MockTextIndexer_SearchClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockTextIndexer_SearchClientMockRecorder) Header ¶
func (mr *MockTextIndexer_SearchClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header
func (*MockTextIndexer_SearchClientMockRecorder) Recv ¶
func (mr *MockTextIndexer_SearchClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv
func (*MockTextIndexer_SearchClientMockRecorder) RecvMsg ¶
func (mr *MockTextIndexer_SearchClientMockRecorder) RecvMsg(arg0 interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg
func (*MockTextIndexer_SearchClientMockRecorder) SendMsg ¶
func (mr *MockTextIndexer_SearchClientMockRecorder) SendMsg(arg0 interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg
func (*MockTextIndexer_SearchClientMockRecorder) Trailer ¶
func (mr *MockTextIndexer_SearchClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer