mocks

package
v0.0.0-...-8b501b0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 4 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) 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) 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) Search

func (m *MockIndexAPI) Search(arg0 index.Query) (index.Iterator, error)

Search mocks base method

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

func (m *MockIterator) Close() error

Close mocks base method

func (*MockIterator) Document

func (m *MockIterator) Document() *index.Document

Document mocks base method

func (*MockIterator) EXPECT

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

func (*MockIterator) Error

func (m *MockIterator) Error() error

Error mocks base method

func (*MockIterator) Next

func (m *MockIterator) Next() bool

Next mocks base method

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

Jump to

Keyboard shortcuts

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