Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockGraphAPI
- func (m *MockGraphAPI) EXPECT() *MockGraphAPIMockRecorder
- func (m *MockGraphAPI) Links(arg0, arg1 uuid.UUID, arg2 time.Time) (graph.LinkIterator, error)
- func (m *MockGraphAPI) RemoveStaleEdges(arg0 uuid.UUID, arg1 time.Time) error
- func (m *MockGraphAPI) UpsertEdge(arg0 *graph.Edge) error
- func (m *MockGraphAPI) UpsertLink(arg0 *graph.Link) error
- type MockGraphAPIMockRecorder
- func (mr *MockGraphAPIMockRecorder) Links(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockGraphAPIMockRecorder) RemoveStaleEdges(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockGraphAPIMockRecorder) UpsertEdge(arg0 interface{}) *gomock.Call
- func (mr *MockGraphAPIMockRecorder) UpsertLink(arg0 interface{}) *gomock.Call
- type MockIndexAPI
- type MockIndexAPIMockRecorder
- type MockLinkIterator
- type MockLinkIteratorMockRecorder
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) Links ¶
func (m *MockGraphAPI) Links(arg0, arg1 uuid.UUID, arg2 time.Time) (graph.LinkIterator, error)
Links mocks base method.
func (*MockGraphAPI) RemoveStaleEdges ¶
RemoveStaleEdges mocks base method.
func (*MockGraphAPI) UpsertEdge ¶
func (m *MockGraphAPI) UpsertEdge(arg0 *graph.Edge) error
UpsertEdge mocks base method.
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) Links ¶
func (mr *MockGraphAPIMockRecorder) Links(arg0, arg1, arg2 interface{}) *gomock.Call
Links indicates an expected call of Links.
func (*MockGraphAPIMockRecorder) RemoveStaleEdges ¶
func (mr *MockGraphAPIMockRecorder) RemoveStaleEdges(arg0, arg1 interface{}) *gomock.Call
RemoveStaleEdges indicates an expected call of RemoveStaleEdges.
func (*MockGraphAPIMockRecorder) UpsertEdge ¶
func (mr *MockGraphAPIMockRecorder) UpsertEdge(arg0 interface{}) *gomock.Call
UpsertEdge indicates an expected call of UpsertEdge.
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) Index ¶
func (mr *MockIndexAPIMockRecorder) Index(arg0 interface{}) *gomock.Call
Index indicates an expected call of Index.
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.