mock

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFetcher

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

MockFetcher is a mock of Fetcher interface.

func NewMockFetcher

func NewMockFetcher(ctrl *gomock.Controller) *MockFetcher

NewMockFetcher creates a new mock instance.

func (*MockFetcher) EXPECT

func (m *MockFetcher) EXPECT() *MockFetcherMockRecorder

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

func (*MockFetcher) GetItems

func (m *MockFetcher) GetItems(user string) ([]*entity.Item, error)

GetItems mocks base method.

type MockFetcherMockRecorder

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

MockFetcherMockRecorder is the mock recorder for MockFetcher.

func (*MockFetcherMockRecorder) GetItems

func (mr *MockFetcherMockRecorder) GetItems(user interface{}) *gomock.Call

GetItems indicates an expected call of GetItems.

type MockGithubConnector

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

MockGithubConnector is a mock of GithubConnector interface.

func NewMockGithubConnector

func NewMockGithubConnector(ctrl *gomock.Controller) *MockGithubConnector

NewMockGithubConnector creates a new mock instance.

func (*MockGithubConnector) EXPECT

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

func (*MockGithubConnector) ListStarred

ListStarred mocks base method.

type MockGithubConnectorMockRecorder

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

MockGithubConnectorMockRecorder is the mock recorder for MockGithubConnector.

func (*MockGithubConnectorMockRecorder) ListStarred

func (mr *MockGithubConnectorMockRecorder) ListStarred(ctx, user, opts interface{}) *gomock.Call

ListStarred indicates an expected call of ListStarred.

type MockMeiliConnector

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

MockMeiliConnector is a mock of MeiliConnector interface.

func NewMockMeiliConnector

func NewMockMeiliConnector(ctrl *gomock.Controller) *MockMeiliConnector

NewMockMeiliConnector creates a new mock instance.

func (*MockMeiliConnector) AddDocumentsWithPrimaryKey

func (m *MockMeiliConnector) AddDocumentsWithPrimaryKey(documentsPtr interface{}, primaryKey string) (*meilisearch.AsyncUpdateID, error)

AddDocumentsWithPrimaryKey mocks base method.

func (*MockMeiliConnector) EXPECT

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

func (*MockMeiliConnector) UpdateAttributesForFaceting

func (m *MockMeiliConnector) UpdateAttributesForFaceting(request *[]string) (*meilisearch.AsyncUpdateID, error)

UpdateAttributesForFaceting mocks base method.

type MockMeiliConnectorMockRecorder

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

MockMeiliConnectorMockRecorder is the mock recorder for MockMeiliConnector.

func (*MockMeiliConnectorMockRecorder) AddDocumentsWithPrimaryKey

func (mr *MockMeiliConnectorMockRecorder) AddDocumentsWithPrimaryKey(documentsPtr, primaryKey interface{}) *gomock.Call

AddDocumentsWithPrimaryKey indicates an expected call of AddDocumentsWithPrimaryKey.

func (*MockMeiliConnectorMockRecorder) UpdateAttributesForFaceting

func (mr *MockMeiliConnectorMockRecorder) UpdateAttributesForFaceting(request interface{}) *gomock.Call

UpdateAttributesForFaceting indicates an expected call of UpdateAttributesForFaceting.

type MockMeiliIndexer

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

MockMeiliIndexer is a mock of MeiliIndexer interface.

func NewMockMeiliIndexer

func NewMockMeiliIndexer(ctrl *gomock.Controller) *MockMeiliIndexer

NewMockMeiliIndexer creates a new mock instance.

func (*MockMeiliIndexer) AddDocuments

func (m *MockMeiliIndexer) AddDocuments(documents []*entity.Item) error

AddDocuments mocks base method.

func (*MockMeiliIndexer) EXPECT

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

func (*MockMeiliIndexer) UpdateAttributesForFaceting

func (m *MockMeiliIndexer) UpdateAttributesForFaceting() error

UpdateAttributesForFaceting mocks base method.

type MockMeiliIndexerMockRecorder

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

MockMeiliIndexerMockRecorder is the mock recorder for MockMeiliIndexer.

func (*MockMeiliIndexerMockRecorder) AddDocuments

func (mr *MockMeiliIndexerMockRecorder) AddDocuments(documents interface{}) *gomock.Call

AddDocuments indicates an expected call of AddDocuments.

func (*MockMeiliIndexerMockRecorder) UpdateAttributesForFaceting

func (mr *MockMeiliIndexerMockRecorder) UpdateAttributesForFaceting() *gomock.Call

UpdateAttributesForFaceting indicates an expected call of UpdateAttributesForFaceting.

Jump to

Keyboard shortcuts

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