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

func (m *MockEdgeIterator) Close() error

Close mocks base method.

func (*MockEdgeIterator) EXPECT

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.

func (*MockEdgeIterator) Error

func (m *MockEdgeIterator) Error() error

Error mocks base method.

func (*MockEdgeIterator) Next

func (m *MockEdgeIterator) Next() bool

Next mocks base method.

type MockEdgeIteratorMockRecorder

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

MockEdgeIteratorMockRecorder is the mock recorder for MockEdgeIterator.

func (*MockEdgeIteratorMockRecorder) Close

Close indicates an expected call of Close.

func (*MockEdgeIteratorMockRecorder) Edge

Edge indicates an expected call of Edge.

func (*MockEdgeIteratorMockRecorder) Error

Error indicates an expected call of Error.

func (*MockEdgeIteratorMockRecorder) Next

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

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

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