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.
type MockFetcherMockRecorder ¶
type MockFetcherMockRecorder struct {
// contains filtered or unexported fields
}
MockFetcherMockRecorder is the mock recorder for MockFetcher.
func (*MockFetcherMockRecorder) GetItems ¶
func (mr *MockFetcherMockRecorder) GetItems(userOrFile 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) AddDocuments ¶ added in v0.0.4
func (m *MockMeiliConnector) AddDocuments(documentsPtr interface{}, primaryKey ...string) (*meilisearch.Task, error)
AddDocuments 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) UpdateFilterableAttributes ¶ added in v0.0.3
func (m *MockMeiliConnector) UpdateFilterableAttributes(request *[]string) (*meilisearch.Task, error)
UpdateFilterableAttributes mocks base method.
type MockMeiliConnectorMockRecorder ¶
type MockMeiliConnectorMockRecorder struct {
// contains filtered or unexported fields
}
MockMeiliConnectorMockRecorder is the mock recorder for MockMeiliConnector.
func (*MockMeiliConnectorMockRecorder) AddDocuments ¶ added in v0.0.4
func (mr *MockMeiliConnectorMockRecorder) AddDocuments(documentsPtr interface{}, primaryKey ...interface{}) *gomock.Call
AddDocuments indicates an expected call of AddDocuments.
func (*MockMeiliConnectorMockRecorder) UpdateFilterableAttributes ¶ added in v0.0.4
func (mr *MockMeiliConnectorMockRecorder) UpdateFilterableAttributes(request interface{}) *gomock.Call
UpdateFilterableAttributes indicates an expected call of UpdateFilterableAttributes.
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) UpdateFilterableAttributes ¶ added in v0.0.4
func (m *MockMeiliIndexer) UpdateFilterableAttributes() error
UpdateFilterableAttributes 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) UpdateFilterableAttributes ¶ added in v0.0.4
func (mr *MockMeiliIndexerMockRecorder) UpdateFilterableAttributes() *gomock.Call
UpdateFilterableAttributes indicates an expected call of UpdateFilterableAttributes.