mocks

package
v0.0.0-...-7b67181 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 6 Imported by: 0

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

EXPECT returns an object that allows the caller to indicate expected use.

func (m *MockGraphAPI) Links(arg0, arg1 uuid.UUID, arg2 time.Time) (graph.LinkIterator, error)

Links mocks base method.

func (*MockGraphAPI) RemoveStaleEdges

func (m *MockGraphAPI) RemoveStaleEdges(arg0 uuid.UUID, arg1 time.Time) error

RemoveStaleEdges mocks base method.

func (*MockGraphAPI) UpsertEdge

func (m *MockGraphAPI) UpsertEdge(arg0 *graph.Edge) error

UpsertEdge mocks base method.

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 (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 (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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIndexAPI) Index

func (m *MockIndexAPI) Index(arg0 *index.Document) error

Index mocks base method.

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) Close

func (m *MockLinkIterator) Close() error

Close mocks base method.

func (*MockLinkIterator) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLinkIterator) Error

func (m *MockLinkIterator) Error() error

Error mocks base method.

func (m *MockLinkIterator) Link() *graph.Link

Link mocks base method.

func (*MockLinkIterator) Next

func (m *MockLinkIterator) Next() bool

Next mocks base method.

type MockLinkIteratorMockRecorder

type MockLinkIteratorMockRecorder struct {
	// contains filtered or unexported fields
}

MockLinkIteratorMockRecorder is the mock recorder for MockLinkIterator.

func (*MockLinkIteratorMockRecorder) Close

Close indicates an expected call of Close.

func (*MockLinkIteratorMockRecorder) Error

Error indicates an expected call of Error.

Link indicates an expected call of Link.

func (*MockLinkIteratorMockRecorder) Next

Next indicates an expected call of Next.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL