Documentation ¶
Overview ¶
Package mock_comic is a generated GoMock package.
Package mock_comic is a generated GoMock package.
Package mock_comic is a generated GoMock package.
Package mock_comic is a generated GoMock package.
Index ¶
- type MockAppearancesByYearsMapRepository
- type MockAppearancesByYearsMapRepositoryMockRecorder
- type MockAppearancesByYearsRepository
- type MockAppearancesByYearsRepositoryMockRecorder
- type MockAppearancesByYearsWriter
- type MockAppearancesByYearsWriterMockRecorder
- type MockCharacterIssueRepository
- func (m *MockCharacterIssueRepository) Create(ci *comic.CharacterIssue) error
- func (m *MockCharacterIssueRepository) CreateAll(cis []*comic.CharacterIssue) error
- func (m *MockCharacterIssueRepository) EXPECT() *MockCharacterIssueRepositoryMockRecorder
- func (m *MockCharacterIssueRepository) FindOneBy(characterID comic.CharacterID, issueID comic.IssueID) (*comic.CharacterIssue, error)
- func (m *MockCharacterIssueRepository) InsertFast(issues []*comic.CharacterIssue) error
- type MockCharacterIssueRepositoryMockRecorder
- func (mr *MockCharacterIssueRepositoryMockRecorder) Create(ci interface{}) *gomock.Call
- func (mr *MockCharacterIssueRepositoryMockRecorder) CreateAll(cis interface{}) *gomock.Call
- func (mr *MockCharacterIssueRepositoryMockRecorder) FindOneBy(characterID, issueID interface{}) *gomock.Call
- func (mr *MockCharacterIssueRepositoryMockRecorder) InsertFast(issues interface{}) *gomock.Call
- type MockCharacterRepository
- func (m *MockCharacterRepository) Create(c *comic.Character) error
- func (m *MockCharacterRepository) EXPECT() *MockCharacterRepositoryMockRecorder
- func (m *MockCharacterRepository) FindAll(cr comic.CharacterCriteria) ([]*comic.Character, error)
- func (m *MockCharacterRepository) FindBySlug(slug comic.CharacterSlug, includeIsDisabled bool) (*comic.Character, error)
- func (m *MockCharacterRepository) Remove(id comic.CharacterID) error
- func (m *MockCharacterRepository) Total(cr comic.CharacterCriteria) (int64, error)
- func (m *MockCharacterRepository) Update(c *comic.Character) error
- func (m *MockCharacterRepository) UpdateAll(characters []*comic.Character) error
- type MockCharacterRepositoryMockRecorder
- func (mr *MockCharacterRepositoryMockRecorder) Create(c interface{}) *gomock.Call
- func (mr *MockCharacterRepositoryMockRecorder) FindAll(cr interface{}) *gomock.Call
- func (mr *MockCharacterRepositoryMockRecorder) FindBySlug(slug, includeIsDisabled interface{}) *gomock.Call
- func (mr *MockCharacterRepositoryMockRecorder) Remove(id interface{}) *gomock.Call
- func (mr *MockCharacterRepositoryMockRecorder) Total(cr interface{}) *gomock.Call
- func (mr *MockCharacterRepositoryMockRecorder) Update(c interface{}) *gomock.Call
- func (mr *MockCharacterRepositoryMockRecorder) UpdateAll(characters interface{}) *gomock.Call
- type MockCharacterServicer
- func (m *MockCharacterServicer) Character(slug comic.CharacterSlug) (*comic.Character, error)
- func (m *MockCharacterServicer) CharacterByVendor(vendorID string, vendorType comic.VendorType, includeIsDisabled bool) (*comic.Character, error)
- func (m *MockCharacterServicer) Characters(slugs []comic.CharacterSlug, limit, offset int) ([]*comic.Character, error)
- func (m *MockCharacterServicer) CharactersByPublisher(slugs []comic.PublisherSlug, filterSources bool, limit, offset int) ([]*comic.Character, error)
- func (m *MockCharacterServicer) CharactersWithSources(slug []comic.CharacterSlug, limit, offset int) ([]*comic.Character, error)
- func (m *MockCharacterServicer) Create(character *comic.Character) error
- func (m *MockCharacterServicer) CreateIssue(issue *comic.CharacterIssue) error
- func (m *MockCharacterServicer) CreateIssueP(characterID comic.CharacterID, issueID comic.IssueID, ...) (*comic.CharacterIssue, error)
- func (m *MockCharacterServicer) CreateIssues(issues []*comic.CharacterIssue) error
- func (m *MockCharacterServicer) CreateSource(source *comic.CharacterSource) error
- func (m *MockCharacterServicer) CreateSyncLog(syncLog *comic.CharacterSyncLog) error
- func (m *MockCharacterServicer) CreateSyncLogP(id comic.CharacterID, status comic.CharacterSyncLogStatus, ...) (*comic.CharacterSyncLog, error)
- func (m *MockCharacterServicer) EXPECT() *MockCharacterServicerMockRecorder
- func (m *MockCharacterServicer) Issue(characterID comic.CharacterID, issueID comic.IssueID) (*comic.CharacterIssue, error)
- func (m *MockCharacterServicer) MustNormalizeSources(arg0 *comic.Character)
- func (m *MockCharacterServicer) Source(id comic.CharacterID, vendorURL string) (*comic.CharacterSource, error)
- func (m *MockCharacterServicer) Sources(id comic.CharacterID, vendorType comic.VendorType, isMain *bool) ([]*comic.CharacterSource, error)
- func (m *MockCharacterServicer) TotalSources(id comic.CharacterID) (int64, error)
- func (m *MockCharacterServicer) Update(character *comic.Character) error
- func (m *MockCharacterServicer) UpdateAll(characters []*comic.Character) error
- func (m *MockCharacterServicer) UpdateSource(source *comic.CharacterSource) error
- func (m *MockCharacterServicer) UpdateSyncLog(syncLog *comic.CharacterSyncLog) error
- type MockCharacterServicerMockRecorder
- func (mr *MockCharacterServicerMockRecorder) Character(slug interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) CharacterByVendor(vendorID, vendorType, includeIsDisabled interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) Characters(slugs, limit, offset interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) CharactersByPublisher(slugs, filterSources, limit, offset interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) CharactersWithSources(slug, limit, offset interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) Create(character interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) CreateIssue(issue interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) CreateIssueP(characterID, issueID, appearanceType, importance interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) CreateIssues(issues interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) CreateSource(source interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) CreateSyncLog(syncLog interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) CreateSyncLogP(id, status, syncType, syncedAt interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) Issue(characterID, issueID interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) MustNormalizeSources(arg0 interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) Source(id, vendorURL interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) Sources(id, vendorType, isMain interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) TotalSources(id interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) Update(character interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) UpdateAll(characters interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) UpdateSource(source interface{}) *gomock.Call
- func (mr *MockCharacterServicerMockRecorder) UpdateSyncLog(syncLog interface{}) *gomock.Call
- type MockCharacterSourceRepository
- func (m *MockCharacterSourceRepository) Create(s *comic.CharacterSource) error
- func (m *MockCharacterSourceRepository) EXPECT() *MockCharacterSourceRepositoryMockRecorder
- func (m *MockCharacterSourceRepository) FindAll(criteria comic.CharacterSourceCriteria) ([]*comic.CharacterSource, error)
- func (m *MockCharacterSourceRepository) Raw(query string, params ...interface{}) error
- func (m *MockCharacterSourceRepository) Remove(id comic.CharacterSourceID) error
- func (m *MockCharacterSourceRepository) Update(s *comic.CharacterSource) error
- type MockCharacterSourceRepositoryMockRecorder
- func (mr *MockCharacterSourceRepositoryMockRecorder) Create(s interface{}) *gomock.Call
- func (mr *MockCharacterSourceRepositoryMockRecorder) FindAll(criteria interface{}) *gomock.Call
- func (mr *MockCharacterSourceRepositoryMockRecorder) Raw(query interface{}, params ...interface{}) *gomock.Call
- func (mr *MockCharacterSourceRepositoryMockRecorder) Remove(id interface{}) *gomock.Call
- func (mr *MockCharacterSourceRepositoryMockRecorder) Update(s interface{}) *gomock.Call
- type MockCharacterStatsSyncer
- type MockCharacterStatsSyncerMockRecorder
- type MockCharacterSyncLogRepository
- func (m *MockCharacterSyncLogRepository) Create(s *comic.CharacterSyncLog) error
- func (m *MockCharacterSyncLogRepository) EXPECT() *MockCharacterSyncLogRepositoryMockRecorder
- func (m *MockCharacterSyncLogRepository) FindAllByCharacterID(characterID comic.CharacterID) ([]*comic.CharacterSyncLog, error)
- func (m *MockCharacterSyncLogRepository) FindByID(id comic.CharacterSyncLogID) (*comic.CharacterSyncLog, error)
- func (m *MockCharacterSyncLogRepository) LastSyncs(id comic.CharacterID) ([]*comic.LastSync, error)
- func (m *MockCharacterSyncLogRepository) Update(s *comic.CharacterSyncLog) error
- type MockCharacterSyncLogRepositoryMockRecorder
- func (mr *MockCharacterSyncLogRepositoryMockRecorder) Create(s interface{}) *gomock.Call
- func (mr *MockCharacterSyncLogRepositoryMockRecorder) FindAllByCharacterID(characterID interface{}) *gomock.Call
- func (mr *MockCharacterSyncLogRepositoryMockRecorder) FindByID(id interface{}) *gomock.Call
- func (mr *MockCharacterSyncLogRepositoryMockRecorder) LastSyncs(id interface{}) *gomock.Call
- func (mr *MockCharacterSyncLogRepositoryMockRecorder) Update(s interface{}) *gomock.Call
- type MockCharacterThumbRepository
- func (m *MockCharacterThumbRepository) AllThumbnails(slugs ...comic.CharacterSlug) (map[comic.CharacterSlug]*comic.CharacterThumbnails, error)
- func (m *MockCharacterThumbRepository) EXPECT() *MockCharacterThumbRepositoryMockRecorder
- func (m *MockCharacterThumbRepository) Thumbnails(slug comic.CharacterSlug) (*comic.CharacterThumbnails, error)
- type MockCharacterThumbRepositoryMockRecorder
- type MockCharacterThumbServicer
- type MockCharacterThumbServicerMockRecorder
- type MockExpandedServicer
- type MockExpandedServicerMockRecorder
- type MockIssueRepository
- func (m *MockIssueRepository) Create(issue *comic.Issue) error
- func (m *MockIssueRepository) CreateAll(issues []*comic.Issue) error
- func (m *MockIssueRepository) EXPECT() *MockIssueRepositoryMockRecorder
- func (m *MockIssueRepository) FindAll(c comic.IssueCriteria) ([]*comic.Issue, error)
- func (m *MockIssueRepository) FindByVendorID(vendorID string) (*comic.Issue, error)
- func (m *MockIssueRepository) Update(issue *comic.Issue) error
- type MockIssueRepositoryMockRecorder
- func (mr *MockIssueRepositoryMockRecorder) Create(issue interface{}) *gomock.Call
- func (mr *MockIssueRepositoryMockRecorder) CreateAll(issues interface{}) *gomock.Call
- func (mr *MockIssueRepositoryMockRecorder) FindAll(c interface{}) *gomock.Call
- func (mr *MockIssueRepositoryMockRecorder) FindByVendorID(vendorID interface{}) *gomock.Call
- func (mr *MockIssueRepositoryMockRecorder) Update(issue interface{}) *gomock.Call
- type MockIssueServicer
- func (m *MockIssueServicer) Create(issue *comic.Issue) error
- func (m *MockIssueServicer) CreateP(vendorID, vendorPublisher, vendorSeriesName, vendorSeriesNumber string, ...) error
- func (m *MockIssueServicer) EXPECT() *MockIssueServicerMockRecorder
- func (m *MockIssueServicer) Issues(ids []comic.IssueID, limit, offset int) ([]*comic.Issue, error)
- func (m *MockIssueServicer) IssuesByVendor(vendorIds []string, vendorType comic.VendorType, limit, offset int) ([]*comic.Issue, error)
- type MockIssueServicerMockRecorder
- func (mr *MockIssueServicerMockRecorder) Create(issue interface{}) *gomock.Call
- func (mr *MockIssueServicerMockRecorder) CreateP(...) *gomock.Call
- func (mr *MockIssueServicerMockRecorder) Issues(ids, limit, offset interface{}) *gomock.Call
- func (mr *MockIssueServicerMockRecorder) IssuesByVendor(vendorIds, vendorType, limit, offset interface{}) *gomock.Call
- type MockPopularRefresher
- type MockPopularRefresherMockRecorder
- type MockPopularRepository
- func (m *MockPopularRepository) All(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
- func (m *MockPopularRepository) DC(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
- func (m *MockPopularRepository) DCTrending(limit, offset int) ([]*comic.RankedCharacter, error)
- func (m *MockPopularRepository) EXPECT() *MockPopularRepositoryMockRecorder
- func (m *MockPopularRepository) FindOneByAll(id comic.CharacterID) (*comic.RankedCharacter, error)
- func (m *MockPopularRepository) FindOneByDC(id comic.CharacterID) (*comic.RankedCharacter, error)
- func (m *MockPopularRepository) FindOneByMarvel(id comic.CharacterID) (*comic.RankedCharacter, error)
- func (m *MockPopularRepository) Marvel(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
- func (m *MockPopularRepository) MarvelTrending(limit, offset int) ([]*comic.RankedCharacter, error)
- type MockPopularRepositoryMockRecorder
- func (mr *MockPopularRepositoryMockRecorder) All(cr interface{}) *gomock.Call
- func (mr *MockPopularRepositoryMockRecorder) DC(cr interface{}) *gomock.Call
- func (mr *MockPopularRepositoryMockRecorder) DCTrending(limit, offset interface{}) *gomock.Call
- func (mr *MockPopularRepositoryMockRecorder) FindOneByAll(id interface{}) *gomock.Call
- func (mr *MockPopularRepositoryMockRecorder) FindOneByDC(id interface{}) *gomock.Call
- func (mr *MockPopularRepositoryMockRecorder) FindOneByMarvel(id interface{}) *gomock.Call
- func (mr *MockPopularRepositoryMockRecorder) Marvel(cr interface{}) *gomock.Call
- func (mr *MockPopularRepositoryMockRecorder) MarvelTrending(limit, offset interface{}) *gomock.Call
- type MockPublisherRepository
- type MockPublisherRepositoryMockRecorder
- type MockPublisherServicer
- type MockPublisherServicerMockRecorder
- type MockRankedServicer
- func (m *MockRankedServicer) AllPopular(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
- func (m *MockRankedServicer) DCPopular(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
- func (m *MockRankedServicer) DCTrending(limit, offset int) ([]*comic.RankedCharacter, error)
- func (m *MockRankedServicer) EXPECT() *MockRankedServicerMockRecorder
- func (m *MockRankedServicer) MarvelPopular(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
- func (m *MockRankedServicer) MarvelTrending(limit, offset int) ([]*comic.RankedCharacter, error)
- type MockRankedServicerMockRecorder
- func (mr *MockRankedServicerMockRecorder) AllPopular(cr interface{}) *gomock.Call
- func (mr *MockRankedServicerMockRecorder) DCPopular(cr interface{}) *gomock.Call
- func (mr *MockRankedServicerMockRecorder) DCTrending(limit, offset interface{}) *gomock.Call
- func (mr *MockRankedServicerMockRecorder) MarvelPopular(cr interface{}) *gomock.Call
- func (mr *MockRankedServicerMockRecorder) MarvelTrending(limit, offset interface{}) *gomock.Call
- type MockRedisClient
- func (m *MockRedisClient) EXPECT() *MockRedisClientMockRecorder
- func (m *MockRedisClient) Get(key string) *redis.StringCmd
- func (m *MockRedisClient) HGetAll(key string) *redis.StringStringMapCmd
- func (m *MockRedisClient) HMSet(key string, fields map[string]interface{}) *redis.StatusCmd
- func (m *MockRedisClient) MGet(keys ...string) *redis.SliceCmd
- func (m *MockRedisClient) Set(key string, value interface{}, expiration time.Duration) *redis.StatusCmd
- type MockRedisClientMockRecorder
- func (mr *MockRedisClientMockRecorder) Get(key interface{}) *gomock.Call
- func (mr *MockRedisClientMockRecorder) HGetAll(key interface{}) *gomock.Call
- func (mr *MockRedisClientMockRecorder) HMSet(key, fields interface{}) *gomock.Call
- func (mr *MockRedisClientMockRecorder) MGet(keys ...interface{}) *gomock.Call
- func (mr *MockRedisClientMockRecorder) Set(key, value, expiration interface{}) *gomock.Call
- type MockRedisHmSetter
- type MockRedisHmSetterMockRecorder
- type MockStatsRepository
- type MockStatsRepositoryMockRecorder
- type MockSyncer
- type MockSyncerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAppearancesByYearsMapRepository ¶
type MockAppearancesByYearsMapRepository struct {
// contains filtered or unexported fields
}
MockAppearancesByYearsMapRepository is a mock of AppearancesByYearsMapRepository interface
func NewMockAppearancesByYearsMapRepository ¶
func NewMockAppearancesByYearsMapRepository(ctrl *gomock.Controller) *MockAppearancesByYearsMapRepository
NewMockAppearancesByYearsMapRepository creates a new mock instance
func (*MockAppearancesByYearsMapRepository) EXPECT ¶
func (m *MockAppearancesByYearsMapRepository) EXPECT() *MockAppearancesByYearsMapRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAppearancesByYearsMapRepository) ListMap ¶
func (m *MockAppearancesByYearsMapRepository) ListMap(slugs ...comic.CharacterSlug) (map[comic.CharacterSlug][]comic.AppearancesByYears, error)
ListMap mocks base method
type MockAppearancesByYearsMapRepositoryMockRecorder ¶
type MockAppearancesByYearsMapRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockAppearancesByYearsMapRepositoryMockRecorder is the mock recorder for MockAppearancesByYearsMapRepository
func (*MockAppearancesByYearsMapRepositoryMockRecorder) ListMap ¶
func (mr *MockAppearancesByYearsMapRepositoryMockRecorder) ListMap(slugs ...interface{}) *gomock.Call
ListMap indicates an expected call of ListMap
type MockAppearancesByYearsRepository ¶
type MockAppearancesByYearsRepository struct {
// contains filtered or unexported fields
}
MockAppearancesByYearsRepository is a mock of AppearancesByYearsRepository interface
func NewMockAppearancesByYearsRepository ¶
func NewMockAppearancesByYearsRepository(ctrl *gomock.Controller) *MockAppearancesByYearsRepository
NewMockAppearancesByYearsRepository creates a new mock instance
func (*MockAppearancesByYearsRepository) EXPECT ¶
func (m *MockAppearancesByYearsRepository) EXPECT() *MockAppearancesByYearsRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAppearancesByYearsRepository) List ¶
func (m *MockAppearancesByYearsRepository) List(slugs comic.CharacterSlug) (comic.AppearancesByYears, error)
List mocks base method
type MockAppearancesByYearsRepositoryMockRecorder ¶
type MockAppearancesByYearsRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockAppearancesByYearsRepositoryMockRecorder is the mock recorder for MockAppearancesByYearsRepository
func (*MockAppearancesByYearsRepositoryMockRecorder) List ¶
func (mr *MockAppearancesByYearsRepositoryMockRecorder) List(slugs interface{}) *gomock.Call
List indicates an expected call of List
type MockAppearancesByYearsWriter ¶
type MockAppearancesByYearsWriter struct {
// contains filtered or unexported fields
}
MockAppearancesByYearsWriter is a mock of AppearancesByYearsWriter interface
func NewMockAppearancesByYearsWriter ¶
func NewMockAppearancesByYearsWriter(ctrl *gomock.Controller) *MockAppearancesByYearsWriter
NewMockAppearancesByYearsWriter creates a new mock instance
func (*MockAppearancesByYearsWriter) EXPECT ¶
func (m *MockAppearancesByYearsWriter) EXPECT() *MockAppearancesByYearsWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAppearancesByYearsWriter) Set ¶
func (m *MockAppearancesByYearsWriter) Set(apps comic.AppearancesByYears) error
Set mocks base method
type MockAppearancesByYearsWriterMockRecorder ¶
type MockAppearancesByYearsWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockAppearancesByYearsWriterMockRecorder is the mock recorder for MockAppearancesByYearsWriter
func (*MockAppearancesByYearsWriterMockRecorder) Set ¶
func (mr *MockAppearancesByYearsWriterMockRecorder) Set(apps interface{}) *gomock.Call
Set indicates an expected call of Set
type MockCharacterIssueRepository ¶
type MockCharacterIssueRepository struct {
// contains filtered or unexported fields
}
MockCharacterIssueRepository is a mock of CharacterIssueRepository interface
func NewMockCharacterIssueRepository ¶
func NewMockCharacterIssueRepository(ctrl *gomock.Controller) *MockCharacterIssueRepository
NewMockCharacterIssueRepository creates a new mock instance
func (*MockCharacterIssueRepository) Create ¶
func (m *MockCharacterIssueRepository) Create(ci *comic.CharacterIssue) error
Create mocks base method
func (*MockCharacterIssueRepository) CreateAll ¶
func (m *MockCharacterIssueRepository) CreateAll(cis []*comic.CharacterIssue) error
CreateAll mocks base method
func (*MockCharacterIssueRepository) EXPECT ¶
func (m *MockCharacterIssueRepository) EXPECT() *MockCharacterIssueRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCharacterIssueRepository) FindOneBy ¶
func (m *MockCharacterIssueRepository) FindOneBy(characterID comic.CharacterID, issueID comic.IssueID) (*comic.CharacterIssue, error)
FindOneBy mocks base method
func (*MockCharacterIssueRepository) InsertFast ¶
func (m *MockCharacterIssueRepository) InsertFast(issues []*comic.CharacterIssue) error
InsertFast mocks base method
type MockCharacterIssueRepositoryMockRecorder ¶
type MockCharacterIssueRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCharacterIssueRepositoryMockRecorder is the mock recorder for MockCharacterIssueRepository
func (*MockCharacterIssueRepositoryMockRecorder) Create ¶
func (mr *MockCharacterIssueRepositoryMockRecorder) Create(ci interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCharacterIssueRepositoryMockRecorder) CreateAll ¶
func (mr *MockCharacterIssueRepositoryMockRecorder) CreateAll(cis interface{}) *gomock.Call
CreateAll indicates an expected call of CreateAll
func (*MockCharacterIssueRepositoryMockRecorder) FindOneBy ¶
func (mr *MockCharacterIssueRepositoryMockRecorder) FindOneBy(characterID, issueID interface{}) *gomock.Call
FindOneBy indicates an expected call of FindOneBy
func (*MockCharacterIssueRepositoryMockRecorder) InsertFast ¶
func (mr *MockCharacterIssueRepositoryMockRecorder) InsertFast(issues interface{}) *gomock.Call
InsertFast indicates an expected call of InsertFast
type MockCharacterRepository ¶
type MockCharacterRepository struct {
// contains filtered or unexported fields
}
MockCharacterRepository is a mock of CharacterRepository interface
func NewMockCharacterRepository ¶
func NewMockCharacterRepository(ctrl *gomock.Controller) *MockCharacterRepository
NewMockCharacterRepository creates a new mock instance
func (*MockCharacterRepository) Create ¶
func (m *MockCharacterRepository) Create(c *comic.Character) error
Create mocks base method
func (*MockCharacterRepository) EXPECT ¶
func (m *MockCharacterRepository) EXPECT() *MockCharacterRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCharacterRepository) FindAll ¶
func (m *MockCharacterRepository) FindAll(cr comic.CharacterCriteria) ([]*comic.Character, error)
FindAll mocks base method
func (*MockCharacterRepository) FindBySlug ¶
func (m *MockCharacterRepository) FindBySlug(slug comic.CharacterSlug, includeIsDisabled bool) (*comic.Character, error)
FindBySlug mocks base method
func (*MockCharacterRepository) Remove ¶
func (m *MockCharacterRepository) Remove(id comic.CharacterID) error
Remove mocks base method
func (*MockCharacterRepository) Total ¶
func (m *MockCharacterRepository) Total(cr comic.CharacterCriteria) (int64, error)
Total mocks base method
type MockCharacterRepositoryMockRecorder ¶
type MockCharacterRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCharacterRepositoryMockRecorder is the mock recorder for MockCharacterRepository
func (*MockCharacterRepositoryMockRecorder) Create ¶
func (mr *MockCharacterRepositoryMockRecorder) Create(c interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCharacterRepositoryMockRecorder) FindAll ¶
func (mr *MockCharacterRepositoryMockRecorder) FindAll(cr interface{}) *gomock.Call
FindAll indicates an expected call of FindAll
func (*MockCharacterRepositoryMockRecorder) FindBySlug ¶
func (mr *MockCharacterRepositoryMockRecorder) FindBySlug(slug, includeIsDisabled interface{}) *gomock.Call
FindBySlug indicates an expected call of FindBySlug
func (*MockCharacterRepositoryMockRecorder) Remove ¶
func (mr *MockCharacterRepositoryMockRecorder) Remove(id interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockCharacterRepositoryMockRecorder) Total ¶
func (mr *MockCharacterRepositoryMockRecorder) Total(cr interface{}) *gomock.Call
Total indicates an expected call of Total
func (*MockCharacterRepositoryMockRecorder) Update ¶
func (mr *MockCharacterRepositoryMockRecorder) Update(c interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockCharacterRepositoryMockRecorder) UpdateAll ¶
func (mr *MockCharacterRepositoryMockRecorder) UpdateAll(characters interface{}) *gomock.Call
UpdateAll indicates an expected call of UpdateAll
type MockCharacterServicer ¶
type MockCharacterServicer struct {
// contains filtered or unexported fields
}
MockCharacterServicer is a mock of CharacterServicer interface
func NewMockCharacterServicer ¶
func NewMockCharacterServicer(ctrl *gomock.Controller) *MockCharacterServicer
NewMockCharacterServicer creates a new mock instance
func (*MockCharacterServicer) Character ¶
func (m *MockCharacterServicer) Character(slug comic.CharacterSlug) (*comic.Character, error)
Character mocks base method
func (*MockCharacterServicer) CharacterByVendor ¶
func (m *MockCharacterServicer) CharacterByVendor(vendorID string, vendorType comic.VendorType, includeIsDisabled bool) (*comic.Character, error)
CharacterByVendor mocks base method
func (*MockCharacterServicer) Characters ¶
func (m *MockCharacterServicer) Characters(slugs []comic.CharacterSlug, limit, offset int) ([]*comic.Character, error)
Characters mocks base method
func (*MockCharacterServicer) CharactersByPublisher ¶
func (m *MockCharacterServicer) CharactersByPublisher(slugs []comic.PublisherSlug, filterSources bool, limit, offset int) ([]*comic.Character, error)
CharactersByPublisher mocks base method
func (*MockCharacterServicer) CharactersWithSources ¶
func (m *MockCharacterServicer) CharactersWithSources(slug []comic.CharacterSlug, limit, offset int) ([]*comic.Character, error)
CharactersWithSources mocks base method
func (*MockCharacterServicer) Create ¶
func (m *MockCharacterServicer) Create(character *comic.Character) error
Create mocks base method
func (*MockCharacterServicer) CreateIssue ¶
func (m *MockCharacterServicer) CreateIssue(issue *comic.CharacterIssue) error
CreateIssue mocks base method
func (*MockCharacterServicer) CreateIssueP ¶
func (m *MockCharacterServicer) CreateIssueP(characterID comic.CharacterID, issueID comic.IssueID, appearanceType comic.AppearanceType, importance *comic.Importance) (*comic.CharacterIssue, error)
CreateIssueP mocks base method
func (*MockCharacterServicer) CreateIssues ¶
func (m *MockCharacterServicer) CreateIssues(issues []*comic.CharacterIssue) error
CreateIssues mocks base method
func (*MockCharacterServicer) CreateSource ¶
func (m *MockCharacterServicer) CreateSource(source *comic.CharacterSource) error
CreateSource mocks base method
func (*MockCharacterServicer) CreateSyncLog ¶
func (m *MockCharacterServicer) CreateSyncLog(syncLog *comic.CharacterSyncLog) error
CreateSyncLog mocks base method
func (*MockCharacterServicer) CreateSyncLogP ¶
func (m *MockCharacterServicer) CreateSyncLogP(id comic.CharacterID, status comic.CharacterSyncLogStatus, syncType comic.CharacterSyncLogType, syncedAt *time.Time) (*comic.CharacterSyncLog, error)
CreateSyncLogP mocks base method
func (*MockCharacterServicer) EXPECT ¶
func (m *MockCharacterServicer) EXPECT() *MockCharacterServicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCharacterServicer) Issue ¶
func (m *MockCharacterServicer) Issue(characterID comic.CharacterID, issueID comic.IssueID) (*comic.CharacterIssue, error)
Issue mocks base method
func (*MockCharacterServicer) MustNormalizeSources ¶
func (m *MockCharacterServicer) MustNormalizeSources(arg0 *comic.Character)
MustNormalizeSources mocks base method
func (*MockCharacterServicer) Source ¶
func (m *MockCharacterServicer) Source(id comic.CharacterID, vendorURL string) (*comic.CharacterSource, error)
Source mocks base method
func (*MockCharacterServicer) Sources ¶
func (m *MockCharacterServicer) Sources(id comic.CharacterID, vendorType comic.VendorType, isMain *bool) ([]*comic.CharacterSource, error)
Sources mocks base method
func (*MockCharacterServicer) TotalSources ¶
func (m *MockCharacterServicer) TotalSources(id comic.CharacterID) (int64, error)
TotalSources mocks base method
func (*MockCharacterServicer) Update ¶
func (m *MockCharacterServicer) Update(character *comic.Character) error
Update mocks base method
func (*MockCharacterServicer) UpdateAll ¶
func (m *MockCharacterServicer) UpdateAll(characters []*comic.Character) error
UpdateAll mocks base method
func (*MockCharacterServicer) UpdateSource ¶
func (m *MockCharacterServicer) UpdateSource(source *comic.CharacterSource) error
UpdateSource mocks base method
func (*MockCharacterServicer) UpdateSyncLog ¶
func (m *MockCharacterServicer) UpdateSyncLog(syncLog *comic.CharacterSyncLog) error
UpdateSyncLog mocks base method
type MockCharacterServicerMockRecorder ¶
type MockCharacterServicerMockRecorder struct {
// contains filtered or unexported fields
}
MockCharacterServicerMockRecorder is the mock recorder for MockCharacterServicer
func (*MockCharacterServicerMockRecorder) Character ¶
func (mr *MockCharacterServicerMockRecorder) Character(slug interface{}) *gomock.Call
Character indicates an expected call of Character
func (*MockCharacterServicerMockRecorder) CharacterByVendor ¶
func (mr *MockCharacterServicerMockRecorder) CharacterByVendor(vendorID, vendorType, includeIsDisabled interface{}) *gomock.Call
CharacterByVendor indicates an expected call of CharacterByVendor
func (*MockCharacterServicerMockRecorder) Characters ¶
func (mr *MockCharacterServicerMockRecorder) Characters(slugs, limit, offset interface{}) *gomock.Call
Characters indicates an expected call of Characters
func (*MockCharacterServicerMockRecorder) CharactersByPublisher ¶
func (mr *MockCharacterServicerMockRecorder) CharactersByPublisher(slugs, filterSources, limit, offset interface{}) *gomock.Call
CharactersByPublisher indicates an expected call of CharactersByPublisher
func (*MockCharacterServicerMockRecorder) CharactersWithSources ¶
func (mr *MockCharacterServicerMockRecorder) CharactersWithSources(slug, limit, offset interface{}) *gomock.Call
CharactersWithSources indicates an expected call of CharactersWithSources
func (*MockCharacterServicerMockRecorder) Create ¶
func (mr *MockCharacterServicerMockRecorder) Create(character interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCharacterServicerMockRecorder) CreateIssue ¶
func (mr *MockCharacterServicerMockRecorder) CreateIssue(issue interface{}) *gomock.Call
CreateIssue indicates an expected call of CreateIssue
func (*MockCharacterServicerMockRecorder) CreateIssueP ¶
func (mr *MockCharacterServicerMockRecorder) CreateIssueP(characterID, issueID, appearanceType, importance interface{}) *gomock.Call
CreateIssueP indicates an expected call of CreateIssueP
func (*MockCharacterServicerMockRecorder) CreateIssues ¶
func (mr *MockCharacterServicerMockRecorder) CreateIssues(issues interface{}) *gomock.Call
CreateIssues indicates an expected call of CreateIssues
func (*MockCharacterServicerMockRecorder) CreateSource ¶
func (mr *MockCharacterServicerMockRecorder) CreateSource(source interface{}) *gomock.Call
CreateSource indicates an expected call of CreateSource
func (*MockCharacterServicerMockRecorder) CreateSyncLog ¶
func (mr *MockCharacterServicerMockRecorder) CreateSyncLog(syncLog interface{}) *gomock.Call
CreateSyncLog indicates an expected call of CreateSyncLog
func (*MockCharacterServicerMockRecorder) CreateSyncLogP ¶
func (mr *MockCharacterServicerMockRecorder) CreateSyncLogP(id, status, syncType, syncedAt interface{}) *gomock.Call
CreateSyncLogP indicates an expected call of CreateSyncLogP
func (*MockCharacterServicerMockRecorder) Issue ¶
func (mr *MockCharacterServicerMockRecorder) Issue(characterID, issueID interface{}) *gomock.Call
Issue indicates an expected call of Issue
func (*MockCharacterServicerMockRecorder) MustNormalizeSources ¶
func (mr *MockCharacterServicerMockRecorder) MustNormalizeSources(arg0 interface{}) *gomock.Call
MustNormalizeSources indicates an expected call of MustNormalizeSources
func (*MockCharacterServicerMockRecorder) Source ¶
func (mr *MockCharacterServicerMockRecorder) Source(id, vendorURL interface{}) *gomock.Call
Source indicates an expected call of Source
func (*MockCharacterServicerMockRecorder) Sources ¶
func (mr *MockCharacterServicerMockRecorder) Sources(id, vendorType, isMain interface{}) *gomock.Call
Sources indicates an expected call of Sources
func (*MockCharacterServicerMockRecorder) TotalSources ¶
func (mr *MockCharacterServicerMockRecorder) TotalSources(id interface{}) *gomock.Call
TotalSources indicates an expected call of TotalSources
func (*MockCharacterServicerMockRecorder) Update ¶
func (mr *MockCharacterServicerMockRecorder) Update(character interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockCharacterServicerMockRecorder) UpdateAll ¶
func (mr *MockCharacterServicerMockRecorder) UpdateAll(characters interface{}) *gomock.Call
UpdateAll indicates an expected call of UpdateAll
func (*MockCharacterServicerMockRecorder) UpdateSource ¶
func (mr *MockCharacterServicerMockRecorder) UpdateSource(source interface{}) *gomock.Call
UpdateSource indicates an expected call of UpdateSource
func (*MockCharacterServicerMockRecorder) UpdateSyncLog ¶
func (mr *MockCharacterServicerMockRecorder) UpdateSyncLog(syncLog interface{}) *gomock.Call
UpdateSyncLog indicates an expected call of UpdateSyncLog
type MockCharacterSourceRepository ¶
type MockCharacterSourceRepository struct {
// contains filtered or unexported fields
}
MockCharacterSourceRepository is a mock of CharacterSourceRepository interface
func NewMockCharacterSourceRepository ¶
func NewMockCharacterSourceRepository(ctrl *gomock.Controller) *MockCharacterSourceRepository
NewMockCharacterSourceRepository creates a new mock instance
func (*MockCharacterSourceRepository) Create ¶
func (m *MockCharacterSourceRepository) Create(s *comic.CharacterSource) error
Create mocks base method
func (*MockCharacterSourceRepository) EXPECT ¶
func (m *MockCharacterSourceRepository) EXPECT() *MockCharacterSourceRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCharacterSourceRepository) FindAll ¶
func (m *MockCharacterSourceRepository) FindAll(criteria comic.CharacterSourceCriteria) ([]*comic.CharacterSource, error)
FindAll mocks base method
func (*MockCharacterSourceRepository) Raw ¶
func (m *MockCharacterSourceRepository) Raw(query string, params ...interface{}) error
Raw mocks base method
func (*MockCharacterSourceRepository) Remove ¶
func (m *MockCharacterSourceRepository) Remove(id comic.CharacterSourceID) error
Remove mocks base method
func (*MockCharacterSourceRepository) Update ¶
func (m *MockCharacterSourceRepository) Update(s *comic.CharacterSource) error
Update mocks base method
type MockCharacterSourceRepositoryMockRecorder ¶
type MockCharacterSourceRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCharacterSourceRepositoryMockRecorder is the mock recorder for MockCharacterSourceRepository
func (*MockCharacterSourceRepositoryMockRecorder) Create ¶
func (mr *MockCharacterSourceRepositoryMockRecorder) Create(s interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCharacterSourceRepositoryMockRecorder) FindAll ¶
func (mr *MockCharacterSourceRepositoryMockRecorder) FindAll(criteria interface{}) *gomock.Call
FindAll indicates an expected call of FindAll
func (*MockCharacterSourceRepositoryMockRecorder) Raw ¶
func (mr *MockCharacterSourceRepositoryMockRecorder) Raw(query interface{}, params ...interface{}) *gomock.Call
Raw indicates an expected call of Raw
func (*MockCharacterSourceRepositoryMockRecorder) Remove ¶
func (mr *MockCharacterSourceRepositoryMockRecorder) Remove(id interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockCharacterSourceRepositoryMockRecorder) Update ¶
func (mr *MockCharacterSourceRepositoryMockRecorder) Update(s interface{}) *gomock.Call
Update indicates an expected call of Update
type MockCharacterStatsSyncer ¶
type MockCharacterStatsSyncer struct {
// contains filtered or unexported fields
}
MockCharacterStatsSyncer is a mock of CharacterStatsSyncer interface
func NewMockCharacterStatsSyncer ¶
func NewMockCharacterStatsSyncer(ctrl *gomock.Controller) *MockCharacterStatsSyncer
NewMockCharacterStatsSyncer creates a new mock instance
func (*MockCharacterStatsSyncer) EXPECT ¶
func (m *MockCharacterStatsSyncer) EXPECT() *MockCharacterStatsSyncerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCharacterStatsSyncer) Sync ¶
func (m *MockCharacterStatsSyncer) Sync(slug comic.CharacterSlug) error
Sync mocks base method
func (*MockCharacterStatsSyncer) SyncAll ¶
func (m *MockCharacterStatsSyncer) SyncAll(characters []*comic.Character) <-chan comic.CharacterSyncResult
SyncAll mocks base method
type MockCharacterStatsSyncerMockRecorder ¶
type MockCharacterStatsSyncerMockRecorder struct {
// contains filtered or unexported fields
}
MockCharacterStatsSyncerMockRecorder is the mock recorder for MockCharacterStatsSyncer
func (*MockCharacterStatsSyncerMockRecorder) Sync ¶
func (mr *MockCharacterStatsSyncerMockRecorder) Sync(slug interface{}) *gomock.Call
Sync indicates an expected call of Sync
func (*MockCharacterStatsSyncerMockRecorder) SyncAll ¶
func (mr *MockCharacterStatsSyncerMockRecorder) SyncAll(characters interface{}) *gomock.Call
SyncAll indicates an expected call of SyncAll
type MockCharacterSyncLogRepository ¶
type MockCharacterSyncLogRepository struct {
// contains filtered or unexported fields
}
MockCharacterSyncLogRepository is a mock of CharacterSyncLogRepository interface
func NewMockCharacterSyncLogRepository ¶
func NewMockCharacterSyncLogRepository(ctrl *gomock.Controller) *MockCharacterSyncLogRepository
NewMockCharacterSyncLogRepository creates a new mock instance
func (*MockCharacterSyncLogRepository) Create ¶
func (m *MockCharacterSyncLogRepository) Create(s *comic.CharacterSyncLog) error
Create mocks base method
func (*MockCharacterSyncLogRepository) EXPECT ¶
func (m *MockCharacterSyncLogRepository) EXPECT() *MockCharacterSyncLogRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCharacterSyncLogRepository) FindAllByCharacterID ¶
func (m *MockCharacterSyncLogRepository) FindAllByCharacterID(characterID comic.CharacterID) ([]*comic.CharacterSyncLog, error)
FindAllByCharacterID mocks base method
func (*MockCharacterSyncLogRepository) FindByID ¶
func (m *MockCharacterSyncLogRepository) FindByID(id comic.CharacterSyncLogID) (*comic.CharacterSyncLog, error)
FindByID mocks base method
func (*MockCharacterSyncLogRepository) LastSyncs ¶
func (m *MockCharacterSyncLogRepository) LastSyncs(id comic.CharacterID) ([]*comic.LastSync, error)
LastSyncs mocks base method
func (*MockCharacterSyncLogRepository) Update ¶
func (m *MockCharacterSyncLogRepository) Update(s *comic.CharacterSyncLog) error
Update mocks base method
type MockCharacterSyncLogRepositoryMockRecorder ¶
type MockCharacterSyncLogRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCharacterSyncLogRepositoryMockRecorder is the mock recorder for MockCharacterSyncLogRepository
func (*MockCharacterSyncLogRepositoryMockRecorder) Create ¶
func (mr *MockCharacterSyncLogRepositoryMockRecorder) Create(s interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCharacterSyncLogRepositoryMockRecorder) FindAllByCharacterID ¶
func (mr *MockCharacterSyncLogRepositoryMockRecorder) FindAllByCharacterID(characterID interface{}) *gomock.Call
FindAllByCharacterID indicates an expected call of FindAllByCharacterID
func (*MockCharacterSyncLogRepositoryMockRecorder) FindByID ¶
func (mr *MockCharacterSyncLogRepositoryMockRecorder) FindByID(id interface{}) *gomock.Call
FindByID indicates an expected call of FindByID
func (*MockCharacterSyncLogRepositoryMockRecorder) LastSyncs ¶
func (mr *MockCharacterSyncLogRepositoryMockRecorder) LastSyncs(id interface{}) *gomock.Call
LastSyncs indicates an expected call of LastSyncs
func (*MockCharacterSyncLogRepositoryMockRecorder) Update ¶
func (mr *MockCharacterSyncLogRepositoryMockRecorder) Update(s interface{}) *gomock.Call
Update indicates an expected call of Update
type MockCharacterThumbRepository ¶
type MockCharacterThumbRepository struct {
// contains filtered or unexported fields
}
MockCharacterThumbRepository is a mock of CharacterThumbRepository interface
func NewMockCharacterThumbRepository ¶
func NewMockCharacterThumbRepository(ctrl *gomock.Controller) *MockCharacterThumbRepository
NewMockCharacterThumbRepository creates a new mock instance
func (*MockCharacterThumbRepository) AllThumbnails ¶
func (m *MockCharacterThumbRepository) AllThumbnails(slugs ...comic.CharacterSlug) (map[comic.CharacterSlug]*comic.CharacterThumbnails, error)
AllThumbnails mocks base method
func (*MockCharacterThumbRepository) EXPECT ¶
func (m *MockCharacterThumbRepository) EXPECT() *MockCharacterThumbRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCharacterThumbRepository) Thumbnails ¶
func (m *MockCharacterThumbRepository) Thumbnails(slug comic.CharacterSlug) (*comic.CharacterThumbnails, error)
Thumbnails mocks base method
type MockCharacterThumbRepositoryMockRecorder ¶
type MockCharacterThumbRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockCharacterThumbRepositoryMockRecorder is the mock recorder for MockCharacterThumbRepository
func (*MockCharacterThumbRepositoryMockRecorder) AllThumbnails ¶
func (mr *MockCharacterThumbRepositoryMockRecorder) AllThumbnails(slugs ...interface{}) *gomock.Call
AllThumbnails indicates an expected call of AllThumbnails
func (*MockCharacterThumbRepositoryMockRecorder) Thumbnails ¶
func (mr *MockCharacterThumbRepositoryMockRecorder) Thumbnails(slug interface{}) *gomock.Call
Thumbnails indicates an expected call of Thumbnails
type MockCharacterThumbServicer ¶
type MockCharacterThumbServicer struct {
// contains filtered or unexported fields
}
MockCharacterThumbServicer is a mock of CharacterThumbServicer interface
func NewMockCharacterThumbServicer ¶
func NewMockCharacterThumbServicer(ctrl *gomock.Controller) *MockCharacterThumbServicer
NewMockCharacterThumbServicer creates a new mock instance
func (*MockCharacterThumbServicer) EXPECT ¶
func (m *MockCharacterThumbServicer) EXPECT() *MockCharacterThumbServicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCharacterThumbServicer) Upload ¶
func (m *MockCharacterThumbServicer) Upload(c *comic.Character) (*comic.CharacterThumbnails, error)
Upload mocks base method
type MockCharacterThumbServicerMockRecorder ¶
type MockCharacterThumbServicerMockRecorder struct {
// contains filtered or unexported fields
}
MockCharacterThumbServicerMockRecorder is the mock recorder for MockCharacterThumbServicer
func (*MockCharacterThumbServicerMockRecorder) Upload ¶
func (mr *MockCharacterThumbServicerMockRecorder) Upload(c interface{}) *gomock.Call
Upload indicates an expected call of Upload
type MockExpandedServicer ¶
type MockExpandedServicer struct {
// contains filtered or unexported fields
}
MockExpandedServicer is a mock of ExpandedServicer interface
func NewMockExpandedServicer ¶
func NewMockExpandedServicer(ctrl *gomock.Controller) *MockExpandedServicer
NewMockExpandedServicer creates a new mock instance
func (*MockExpandedServicer) Character ¶
func (m *MockExpandedServicer) Character(slug comic.CharacterSlug) (*comic.ExpandedCharacter, error)
Character mocks base method
func (*MockExpandedServicer) EXPECT ¶
func (m *MockExpandedServicer) EXPECT() *MockExpandedServicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockExpandedServicerMockRecorder ¶
type MockExpandedServicerMockRecorder struct {
// contains filtered or unexported fields
}
MockExpandedServicerMockRecorder is the mock recorder for MockExpandedServicer
func (*MockExpandedServicerMockRecorder) Character ¶
func (mr *MockExpandedServicerMockRecorder) Character(slug interface{}) *gomock.Call
Character indicates an expected call of Character
type MockIssueRepository ¶
type MockIssueRepository struct {
// contains filtered or unexported fields
}
MockIssueRepository is a mock of IssueRepository interface
func NewMockIssueRepository ¶
func NewMockIssueRepository(ctrl *gomock.Controller) *MockIssueRepository
NewMockIssueRepository creates a new mock instance
func (*MockIssueRepository) Create ¶
func (m *MockIssueRepository) Create(issue *comic.Issue) error
Create mocks base method
func (*MockIssueRepository) CreateAll ¶
func (m *MockIssueRepository) CreateAll(issues []*comic.Issue) error
CreateAll mocks base method
func (*MockIssueRepository) EXPECT ¶
func (m *MockIssueRepository) EXPECT() *MockIssueRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIssueRepository) FindAll ¶
func (m *MockIssueRepository) FindAll(c comic.IssueCriteria) ([]*comic.Issue, error)
FindAll mocks base method
func (*MockIssueRepository) FindByVendorID ¶
func (m *MockIssueRepository) FindByVendorID(vendorID string) (*comic.Issue, error)
FindByVendorID mocks base method
type MockIssueRepositoryMockRecorder ¶
type MockIssueRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockIssueRepositoryMockRecorder is the mock recorder for MockIssueRepository
func (*MockIssueRepositoryMockRecorder) Create ¶
func (mr *MockIssueRepositoryMockRecorder) Create(issue interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockIssueRepositoryMockRecorder) CreateAll ¶
func (mr *MockIssueRepositoryMockRecorder) CreateAll(issues interface{}) *gomock.Call
CreateAll indicates an expected call of CreateAll
func (*MockIssueRepositoryMockRecorder) FindAll ¶
func (mr *MockIssueRepositoryMockRecorder) FindAll(c interface{}) *gomock.Call
FindAll indicates an expected call of FindAll
func (*MockIssueRepositoryMockRecorder) FindByVendorID ¶
func (mr *MockIssueRepositoryMockRecorder) FindByVendorID(vendorID interface{}) *gomock.Call
FindByVendorID indicates an expected call of FindByVendorID
func (*MockIssueRepositoryMockRecorder) Update ¶
func (mr *MockIssueRepositoryMockRecorder) Update(issue interface{}) *gomock.Call
Update indicates an expected call of Update
type MockIssueServicer ¶
type MockIssueServicer struct {
// contains filtered or unexported fields
}
MockIssueServicer is a mock of IssueServicer interface
func NewMockIssueServicer ¶
func NewMockIssueServicer(ctrl *gomock.Controller) *MockIssueServicer
NewMockIssueServicer creates a new mock instance
func (*MockIssueServicer) Create ¶
func (m *MockIssueServicer) Create(issue *comic.Issue) error
Create mocks base method
func (*MockIssueServicer) CreateP ¶
func (m *MockIssueServicer) CreateP(vendorID, vendorPublisher, vendorSeriesName, vendorSeriesNumber string, pubDate, saleDate time.Time, isVariant, isMonthUncertain, isReprint bool, format comic.Format) error
CreateP mocks base method
func (*MockIssueServicer) EXPECT ¶
func (m *MockIssueServicer) EXPECT() *MockIssueServicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockIssueServicer) IssuesByVendor ¶
func (m *MockIssueServicer) IssuesByVendor(vendorIds []string, vendorType comic.VendorType, limit, offset int) ([]*comic.Issue, error)
IssuesByVendor mocks base method
type MockIssueServicerMockRecorder ¶
type MockIssueServicerMockRecorder struct {
// contains filtered or unexported fields
}
MockIssueServicerMockRecorder is the mock recorder for MockIssueServicer
func (*MockIssueServicerMockRecorder) Create ¶
func (mr *MockIssueServicerMockRecorder) Create(issue interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockIssueServicerMockRecorder) CreateP ¶
func (mr *MockIssueServicerMockRecorder) CreateP(vendorID, vendorPublisher, vendorSeriesName, vendorSeriesNumber, pubDate, saleDate, isVariant, isMonthUncertain, isReprint, format interface{}) *gomock.Call
CreateP indicates an expected call of CreateP
func (*MockIssueServicerMockRecorder) Issues ¶
func (mr *MockIssueServicerMockRecorder) Issues(ids, limit, offset interface{}) *gomock.Call
Issues indicates an expected call of Issues
func (*MockIssueServicerMockRecorder) IssuesByVendor ¶
func (mr *MockIssueServicerMockRecorder) IssuesByVendor(vendorIds, vendorType, limit, offset interface{}) *gomock.Call
IssuesByVendor indicates an expected call of IssuesByVendor
type MockPopularRefresher ¶
type MockPopularRefresher struct {
// contains filtered or unexported fields
}
MockPopularRefresher is a mock of PopularRefresher interface
func NewMockPopularRefresher ¶
func NewMockPopularRefresher(ctrl *gomock.Controller) *MockPopularRefresher
NewMockPopularRefresher creates a new mock instance
func (*MockPopularRefresher) EXPECT ¶
func (m *MockPopularRefresher) EXPECT() *MockPopularRefresherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPopularRefresher) Refresh ¶
func (m *MockPopularRefresher) Refresh(view comic.MaterializedView) error
Refresh mocks base method
func (*MockPopularRefresher) RefreshAll ¶
func (m *MockPopularRefresher) RefreshAll() error
RefreshAll mocks base method
type MockPopularRefresherMockRecorder ¶
type MockPopularRefresherMockRecorder struct {
// contains filtered or unexported fields
}
MockPopularRefresherMockRecorder is the mock recorder for MockPopularRefresher
func (*MockPopularRefresherMockRecorder) Refresh ¶
func (mr *MockPopularRefresherMockRecorder) Refresh(view interface{}) *gomock.Call
Refresh indicates an expected call of Refresh
func (*MockPopularRefresherMockRecorder) RefreshAll ¶
func (mr *MockPopularRefresherMockRecorder) RefreshAll() *gomock.Call
RefreshAll indicates an expected call of RefreshAll
type MockPopularRepository ¶
type MockPopularRepository struct {
// contains filtered or unexported fields
}
MockPopularRepository is a mock of PopularRepository interface
func NewMockPopularRepository ¶
func NewMockPopularRepository(ctrl *gomock.Controller) *MockPopularRepository
NewMockPopularRepository creates a new mock instance
func (*MockPopularRepository) All ¶
func (m *MockPopularRepository) All(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
All mocks base method
func (*MockPopularRepository) DC ¶
func (m *MockPopularRepository) DC(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
DC mocks base method
func (*MockPopularRepository) DCTrending ¶
func (m *MockPopularRepository) DCTrending(limit, offset int) ([]*comic.RankedCharacter, error)
DCTrending mocks base method
func (*MockPopularRepository) EXPECT ¶
func (m *MockPopularRepository) EXPECT() *MockPopularRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPopularRepository) FindOneByAll ¶
func (m *MockPopularRepository) FindOneByAll(id comic.CharacterID) (*comic.RankedCharacter, error)
FindOneByAll mocks base method
func (*MockPopularRepository) FindOneByDC ¶
func (m *MockPopularRepository) FindOneByDC(id comic.CharacterID) (*comic.RankedCharacter, error)
FindOneByDC mocks base method
func (*MockPopularRepository) FindOneByMarvel ¶
func (m *MockPopularRepository) FindOneByMarvel(id comic.CharacterID) (*comic.RankedCharacter, error)
FindOneByMarvel mocks base method
func (*MockPopularRepository) Marvel ¶
func (m *MockPopularRepository) Marvel(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
Marvel mocks base method
func (*MockPopularRepository) MarvelTrending ¶
func (m *MockPopularRepository) MarvelTrending(limit, offset int) ([]*comic.RankedCharacter, error)
MarvelTrending mocks base method
type MockPopularRepositoryMockRecorder ¶
type MockPopularRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockPopularRepositoryMockRecorder is the mock recorder for MockPopularRepository
func (*MockPopularRepositoryMockRecorder) All ¶
func (mr *MockPopularRepositoryMockRecorder) All(cr interface{}) *gomock.Call
All indicates an expected call of All
func (*MockPopularRepositoryMockRecorder) DC ¶
func (mr *MockPopularRepositoryMockRecorder) DC(cr interface{}) *gomock.Call
DC indicates an expected call of DC
func (*MockPopularRepositoryMockRecorder) DCTrending ¶
func (mr *MockPopularRepositoryMockRecorder) DCTrending(limit, offset interface{}) *gomock.Call
DCTrending indicates an expected call of DCTrending
func (*MockPopularRepositoryMockRecorder) FindOneByAll ¶
func (mr *MockPopularRepositoryMockRecorder) FindOneByAll(id interface{}) *gomock.Call
FindOneByAll indicates an expected call of FindOneByAll
func (*MockPopularRepositoryMockRecorder) FindOneByDC ¶
func (mr *MockPopularRepositoryMockRecorder) FindOneByDC(id interface{}) *gomock.Call
FindOneByDC indicates an expected call of FindOneByDC
func (*MockPopularRepositoryMockRecorder) FindOneByMarvel ¶
func (mr *MockPopularRepositoryMockRecorder) FindOneByMarvel(id interface{}) *gomock.Call
FindOneByMarvel indicates an expected call of FindOneByMarvel
func (*MockPopularRepositoryMockRecorder) Marvel ¶
func (mr *MockPopularRepositoryMockRecorder) Marvel(cr interface{}) *gomock.Call
Marvel indicates an expected call of Marvel
func (*MockPopularRepositoryMockRecorder) MarvelTrending ¶
func (mr *MockPopularRepositoryMockRecorder) MarvelTrending(limit, offset interface{}) *gomock.Call
MarvelTrending indicates an expected call of MarvelTrending
type MockPublisherRepository ¶
type MockPublisherRepository struct {
// contains filtered or unexported fields
}
MockPublisherRepository is a mock of PublisherRepository interface
func NewMockPublisherRepository ¶
func NewMockPublisherRepository(ctrl *gomock.Controller) *MockPublisherRepository
NewMockPublisherRepository creates a new mock instance
func (*MockPublisherRepository) EXPECT ¶
func (m *MockPublisherRepository) EXPECT() *MockPublisherRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPublisherRepository) FindBySlug ¶
func (m *MockPublisherRepository) FindBySlug(slug comic.PublisherSlug) (*comic.Publisher, error)
FindBySlug mocks base method
type MockPublisherRepositoryMockRecorder ¶
type MockPublisherRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockPublisherRepositoryMockRecorder is the mock recorder for MockPublisherRepository
func (*MockPublisherRepositoryMockRecorder) FindBySlug ¶
func (mr *MockPublisherRepositoryMockRecorder) FindBySlug(slug interface{}) *gomock.Call
FindBySlug indicates an expected call of FindBySlug
type MockPublisherServicer ¶
type MockPublisherServicer struct {
// contains filtered or unexported fields
}
MockPublisherServicer is a mock of PublisherServicer interface
func NewMockPublisherServicer ¶
func NewMockPublisherServicer(ctrl *gomock.Controller) *MockPublisherServicer
NewMockPublisherServicer creates a new mock instance
func (*MockPublisherServicer) EXPECT ¶
func (m *MockPublisherServicer) EXPECT() *MockPublisherServicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPublisherServicer) Publisher ¶
func (m *MockPublisherServicer) Publisher(slug comic.PublisherSlug) (*comic.Publisher, error)
Publisher mocks base method
type MockPublisherServicerMockRecorder ¶
type MockPublisherServicerMockRecorder struct {
// contains filtered or unexported fields
}
MockPublisherServicerMockRecorder is the mock recorder for MockPublisherServicer
func (*MockPublisherServicerMockRecorder) Publisher ¶
func (mr *MockPublisherServicerMockRecorder) Publisher(slug interface{}) *gomock.Call
Publisher indicates an expected call of Publisher
type MockRankedServicer ¶
type MockRankedServicer struct {
// contains filtered or unexported fields
}
MockRankedServicer is a mock of RankedServicer interface
func NewMockRankedServicer ¶
func NewMockRankedServicer(ctrl *gomock.Controller) *MockRankedServicer
NewMockRankedServicer creates a new mock instance
func (*MockRankedServicer) AllPopular ¶
func (m *MockRankedServicer) AllPopular(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
AllPopular mocks base method
func (*MockRankedServicer) DCPopular ¶
func (m *MockRankedServicer) DCPopular(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
DCPopular mocks base method
func (*MockRankedServicer) DCTrending ¶
func (m *MockRankedServicer) DCTrending(limit, offset int) ([]*comic.RankedCharacter, error)
DCTrending mocks base method
func (*MockRankedServicer) EXPECT ¶
func (m *MockRankedServicer) EXPECT() *MockRankedServicerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRankedServicer) MarvelPopular ¶
func (m *MockRankedServicer) MarvelPopular(cr comic.PopularCriteria) ([]*comic.RankedCharacter, error)
MarvelPopular mocks base method
func (*MockRankedServicer) MarvelTrending ¶
func (m *MockRankedServicer) MarvelTrending(limit, offset int) ([]*comic.RankedCharacter, error)
MarvelTrending mocks base method
type MockRankedServicerMockRecorder ¶
type MockRankedServicerMockRecorder struct {
// contains filtered or unexported fields
}
MockRankedServicerMockRecorder is the mock recorder for MockRankedServicer
func (*MockRankedServicerMockRecorder) AllPopular ¶
func (mr *MockRankedServicerMockRecorder) AllPopular(cr interface{}) *gomock.Call
AllPopular indicates an expected call of AllPopular
func (*MockRankedServicerMockRecorder) DCPopular ¶
func (mr *MockRankedServicerMockRecorder) DCPopular(cr interface{}) *gomock.Call
DCPopular indicates an expected call of DCPopular
func (*MockRankedServicerMockRecorder) DCTrending ¶
func (mr *MockRankedServicerMockRecorder) DCTrending(limit, offset interface{}) *gomock.Call
DCTrending indicates an expected call of DCTrending
func (*MockRankedServicerMockRecorder) MarvelPopular ¶
func (mr *MockRankedServicerMockRecorder) MarvelPopular(cr interface{}) *gomock.Call
MarvelPopular indicates an expected call of MarvelPopular
func (*MockRankedServicerMockRecorder) MarvelTrending ¶
func (mr *MockRankedServicerMockRecorder) MarvelTrending(limit, offset interface{}) *gomock.Call
MarvelTrending indicates an expected call of MarvelTrending
type MockRedisClient ¶
type MockRedisClient struct {
// contains filtered or unexported fields
}
MockRedisClient is a mock of RedisClient interface
func NewMockRedisClient ¶
func NewMockRedisClient(ctrl *gomock.Controller) *MockRedisClient
NewMockRedisClient creates a new mock instance
func (*MockRedisClient) EXPECT ¶
func (m *MockRedisClient) EXPECT() *MockRedisClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRedisClient) Get ¶
func (m *MockRedisClient) Get(key string) *redis.StringCmd
Get mocks base method
func (*MockRedisClient) HGetAll ¶
func (m *MockRedisClient) HGetAll(key string) *redis.StringStringMapCmd
HGetAll mocks base method
func (*MockRedisClient) HMSet ¶
func (m *MockRedisClient) HMSet(key string, fields map[string]interface{}) *redis.StatusCmd
HMSet mocks base method
type MockRedisClientMockRecorder ¶
type MockRedisClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRedisClientMockRecorder is the mock recorder for MockRedisClient
func (*MockRedisClientMockRecorder) Get ¶
func (mr *MockRedisClientMockRecorder) Get(key interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockRedisClientMockRecorder) HGetAll ¶
func (mr *MockRedisClientMockRecorder) HGetAll(key interface{}) *gomock.Call
HGetAll indicates an expected call of HGetAll
func (*MockRedisClientMockRecorder) HMSet ¶
func (mr *MockRedisClientMockRecorder) HMSet(key, fields interface{}) *gomock.Call
HMSet indicates an expected call of HMSet
func (*MockRedisClientMockRecorder) MGet ¶
func (mr *MockRedisClientMockRecorder) MGet(keys ...interface{}) *gomock.Call
MGet indicates an expected call of MGet
func (*MockRedisClientMockRecorder) Set ¶
func (mr *MockRedisClientMockRecorder) Set(key, value, expiration interface{}) *gomock.Call
Set indicates an expected call of Set
type MockRedisHmSetter ¶
type MockRedisHmSetter struct {
// contains filtered or unexported fields
}
MockRedisHmSetter is a mock of RedisHmSetter interface
func NewMockRedisHmSetter ¶
func NewMockRedisHmSetter(ctrl *gomock.Controller) *MockRedisHmSetter
NewMockRedisHmSetter creates a new mock instance
func (*MockRedisHmSetter) EXPECT ¶
func (m *MockRedisHmSetter) EXPECT() *MockRedisHmSetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRedisHmSetterMockRecorder ¶
type MockRedisHmSetterMockRecorder struct {
// contains filtered or unexported fields
}
MockRedisHmSetterMockRecorder is the mock recorder for MockRedisHmSetter
func (*MockRedisHmSetterMockRecorder) HMSet ¶
func (mr *MockRedisHmSetterMockRecorder) HMSet(key, fields interface{}) *gomock.Call
HMSet indicates an expected call of HMSet
type MockStatsRepository ¶
type MockStatsRepository struct {
// contains filtered or unexported fields
}
MockStatsRepository is a mock of StatsRepository interface
func NewMockStatsRepository ¶
func NewMockStatsRepository(ctrl *gomock.Controller) *MockStatsRepository
NewMockStatsRepository creates a new mock instance
func (*MockStatsRepository) EXPECT ¶
func (m *MockStatsRepository) EXPECT() *MockStatsRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockStatsRepositoryMockRecorder ¶
type MockStatsRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockStatsRepositoryMockRecorder is the mock recorder for MockStatsRepository
func (*MockStatsRepositoryMockRecorder) Stats ¶
func (mr *MockStatsRepositoryMockRecorder) Stats() *gomock.Call
Stats indicates an expected call of Stats
type MockSyncer ¶
type MockSyncer struct {
// contains filtered or unexported fields
}
MockSyncer is a mock of Syncer interface
func NewMockSyncer ¶
func NewMockSyncer(ctrl *gomock.Controller) *MockSyncer
NewMockSyncer creates a new mock instance
func (*MockSyncer) EXPECT ¶
func (m *MockSyncer) EXPECT() *MockSyncerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSyncer) Sync ¶
func (m *MockSyncer) Sync(slug comic.CharacterSlug) (int, error)
Sync mocks base method
type MockSyncerMockRecorder ¶
type MockSyncerMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncerMockRecorder is the mock recorder for MockSyncer
func (*MockSyncerMockRecorder) Sync ¶
func (mr *MockSyncerMockRecorder) Sync(slug interface{}) *gomock.Call
Sync indicates an expected call of Sync