Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockFetcher
- type MockFetcherMockRecorder
- type MockGithubConnector
- type MockGithubConnectorMockRecorder
- type MockMeiliConnector
- func (m *MockMeiliConnector) AddDocumentsWithPrimaryKey(documentsPtr interface{}, primaryKey string) (*meilisearch.AsyncUpdateID, error)
- func (m *MockMeiliConnector) EXPECT() *MockMeiliConnectorMockRecorder
- func (m *MockMeiliConnector) UpdateAttributesForFaceting(request *[]string) (*meilisearch.AsyncUpdateID, error)
- type MockMeiliConnectorMockRecorder
- type MockMeiliIndexer
- type MockMeiliIndexerMockRecorder
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.
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 ¶
func (m *MockGithubConnector) EXPECT() *MockGithubConnectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGithubConnector) ListStarred ¶
func (m *MockGithubConnector) ListStarred(ctx context.Context, user string, opts *github.ActivityListStarredOptions) ([]*github.StarredRepository, *github.Response, error)
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 ¶
func (m *MockMeiliConnector) EXPECT() *MockMeiliConnectorMockRecorder
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 ¶
func (m *MockMeiliIndexer) EXPECT() *MockMeiliIndexerMockRecorder
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.