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 MockEdgeIterator ¶
type MockEdgeIterator struct {
// contains filtered or unexported fields
}
MockEdgeIterator is a mock of EdgeIterator interface
func NewMockEdgeIterator ¶
func NewMockEdgeIterator(ctrl *gomock.Controller) *MockEdgeIterator
NewMockEdgeIterator creates a new mock instance
func (*MockEdgeIterator) EXPECT ¶
func (m *MockEdgeIterator) EXPECT() *MockEdgeIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEdgeIterator) Edge ¶
func (m *MockEdgeIterator) Edge() *graph.Edge
Edge mocks base method
type MockEdgeIteratorMockRecorder ¶
type MockEdgeIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockEdgeIteratorMockRecorder is the mock recorder for MockEdgeIterator
func (*MockEdgeIteratorMockRecorder) Close ¶
func (mr *MockEdgeIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockEdgeIteratorMockRecorder) Edge ¶
func (mr *MockEdgeIteratorMockRecorder) Edge() *gomock.Call
Edge indicates an expected call of Edge
func (*MockEdgeIteratorMockRecorder) Error ¶
func (mr *MockEdgeIteratorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error
func (*MockEdgeIteratorMockRecorder) Next ¶
func (mr *MockEdgeIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next
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) Edges ¶
func (m *MockGraphAPI) Edges(arg0, arg1 uuid.UUID, arg2 time.Time) (graph.EdgeIterator, error)
Edges mocks base method
func (*MockGraphAPI) Links ¶
func (m *MockGraphAPI) Links(arg0, arg1 uuid.UUID, arg2 time.Time) (graph.LinkIterator, error)
Links mocks base method
type MockGraphAPIMockRecorder ¶
type MockGraphAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockGraphAPIMockRecorder is the mock recorder for MockGraphAPI
func (*MockGraphAPIMockRecorder) Edges ¶
func (mr *MockGraphAPIMockRecorder) Edges(arg0, arg1, arg2 interface{}) *gomock.Call
Edges indicates an expected call of Edges
func (*MockGraphAPIMockRecorder) Links ¶
func (mr *MockGraphAPIMockRecorder) Links(arg0, arg1, arg2 interface{}) *gomock.Call
Links indicates an expected call of Links
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
func (*MockIndexAPI) UpdateScore ¶
func (m *MockIndexAPI) UpdateScore(arg0 uuid.UUID, arg1 float64) error
UpdateScore mocks base method
type MockIndexAPIMockRecorder ¶
type MockIndexAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockIndexAPIMockRecorder is the mock recorder for MockIndexAPI
func (*MockIndexAPIMockRecorder) UpdateScore ¶
func (mr *MockIndexAPIMockRecorder) UpdateScore(arg0, arg1 interface{}) *gomock.Call
UpdateScore indicates an expected call of UpdateScore
type MockLinkIterator ¶
type MockLinkIterator struct {
// contains filtered or unexported fields
}
MockLinkIterator is a mock of LinkIterator interface
func NewMockLinkIterator ¶
func NewMockLinkIterator(ctrl *gomock.Controller) *MockLinkIterator
NewMockLinkIterator creates a new mock instance
func (*MockLinkIterator) EXPECT ¶
func (m *MockLinkIterator) EXPECT() *MockLinkIteratorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLinkIterator) Link ¶
func (m *MockLinkIterator) Link() *graph.Link
Link mocks base method
type MockLinkIteratorMockRecorder ¶
type MockLinkIteratorMockRecorder struct {
// contains filtered or unexported fields
}
MockLinkIteratorMockRecorder is the mock recorder for MockLinkIterator
func (*MockLinkIteratorMockRecorder) Close ¶
func (mr *MockLinkIteratorMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockLinkIteratorMockRecorder) Error ¶
func (mr *MockLinkIteratorMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error
func (*MockLinkIteratorMockRecorder) Link ¶
func (mr *MockLinkIteratorMockRecorder) Link() *gomock.Call
Link indicates an expected call of Link
func (*MockLinkIteratorMockRecorder) Next ¶
func (mr *MockLinkIteratorMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next