Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockGraphAPI ¶
type MockGraphAPI struct {
// contains filtered or unexported fields
}
MockGraphAPI is a mock of GraphAPI interface
func NewMockGraphAPI ¶
func NewMockGraphAPI(ctrl *gomock.Controller) *MockGraphAPI
NewMockGraphAPI creates a new mock instance
func (*MockGraphAPI) EXPECT ¶
func (m *MockGraphAPI) EXPECT() *MockGraphAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockGraphAPI) UpsertLink ¶
func (m *MockGraphAPI) UpsertLink(arg0 *graph.Link) error
UpsertLink mocks base method
type MockGraphAPIMockRecorder ¶
type MockGraphAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockGraphAPIMockRecorder is the mock recorder for MockGraphAPI
func (*MockGraphAPIMockRecorder) UpsertLink ¶
func (mr *MockGraphAPIMockRecorder) UpsertLink(arg0 interface{}) *gomock.Call
UpsertLink indicates an expected call of UpsertLink
type MockIndexAPI ¶
type MockIndexAPI struct {
// contains filtered or unexported fields
}
MockIndexAPI is a mock of IndexAPI interface
func NewMockIndexAPI ¶
func NewMockIndexAPI(ctrl *gomock.Controller) *MockIndexAPI
NewMockIndexAPI creates a new mock instance
func (*MockIndexAPI) EXPECT ¶
func (m *MockIndexAPI) EXPECT() *MockIndexAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockIndexAPIMockRecorder ¶
type MockIndexAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockIndexAPIMockRecorder is the mock recorder for MockIndexAPI
func (*MockIndexAPIMockRecorder) Search ¶
func (mr *MockIndexAPIMockRecorder) Search(arg0 interface{}) *gomock.Call
Search indicates an expected call of Search
type MockIterator ¶
type MockIterator struct {
// contains filtered or unexported fields
}
MockIterator is a mock of Iterator interface
func NewMockIterator ¶
func NewMockIterator(ctrl *gomock.Controller) *MockIterator
NewMockIterator creates a new mock instance
func (*MockIterator) Document ¶
func (m *MockIterator) Document() *index.Document
Document mocks base method
func (*MockIterator) EXPECT ¶
func (m *MockIterator) EXPECT() *MockIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIterator) TotalCount ¶
func (m *MockIterator) TotalCount() uint64
TotalCount mocks base method
type MockIteratorMockRecorder ¶
type MockIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockIteratorMockRecorder is the mock recorder for MockIterator
func (*MockIteratorMockRecorder) Close ¶
func (mr *MockIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockIteratorMockRecorder) Document ¶
func (mr *MockIteratorMockRecorder) Document() *gomock.Call
Document indicates an expected call of Document
func (*MockIteratorMockRecorder) Error ¶
func (mr *MockIteratorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error
func (*MockIteratorMockRecorder) Next ¶
func (mr *MockIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next
func (*MockIteratorMockRecorder) TotalCount ¶
func (mr *MockIteratorMockRecorder) TotalCount() *gomock.Call
TotalCount indicates an expected call of TotalCount