Documentation ¶
Index ¶
- type ACLViewCatalogAdapter
- func (_m *ACLViewCatalogAdapter) EXPECT() *ACLViewCatalogAdapter_Expecter
- func (_m *ACLViewCatalogAdapter) FindAlbums(keys []catalog.AlbumId) ([]*catalog.Album, error)
- func (_m *ACLViewCatalogAdapter) FindAllAlbums(owner ownermodel.Owner) ([]*catalog.Album, error)
- func (_m *ACLViewCatalogAdapter) ListMedias(albumId catalog.AlbumId, request catalog.PageRequest) (*catalog.MediaPage, error)
- type ACLViewCatalogAdapter_Expecter
- func (_e *ACLViewCatalogAdapter_Expecter) FindAlbums(keys interface{}) *ACLViewCatalogAdapter_FindAlbums_Call
- func (_e *ACLViewCatalogAdapter_Expecter) FindAllAlbums(owner interface{}) *ACLViewCatalogAdapter_FindAllAlbums_Call
- func (_e *ACLViewCatalogAdapter_Expecter) ListMedias(albumId interface{}, request interface{}) *ACLViewCatalogAdapter_ListMedias_Call
- type ACLViewCatalogAdapter_FindAlbums_Call
- func (_c *ACLViewCatalogAdapter_FindAlbums_Call) Return(_a0 []*catalog.Album, _a1 error) *ACLViewCatalogAdapter_FindAlbums_Call
- func (_c *ACLViewCatalogAdapter_FindAlbums_Call) Run(run func(keys []catalog.AlbumId)) *ACLViewCatalogAdapter_FindAlbums_Call
- func (_c *ACLViewCatalogAdapter_FindAlbums_Call) RunAndReturn(run func([]catalog.AlbumId) ([]*catalog.Album, error)) *ACLViewCatalogAdapter_FindAlbums_Call
- type ACLViewCatalogAdapter_FindAllAlbums_Call
- func (_c *ACLViewCatalogAdapter_FindAllAlbums_Call) Return(_a0 []*catalog.Album, _a1 error) *ACLViewCatalogAdapter_FindAllAlbums_Call
- func (_c *ACLViewCatalogAdapter_FindAllAlbums_Call) Run(run func(owner ownermodel.Owner)) *ACLViewCatalogAdapter_FindAllAlbums_Call
- func (_c *ACLViewCatalogAdapter_FindAllAlbums_Call) RunAndReturn(run func(ownermodel.Owner) ([]*catalog.Album, error)) *ACLViewCatalogAdapter_FindAllAlbums_Call
- type ACLViewCatalogAdapter_ListMedias_Call
- func (_c *ACLViewCatalogAdapter_ListMedias_Call) Return(_a0 *catalog.MediaPage, _a1 error) *ACLViewCatalogAdapter_ListMedias_Call
- func (_c *ACLViewCatalogAdapter_ListMedias_Call) Run(run func(albumId catalog.AlbumId, request catalog.PageRequest)) *ACLViewCatalogAdapter_ListMedias_Call
- func (_c *ACLViewCatalogAdapter_ListMedias_Call) RunAndReturn(run func(catalog.AlbumId, catalog.PageRequest) (*catalog.MediaPage, error)) *ACLViewCatalogAdapter_ListMedias_Call
- type ARepositoryAdapter
- func (_m *ARepositoryAdapter) AddLocation(owner string, id string, key string) error
- func (_m *ARepositoryAdapter) EXPECT() *ARepositoryAdapter_Expecter
- func (_m *ARepositoryAdapter) FindById(owner string, id string) (string, error)
- func (_m *ARepositoryAdapter) FindByIds(owner string, ids []string) (map[string]string, error)
- func (_m *ARepositoryAdapter) FindIdsFromKeyPrefix(keyPrefix string) (map[string]string, error)
- func (_m *ARepositoryAdapter) UpdateLocations(owner string, locations map[string]string) error
- type ARepositoryAdapter_AddLocation_Call
- func (_c *ARepositoryAdapter_AddLocation_Call) Return(_a0 error) *ARepositoryAdapter_AddLocation_Call
- func (_c *ARepositoryAdapter_AddLocation_Call) Run(run func(owner string, id string, key string)) *ARepositoryAdapter_AddLocation_Call
- func (_c *ARepositoryAdapter_AddLocation_Call) RunAndReturn(run func(string, string, string) error) *ARepositoryAdapter_AddLocation_Call
- type ARepositoryAdapter_Expecter
- func (_e *ARepositoryAdapter_Expecter) AddLocation(owner interface{}, id interface{}, key interface{}) *ARepositoryAdapter_AddLocation_Call
- func (_e *ARepositoryAdapter_Expecter) FindById(owner interface{}, id interface{}) *ARepositoryAdapter_FindById_Call
- func (_e *ARepositoryAdapter_Expecter) FindByIds(owner interface{}, ids interface{}) *ARepositoryAdapter_FindByIds_Call
- func (_e *ARepositoryAdapter_Expecter) FindIdsFromKeyPrefix(keyPrefix interface{}) *ARepositoryAdapter_FindIdsFromKeyPrefix_Call
- func (_e *ARepositoryAdapter_Expecter) UpdateLocations(owner interface{}, locations interface{}) *ARepositoryAdapter_UpdateLocations_Call
- type ARepositoryAdapter_FindById_Call
- func (_c *ARepositoryAdapter_FindById_Call) Return(_a0 string, _a1 error) *ARepositoryAdapter_FindById_Call
- func (_c *ARepositoryAdapter_FindById_Call) Run(run func(owner string, id string)) *ARepositoryAdapter_FindById_Call
- func (_c *ARepositoryAdapter_FindById_Call) RunAndReturn(run func(string, string) (string, error)) *ARepositoryAdapter_FindById_Call
- type ARepositoryAdapter_FindByIds_Call
- func (_c *ARepositoryAdapter_FindByIds_Call) Return(_a0 map[string]string, _a1 error) *ARepositoryAdapter_FindByIds_Call
- func (_c *ARepositoryAdapter_FindByIds_Call) Run(run func(owner string, ids []string)) *ARepositoryAdapter_FindByIds_Call
- func (_c *ARepositoryAdapter_FindByIds_Call) RunAndReturn(run func(string, []string) (map[string]string, error)) *ARepositoryAdapter_FindByIds_Call
- type ARepositoryAdapter_FindIdsFromKeyPrefix_Call
- func (_c *ARepositoryAdapter_FindIdsFromKeyPrefix_Call) Return(_a0 map[string]string, _a1 error) *ARepositoryAdapter_FindIdsFromKeyPrefix_Call
- func (_c *ARepositoryAdapter_FindIdsFromKeyPrefix_Call) Run(run func(keyPrefix string)) *ARepositoryAdapter_FindIdsFromKeyPrefix_Call
- func (_c *ARepositoryAdapter_FindIdsFromKeyPrefix_Call) RunAndReturn(run func(string) (map[string]string, error)) *ARepositoryAdapter_FindIdsFromKeyPrefix_Call
- type ARepositoryAdapter_UpdateLocations_Call
- func (_c *ARepositoryAdapter_UpdateLocations_Call) Return(_a0 error) *ARepositoryAdapter_UpdateLocations_Call
- func (_c *ARepositoryAdapter_UpdateLocations_Call) Run(run func(owner string, locations map[string]string)) *ARepositoryAdapter_UpdateLocations_Call
- func (_c *ARepositoryAdapter_UpdateLocations_Call) RunAndReturn(run func(string, map[string]string) error) *ARepositoryAdapter_UpdateLocations_Call
- type AWSAdapterNames
- func (_m *AWSAdapterNames) ArchiveCacheBucketName() string
- func (_m *AWSAdapterNames) ArchiveJobsSNSARN() string
- func (_m *AWSAdapterNames) ArchiveJobsSQSURL() string
- func (_m *AWSAdapterNames) ArchiveMainBucketName() string
- func (_m *AWSAdapterNames) DynamoDBName() string
- func (_m *AWSAdapterNames) EXPECT() *AWSAdapterNames_Expecter
- type AWSAdapterNames_ArchiveCacheBucketName_Call
- func (_c *AWSAdapterNames_ArchiveCacheBucketName_Call) Return(_a0 string) *AWSAdapterNames_ArchiveCacheBucketName_Call
- func (_c *AWSAdapterNames_ArchiveCacheBucketName_Call) Run(run func()) *AWSAdapterNames_ArchiveCacheBucketName_Call
- func (_c *AWSAdapterNames_ArchiveCacheBucketName_Call) RunAndReturn(run func() string) *AWSAdapterNames_ArchiveCacheBucketName_Call
- type AWSAdapterNames_ArchiveJobsSNSARN_Call
- func (_c *AWSAdapterNames_ArchiveJobsSNSARN_Call) Return(_a0 string) *AWSAdapterNames_ArchiveJobsSNSARN_Call
- func (_c *AWSAdapterNames_ArchiveJobsSNSARN_Call) Run(run func()) *AWSAdapterNames_ArchiveJobsSNSARN_Call
- func (_c *AWSAdapterNames_ArchiveJobsSNSARN_Call) RunAndReturn(run func() string) *AWSAdapterNames_ArchiveJobsSNSARN_Call
- type AWSAdapterNames_ArchiveJobsSQSURL_Call
- func (_c *AWSAdapterNames_ArchiveJobsSQSURL_Call) Return(_a0 string) *AWSAdapterNames_ArchiveJobsSQSURL_Call
- func (_c *AWSAdapterNames_ArchiveJobsSQSURL_Call) Run(run func()) *AWSAdapterNames_ArchiveJobsSQSURL_Call
- func (_c *AWSAdapterNames_ArchiveJobsSQSURL_Call) RunAndReturn(run func() string) *AWSAdapterNames_ArchiveJobsSQSURL_Call
- type AWSAdapterNames_ArchiveMainBucketName_Call
- func (_c *AWSAdapterNames_ArchiveMainBucketName_Call) Return(_a0 string) *AWSAdapterNames_ArchiveMainBucketName_Call
- func (_c *AWSAdapterNames_ArchiveMainBucketName_Call) Run(run func()) *AWSAdapterNames_ArchiveMainBucketName_Call
- func (_c *AWSAdapterNames_ArchiveMainBucketName_Call) RunAndReturn(run func() string) *AWSAdapterNames_ArchiveMainBucketName_Call
- type AWSAdapterNames_DynamoDBName_Call
- func (_c *AWSAdapterNames_DynamoDBName_Call) Return(_a0 string) *AWSAdapterNames_DynamoDBName_Call
- func (_c *AWSAdapterNames_DynamoDBName_Call) Run(run func()) *AWSAdapterNames_DynamoDBName_Call
- func (_c *AWSAdapterNames_DynamoDBName_Call) RunAndReturn(run func() string) *AWSAdapterNames_DynamoDBName_Call
- type AWSAdapterNames_Expecter
- func (_e *AWSAdapterNames_Expecter) ArchiveCacheBucketName() *AWSAdapterNames_ArchiveCacheBucketName_Call
- func (_e *AWSAdapterNames_Expecter) ArchiveJobsSNSARN() *AWSAdapterNames_ArchiveJobsSNSARN_Call
- func (_e *AWSAdapterNames_Expecter) ArchiveJobsSQSURL() *AWSAdapterNames_ArchiveJobsSQSURL_Call
- func (_e *AWSAdapterNames_Expecter) ArchiveMainBucketName() *AWSAdapterNames_ArchiveMainBucketName_Call
- func (_e *AWSAdapterNames_Expecter) DynamoDBName() *AWSAdapterNames_DynamoDBName_Call
- type AlbumDatesAmendedObserver
- type AlbumDatesAmendedObserverFunc
- type AlbumDatesAmendedObserverFunc_Execute_Call
- func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) Return(_a0 error) *AlbumDatesAmendedObserverFunc_Execute_Call
- func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) Run(run func(ctx context.Context, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserverFunc_Execute_Call
- func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.DatesUpdate) error) *AlbumDatesAmendedObserverFunc_Execute_Call
- type AlbumDatesAmendedObserverFunc_Expecter
- type AlbumDatesAmendedObserverWithTimeline
- type AlbumDatesAmendedObserverWithTimeline_Expecter
- type AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
- func (_c *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Return(_a0 error) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
- func (_c *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, ...)) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
- func (_c *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) RunAndReturn(...) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
- type AlbumDatesAmendedObserver_Expecter
- type AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
- func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Return(_a0 error) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
- func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Run(run func(ctx context.Context, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
- func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) RunAndReturn(run func(context.Context, catalog.DatesUpdate) error) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
- type AlbumLookupPort
- type AlbumLookupPort_Expecter
- type AlbumLookupPort_FindOrCreateAlbum_Call
- func (_c *AlbumLookupPort_FindOrCreateAlbum_Call) Return(folderName string, created bool, err error) *AlbumLookupPort_FindOrCreateAlbum_Call
- func (_c *AlbumLookupPort_FindOrCreateAlbum_Call) Run(run func(owner ownermodel.Owner, mediaTime time.Time)) *AlbumLookupPort_FindOrCreateAlbum_Call
- func (_c *AlbumLookupPort_FindOrCreateAlbum_Call) RunAndReturn(run func(ownermodel.Owner, time.Time) (string, bool, error)) *AlbumLookupPort_FindOrCreateAlbum_Call
- type AlbumLookupStrategy
- type AlbumLookupStrategy_Expecter
- type AlbumLookupStrategy_LookupAlbum_Call
- func (_c *AlbumLookupStrategy_LookupAlbum_Call) Return(_a0 catalog.AlbumReference, _a1 error) *AlbumLookupStrategy_LookupAlbum_Call
- func (_c *AlbumLookupStrategy_LookupAlbum_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *AlbumLookupStrategy_LookupAlbum_Call
- func (_c *AlbumLookupStrategy_LookupAlbum_Call) RunAndReturn(...) *AlbumLookupStrategy_LookupAlbum_Call
- type AlbumSharedObserver
- type AlbumSharedObserver_AlbumShared_Call
- func (_c *AlbumSharedObserver_AlbumShared_Call) Return(_a0 error) *AlbumSharedObserver_AlbumShared_Call
- func (_c *AlbumSharedObserver_AlbumShared_Call) Run(...) *AlbumSharedObserver_AlbumShared_Call
- func (_c *AlbumSharedObserver_AlbumShared_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, usermodel.UserId) error) *AlbumSharedObserver_AlbumShared_Call
- type AlbumSharedObserver_Expecter
- type AlbumUnSharedObserver
- type AlbumUnSharedObserver_AlbumUnShared_Call
- func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) Return(_a0 error) *AlbumUnSharedObserver_AlbumUnShared_Call
- func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) Run(...) *AlbumUnSharedObserver_AlbumUnShared_Call
- func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, usermodel.UserId) error) *AlbumUnSharedObserver_AlbumUnShared_Call
- type AlbumUnSharedObserver_Expecter
- type AmendAlbumDateRepositoryPort
- type AmendAlbumDateRepositoryPort_AmendDates_Call
- func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) Return(_a0 error) *AmendAlbumDateRepositoryPort_AmendDates_Call
- func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) Run(...) *AmendAlbumDateRepositoryPort_AmendDates_Call
- func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, time.Time, time.Time) error) *AmendAlbumDateRepositoryPort_AmendDates_Call
- type AmendAlbumDateRepositoryPort_Expecter
- type AmendAlbumDatesWithTimeline
- type AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
- func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Return(_a0 error) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
- func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, ...)) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
- func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) RunAndReturn(...) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
- type AmendAlbumDatesWithTimeline_Expecter
- type AnalyserDecorator
- type AnalyserDecorator_Decorate_Call
- func (_c *AnalyserDecorator_Decorate_Call) Return(_a0 backup.Analyser) *AnalyserDecorator_Decorate_Call
- func (_c *AnalyserDecorator_Decorate_Call) Run(run func(analyseFunc backup.Analyser)) *AnalyserDecorator_Decorate_Call
- func (_c *AnalyserDecorator_Decorate_Call) RunAndReturn(run func(backup.Analyser) backup.Analyser) *AnalyserDecorator_Decorate_Call
- type AnalyserDecorator_Expecter
- type AsyncJobAdapter
- type AsyncJobAdapter_Expecter
- type AsyncJobAdapter_LoadImagesInCache_Call
- func (_c *AsyncJobAdapter_LoadImagesInCache_Call) Return(_a0 error) *AsyncJobAdapter_LoadImagesInCache_Call
- func (_c *AsyncJobAdapter_LoadImagesInCache_Call) Run(run func(images ...*archive.ImageToResize)) *AsyncJobAdapter_LoadImagesInCache_Call
- func (_c *AsyncJobAdapter_LoadImagesInCache_Call) RunAndReturn(run func(...*archive.ImageToResize) error) *AsyncJobAdapter_LoadImagesInCache_Call
- type AsyncJobAdapter_WarmUpCacheByFolder_Call
- func (_c *AsyncJobAdapter_WarmUpCacheByFolder_Call) Return(_a0 error) *AsyncJobAdapter_WarmUpCacheByFolder_Call
- func (_c *AsyncJobAdapter_WarmUpCacheByFolder_Call) Run(run func(owner string, missedStoreKey string, width int)) *AsyncJobAdapter_WarmUpCacheByFolder_Call
- func (_c *AsyncJobAdapter_WarmUpCacheByFolder_Call) RunAndReturn(run func(string, string, int) error) *AsyncJobAdapter_WarmUpCacheByFolder_Call
- type BArchiveAdapter
- type BArchiveAdapter_ArchiveMedia_Call
- func (_c *BArchiveAdapter_ArchiveMedia_Call) Return(_a0 string, _a1 error) *BArchiveAdapter_ArchiveMedia_Call
- func (_c *BArchiveAdapter_ArchiveMedia_Call) Run(run func(owner string, media *backup.BackingUpMediaRequest)) *BArchiveAdapter_ArchiveMedia_Call
- func (_c *BArchiveAdapter_ArchiveMedia_Call) RunAndReturn(run func(string, *backup.BackingUpMediaRequest) (string, error)) *BArchiveAdapter_ArchiveMedia_Call
- type BArchiveAdapter_Expecter
- type BackupSuggestionPort
- type BackupSuggestionPort_BackupSuggestion_Call
- func (_c *BackupSuggestionPort_BackupSuggestion_Call) Return(_a0 error) *BackupSuggestionPort_BackupSuggestion_Call
- func (_c *BackupSuggestionPort_BackupSuggestion_Call) Run(run func(record *ui.SuggestionRecord, existing *ui.ExistingRecord, ...)) *BackupSuggestionPort_BackupSuggestion_Call
- func (_c *BackupSuggestionPort_BackupSuggestion_Call) RunAndReturn(...) *BackupSuggestionPort_BackupSuggestion_Call
- type BackupSuggestionPort_Expecter
- type CacheAdapter
- func (_m *CacheAdapter) EXPECT() *CacheAdapter_Expecter
- func (_m *CacheAdapter) Get(key string) (io.ReadCloser, int, string, error)
- func (_m *CacheAdapter) Put(key string, mediaType string, content io.Reader) error
- func (_m *CacheAdapter) SignedURL(key string, duration time.Duration) (string, error)
- func (_m *CacheAdapter) WalkCacheByPrefix(prefix string, observer func(string)) error
- type CacheAdapter_Expecter
- func (_e *CacheAdapter_Expecter) Get(key interface{}) *CacheAdapter_Get_Call
- func (_e *CacheAdapter_Expecter) Put(key interface{}, mediaType interface{}, content interface{}) *CacheAdapter_Put_Call
- func (_e *CacheAdapter_Expecter) SignedURL(key interface{}, duration interface{}) *CacheAdapter_SignedURL_Call
- func (_e *CacheAdapter_Expecter) WalkCacheByPrefix(prefix interface{}, observer interface{}) *CacheAdapter_WalkCacheByPrefix_Call
- type CacheAdapter_Get_Call
- func (_c *CacheAdapter_Get_Call) Return(_a0 io.ReadCloser, _a1 int, _a2 string, _a3 error) *CacheAdapter_Get_Call
- func (_c *CacheAdapter_Get_Call) Run(run func(key string)) *CacheAdapter_Get_Call
- func (_c *CacheAdapter_Get_Call) RunAndReturn(run func(string) (io.ReadCloser, int, string, error)) *CacheAdapter_Get_Call
- type CacheAdapter_Put_Call
- func (_c *CacheAdapter_Put_Call) Return(_a0 error) *CacheAdapter_Put_Call
- func (_c *CacheAdapter_Put_Call) Run(run func(key string, mediaType string, content io.Reader)) *CacheAdapter_Put_Call
- func (_c *CacheAdapter_Put_Call) RunAndReturn(run func(string, string, io.Reader) error) *CacheAdapter_Put_Call
- type CacheAdapter_SignedURL_Call
- func (_c *CacheAdapter_SignedURL_Call) Return(_a0 string, _a1 error) *CacheAdapter_SignedURL_Call
- func (_c *CacheAdapter_SignedURL_Call) Run(run func(key string, duration time.Duration)) *CacheAdapter_SignedURL_Call
- func (_c *CacheAdapter_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *CacheAdapter_SignedURL_Call
- type CacheAdapter_WalkCacheByPrefix_Call
- func (_c *CacheAdapter_WalkCacheByPrefix_Call) Return(_a0 error) *CacheAdapter_WalkCacheByPrefix_Call
- func (_c *CacheAdapter_WalkCacheByPrefix_Call) Run(run func(prefix string, observer func(string))) *CacheAdapter_WalkCacheByPrefix_Call
- func (_c *CacheAdapter_WalkCacheByPrefix_Call) RunAndReturn(run func(string, func(string)) error) *CacheAdapter_WalkCacheByPrefix_Call
- type CatalogAdapter
- type CatalogAdapter_Expecter
- type CatalogAdapter_IndexMedias_Call
- func (_c *CatalogAdapter_IndexMedias_Call) Return(_a0 error) *CatalogAdapter_IndexMedias_Call
- func (_c *CatalogAdapter_IndexMedias_Call) Run(run func(owner string, requests []*backup.CatalogMediaRequest)) *CatalogAdapter_IndexMedias_Call
- func (_c *CatalogAdapter_IndexMedias_Call) RunAndReturn(run func(string, []*backup.CatalogMediaRequest) error) *CatalogAdapter_IndexMedias_Call
- type CatalogInsertMedia
- type CatalogInsertMedia_Expecter
- type CatalogInsertMedia_Insert_Call
- func (_c *CatalogInsertMedia_Insert_Call) Return(_a0 error) *CatalogInsertMedia_Insert_Call
- func (_c *CatalogInsertMedia_Insert_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *CatalogInsertMedia_Insert_Call
- func (_c *CatalogInsertMedia_Insert_Call) RunAndReturn(...) *CatalogInsertMedia_Insert_Call
- type CatalogReference
- func (_m *CatalogReference) AlbumCreated() bool
- func (_m *CatalogReference) AlbumFolderName() string
- func (_m *CatalogReference) EXPECT() *CatalogReference_Expecter
- func (_m *CatalogReference) Exists() bool
- func (_m *CatalogReference) MediaId() string
- func (_m *CatalogReference) UniqueIdentifier() string
- type CatalogReference_AlbumCreated_Call
- func (_c *CatalogReference_AlbumCreated_Call) Return(_a0 bool) *CatalogReference_AlbumCreated_Call
- func (_c *CatalogReference_AlbumCreated_Call) Run(run func()) *CatalogReference_AlbumCreated_Call
- func (_c *CatalogReference_AlbumCreated_Call) RunAndReturn(run func() bool) *CatalogReference_AlbumCreated_Call
- type CatalogReference_AlbumFolderName_Call
- func (_c *CatalogReference_AlbumFolderName_Call) Return(_a0 string) *CatalogReference_AlbumFolderName_Call
- func (_c *CatalogReference_AlbumFolderName_Call) Run(run func()) *CatalogReference_AlbumFolderName_Call
- func (_c *CatalogReference_AlbumFolderName_Call) RunAndReturn(run func() string) *CatalogReference_AlbumFolderName_Call
- type CatalogReference_Exists_Call
- type CatalogReference_Expecter
- func (_e *CatalogReference_Expecter) AlbumCreated() *CatalogReference_AlbumCreated_Call
- func (_e *CatalogReference_Expecter) AlbumFolderName() *CatalogReference_AlbumFolderName_Call
- func (_e *CatalogReference_Expecter) Exists() *CatalogReference_Exists_Call
- func (_e *CatalogReference_Expecter) MediaId() *CatalogReference_MediaId_Call
- func (_e *CatalogReference_Expecter) UniqueIdentifier() *CatalogReference_UniqueIdentifier_Call
- type CatalogReference_MediaId_Call
- type CatalogReference_UniqueIdentifier_Call
- func (_c *CatalogReference_UniqueIdentifier_Call) Return(_a0 string) *CatalogReference_UniqueIdentifier_Call
- func (_c *CatalogReference_UniqueIdentifier_Call) Run(run func()) *CatalogReference_UniqueIdentifier_Call
- func (_c *CatalogReference_UniqueIdentifier_Call) RunAndReturn(run func() string) *CatalogReference_UniqueIdentifier_Call
- type CatalogReferencer
- type CatalogReferencer_Expecter
- type CatalogReferencer_Reference_Call
- func (_c *CatalogReferencer_Reference_Call) Return(_a0 map[*backup.AnalysedMedia]backup.CatalogReference, _a1 error) *CatalogReferencer_Reference_Call
- func (_c *CatalogReferencer_Reference_Call) Run(run func(ctx context.Context, medias []*backup.AnalysedMedia)) *CatalogReferencer_Reference_Call
- func (_c *CatalogReferencer_Reference_Call) RunAndReturn(...) *CatalogReferencer_Reference_Call
- type CatalogRules
- func (_m *CatalogRules) CanListMediasFromAlbum(id catalog.AlbumId) error
- func (_m *CatalogRules) CanManageAlbum(id catalog.AlbumId) error
- func (_m *CatalogRules) CanReadMedia(owner ownermodel.Owner, id catalog.MediaId) error
- func (_m *CatalogRules) EXPECT() *CatalogRules_Expecter
- func (_m *CatalogRules) Owner() (*ownermodel.Owner, error)
- func (_m *CatalogRules) SharedByUserGrid(owner ownermodel.Owner) (map[string]map[usermodel.UserId]aclcore.ScopeType, error)
- func (_m *CatalogRules) SharedWithUserAlbum() ([]catalog.AlbumId, error)
- type CatalogRules_CanListMediasFromAlbum_Call
- func (_c *CatalogRules_CanListMediasFromAlbum_Call) Return(_a0 error) *CatalogRules_CanListMediasFromAlbum_Call
- func (_c *CatalogRules_CanListMediasFromAlbum_Call) Run(run func(id catalog.AlbumId)) *CatalogRules_CanListMediasFromAlbum_Call
- func (_c *CatalogRules_CanListMediasFromAlbum_Call) RunAndReturn(run func(catalog.AlbumId) error) *CatalogRules_CanListMediasFromAlbum_Call
- type CatalogRules_CanManageAlbum_Call
- func (_c *CatalogRules_CanManageAlbum_Call) Return(_a0 error) *CatalogRules_CanManageAlbum_Call
- func (_c *CatalogRules_CanManageAlbum_Call) Run(run func(id catalog.AlbumId)) *CatalogRules_CanManageAlbum_Call
- func (_c *CatalogRules_CanManageAlbum_Call) RunAndReturn(run func(catalog.AlbumId) error) *CatalogRules_CanManageAlbum_Call
- type CatalogRules_CanReadMedia_Call
- func (_c *CatalogRules_CanReadMedia_Call) Return(_a0 error) *CatalogRules_CanReadMedia_Call
- func (_c *CatalogRules_CanReadMedia_Call) Run(run func(owner ownermodel.Owner, id catalog.MediaId)) *CatalogRules_CanReadMedia_Call
- func (_c *CatalogRules_CanReadMedia_Call) RunAndReturn(run func(ownermodel.Owner, catalog.MediaId) error) *CatalogRules_CanReadMedia_Call
- type CatalogRules_Expecter
- func (_e *CatalogRules_Expecter) CanListMediasFromAlbum(id interface{}) *CatalogRules_CanListMediasFromAlbum_Call
- func (_e *CatalogRules_Expecter) CanManageAlbum(id interface{}) *CatalogRules_CanManageAlbum_Call
- func (_e *CatalogRules_Expecter) CanReadMedia(owner interface{}, id interface{}) *CatalogRules_CanReadMedia_Call
- func (_e *CatalogRules_Expecter) Owner() *CatalogRules_Owner_Call
- func (_e *CatalogRules_Expecter) SharedByUserGrid(owner interface{}) *CatalogRules_SharedByUserGrid_Call
- func (_e *CatalogRules_Expecter) SharedWithUserAlbum() *CatalogRules_SharedWithUserAlbum_Call
- type CatalogRules_Owner_Call
- type CatalogRules_SharedByUserGrid_Call
- func (_c *CatalogRules_SharedByUserGrid_Call) Return(_a0 map[string]map[usermodel.UserId]aclcore.ScopeType, _a1 error) *CatalogRules_SharedByUserGrid_Call
- func (_c *CatalogRules_SharedByUserGrid_Call) Run(run func(owner ownermodel.Owner)) *CatalogRules_SharedByUserGrid_Call
- func (_c *CatalogRules_SharedByUserGrid_Call) RunAndReturn(...) *CatalogRules_SharedByUserGrid_Call
- type CatalogRules_SharedWithUserAlbum_Call
- func (_c *CatalogRules_SharedWithUserAlbum_Call) Return(_a0 []catalog.AlbumId, _a1 error) *CatalogRules_SharedWithUserAlbum_Call
- func (_c *CatalogRules_SharedWithUserAlbum_Call) Run(run func()) *CatalogRules_SharedWithUserAlbum_Call
- func (_c *CatalogRules_SharedWithUserAlbum_Call) RunAndReturn(run func() ([]catalog.AlbumId, error)) *CatalogRules_SharedWithUserAlbum_Call
- type CatalogerFilter
- type CatalogerFilterFunc
- type CatalogerFilterFunc_Execute_Call
- func (_c *CatalogerFilterFunc_Execute_Call) Return(_a0 backup.ProgressEventType, _a1 bool) *CatalogerFilterFunc_Execute_Call
- func (_c *CatalogerFilterFunc_Execute_Call) Run(run func(media backup.AnalysedMedia, reference backup.CatalogReference)) *CatalogerFilterFunc_Execute_Call
- func (_c *CatalogerFilterFunc_Execute_Call) RunAndReturn(...) *CatalogerFilterFunc_Execute_Call
- type CatalogerFilterFunc_Expecter
- type CatalogerFilter_Expecter
- type CatalogerFilter_FilterOut_Call
- func (_c *CatalogerFilter_FilterOut_Call) Return(_a0 backup.ProgressEventType, _a1 bool) *CatalogerFilter_FilterOut_Call
- func (_c *CatalogerFilter_FilterOut_Call) Run(run func(media backup.AnalysedMedia, reference backup.CatalogReference)) *CatalogerFilter_FilterOut_Call
- func (_c *CatalogerFilter_FilterOut_Call) RunAndReturn(...) *CatalogerFilter_FilterOut_Call
- type CertificateAuthority
- type CertificateAuthority_Expecter
- type CertificateAuthority_RequestCertificate_Call
- func (_c *CertificateAuthority_RequestCertificate_Call) Return(_a0 *dnsdomain.CompleteCertificate, _a1 error) *CertificateAuthority_RequestCertificate_Call
- func (_c *CertificateAuthority_RequestCertificate_Call) Run(run func(ctx context.Context, email string, domain string)) *CertificateAuthority_RequestCertificate_Call
- func (_c *CertificateAuthority_RequestCertificate_Call) RunAndReturn(...) *CertificateAuthority_RequestCertificate_Call
- type CertificateManager
- func (_m *CertificateManager) EXPECT() *CertificateManager_Expecter
- func (_m *CertificateManager) FindCertificate(ctx context.Context, domain string) (*dnsdomain.ExistingCertificate, error)
- func (_m *CertificateManager) InstallCertificate(ctx context.Context, id string, certificate dnsdomain.CompleteCertificate) error
- type CertificateManager_Expecter
- type CertificateManager_FindCertificate_Call
- func (_c *CertificateManager_FindCertificate_Call) Return(_a0 *dnsdomain.ExistingCertificate, _a1 error) *CertificateManager_FindCertificate_Call
- func (_c *CertificateManager_FindCertificate_Call) Run(run func(ctx context.Context, domain string)) *CertificateManager_FindCertificate_Call
- func (_c *CertificateManager_FindCertificate_Call) RunAndReturn(run func(context.Context, string) (*dnsdomain.ExistingCertificate, error)) *CertificateManager_FindCertificate_Call
- type CertificateManager_InstallCertificate_Call
- func (_c *CertificateManager_InstallCertificate_Call) Return(_a0 error) *CertificateManager_InstallCertificate_Call
- func (_c *CertificateManager_InstallCertificate_Call) Run(...) *CertificateManager_InstallCertificate_Call
- func (_c *CertificateManager_InstallCertificate_Call) RunAndReturn(run func(context.Context, string, dnsdomain.CompleteCertificate) error) *CertificateManager_InstallCertificate_Call
- type ClosableFoundMedia
- type ClosableFoundMedia_Close_Call
- type ClosableFoundMedia_Expecter
- type CompletionReport
- type CompletionReport_CountPerAlbum_Call
- func (_c *CompletionReport_CountPerAlbum_Call) Return(_a0 map[string]*backup.TypeCounter) *CompletionReport_CountPerAlbum_Call
- func (_c *CompletionReport_CountPerAlbum_Call) Run(run func()) *CompletionReport_CountPerAlbum_Call
- func (_c *CompletionReport_CountPerAlbum_Call) RunAndReturn(run func() map[string]*backup.TypeCounter) *CompletionReport_CountPerAlbum_Call
- type CompletionReport_Expecter
- type CompletionReport_NewAlbums_Call
- type CompletionReport_Skipped_Call
- func (_c *CompletionReport_Skipped_Call) Return(_a0 backup.MediaCounter) *CompletionReport_Skipped_Call
- func (_c *CompletionReport_Skipped_Call) Run(run func()) *CompletionReport_Skipped_Call
- func (_c *CompletionReport_Skipped_Call) RunAndReturn(run func() backup.MediaCounter) *CompletionReport_Skipped_Call
- type Config
- func (_m *Config) EXPECT() *Config_Expecter
- func (_m *Config) Get(key string) interface{}
- func (_m *Config) GetAWSFactory() *awsfactory.ClientsFactory
- func (_m *Config) GetAWSV2Config() aws.Config
- func (_m *Config) GetBool(key string) bool
- func (_m *Config) GetInt(key string) int
- func (_m *Config) GetIntOrDefault(key string, defaultValue int) int
- func (_m *Config) GetString(key string) string
- func (_m *Config) GetStringOrDefault(key string, defaultValue string) string
- type ConfigFactory
- type ConfigFactoryFunc
- type ConfigFactoryFunc_Execute_Call
- func (_c *ConfigFactoryFunc_Execute_Call) Return(_a0 aws.Config, _a1 error) *ConfigFactoryFunc_Execute_Call
- func (_c *ConfigFactoryFunc_Execute_Call) Run(run func(ctx context.Context)) *ConfigFactoryFunc_Execute_Call
- func (_c *ConfigFactoryFunc_Execute_Call) RunAndReturn(run func(context.Context) (aws.Config, error)) *ConfigFactoryFunc_Execute_Call
- type ConfigFactoryFunc_Expecter
- type ConfigFactory_Expecter
- type ConfigFactory_NewConfig_Call
- func (_c *ConfigFactory_NewConfig_Call) Return(_a0 aws.Config, _a1 error) *ConfigFactory_NewConfig_Call
- func (_c *ConfigFactory_NewConfig_Call) Run(run func(ctx context.Context)) *ConfigFactory_NewConfig_Call
- func (_c *ConfigFactory_NewConfig_Call) RunAndReturn(run func(context.Context) (aws.Config, error)) *ConfigFactory_NewConfig_Call
- type Config_Expecter
- func (_e *Config_Expecter) Get(key interface{}) *Config_Get_Call
- func (_e *Config_Expecter) GetAWSFactory() *Config_GetAWSFactory_Call
- func (_e *Config_Expecter) GetAWSV2Config() *Config_GetAWSV2Config_Call
- func (_e *Config_Expecter) GetBool(key interface{}) *Config_GetBool_Call
- func (_e *Config_Expecter) GetInt(key interface{}) *Config_GetInt_Call
- func (_e *Config_Expecter) GetIntOrDefault(key interface{}, defaultValue interface{}) *Config_GetIntOrDefault_Call
- func (_e *Config_Expecter) GetString(key interface{}) *Config_GetString_Call
- func (_e *Config_Expecter) GetStringOrDefault(key interface{}, defaultValue interface{}) *Config_GetStringOrDefault_Call
- type Config_GetAWSFactory_Call
- type Config_GetAWSV2Config_Call
- type Config_GetBool_Call
- type Config_GetIntOrDefault_Call
- func (_c *Config_GetIntOrDefault_Call) Return(_a0 int) *Config_GetIntOrDefault_Call
- func (_c *Config_GetIntOrDefault_Call) Run(run func(key string, defaultValue int)) *Config_GetIntOrDefault_Call
- func (_c *Config_GetIntOrDefault_Call) RunAndReturn(run func(string, int) int) *Config_GetIntOrDefault_Call
- type Config_GetInt_Call
- type Config_GetStringOrDefault_Call
- func (_c *Config_GetStringOrDefault_Call) Return(_a0 string) *Config_GetStringOrDefault_Call
- func (_c *Config_GetStringOrDefault_Call) Run(run func(key string, defaultValue string)) *Config_GetStringOrDefault_Call
- func (_c *Config_GetStringOrDefault_Call) RunAndReturn(run func(string, string) string) *Config_GetStringOrDefault_Call
- type Config_GetString_Call
- type Config_Get_Call
- type CountMediasBySelectorsFunc
- type CountMediasBySelectorsFunc_Execute_Call
- func (_c *CountMediasBySelectorsFunc_Execute_Call) Return(_a0 int, _a1 error) *CountMediasBySelectorsFunc_Execute_Call
- func (_c *CountMediasBySelectorsFunc_Execute_Call) Run(...) *CountMediasBySelectorsFunc_Execute_Call
- func (_c *CountMediasBySelectorsFunc_Execute_Call) RunAndReturn(...) *CountMediasBySelectorsFunc_Execute_Call
- type CountMediasBySelectorsFunc_Expecter
- type CountMediasBySelectorsPort
- type CountMediasBySelectorsPort_CountMediasBySelectors_Call
- func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) Return(_a0 int, _a1 error) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
- func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) Run(...) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
- func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) RunAndReturn(...) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
- type CountMediasBySelectorsPort_Expecter
- type CreateAlbumObserver
- type CreateAlbumObserverFunc
- type CreateAlbumObserverFunc_Execute_Call
- func (_c *CreateAlbumObserverFunc_Execute_Call) Return(_a0 error) *CreateAlbumObserverFunc_Execute_Call
- func (_c *CreateAlbumObserverFunc_Execute_Call) Run(run func(ctx context.Context, createdAlbum catalog.Album)) *CreateAlbumObserverFunc_Execute_Call
- func (_c *CreateAlbumObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *CreateAlbumObserverFunc_Execute_Call
- type CreateAlbumObserverFunc_Expecter
- type CreateAlbumObserverWithTimeline
- type CreateAlbumObserverWithTimeline_Expecter
- type CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Return(_a0 error) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, ...)) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) RunAndReturn(run func(context.Context, *catalog.TimelineAggregate, catalog.Album) error) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
- type CreateAlbumObserver_Expecter
- type CreateAlbumObserver_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) Return(_a0 error) *CreateAlbumObserver_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) Run(run func(ctx context.Context, createdAlbum catalog.Album)) *CreateAlbumObserver_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *CreateAlbumObserver_ObserveCreateAlbum_Call
- type CreateAlbumPort
- type CreateAlbumPort_Create_Call
- func (_c *CreateAlbumPort_Create_Call) Return(_a0 error) *CreateAlbumPort_Create_Call
- func (_c *CreateAlbumPort_Create_Call) Run(run func(createRequest ui.RecordCreation)) *CreateAlbumPort_Create_Call
- func (_c *CreateAlbumPort_Create_Call) RunAndReturn(run func(ui.RecordCreation) error) *CreateAlbumPort_Create_Call
- type CreateAlbumPort_Expecter
- type CreateAlbumWithTimeline
- type CreateAlbumWithTimeline_Create_Call
- func (_c *CreateAlbumWithTimeline_Create_Call) Return(_a0 *catalog.AlbumId, _a1 error) *CreateAlbumWithTimeline_Create_Call
- func (_c *CreateAlbumWithTimeline_Create_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, ...)) *CreateAlbumWithTimeline_Create_Call
- func (_c *CreateAlbumWithTimeline_Create_Call) RunAndReturn(...) *CreateAlbumWithTimeline_Create_Call
- type CreateAlbumWithTimeline_Expecter
- type DeleteAlbumObserver
- type DeleteAlbumObserver_Expecter
- type DeleteAlbumObserver_OnDeleteAlbum_Call
- func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) Return(_a0 error) *DeleteAlbumObserver_OnDeleteAlbum_Call
- func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) Run(run func(ctx context.Context, deletedAlbum catalog.AlbumId, ...)) *DeleteAlbumObserver_OnDeleteAlbum_Call
- func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.MediaTransferRecords) error) *DeleteAlbumObserver_OnDeleteAlbum_Call
- type DeleteAlbumPort
- type DeleteAlbumPort_DeleteAlbum_Call
- func (_c *DeleteAlbumPort_DeleteAlbum_Call) Return(_a0 error) *DeleteAlbumPort_DeleteAlbum_Call
- func (_c *DeleteAlbumPort_DeleteAlbum_Call) Run(run func(folderName string)) *DeleteAlbumPort_DeleteAlbum_Call
- func (_c *DeleteAlbumPort_DeleteAlbum_Call) RunAndReturn(run func(string) error) *DeleteAlbumPort_DeleteAlbum_Call
- type DeleteAlbumPort_Expecter
- type DeleteAlbumRepositoryFunc
- type DeleteAlbumRepositoryFunc_Execute_Call
- func (_c *DeleteAlbumRepositoryFunc_Execute_Call) Return(_a0 error) *DeleteAlbumRepositoryFunc_Execute_Call
- func (_c *DeleteAlbumRepositoryFunc_Execute_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *DeleteAlbumRepositoryFunc_Execute_Call
- func (_c *DeleteAlbumRepositoryFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *DeleteAlbumRepositoryFunc_Execute_Call
- type DeleteAlbumRepositoryFunc_Expecter
- type DeleteAlbumRepositoryPort
- type DeleteAlbumRepositoryPort_DeleteAlbum_Call
- func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) Return(_a0 error) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
- func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
- func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
- type DeleteAlbumRepositoryPort_Expecter
- type DetailsReaderAdapter
- type DetailsReaderAdapter_Expecter
- type DetailsReaderAdapter_ReadDetails_Call
- func (_c *DetailsReaderAdapter_ReadDetails_Call) Return(_a0 *backup.MediaDetails, _a1 error) *DetailsReaderAdapter_ReadDetails_Call
- func (_c *DetailsReaderAdapter_ReadDetails_Call) Run(run func(reader io.Reader, options backup.DetailsReaderOptions)) *DetailsReaderAdapter_ReadDetails_Call
- func (_c *DetailsReaderAdapter_ReadDetails_Call) RunAndReturn(run func(io.Reader, backup.DetailsReaderOptions) (*backup.MediaDetails, error)) *DetailsReaderAdapter_ReadDetails_Call
- type DetailsReaderAdapter_Supports_Call
- func (_c *DetailsReaderAdapter_Supports_Call) Return(_a0 bool) *DetailsReaderAdapter_Supports_Call
- func (_c *DetailsReaderAdapter_Supports_Call) Run(run func(media backup.FoundMedia, mediaType backup.MediaType)) *DetailsReaderAdapter_Supports_Call
- func (_c *DetailsReaderAdapter_Supports_Call) RunAndReturn(run func(backup.FoundMedia, backup.MediaType) bool) *DetailsReaderAdapter_Supports_Call
- type DynamoBatchGetItem
- type DynamoBatchGetItem_BatchGetItem_Call
- func (_c *DynamoBatchGetItem_BatchGetItem_Call) Return(_a0 *dynamodb.BatchGetItemOutput, _a1 error) *DynamoBatchGetItem_BatchGetItem_Call
- func (_c *DynamoBatchGetItem_BatchGetItem_Call) Run(run func(ctx context.Context, params *dynamodb.BatchGetItemInput, ...)) *DynamoBatchGetItem_BatchGetItem_Call
- func (_c *DynamoBatchGetItem_BatchGetItem_Call) RunAndReturn(...) *DynamoBatchGetItem_BatchGetItem_Call
- type DynamoBatchGetItem_Expecter
- type DynamoBatchWriteItem
- type DynamoBatchWriteItem_BatchWriteItem_Call
- func (_c *DynamoBatchWriteItem_BatchWriteItem_Call) Return(_a0 *dynamodb.BatchWriteItemOutput, _a1 error) *DynamoBatchWriteItem_BatchWriteItem_Call
- func (_c *DynamoBatchWriteItem_BatchWriteItem_Call) Run(run func(ctx context.Context, params *dynamodb.BatchWriteItemInput, ...)) *DynamoBatchWriteItem_BatchWriteItem_Call
- func (_c *DynamoBatchWriteItem_BatchWriteItem_Call) RunAndReturn(...) *DynamoBatchWriteItem_BatchWriteItem_Call
- type DynamoBatchWriteItem_Expecter
- type DynamoQuery
- type DynamoQuery_Expecter
- type DynamoQuery_Query_Call
- type ExistingRecordRepositoryPort
- type ExistingRecordRepositoryPort_Expecter
- type ExistingRecordRepositoryPort_FindExistingRecords_Call
- func (_c *ExistingRecordRepositoryPort_FindExistingRecords_Call) Return(_a0 []*ui.ExistingRecord, _a1 error) *ExistingRecordRepositoryPort_FindExistingRecords_Call
- func (_c *ExistingRecordRepositoryPort_FindExistingRecords_Call) Run(run func()) *ExistingRecordRepositoryPort_FindExistingRecords_Call
- func (_c *ExistingRecordRepositoryPort_FindExistingRecords_Call) RunAndReturn(run func() ([]*ui.ExistingRecord, error)) *ExistingRecordRepositoryPort_FindExistingRecords_Call
- type FindAlbumByIdFunc
- type FindAlbumByIdFunc_Execute_Call
- func (_c *FindAlbumByIdFunc_Execute_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumByIdFunc_Execute_Call
- func (_c *FindAlbumByIdFunc_Execute_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *FindAlbumByIdFunc_Execute_Call
- func (_c *FindAlbumByIdFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumByIdFunc_Execute_Call
- type FindAlbumByIdFunc_Expecter
- type FindAlbumByIdPort
- type FindAlbumByIdPort_Expecter
- type FindAlbumByIdPort_FindAlbumById_Call
- func (_c *FindAlbumByIdPort_FindAlbumById_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumByIdPort_FindAlbumById_Call
- func (_c *FindAlbumByIdPort_FindAlbumById_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *FindAlbumByIdPort_FindAlbumById_Call
- func (_c *FindAlbumByIdPort_FindAlbumById_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumByIdPort_FindAlbumById_Call
- type FindAlbumByOwnerFunc
- type FindAlbumByOwnerFunc_Execute_Call
- func (_c *FindAlbumByOwnerFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumByOwnerFunc_Execute_Call
- func (_c *FindAlbumByOwnerFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumByOwnerFunc_Execute_Call
- func (_c *FindAlbumByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumByOwnerFunc_Execute_Call
- type FindAlbumByOwnerFunc_Expecter
- type FindAlbumByOwnerPort
- type FindAlbumByOwnerPort_Expecter
- type FindAlbumByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
- type FindAlbumPort
- type FindAlbumPort_Expecter
- type FindAlbumPort_FindAlbum_Call
- func (_c *FindAlbumPort_FindAlbum_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumPort_FindAlbum_Call
- func (_c *FindAlbumPort_FindAlbum_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *FindAlbumPort_FindAlbum_Call
- func (_c *FindAlbumPort_FindAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumPort_FindAlbum_Call
- type FindAlbumsByIdsFunc
- type FindAlbumsByIdsFunc_Execute_Call
- func (_c *FindAlbumsByIdsFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByIdsFunc_Execute_Call
- func (_c *FindAlbumsByIdsFunc_Execute_Call) Run(run func(ctx context.Context, ids []catalog.AlbumId)) *FindAlbumsByIdsFunc_Execute_Call
- func (_c *FindAlbumsByIdsFunc_Execute_Call) RunAndReturn(run func(context.Context, []catalog.AlbumId) ([]*catalog.Album, error)) *FindAlbumsByIdsFunc_Execute_Call
- type FindAlbumsByIdsFunc_Expecter
- type FindAlbumsByIdsPort
- type FindAlbumsByIdsPort_Expecter
- type FindAlbumsByIdsPort_FindAlbumsById_Call
- func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByIdsPort_FindAlbumsById_Call
- func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) Run(run func(ctx context.Context, ids []catalog.AlbumId)) *FindAlbumsByIdsPort_FindAlbumsById_Call
- func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) RunAndReturn(run func(context.Context, []catalog.AlbumId) ([]*catalog.Album, error)) *FindAlbumsByIdsPort_FindAlbumsById_Call
- type FindAlbumsByOwnerFunc
- type FindAlbumsByOwnerFunc_Execute_Call
- func (_c *FindAlbumsByOwnerFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByOwnerFunc_Execute_Call
- func (_c *FindAlbumsByOwnerFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumsByOwnerFunc_Execute_Call
- func (_c *FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerFunc_Execute_Call
- type FindAlbumsByOwnerFunc_Expecter
- type FindAlbumsByOwnerPort
- type FindAlbumsByOwnerPort_Expecter
- type FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
- type FindExistingSignaturePort
- type FindExistingSignaturePort_Expecter
- type FindExistingSignaturePort_FindSignatures_Call
- func (_c *FindExistingSignaturePort_FindSignatures_Call) Return(_a0 map[catalog.MediaSignature]catalog.MediaId, _a1 error) *FindExistingSignaturePort_FindSignatures_Call
- func (_c *FindExistingSignaturePort_FindSignatures_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *FindExistingSignaturePort_FindSignatures_Call
- func (_c *FindExistingSignaturePort_FindSignatures_Call) RunAndReturn(...) *FindExistingSignaturePort_FindSignatures_Call
- type FoundMedia
- type FoundMedia_Expecter
- func (_e *FoundMedia_Expecter) LastModification() *FoundMedia_LastModification_Call
- func (_e *FoundMedia_Expecter) MediaPath() *FoundMedia_MediaPath_Call
- func (_e *FoundMedia_Expecter) ReadMedia() *FoundMedia_ReadMedia_Call
- func (_e *FoundMedia_Expecter) Size() *FoundMedia_Size_Call
- func (_e *FoundMedia_Expecter) String() *FoundMedia_String_Call
- type FoundMedia_LastModification_Call
- func (_c *FoundMedia_LastModification_Call) Return(_a0 time.Time) *FoundMedia_LastModification_Call
- func (_c *FoundMedia_LastModification_Call) Run(run func()) *FoundMedia_LastModification_Call
- func (_c *FoundMedia_LastModification_Call) RunAndReturn(run func() time.Time) *FoundMedia_LastModification_Call
- type FoundMedia_MediaPath_Call
- type FoundMedia_ReadMedia_Call
- type FoundMedia_Size_Call
- type FoundMedia_String_Call
- type GetAlbumSharingGridFunc
- type GetAlbumSharingGridFunc_Execute_Call
- func (_c *GetAlbumSharingGridFunc_Execute_Call) Return(_a0 map[catalog.AlbumId][]usermodel.UserId, _a1 error) *GetAlbumSharingGridFunc_Execute_Call
- func (_c *GetAlbumSharingGridFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *GetAlbumSharingGridFunc_Execute_Call
- func (_c *GetAlbumSharingGridFunc_Execute_Call) RunAndReturn(...) *GetAlbumSharingGridFunc_Execute_Call
- type GetAlbumSharingGridFunc_Expecter
- type GetAlbumSharingGridPort
- type GetAlbumSharingGridPort_Expecter
- type GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
- func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Return(_a0 map[catalog.AlbumId][]usermodel.UserId, _a1 error) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
- func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
- func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) RunAndReturn(...) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
- type GetAvailabilitiesByUserFunc
- type GetAvailabilitiesByUserFunc_Execute_Call
- func (_c *GetAvailabilitiesByUserFunc_Execute_Call) Return(_a0 []catalogviews.MultiUserAlbumSize, _a1 error) *GetAvailabilitiesByUserFunc_Execute_Call
- func (_c *GetAvailabilitiesByUserFunc_Execute_Call) Run(run func(ctx context.Context, user usermodel.UserId)) *GetAvailabilitiesByUserFunc_Execute_Call
- func (_c *GetAvailabilitiesByUserFunc_Execute_Call) RunAndReturn(...) *GetAvailabilitiesByUserFunc_Execute_Call
- type GetAvailabilitiesByUserFunc_Expecter
- type GetAvailabilitiesByUserPort
- type GetAvailabilitiesByUserPort_Expecter
- type GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
- func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Return(_a0 []catalogviews.MultiUserAlbumSize, _a1 error) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
- func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Run(run func(ctx context.Context, user usermodel.UserId)) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
- func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) RunAndReturn(...) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
- type GetStreamAdapter
- type GetStreamAdapter_BatchGet_Call
- func (_c *GetStreamAdapter_BatchGet_Call) Return(_a0 *dynamodb.BatchGetItemOutput, _a1 error) *GetStreamAdapter_BatchGet_Call
- func (_c *GetStreamAdapter_BatchGet_Call) Run(run func(ctx context.Context, key []map[string]types.AttributeValue)) *GetStreamAdapter_BatchGet_Call
- func (_c *GetStreamAdapter_BatchGet_Call) RunAndReturn(...) *GetStreamAdapter_BatchGet_Call
- type GetStreamAdapter_Expecter
- type GrantRepository
- func (_m *GrantRepository) DeleteScopes(id ...aclcore.ScopeId) error
- func (_m *GrantRepository) EXPECT() *GrantRepository_Expecter
- func (_m *GrantRepository) FindScopesById(ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) ListScopesByOwners(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) SaveIfNewScope(scope aclcore.Scope) error
- type GrantRepository_DeleteScopes_Call
- func (_c *GrantRepository_DeleteScopes_Call) Return(_a0 error) *GrantRepository_DeleteScopes_Call
- func (_c *GrantRepository_DeleteScopes_Call) Run(run func(id ...aclcore.ScopeId)) *GrantRepository_DeleteScopes_Call
- func (_c *GrantRepository_DeleteScopes_Call) RunAndReturn(run func(...aclcore.ScopeId) error) *GrantRepository_DeleteScopes_Call
- type GrantRepository_Expecter
- func (_e *GrantRepository_Expecter) DeleteScopes(id ...interface{}) *GrantRepository_DeleteScopes_Call
- func (_e *GrantRepository_Expecter) FindScopesById(ids ...interface{}) *GrantRepository_FindScopesById_Call
- func (_e *GrantRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *GrantRepository_ListScopesByOwner_Call
- func (_e *GrantRepository_Expecter) ListScopesByOwners(ctx interface{}, owners interface{}, types ...interface{}) *GrantRepository_ListScopesByOwners_Call
- func (_e *GrantRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *GrantRepository_ListScopesByUser_Call
- func (_e *GrantRepository_Expecter) SaveIfNewScope(scope interface{}) *GrantRepository_SaveIfNewScope_Call
- type GrantRepository_FindScopesById_Call
- func (_c *GrantRepository_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_FindScopesById_Call
- func (_c *GrantRepository_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *GrantRepository_FindScopesById_Call
- func (_c *GrantRepository_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *GrantRepository_FindScopesById_Call
- type GrantRepository_ListScopesByOwner_Call
- func (_c *GrantRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByOwner_Call
- func (_c *GrantRepository_ListScopesByOwner_Call) Run(...) *GrantRepository_ListScopesByOwner_Call
- func (_c *GrantRepository_ListScopesByOwner_Call) RunAndReturn(...) *GrantRepository_ListScopesByOwner_Call
- type GrantRepository_ListScopesByOwners_Call
- func (_c *GrantRepository_ListScopesByOwners_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByOwners_Call
- func (_c *GrantRepository_ListScopesByOwners_Call) Run(...) *GrantRepository_ListScopesByOwners_Call
- func (_c *GrantRepository_ListScopesByOwners_Call) RunAndReturn(...) *GrantRepository_ListScopesByOwners_Call
- type GrantRepository_ListScopesByUser_Call
- func (_c *GrantRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByUser_Call
- func (_c *GrantRepository_ListScopesByUser_Call) Run(...) *GrantRepository_ListScopesByUser_Call
- func (_c *GrantRepository_ListScopesByUser_Call) RunAndReturn(...) *GrantRepository_ListScopesByUser_Call
- type GrantRepository_SaveIfNewScope_Call
- func (_c *GrantRepository_SaveIfNewScope_Call) Return(_a0 error) *GrantRepository_SaveIfNewScope_Call
- func (_c *GrantRepository_SaveIfNewScope_Call) Run(run func(scope aclcore.Scope)) *GrantRepository_SaveIfNewScope_Call
- func (_c *GrantRepository_SaveIfNewScope_Call) RunAndReturn(run func(aclcore.Scope) error) *GrantRepository_SaveIfNewScope_Call
- type IAccessTokenGenerator
- type IAccessTokenGenerator_Expecter
- type IAccessTokenGenerator_GenerateAccessToken_Call
- func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) Return(_a0 *aclcore.Authentication, _a1 error) *IAccessTokenGenerator_GenerateAccessToken_Call
- func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) Run(run func(email usermodel.UserId)) *IAccessTokenGenerator_GenerateAccessToken_Call
- func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Authentication, error)) *IAccessTokenGenerator_GenerateAccessToken_Call
- type IRefreshTokenGenerator
- type IRefreshTokenGenerator_Expecter
- type IRefreshTokenGenerator_GenerateRefreshToken_Call
- func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) Return(_a0 string, _a1 error) *IRefreshTokenGenerator_GenerateRefreshToken_Call
- func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) Run(run func(spec aclcore.RefreshTokenSpec)) *IRefreshTokenGenerator_GenerateRefreshToken_Call
- func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) RunAndReturn(run func(aclcore.RefreshTokenSpec) (string, error)) *IRefreshTokenGenerator_GenerateRefreshToken_Call
- type IdentityDetailsStore
- type IdentityDetailsStore_Expecter
- type IdentityDetailsStore_FindIdentity_Call
- func (_c *IdentityDetailsStore_FindIdentity_Call) Return(_a0 *aclcore.Identity, _a1 error) *IdentityDetailsStore_FindIdentity_Call
- func (_c *IdentityDetailsStore_FindIdentity_Call) Run(run func(email usermodel.UserId)) *IdentityDetailsStore_FindIdentity_Call
- func (_c *IdentityDetailsStore_FindIdentity_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Identity, error)) *IdentityDetailsStore_FindIdentity_Call
- type IdentityDetailsStore_StoreIdentity_Call
- func (_c *IdentityDetailsStore_StoreIdentity_Call) Return(_a0 error) *IdentityDetailsStore_StoreIdentity_Call
- func (_c *IdentityDetailsStore_StoreIdentity_Call) Run(run func(identity aclcore.Identity)) *IdentityDetailsStore_StoreIdentity_Call
- func (_c *IdentityDetailsStore_StoreIdentity_Call) RunAndReturn(run func(aclcore.Identity) error) *IdentityDetailsStore_StoreIdentity_Call
- type IdentityQueriesIdentityRepository
- type IdentityQueriesIdentityRepository_Expecter
- type IdentityQueriesIdentityRepository_FindIdentities_Call
- func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) Return(_a0 []*aclcore.Identity, _a1 error) *IdentityQueriesIdentityRepository_FindIdentities_Call
- func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) Run(run func(emails []usermodel.UserId)) *IdentityQueriesIdentityRepository_FindIdentities_Call
- func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn(run func([]usermodel.UserId) ([]*aclcore.Identity, error)) *IdentityQueriesIdentityRepository_FindIdentities_Call
- type IdentityQueriesScopeRepository
- type IdentityQueriesScopeRepository_Expecter
- type IdentityQueriesScopeRepository_ListScopesByOwners_Call
- func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) Return(_a0 []*aclcore.Scope, _a1 error) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
- func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) Run(...) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
- func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn(...) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
- type IdentityRepository
- func (_m *IdentityRepository) EXPECT() *IdentityRepository_Expecter
- func (_m *IdentityRepository) FindIdentities(emails []usermodel.UserId) ([]*aclcore.Identity, error)
- func (_m *IdentityRepository) FindIdentity(email usermodel.UserId) (*aclcore.Identity, error)
- func (_m *IdentityRepository) StoreIdentity(identity aclcore.Identity) error
- type IdentityRepository_Expecter
- func (_e *IdentityRepository_Expecter) FindIdentities(emails interface{}) *IdentityRepository_FindIdentities_Call
- func (_e *IdentityRepository_Expecter) FindIdentity(email interface{}) *IdentityRepository_FindIdentity_Call
- func (_e *IdentityRepository_Expecter) StoreIdentity(identity interface{}) *IdentityRepository_StoreIdentity_Call
- type IdentityRepository_FindIdentities_Call
- func (_c *IdentityRepository_FindIdentities_Call) Return(_a0 []*aclcore.Identity, _a1 error) *IdentityRepository_FindIdentities_Call
- func (_c *IdentityRepository_FindIdentities_Call) Run(run func(emails []usermodel.UserId)) *IdentityRepository_FindIdentities_Call
- func (_c *IdentityRepository_FindIdentities_Call) RunAndReturn(run func([]usermodel.UserId) ([]*aclcore.Identity, error)) *IdentityRepository_FindIdentities_Call
- type IdentityRepository_FindIdentity_Call
- func (_c *IdentityRepository_FindIdentity_Call) Return(_a0 *aclcore.Identity, _a1 error) *IdentityRepository_FindIdentity_Call
- func (_c *IdentityRepository_FindIdentity_Call) Run(run func(email usermodel.UserId)) *IdentityRepository_FindIdentity_Call
- func (_c *IdentityRepository_FindIdentity_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Identity, error)) *IdentityRepository_FindIdentity_Call
- type IdentityRepository_StoreIdentity_Call
- func (_c *IdentityRepository_StoreIdentity_Call) Return(_a0 error) *IdentityRepository_StoreIdentity_Call
- func (_c *IdentityRepository_StoreIdentity_Call) Run(run func(identity aclcore.Identity)) *IdentityRepository_StoreIdentity_Call
- func (_c *IdentityRepository_StoreIdentity_Call) RunAndReturn(run func(aclcore.Identity) error) *IdentityRepository_StoreIdentity_Call
- type InsertAlbumPort
- type InsertAlbumPortFunc
- type InsertAlbumPortFunc_Execute_Call
- func (_c *InsertAlbumPortFunc_Execute_Call) Return(_a0 error) *InsertAlbumPortFunc_Execute_Call
- func (_c *InsertAlbumPortFunc_Execute_Call) Run(run func(ctx context.Context, album catalog.Album)) *InsertAlbumPortFunc_Execute_Call
- func (_c *InsertAlbumPortFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *InsertAlbumPortFunc_Execute_Call
- type InsertAlbumPortFunc_Expecter
- type InsertAlbumPort_Expecter
- type InsertAlbumPort_InsertAlbum_Call
- func (_c *InsertAlbumPort_InsertAlbum_Call) Return(_a0 error) *InsertAlbumPort_InsertAlbum_Call
- func (_c *InsertAlbumPort_InsertAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *InsertAlbumPort_InsertAlbum_Call
- func (_c *InsertAlbumPort_InsertAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *InsertAlbumPort_InsertAlbum_Call
- type InsertMediaPort
- type InsertMediaPort_Expecter
- type InsertMediaPort_IndexMedias_Call
- func (_c *InsertMediaPort_IndexMedias_Call) Return(_a0 error) *InsertMediaPort_IndexMedias_Call
- func (_c *InsertMediaPort_IndexMedias_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *InsertMediaPort_IndexMedias_Call
- func (_c *InsertMediaPort_IndexMedias_Call) RunAndReturn(...) *InsertMediaPort_IndexMedias_Call
- type InsertMediaSimulator
- type InsertMediaSimulator_Expecter
- type InsertMediaSimulator_SimulateInsertingMedia_Call
- func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) Return(_a0 []catalog.MediaFutureReference, _a1 error) *InsertMediaSimulator_SimulateInsertingMedia_Call
- func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *InsertMediaSimulator_SimulateInsertingMedia_Call
- func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) RunAndReturn(...) *InsertMediaSimulator_SimulateInsertingMedia_Call
- type InsertMediasObserver
- type InsertMediasObserver_Expecter
- type InsertMediasObserver_OnMediasInserted_Call
- func (_c *InsertMediasObserver_OnMediasInserted_Call) Return(_a0 error) *InsertMediasObserver_OnMediasInserted_Call
- func (_c *InsertMediasObserver_OnMediasInserted_Call) Run(run func(_a0 context.Context, _a1 map[catalog.AlbumId][]catalog.MediaId)) *InsertMediasObserver_OnMediasInserted_Call
- func (_c *InsertMediasObserver_OnMediasInserted_Call) RunAndReturn(run func(context.Context, map[catalog.AlbumId][]catalog.MediaId) error) *InsertMediasObserver_OnMediasInserted_Call
- type InsertMediasRepositoryPort
- type InsertMediasRepositoryPort_Expecter
- type InsertMediasRepositoryPort_InsertMedias_Call
- func (_c *InsertMediasRepositoryPort_InsertMedias_Call) Return(_a0 error) *InsertMediasRepositoryPort_InsertMedias_Call
- func (_c *InsertMediasRepositoryPort_InsertMedias_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *InsertMediasRepositoryPort_InsertMedias_Call
- func (_c *InsertMediasRepositoryPort_InsertMedias_Call) RunAndReturn(...) *InsertMediasRepositoryPort_InsertMedias_Call
- type InteractiveActionsPort
- func (_m *InteractiveActionsPort) BackupSuggestion(record *ui.SuggestionRecord, existing *ui.ExistingRecord, ...) error
- func (_m *InteractiveActionsPort) Create(createRequest ui.RecordCreation) error
- func (_m *InteractiveActionsPort) DeleteAlbum(folderName string) error
- func (_m *InteractiveActionsPort) EXPECT() *InteractiveActionsPort_Expecter
- func (_m *InteractiveActionsPort) RenameAlbum(folderName string, newName string, renameFolder bool) error
- func (_m *InteractiveActionsPort) UpdateAlbum(folderName string, start time.Time, end time.Time) error
- type InteractiveActionsPort_BackupSuggestion_Call
- func (_c *InteractiveActionsPort_BackupSuggestion_Call) Return(_a0 error) *InteractiveActionsPort_BackupSuggestion_Call
- func (_c *InteractiveActionsPort_BackupSuggestion_Call) Run(run func(record *ui.SuggestionRecord, existing *ui.ExistingRecord, ...)) *InteractiveActionsPort_BackupSuggestion_Call
- func (_c *InteractiveActionsPort_BackupSuggestion_Call) RunAndReturn(...) *InteractiveActionsPort_BackupSuggestion_Call
- type InteractiveActionsPort_Create_Call
- func (_c *InteractiveActionsPort_Create_Call) Return(_a0 error) *InteractiveActionsPort_Create_Call
- func (_c *InteractiveActionsPort_Create_Call) Run(run func(createRequest ui.RecordCreation)) *InteractiveActionsPort_Create_Call
- func (_c *InteractiveActionsPort_Create_Call) RunAndReturn(run func(ui.RecordCreation) error) *InteractiveActionsPort_Create_Call
- type InteractiveActionsPort_DeleteAlbum_Call
- func (_c *InteractiveActionsPort_DeleteAlbum_Call) Return(_a0 error) *InteractiveActionsPort_DeleteAlbum_Call
- func (_c *InteractiveActionsPort_DeleteAlbum_Call) Run(run func(folderName string)) *InteractiveActionsPort_DeleteAlbum_Call
- func (_c *InteractiveActionsPort_DeleteAlbum_Call) RunAndReturn(run func(string) error) *InteractiveActionsPort_DeleteAlbum_Call
- type InteractiveActionsPort_Expecter
- func (_e *InteractiveActionsPort_Expecter) BackupSuggestion(record interface{}, existing interface{}, listener interface{}) *InteractiveActionsPort_BackupSuggestion_Call
- func (_e *InteractiveActionsPort_Expecter) Create(createRequest interface{}) *InteractiveActionsPort_Create_Call
- func (_e *InteractiveActionsPort_Expecter) DeleteAlbum(folderName interface{}) *InteractiveActionsPort_DeleteAlbum_Call
- func (_e *InteractiveActionsPort_Expecter) RenameAlbum(folderName interface{}, newName interface{}, renameFolder interface{}) *InteractiveActionsPort_RenameAlbum_Call
- func (_e *InteractiveActionsPort_Expecter) UpdateAlbum(folderName interface{}, start interface{}, end interface{}) *InteractiveActionsPort_UpdateAlbum_Call
- type InteractiveActionsPort_RenameAlbum_Call
- func (_c *InteractiveActionsPort_RenameAlbum_Call) Return(_a0 error) *InteractiveActionsPort_RenameAlbum_Call
- func (_c *InteractiveActionsPort_RenameAlbum_Call) Run(run func(folderName string, newName string, renameFolder bool)) *InteractiveActionsPort_RenameAlbum_Call
- func (_c *InteractiveActionsPort_RenameAlbum_Call) RunAndReturn(run func(string, string, bool) error) *InteractiveActionsPort_RenameAlbum_Call
- type InteractiveActionsPort_UpdateAlbum_Call
- func (_c *InteractiveActionsPort_UpdateAlbum_Call) Return(_a0 error) *InteractiveActionsPort_UpdateAlbum_Call
- func (_c *InteractiveActionsPort_UpdateAlbum_Call) Run(run func(folderName string, start time.Time, end time.Time)) *InteractiveActionsPort_UpdateAlbum_Call
- func (_c *InteractiveActionsPort_UpdateAlbum_Call) RunAndReturn(run func(string, time.Time, time.Time) error) *InteractiveActionsPort_UpdateAlbum_Call
- type InteractiveRendererPort
- func (_m *InteractiveRendererPort) EXPECT() *InteractiveRendererPort_Expecter
- func (_m *InteractiveRendererPort) Height() int
- func (_m *InteractiveRendererPort) Print(question string)
- func (_m *InteractiveRendererPort) ReadAnswer() (string, error)
- func (_m *InteractiveRendererPort) Render(state *ui.InteractiveViewState) error
- func (_m *InteractiveRendererPort) TakeOverScreen()
- type InteractiveRendererPort_Expecter
- func (_e *InteractiveRendererPort_Expecter) Height() *InteractiveRendererPort_Height_Call
- func (_e *InteractiveRendererPort_Expecter) Print(question interface{}) *InteractiveRendererPort_Print_Call
- func (_e *InteractiveRendererPort_Expecter) ReadAnswer() *InteractiveRendererPort_ReadAnswer_Call
- func (_e *InteractiveRendererPort_Expecter) Render(state interface{}) *InteractiveRendererPort_Render_Call
- func (_e *InteractiveRendererPort_Expecter) TakeOverScreen() *InteractiveRendererPort_TakeOverScreen_Call
- type InteractiveRendererPort_Height_Call
- func (_c *InteractiveRendererPort_Height_Call) Return(_a0 int) *InteractiveRendererPort_Height_Call
- func (_c *InteractiveRendererPort_Height_Call) Run(run func()) *InteractiveRendererPort_Height_Call
- func (_c *InteractiveRendererPort_Height_Call) RunAndReturn(run func() int) *InteractiveRendererPort_Height_Call
- type InteractiveRendererPort_Print_Call
- func (_c *InteractiveRendererPort_Print_Call) Return() *InteractiveRendererPort_Print_Call
- func (_c *InteractiveRendererPort_Print_Call) Run(run func(question string)) *InteractiveRendererPort_Print_Call
- func (_c *InteractiveRendererPort_Print_Call) RunAndReturn(run func(string)) *InteractiveRendererPort_Print_Call
- type InteractiveRendererPort_ReadAnswer_Call
- func (_c *InteractiveRendererPort_ReadAnswer_Call) Return(_a0 string, _a1 error) *InteractiveRendererPort_ReadAnswer_Call
- func (_c *InteractiveRendererPort_ReadAnswer_Call) Run(run func()) *InteractiveRendererPort_ReadAnswer_Call
- func (_c *InteractiveRendererPort_ReadAnswer_Call) RunAndReturn(run func() (string, error)) *InteractiveRendererPort_ReadAnswer_Call
- type InteractiveRendererPort_Render_Call
- func (_c *InteractiveRendererPort_Render_Call) Return(_a0 error) *InteractiveRendererPort_Render_Call
- func (_c *InteractiveRendererPort_Render_Call) Run(run func(state *ui.InteractiveViewState)) *InteractiveRendererPort_Render_Call
- func (_c *InteractiveRendererPort_Render_Call) RunAndReturn(run func(*ui.InteractiveViewState) error) *InteractiveRendererPort_Render_Call
- type InteractiveRendererPort_TakeOverScreen_Call
- func (_c *InteractiveRendererPort_TakeOverScreen_Call) Return() *InteractiveRendererPort_TakeOverScreen_Call
- func (_c *InteractiveRendererPort_TakeOverScreen_Call) Run(run func()) *InteractiveRendererPort_TakeOverScreen_Call
- func (_c *InteractiveRendererPort_TakeOverScreen_Call) RunAndReturn(run func()) *InteractiveRendererPort_TakeOverScreen_Call
- type ListAlbumsProvider
- type ListAlbumsProviderFunc
- type ListAlbumsProviderFunc_Execute_Call
- func (_c *ListAlbumsProviderFunc_Execute_Call) Return(_a0 []*catalogviews.VisibleAlbum, _a1 error) *ListAlbumsProviderFunc_Execute_Call
- func (_c *ListAlbumsProviderFunc_Execute_Call) Run(run func(ctx context.Context, user usermodel.CurrentUser, ...)) *ListAlbumsProviderFunc_Execute_Call
- func (_c *ListAlbumsProviderFunc_Execute_Call) RunAndReturn(...) *ListAlbumsProviderFunc_Execute_Call
- type ListAlbumsProviderFunc_Expecter
- type ListAlbumsProvider_Expecter
- type ListAlbumsProvider_ListAlbums_Call
- func (_c *ListAlbumsProvider_ListAlbums_Call) Return(_a0 []*catalogviews.VisibleAlbum, _a1 error) *ListAlbumsProvider_ListAlbums_Call
- func (_c *ListAlbumsProvider_ListAlbums_Call) Run(run func(ctx context.Context, user usermodel.CurrentUser, ...)) *ListAlbumsProvider_ListAlbums_Call
- func (_c *ListAlbumsProvider_ListAlbums_Call) RunAndReturn(...) *ListAlbumsProvider_ListAlbums_Call
- type ListUserWhoCanAccessAlbumPort
- type ListUserWhoCanAccessAlbumPort_Expecter
- type ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
- func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Return(_a0 map[catalog.AlbumId][]catalogviews.Availability, _a1 error) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
- func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Run(run func(ctx context.Context, albumId ...catalog.AlbumId)) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
- func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) RunAndReturn(...) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
- type Listener
- type Listener_Execute_Call
- type Listener_Expecter
- type MediaAlbumResolver
- type MediaAlbumResolver_Expecter
- type MediaAlbumResolver_FindAlbumOfMedia_Call
- func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) Return(_a0 catalog.AlbumId, _a1 error) *MediaAlbumResolver_FindAlbumOfMedia_Call
- func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) Run(run func(owner ownermodel.Owner, mediaId catalog.MediaId)) *MediaAlbumResolver_FindAlbumOfMedia_Call
- func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) RunAndReturn(run func(ownermodel.Owner, catalog.MediaId) (catalog.AlbumId, error)) *MediaAlbumResolver_FindAlbumOfMedia_Call
- type MediaCounterFunc
- type MediaCounterFunc_Execute_Call
- func (_c *MediaCounterFunc_Execute_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *MediaCounterFunc_Execute_Call
- func (_c *MediaCounterFunc_Execute_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *MediaCounterFunc_Execute_Call
- func (_c *MediaCounterFunc_Execute_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *MediaCounterFunc_Execute_Call
- type MediaCounterFunc_Expecter
- type MediaCounterPort
- type MediaCounterPort_CountMedia_Call
- func (_c *MediaCounterPort_CountMedia_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *MediaCounterPort_CountMedia_Call
- func (_c *MediaCounterPort_CountMedia_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *MediaCounterPort_CountMedia_Call
- func (_c *MediaCounterPort_CountMedia_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *MediaCounterPort_CountMedia_Call
- type MediaCounterPort_Expecter
- type MediaTransfer
- type MediaTransferFunc
- type MediaTransferFunc_Execute_Call
- func (_c *MediaTransferFunc_Execute_Call) Return(_a0 error) *MediaTransferFunc_Execute_Call
- func (_c *MediaTransferFunc_Execute_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *MediaTransferFunc_Execute_Call
- func (_c *MediaTransferFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) error) *MediaTransferFunc_Execute_Call
- type MediaTransferFunc_Expecter
- type MediaTransfer_Expecter
- type MediaTransfer_Transfer_Call
- func (_c *MediaTransfer_Transfer_Call) Return(_a0 error) *MediaTransfer_Transfer_Call
- func (_c *MediaTransfer_Transfer_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *MediaTransfer_Transfer_Call
- func (_c *MediaTransfer_Transfer_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) error) *MediaTransfer_Transfer_Call
- type Names
- type Names_DynamoDBMainTable_Call
- type Names_Expecter
- type PostAnalyseFilter
- type PostAnalyseFilter_AcceptAnalysedMedia_Call
- func (_c *PostAnalyseFilter_AcceptAnalysedMedia_Call) Return(_a0 bool) *PostAnalyseFilter_AcceptAnalysedMedia_Call
- func (_c *PostAnalyseFilter_AcceptAnalysedMedia_Call) Run(run func(media *backup.AnalysedMedia, folderName string)) *PostAnalyseFilter_AcceptAnalysedMedia_Call
- func (_c *PostAnalyseFilter_AcceptAnalysedMedia_Call) RunAndReturn(run func(*backup.AnalysedMedia, string) bool) *PostAnalyseFilter_AcceptAnalysedMedia_Call
- type PostAnalyseFilter_Expecter
- type PrintReadTerminalPort
- type PrintReadTerminalPort_Expecter
- type PrintReadTerminalPort_Print_Call
- func (_c *PrintReadTerminalPort_Print_Call) Return() *PrintReadTerminalPort_Print_Call
- func (_c *PrintReadTerminalPort_Print_Call) Run(run func(question string)) *PrintReadTerminalPort_Print_Call
- func (_c *PrintReadTerminalPort_Print_Call) RunAndReturn(run func(string)) *PrintReadTerminalPort_Print_Call
- type PrintReadTerminalPort_ReadAnswer_Call
- func (_c *PrintReadTerminalPort_ReadAnswer_Call) Return(_a0 string, _a1 error) *PrintReadTerminalPort_ReadAnswer_Call
- func (_c *PrintReadTerminalPort_ReadAnswer_Call) Run(run func()) *PrintReadTerminalPort_ReadAnswer_Call
- func (_c *PrintReadTerminalPort_ReadAnswer_Call) RunAndReturn(run func() (string, error)) *PrintReadTerminalPort_ReadAnswer_Call
- type ProviderFactory
- type ProviderFactoryFunc
- type ProviderFactoryFunc_Execute_Call
- func (_c *ProviderFactoryFunc_Execute_Call) Return(_a0 catalogviews.ListAlbumsProvider) *ProviderFactoryFunc_Execute_Call
- func (_c *ProviderFactoryFunc_Execute_Call) Run(run func(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort)) *ProviderFactoryFunc_Execute_Call
- func (_c *ProviderFactoryFunc_Execute_Call) RunAndReturn(...) *ProviderFactoryFunc_Execute_Call
- type ProviderFactoryFunc_Expecter
- type ProviderFactory_Expecter
- type ProviderFactory_NewProvider_Call
- func (_c *ProviderFactory_NewProvider_Call) Return(_a0 catalogviews.ListAlbumsProvider) *ProviderFactory_NewProvider_Call
- func (_c *ProviderFactory_NewProvider_Call) Run(run func(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort)) *ProviderFactory_NewProvider_Call
- func (_c *ProviderFactory_NewProvider_Call) RunAndReturn(...) *ProviderFactory_NewProvider_Call
- type ReferencerFactory
- func (_m *ReferencerFactory) EXPECT() *ReferencerFactory_Expecter
- func (_m *ReferencerFactory) NewCreatorReferencer(ctx context.Context, owner ownermodel.Owner) (backup.CatalogReferencer, error)
- func (_m *ReferencerFactory) NewDryRunReferencer(ctx context.Context, owner ownermodel.Owner) (backup.CatalogReferencer, error)
- type ReferencerFactory_Expecter
- type ReferencerFactory_NewCreatorReferencer_Call
- func (_c *ReferencerFactory_NewCreatorReferencer_Call) Return(_a0 backup.CatalogReferencer, _a1 error) *ReferencerFactory_NewCreatorReferencer_Call
- func (_c *ReferencerFactory_NewCreatorReferencer_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *ReferencerFactory_NewCreatorReferencer_Call
- func (_c *ReferencerFactory_NewCreatorReferencer_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) (backup.CatalogReferencer, error)) *ReferencerFactory_NewCreatorReferencer_Call
- type ReferencerFactory_NewDryRunReferencer_Call
- func (_c *ReferencerFactory_NewDryRunReferencer_Call) Return(_a0 backup.CatalogReferencer, _a1 error) *ReferencerFactory_NewDryRunReferencer_Call
- func (_c *ReferencerFactory_NewDryRunReferencer_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *ReferencerFactory_NewDryRunReferencer_Call
- func (_c *ReferencerFactory_NewDryRunReferencer_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) (backup.CatalogReferencer, error)) *ReferencerFactory_NewDryRunReferencer_Call
- type RefreshTokenRepository
- func (_m *RefreshTokenRepository) DeleteRefreshToken(token string) error
- func (_m *RefreshTokenRepository) EXPECT() *RefreshTokenRepository_Expecter
- func (_m *RefreshTokenRepository) FindRefreshToken(token string) (*aclcore.RefreshTokenSpec, error)
- func (_m *RefreshTokenRepository) HouseKeepRefreshToken() (int, error)
- func (_m *RefreshTokenRepository) StoreRefreshToken(token string, spec aclcore.RefreshTokenSpec) error
- type RefreshTokenRepository_DeleteRefreshToken_Call
- func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) Return(_a0 error) *RefreshTokenRepository_DeleteRefreshToken_Call
- func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) Run(run func(token string)) *RefreshTokenRepository_DeleteRefreshToken_Call
- func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) RunAndReturn(run func(string) error) *RefreshTokenRepository_DeleteRefreshToken_Call
- type RefreshTokenRepository_Expecter
- func (_e *RefreshTokenRepository_Expecter) DeleteRefreshToken(token interface{}) *RefreshTokenRepository_DeleteRefreshToken_Call
- func (_e *RefreshTokenRepository_Expecter) FindRefreshToken(token interface{}) *RefreshTokenRepository_FindRefreshToken_Call
- func (_e *RefreshTokenRepository_Expecter) HouseKeepRefreshToken() *RefreshTokenRepository_HouseKeepRefreshToken_Call
- func (_e *RefreshTokenRepository_Expecter) StoreRefreshToken(token interface{}, spec interface{}) *RefreshTokenRepository_StoreRefreshToken_Call
- type RefreshTokenRepository_FindRefreshToken_Call
- func (_c *RefreshTokenRepository_FindRefreshToken_Call) Return(_a0 *aclcore.RefreshTokenSpec, _a1 error) *RefreshTokenRepository_FindRefreshToken_Call
- func (_c *RefreshTokenRepository_FindRefreshToken_Call) Run(run func(token string)) *RefreshTokenRepository_FindRefreshToken_Call
- func (_c *RefreshTokenRepository_FindRefreshToken_Call) RunAndReturn(run func(string) (*aclcore.RefreshTokenSpec, error)) *RefreshTokenRepository_FindRefreshToken_Call
- type RefreshTokenRepository_HouseKeepRefreshToken_Call
- func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) Return(_a0 int, _a1 error) *RefreshTokenRepository_HouseKeepRefreshToken_Call
- func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) Run(run func()) *RefreshTokenRepository_HouseKeepRefreshToken_Call
- func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) RunAndReturn(run func() (int, error)) *RefreshTokenRepository_HouseKeepRefreshToken_Call
- type RefreshTokenRepository_StoreRefreshToken_Call
- func (_c *RefreshTokenRepository_StoreRefreshToken_Call) Return(_a0 error) *RefreshTokenRepository_StoreRefreshToken_Call
- func (_c *RefreshTokenRepository_StoreRefreshToken_Call) Run(run func(token string, spec aclcore.RefreshTokenSpec)) *RefreshTokenRepository_StoreRefreshToken_Call
- func (_c *RefreshTokenRepository_StoreRefreshToken_Call) RunAndReturn(run func(string, aclcore.RefreshTokenSpec) error) *RefreshTokenRepository_StoreRefreshToken_Call
- type RenameAlbumObserver
- type RenameAlbumObserver_Expecter
- type RenameAlbumObserver_OnRenameAlbum_Call
- func (_c *RenameAlbumObserver_OnRenameAlbum_Call) Return(_a0 error) *RenameAlbumObserver_OnRenameAlbum_Call
- func (_c *RenameAlbumObserver_OnRenameAlbum_Call) Run(run func(ctx context.Context, current catalog.AlbumId, ...)) *RenameAlbumObserver_OnRenameAlbum_Call
- func (_c *RenameAlbumObserver_OnRenameAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.CreateAlbumRequest) error) *RenameAlbumObserver_OnRenameAlbum_Call
- type RenameAlbumPort
- type RenameAlbumPort_Expecter
- type RenameAlbumPort_RenameAlbum_Call
- func (_c *RenameAlbumPort_RenameAlbum_Call) Return(_a0 error) *RenameAlbumPort_RenameAlbum_Call
- func (_c *RenameAlbumPort_RenameAlbum_Call) Run(run func(folderName string, newName string, renameFolder bool)) *RenameAlbumPort_RenameAlbum_Call
- func (_c *RenameAlbumPort_RenameAlbum_Call) RunAndReturn(run func(string, string, bool) error) *RenameAlbumPort_RenameAlbum_Call
- type RepositoryAdapter
- func (_m *RepositoryAdapter) CountMedia(ctx context.Context, album ...catalog.AlbumId) (map[catalog.AlbumId]int, error)
- func (_m *RepositoryAdapter) EXPECT() *RepositoryAdapter_Expecter
- func (_m *RepositoryAdapter) FindAlbumByIds(ctx context.Context, ids ...catalog.AlbumId) ([]*catalog.Album, error)
- func (_m *RepositoryAdapter) FindAlbumsByOwner(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
- func (_m *RepositoryAdapter) FindMediaCurrentAlbum(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)
- func (_m *RepositoryAdapter) FindMedias(ctx context.Context, request *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)
- type RepositoryAdapter_CountMedia_Call
- func (_c *RepositoryAdapter_CountMedia_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *RepositoryAdapter_CountMedia_Call
- func (_c *RepositoryAdapter_CountMedia_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *RepositoryAdapter_CountMedia_Call
- func (_c *RepositoryAdapter_CountMedia_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *RepositoryAdapter_CountMedia_Call
- type RepositoryAdapter_Expecter
- func (_e *RepositoryAdapter_Expecter) CountMedia(ctx interface{}, album ...interface{}) *RepositoryAdapter_CountMedia_Call
- func (_e *RepositoryAdapter_Expecter) FindAlbumByIds(ctx interface{}, ids ...interface{}) *RepositoryAdapter_FindAlbumByIds_Call
- func (_e *RepositoryAdapter_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *RepositoryAdapter_FindAlbumsByOwner_Call
- func (_e *RepositoryAdapter_Expecter) FindMediaCurrentAlbum(ctx interface{}, owner interface{}, mediaId interface{}) *RepositoryAdapter_FindMediaCurrentAlbum_Call
- func (_e *RepositoryAdapter_Expecter) FindMedias(ctx interface{}, request interface{}) *RepositoryAdapter_FindMedias_Call
- type RepositoryAdapter_FindAlbumByIds_Call
- func (_c *RepositoryAdapter_FindAlbumByIds_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbumByIds_Call
- func (_c *RepositoryAdapter_FindAlbumByIds_Call) Run(run func(ctx context.Context, ids ...catalog.AlbumId)) *RepositoryAdapter_FindAlbumByIds_Call
- func (_c *RepositoryAdapter_FindAlbumByIds_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumByIds_Call
- type RepositoryAdapter_FindAlbumsByOwner_Call
- func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbumsByOwner_Call
- func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *RepositoryAdapter_FindAlbumsByOwner_Call
- func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumsByOwner_Call
- type RepositoryAdapter_FindMediaCurrentAlbum_Call
- func (_c *RepositoryAdapter_FindMediaCurrentAlbum_Call) Return(id *catalog.AlbumId, err error) *RepositoryAdapter_FindMediaCurrentAlbum_Call
- func (_c *RepositoryAdapter_FindMediaCurrentAlbum_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId)) *RepositoryAdapter_FindMediaCurrentAlbum_Call
- func (_c *RepositoryAdapter_FindMediaCurrentAlbum_Call) RunAndReturn(...) *RepositoryAdapter_FindMediaCurrentAlbum_Call
- type RepositoryAdapter_FindMedias_Call
- func (_c *RepositoryAdapter_FindMedias_Call) Return(medias []*catalog.MediaMeta, err error) *RepositoryAdapter_FindMedias_Call
- func (_c *RepositoryAdapter_FindMedias_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *RepositoryAdapter_FindMedias_Call
- func (_c *RepositoryAdapter_FindMedias_Call) RunAndReturn(...) *RepositoryAdapter_FindMedias_Call
- type ResizerAdapter
- type ResizerAdapter_Expecter
- type ResizerAdapter_ResizeImageAtDifferentWidths_Call
- func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) Return(_a0 map[int][]byte, _a1 string, _a2 error) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
- func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) Run(run func(reader io.Reader, width []int)) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
- func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) RunAndReturn(run func(io.Reader, []int) (map[int][]byte, string, error)) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
- type ResizerAdapter_ResizeImage_Call
- func (_c *ResizerAdapter_ResizeImage_Call) Return(_a0 []byte, _a1 string, _a2 error) *ResizerAdapter_ResizeImage_Call
- func (_c *ResizerAdapter_ResizeImage_Call) Run(run func(reader io.Reader, width int, fast bool)) *ResizerAdapter_ResizeImage_Call
- func (_c *ResizerAdapter_ResizeImage_Call) RunAndReturn(run func(io.Reader, int, bool) ([]byte, string, error)) *ResizerAdapter_ResizeImage_Call
- type ReverseScopesReader
- type ReverseScopesReader_Expecter
- type ReverseScopesReader_ListScopesByOwner_Call
- func (_c *ReverseScopesReader_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ReverseScopesReader_ListScopesByOwner_Call
- func (_c *ReverseScopesReader_ListScopesByOwner_Call) Run(...) *ReverseScopesReader_ListScopesByOwner_Call
- func (_c *ReverseScopesReader_ListScopesByOwner_Call) RunAndReturn(...) *ReverseScopesReader_ListScopesByOwner_Call
- type RevokeAccessTokenAdapter
- type RevokeAccessTokenAdapter_DeleteRefreshToken_Call
- func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Return(_a0 error) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
- func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Run(run func(token string)) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
- func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) RunAndReturn(run func(string) error) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
- type RevokeAccessTokenAdapter_Expecter
- type RunnerAnalyser
- type RunnerAnalyserFunc
- type RunnerAnalyserFunc_Execute_Call
- func (_c *RunnerAnalyserFunc_Execute_Call) Return(_a0 *backup.AnalysedMedia, _a1 error) *RunnerAnalyserFunc_Execute_Call
- func (_c *RunnerAnalyserFunc_Execute_Call) Run(run func(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent)) *RunnerAnalyserFunc_Execute_Call
- func (_c *RunnerAnalyserFunc_Execute_Call) RunAndReturn(...) *RunnerAnalyserFunc_Execute_Call
- type RunnerAnalyserFunc_Expecter
- type RunnerAnalyser_Analyse_Call
- func (_c *RunnerAnalyser_Analyse_Call) Return(_a0 *backup.AnalysedMedia, _a1 error) *RunnerAnalyser_Analyse_Call
- func (_c *RunnerAnalyser_Analyse_Call) Run(run func(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent)) *RunnerAnalyser_Analyse_Call
- func (_c *RunnerAnalyser_Analyse_Call) RunAndReturn(...) *RunnerAnalyser_Analyse_Call
- type RunnerAnalyser_Expecter
- type RunnerCataloger
- type RunnerCatalogerFunc
- type RunnerCatalogerFunc_Execute_Call
- func (_c *RunnerCatalogerFunc_Execute_Call) Return(_a0 []*backup.BackingUpMediaRequest, _a1 error) *RunnerCatalogerFunc_Execute_Call
- func (_c *RunnerCatalogerFunc_Execute_Call) Run(run func(ctx context.Context, medias []*backup.AnalysedMedia, ...)) *RunnerCatalogerFunc_Execute_Call
- func (_c *RunnerCatalogerFunc_Execute_Call) RunAndReturn(...) *RunnerCatalogerFunc_Execute_Call
- type RunnerCatalogerFunc_Expecter
- type RunnerCataloger_Catalog_Call
- func (_c *RunnerCataloger_Catalog_Call) Return(_a0 []*backup.BackingUpMediaRequest, _a1 error) *RunnerCataloger_Catalog_Call
- func (_c *RunnerCataloger_Catalog_Call) Run(run func(ctx context.Context, medias []*backup.AnalysedMedia, ...)) *RunnerCataloger_Catalog_Call
- func (_c *RunnerCataloger_Catalog_Call) RunAndReturn(...) *RunnerCataloger_Catalog_Call
- type RunnerCataloger_Expecter
- type RunnerUploader
- type RunnerUploaderFunc
- type RunnerUploaderFunc_Execute_Call
- func (_c *RunnerUploaderFunc_Execute_Call) Return(_a0 error) *RunnerUploaderFunc_Execute_Call
- func (_c *RunnerUploaderFunc_Execute_Call) Run(run func(buffer []*backup.BackingUpMediaRequest, ...)) *RunnerUploaderFunc_Execute_Call
- func (_c *RunnerUploaderFunc_Execute_Call) RunAndReturn(run func([]*backup.BackingUpMediaRequest, chan *backup.ProgressEvent) error) *RunnerUploaderFunc_Execute_Call
- type RunnerUploaderFunc_Expecter
- type RunnerUploader_Expecter
- type RunnerUploader_Upload_Call
- func (_c *RunnerUploader_Upload_Call) Return(_a0 error) *RunnerUploader_Upload_Call
- func (_c *RunnerUploader_Upload_Call) Run(run func(buffer []*backup.BackingUpMediaRequest, ...)) *RunnerUploader_Upload_Call
- func (_c *RunnerUploader_Upload_Call) RunAndReturn(run func([]*backup.BackingUpMediaRequest, chan *backup.ProgressEvent) error) *RunnerUploader_Upload_Call
- type ScanStreamExecutor
- type ScanStreamExecutor_Expecter
- type ScanStreamExecutor_Scan_Call
- func (_c *ScanStreamExecutor_Scan_Call) Return(_a0 *dynamodb.ScanOutput, _a1 error) *ScanStreamExecutor_Scan_Call
- func (_c *ScanStreamExecutor_Scan_Call) Run(run func(ctx context.Context, params *dynamodb.ScanInput, ...)) *ScanStreamExecutor_Scan_Call
- func (_c *ScanStreamExecutor_Scan_Call) RunAndReturn(...) *ScanStreamExecutor_Scan_Call
- type ScopeReadRepository
- func (_m *ScopeReadRepository) EXPECT() *ScopeReadRepository_Expecter
- func (_m *ScopeReadRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *ScopeReadRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- type ScopeReadRepositoryPort
- func (_m *ScopeReadRepositoryPort) EXPECT() *ScopeReadRepositoryPort_Expecter
- func (_m *ScopeReadRepositoryPort) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *ScopeReadRepositoryPort) ListScopesByUser(ctx context.Context, id usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- type ScopeReadRepositoryPort_Expecter
- func (_e *ScopeReadRepositoryPort_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeReadRepositoryPort_ListScopesByOwner_Call
- func (_e *ScopeReadRepositoryPort_Expecter) ListScopesByUser(ctx interface{}, id interface{}, types ...interface{}) *ScopeReadRepositoryPort_ListScopesByUser_Call
- type ScopeReadRepositoryPort_ListScopesByOwner_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepositoryPort_ListScopesByOwner_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) Run(...) *ScopeReadRepositoryPort_ListScopesByOwner_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) RunAndReturn(...) *ScopeReadRepositoryPort_ListScopesByOwner_Call
- type ScopeReadRepositoryPort_ListScopesByUser_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepositoryPort_ListScopesByUser_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) Run(run func(ctx context.Context, id usermodel.UserId, types ...aclcore.ScopeType)) *ScopeReadRepositoryPort_ListScopesByUser_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) RunAndReturn(...) *ScopeReadRepositoryPort_ListScopesByUser_Call
- type ScopeReadRepository_Expecter
- func (_e *ScopeReadRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByOwner_Call
- func (_e *ScopeReadRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByUser_Call
- type ScopeReadRepository_ListScopesByOwner_Call
- func (_c *ScopeReadRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_ListScopesByOwner_Call
- func (_c *ScopeReadRepository_ListScopesByOwner_Call) Run(...) *ScopeReadRepository_ListScopesByOwner_Call
- func (_c *ScopeReadRepository_ListScopesByOwner_Call) RunAndReturn(...) *ScopeReadRepository_ListScopesByOwner_Call
- type ScopeReadRepository_ListScopesByUser_Call
- func (_c *ScopeReadRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_ListScopesByUser_Call
- func (_c *ScopeReadRepository_ListScopesByUser_Call) Run(...) *ScopeReadRepository_ListScopesByUser_Call
- func (_c *ScopeReadRepository_ListScopesByUser_Call) RunAndReturn(...) *ScopeReadRepository_ListScopesByUser_Call
- type ScopeRepository
- func (_m *ScopeRepository) EXPECT() *ScopeRepository_Expecter
- func (_m *ScopeRepository) FindScopesById(ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)
- func (_m *ScopeRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *ScopeRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- type ScopeRepository_Expecter
- func (_e *ScopeRepository_Expecter) FindScopesById(ids ...interface{}) *ScopeRepository_FindScopesById_Call
- func (_e *ScopeRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeRepository_ListScopesByOwner_Call
- func (_e *ScopeRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopeRepository_ListScopesByUser_Call
- type ScopeRepository_FindScopesById_Call
- func (_c *ScopeRepository_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_FindScopesById_Call
- func (_c *ScopeRepository_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *ScopeRepository_FindScopesById_Call
- func (_c *ScopeRepository_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *ScopeRepository_FindScopesById_Call
- type ScopeRepository_ListScopesByOwner_Call
- func (_c *ScopeRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_ListScopesByOwner_Call
- func (_c *ScopeRepository_ListScopesByOwner_Call) Run(...) *ScopeRepository_ListScopesByOwner_Call
- func (_c *ScopeRepository_ListScopesByOwner_Call) RunAndReturn(...) *ScopeRepository_ListScopesByOwner_Call
- type ScopeRepository_ListScopesByUser_Call
- func (_c *ScopeRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_ListScopesByUser_Call
- func (_c *ScopeRepository_ListScopesByUser_Call) Run(...) *ScopeRepository_ListScopesByUser_Call
- func (_c *ScopeRepository_ListScopesByUser_Call) RunAndReturn(...) *ScopeRepository_ListScopesByUser_Call
- type ScopeWriter
- type ScopeWriter_DeleteScopes_Call
- func (_c *ScopeWriter_DeleteScopes_Call) Return(_a0 error) *ScopeWriter_DeleteScopes_Call
- func (_c *ScopeWriter_DeleteScopes_Call) Run(run func(id ...aclcore.ScopeId)) *ScopeWriter_DeleteScopes_Call
- func (_c *ScopeWriter_DeleteScopes_Call) RunAndReturn(run func(...aclcore.ScopeId) error) *ScopeWriter_DeleteScopes_Call
- type ScopeWriter_Expecter
- type ScopeWriter_SaveIfNewScope_Call
- func (_c *ScopeWriter_SaveIfNewScope_Call) Return(_a0 error) *ScopeWriter_SaveIfNewScope_Call
- func (_c *ScopeWriter_SaveIfNewScope_Call) Run(run func(scope aclcore.Scope)) *ScopeWriter_SaveIfNewScope_Call
- func (_c *ScopeWriter_SaveIfNewScope_Call) RunAndReturn(run func(aclcore.Scope) error) *ScopeWriter_SaveIfNewScope_Call
- type ScopesReader
- type ScopesReader_Expecter
- type ScopesReader_FindScopesById_Call
- func (_c *ScopesReader_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_FindScopesById_Call
- func (_c *ScopesReader_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *ScopesReader_FindScopesById_Call
- func (_c *ScopesReader_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *ScopesReader_FindScopesById_Call
- type ScopesReader_ListScopesByUser_Call
- func (_c *ScopesReader_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_ListScopesByUser_Call
- func (_c *ScopesReader_ListScopesByUser_Call) Run(...) *ScopesReader_ListScopesByUser_Call
- func (_c *ScopesReader_ListScopesByUser_Call) RunAndReturn(...) *ScopesReader_ListScopesByUser_Call
- type SecretAccessKeyDecoder
- type SecretAccessKeyDecoder_Execute_Call
- func (_c *SecretAccessKeyDecoder_Execute_Call) Return(_a0 string, _a1 error) *SecretAccessKeyDecoder_Execute_Call
- func (_c *SecretAccessKeyDecoder_Execute_Call) Run(run func(encodedValue string)) *SecretAccessKeyDecoder_Execute_Call
- func (_c *SecretAccessKeyDecoder_Execute_Call) RunAndReturn(run func(string) (string, error)) *SecretAccessKeyDecoder_Execute_Call
- type SecretAccessKeyDecoder_Expecter
- type SharedWithUserFunc
- type SharedWithUserFunc_Execute_Call
- func (_c *SharedWithUserFunc_Execute_Call) Return(_a0 []catalog.AlbumId, _a1 error) *SharedWithUserFunc_Execute_Call
- func (_c *SharedWithUserFunc_Execute_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *SharedWithUserFunc_Execute_Call
- func (_c *SharedWithUserFunc_Execute_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalog.AlbumId, error)) *SharedWithUserFunc_Execute_Call
- type SharedWithUserFunc_Expecter
- type SharedWithUserPort
- type SharedWithUserPort_Expecter
- type SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
- func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Return(_a0 []catalog.AlbumId, _a1 error) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
- func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
- func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalog.AlbumId, error)) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
- type SourceVolume
- type SourceVolume_Expecter
- type SourceVolume_FindMedias_Call
- func (_c *SourceVolume_FindMedias_Call) Return(_a0 []backup.FoundMedia, _a1 error) *SourceVolume_FindMedias_Call
- func (_c *SourceVolume_FindMedias_Call) Run(run func()) *SourceVolume_FindMedias_Call
- func (_c *SourceVolume_FindMedias_Call) RunAndReturn(run func() ([]backup.FoundMedia, error)) *SourceVolume_FindMedias_Call
- type SourceVolume_String_Call
- type StatefulAlbumReferencer
- type StatefulAlbumReferencer_Expecter
- type StatefulAlbumReferencer_FindReference_Call
- func (_c *StatefulAlbumReferencer_FindReference_Call) Return(_a0 catalog.AlbumReference, _a1 error) *StatefulAlbumReferencer_FindReference_Call
- func (_c *StatefulAlbumReferencer_FindReference_Call) Run(run func(ctx context.Context, mediaTime time.Time)) *StatefulAlbumReferencer_FindReference_Call
- func (_c *StatefulAlbumReferencer_FindReference_Call) RunAndReturn(run func(context.Context, time.Time) (catalog.AlbumReference, error)) *StatefulAlbumReferencer_FindReference_Call
- type StoreAdapter
- func (_m *StoreAdapter) Copy(origin string, destination archive.DestructuredKey) (string, error)
- func (_m *StoreAdapter) Delete(locations []string) error
- func (_m *StoreAdapter) Download(key string) (io.ReadCloser, error)
- func (_m *StoreAdapter) EXPECT() *StoreAdapter_Expecter
- func (_m *StoreAdapter) SignedURL(key string, duration time.Duration) (string, error)
- func (_m *StoreAdapter) Upload(values archive.DestructuredKey, content io.Reader) (string, error)
- type StoreAdapter_Copy_Call
- func (_c *StoreAdapter_Copy_Call) Return(_a0 string, _a1 error) *StoreAdapter_Copy_Call
- func (_c *StoreAdapter_Copy_Call) Run(run func(origin string, destination archive.DestructuredKey)) *StoreAdapter_Copy_Call
- func (_c *StoreAdapter_Copy_Call) RunAndReturn(run func(string, archive.DestructuredKey) (string, error)) *StoreAdapter_Copy_Call
- type StoreAdapter_Delete_Call
- type StoreAdapter_Download_Call
- func (_c *StoreAdapter_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *StoreAdapter_Download_Call
- func (_c *StoreAdapter_Download_Call) Run(run func(key string)) *StoreAdapter_Download_Call
- func (_c *StoreAdapter_Download_Call) RunAndReturn(run func(string) (io.ReadCloser, error)) *StoreAdapter_Download_Call
- type StoreAdapter_Expecter
- func (_e *StoreAdapter_Expecter) Copy(origin interface{}, destination interface{}) *StoreAdapter_Copy_Call
- func (_e *StoreAdapter_Expecter) Delete(locations interface{}) *StoreAdapter_Delete_Call
- func (_e *StoreAdapter_Expecter) Download(key interface{}) *StoreAdapter_Download_Call
- func (_e *StoreAdapter_Expecter) SignedURL(key interface{}, duration interface{}) *StoreAdapter_SignedURL_Call
- func (_e *StoreAdapter_Expecter) Upload(values interface{}, content interface{}) *StoreAdapter_Upload_Call
- type StoreAdapter_SignedURL_Call
- func (_c *StoreAdapter_SignedURL_Call) Return(_a0 string, _a1 error) *StoreAdapter_SignedURL_Call
- func (_c *StoreAdapter_SignedURL_Call) Run(run func(key string, duration time.Duration)) *StoreAdapter_SignedURL_Call
- func (_c *StoreAdapter_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *StoreAdapter_SignedURL_Call
- type StoreAdapter_Upload_Call
- func (_c *StoreAdapter_Upload_Call) Return(_a0 string, _a1 error) *StoreAdapter_Upload_Call
- func (_c *StoreAdapter_Upload_Call) Run(run func(values archive.DestructuredKey, content io.Reader)) *StoreAdapter_Upload_Call
- func (_c *StoreAdapter_Upload_Call) RunAndReturn(run func(archive.DestructuredKey, io.Reader) (string, error)) *StoreAdapter_Upload_Call
- type StoreAndCache
- func (_m *StoreAndCache) Copy(origin string, destination archive.DestructuredKey) (string, error)
- func (_m *StoreAndCache) Delete(locations []string) error
- func (_m *StoreAndCache) Download(key string) (io.ReadCloser, error)
- func (_m *StoreAndCache) EXPECT() *StoreAndCache_Expecter
- func (_m *StoreAndCache) Get(key string) (io.ReadCloser, int, string, error)
- func (_m *StoreAndCache) Put(key string, mediaType string, content io.Reader) error
- func (_m *StoreAndCache) SignedURL(key string, duration time.Duration) (string, error)
- func (_m *StoreAndCache) Upload(values archive.DestructuredKey, content io.Reader) (string, error)
- func (_m *StoreAndCache) WalkCacheByPrefix(prefix string, observer func(string)) error
- type StoreAndCache_Copy_Call
- func (_c *StoreAndCache_Copy_Call) Return(_a0 string, _a1 error) *StoreAndCache_Copy_Call
- func (_c *StoreAndCache_Copy_Call) Run(run func(origin string, destination archive.DestructuredKey)) *StoreAndCache_Copy_Call
- func (_c *StoreAndCache_Copy_Call) RunAndReturn(run func(string, archive.DestructuredKey) (string, error)) *StoreAndCache_Copy_Call
- type StoreAndCache_Delete_Call
- type StoreAndCache_Download_Call
- func (_c *StoreAndCache_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *StoreAndCache_Download_Call
- func (_c *StoreAndCache_Download_Call) Run(run func(key string)) *StoreAndCache_Download_Call
- func (_c *StoreAndCache_Download_Call) RunAndReturn(run func(string) (io.ReadCloser, error)) *StoreAndCache_Download_Call
- type StoreAndCache_Expecter
- func (_e *StoreAndCache_Expecter) Copy(origin interface{}, destination interface{}) *StoreAndCache_Copy_Call
- func (_e *StoreAndCache_Expecter) Delete(locations interface{}) *StoreAndCache_Delete_Call
- func (_e *StoreAndCache_Expecter) Download(key interface{}) *StoreAndCache_Download_Call
- func (_e *StoreAndCache_Expecter) Get(key interface{}) *StoreAndCache_Get_Call
- func (_e *StoreAndCache_Expecter) Put(key interface{}, mediaType interface{}, content interface{}) *StoreAndCache_Put_Call
- func (_e *StoreAndCache_Expecter) SignedURL(key interface{}, duration interface{}) *StoreAndCache_SignedURL_Call
- func (_e *StoreAndCache_Expecter) Upload(values interface{}, content interface{}) *StoreAndCache_Upload_Call
- func (_e *StoreAndCache_Expecter) WalkCacheByPrefix(prefix interface{}, observer interface{}) *StoreAndCache_WalkCacheByPrefix_Call
- type StoreAndCache_Get_Call
- func (_c *StoreAndCache_Get_Call) Return(_a0 io.ReadCloser, _a1 int, _a2 string, _a3 error) *StoreAndCache_Get_Call
- func (_c *StoreAndCache_Get_Call) Run(run func(key string)) *StoreAndCache_Get_Call
- func (_c *StoreAndCache_Get_Call) RunAndReturn(run func(string) (io.ReadCloser, int, string, error)) *StoreAndCache_Get_Call
- type StoreAndCache_Put_Call
- func (_c *StoreAndCache_Put_Call) Return(_a0 error) *StoreAndCache_Put_Call
- func (_c *StoreAndCache_Put_Call) Run(run func(key string, mediaType string, content io.Reader)) *StoreAndCache_Put_Call
- func (_c *StoreAndCache_Put_Call) RunAndReturn(run func(string, string, io.Reader) error) *StoreAndCache_Put_Call
- type StoreAndCache_SignedURL_Call
- func (_c *StoreAndCache_SignedURL_Call) Return(_a0 string, _a1 error) *StoreAndCache_SignedURL_Call
- func (_c *StoreAndCache_SignedURL_Call) Run(run func(key string, duration time.Duration)) *StoreAndCache_SignedURL_Call
- func (_c *StoreAndCache_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *StoreAndCache_SignedURL_Call
- type StoreAndCache_Upload_Call
- func (_c *StoreAndCache_Upload_Call) Return(_a0 string, _a1 error) *StoreAndCache_Upload_Call
- func (_c *StoreAndCache_Upload_Call) Run(run func(values archive.DestructuredKey, content io.Reader)) *StoreAndCache_Upload_Call
- func (_c *StoreAndCache_Upload_Call) RunAndReturn(run func(archive.DestructuredKey, io.Reader) (string, error)) *StoreAndCache_Upload_Call
- type StoreAndCache_WalkCacheByPrefix_Call
- func (_c *StoreAndCache_WalkCacheByPrefix_Call) Return(_a0 error) *StoreAndCache_WalkCacheByPrefix_Call
- func (_c *StoreAndCache_WalkCacheByPrefix_Call) Run(run func(prefix string, observer func(string))) *StoreAndCache_WalkCacheByPrefix_Call
- func (_c *StoreAndCache_WalkCacheByPrefix_Call) RunAndReturn(run func(string, func(string)) error) *StoreAndCache_WalkCacheByPrefix_Call
- type Stream
- type Stream_Count_Call
- type Stream_Error_Call
- type Stream_Expecter
- type Stream_HasNext_Call
- type Stream_Next_Call
- type SuggestionRecordRepositoryPort
- type SuggestionRecordRepositoryPort_Count_Call
- func (_c *SuggestionRecordRepositoryPort_Count_Call) Return(_a0 int) *SuggestionRecordRepositoryPort_Count_Call
- func (_c *SuggestionRecordRepositoryPort_Count_Call) Run(run func()) *SuggestionRecordRepositoryPort_Count_Call
- func (_c *SuggestionRecordRepositoryPort_Count_Call) RunAndReturn(run func() int) *SuggestionRecordRepositoryPort_Count_Call
- type SuggestionRecordRepositoryPort_Expecter
- func (_e *SuggestionRecordRepositoryPort_Expecter) Count() *SuggestionRecordRepositoryPort_Count_Call
- func (_e *SuggestionRecordRepositoryPort_Expecter) FindSuggestionRecords() *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- func (_e *SuggestionRecordRepositoryPort_Expecter) Rejects() *SuggestionRecordRepositoryPort_Rejects_Call
- type SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Return(_a0 []*ui.SuggestionRecord) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Run(run func()) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) RunAndReturn(run func() []*ui.SuggestionRecord) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- type SuggestionRecordRepositoryPort_Rejects_Call
- func (_c *SuggestionRecordRepositoryPort_Rejects_Call) Return(_a0 int) *SuggestionRecordRepositoryPort_Rejects_Call
- func (_c *SuggestionRecordRepositoryPort_Rejects_Call) Run(run func()) *SuggestionRecordRepositoryPort_Rejects_Call
- func (_c *SuggestionRecordRepositoryPort_Rejects_Call) RunAndReturn(run func() int) *SuggestionRecordRepositoryPort_Rejects_Call
- type TimelineAdapter
- type TimelineAdapter_Expecter
- type TimelineAdapter_FindAlbum_Call
- func (_c *TimelineAdapter_FindAlbum_Call) Return(folderName string, exists bool, err error) *TimelineAdapter_FindAlbum_Call
- func (_c *TimelineAdapter_FindAlbum_Call) Run(run func(dateTime time.Time)) *TimelineAdapter_FindAlbum_Call
- func (_c *TimelineAdapter_FindAlbum_Call) RunAndReturn(run func(time.Time) (string, bool, error)) *TimelineAdapter_FindAlbum_Call
- type TimelineAdapter_FindOrCreateAlbum_Call
- func (_c *TimelineAdapter_FindOrCreateAlbum_Call) Return(folderName string, created bool, err error) *TimelineAdapter_FindOrCreateAlbum_Call
- func (_c *TimelineAdapter_FindOrCreateAlbum_Call) Run(run func(mediaTime time.Time)) *TimelineAdapter_FindOrCreateAlbum_Call
- func (_c *TimelineAdapter_FindOrCreateAlbum_Call) RunAndReturn(run func(time.Time) (string, bool, error)) *TimelineAdapter_FindOrCreateAlbum_Call
- type TimelineMutationObserver
- type TimelineMutationObserverFunc
- type TimelineMutationObserverFunc_Execute_Call
- func (_c *TimelineMutationObserverFunc_Execute_Call) Return(_a0 error) *TimelineMutationObserverFunc_Execute_Call
- func (_c *TimelineMutationObserverFunc_Execute_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserverFunc_Execute_Call
- func (_c *TimelineMutationObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserverFunc_Execute_Call
- type TimelineMutationObserverFunc_Expecter
- type TimelineMutationObserver_Expecter
- type TimelineMutationObserver_OnTransferredMedias_Call
- func (_c *TimelineMutationObserver_OnTransferredMedias_Call) Return(_a0 error) *TimelineMutationObserver_OnTransferredMedias_Call
- func (_c *TimelineMutationObserver_OnTransferredMedias_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserver_OnTransferredMedias_Call
- func (_c *TimelineMutationObserver_OnTransferredMedias_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserver_OnTransferredMedias_Call
- type TrackAnalysed
- type TrackAnalysed_Expecter
- type TrackAnalysed_OnAnalysed_Call
- func (_c *TrackAnalysed_OnAnalysed_Call) Return() *TrackAnalysed_OnAnalysed_Call
- func (_c *TrackAnalysed_OnAnalysed_Call) Run(run func(done backup.MediaCounter, total backup.MediaCounter, ...)) *TrackAnalysed_OnAnalysed_Call
- func (_c *TrackAnalysed_OnAnalysed_Call) RunAndReturn(run func(backup.MediaCounter, backup.MediaCounter, backup.MediaCounter)) *TrackAnalysed_OnAnalysed_Call
- type TrackEvents
- type TrackEvents_Expecter
- type TrackEvents_OnEvent_Call
- type TrackScanComplete
- type TrackScanComplete_Expecter
- type TrackScanComplete_OnScanComplete_Call
- func (_c *TrackScanComplete_OnScanComplete_Call) Return() *TrackScanComplete_OnScanComplete_Call
- func (_c *TrackScanComplete_OnScanComplete_Call) Run(run func(total backup.MediaCounter)) *TrackScanComplete_OnScanComplete_Call
- func (_c *TrackScanComplete_OnScanComplete_Call) RunAndReturn(run func(backup.MediaCounter)) *TrackScanComplete_OnScanComplete_Call
- type TrackUploaded
- type TrackUploaded_Expecter
- type TrackUploaded_OnUploaded_Call
- func (_c *TrackUploaded_OnUploaded_Call) Return() *TrackUploaded_OnUploaded_Call
- func (_c *TrackUploaded_OnUploaded_Call) Run(run func(done backup.MediaCounter, total backup.MediaCounter)) *TrackUploaded_OnUploaded_Call
- func (_c *TrackUploaded_OnUploaded_Call) RunAndReturn(run func(backup.MediaCounter, backup.MediaCounter)) *TrackUploaded_OnUploaded_Call
- type TransferMediasFunc
- type TransferMediasFunc_Execute_Call
- func (_c *TransferMediasFunc_Execute_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *TransferMediasFunc_Execute_Call
- func (_c *TransferMediasFunc_Execute_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasFunc_Execute_Call
- func (_c *TransferMediasFunc_Execute_Call) RunAndReturn(...) *TransferMediasFunc_Execute_Call
- type TransferMediasFunc_Expecter
- type TransferMediasRepositoryPort
- type TransferMediasRepositoryPort_Expecter
- type TransferMediasRepositoryPort_TransferMediasFromRecords_Call
- func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
- func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
- func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) RunAndReturn(...) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
- type UpdateAlbumNamePort
- type UpdateAlbumNamePort_Expecter
- type UpdateAlbumNamePort_UpdateAlbumName_Call
- func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) Return(_a0 error) *UpdateAlbumNamePort_UpdateAlbumName_Call
- func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, newName string)) *UpdateAlbumNamePort_UpdateAlbumName_Call
- func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, string) error) *UpdateAlbumNamePort_UpdateAlbumName_Call
- type UpdateAlbumPort
- type UpdateAlbumPort_Expecter
- type UpdateAlbumPort_UpdateAlbum_Call
- func (_c *UpdateAlbumPort_UpdateAlbum_Call) Return(_a0 error) *UpdateAlbumPort_UpdateAlbum_Call
- func (_c *UpdateAlbumPort_UpdateAlbum_Call) Run(run func(folderName string, start time.Time, end time.Time)) *UpdateAlbumPort_UpdateAlbum_Call
- func (_c *UpdateAlbumPort_UpdateAlbum_Call) RunAndReturn(run func(string, time.Time, time.Time) error) *UpdateAlbumPort_UpdateAlbum_Call
- type UserInputPort
- type UserInputPort_Expecter
- type UserInputPort_StartListening_Call
- type ViewWriteRepository
- func (_m *ViewWriteRepository) DeleteAlbumSize(ctx context.Context, availability catalogviews.Availability, ...) error
- func (_m *ViewWriteRepository) EXPECT() *ViewWriteRepository_Expecter
- func (_m *ViewWriteRepository) InsertAlbumSize(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize) error
- func (_m *ViewWriteRepository) UpdateAlbumSize(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff) error
- type ViewWriteRepository_DeleteAlbumSize_Call
- func (_c *ViewWriteRepository_DeleteAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_DeleteAlbumSize_Call
- func (_c *ViewWriteRepository_DeleteAlbumSize_Call) Run(run func(ctx context.Context, availability catalogviews.Availability, ...)) *ViewWriteRepository_DeleteAlbumSize_Call
- func (_c *ViewWriteRepository_DeleteAlbumSize_Call) RunAndReturn(run func(context.Context, catalogviews.Availability, catalog.AlbumId) error) *ViewWriteRepository_DeleteAlbumSize_Call
- type ViewWriteRepository_Expecter
- func (_e *ViewWriteRepository_Expecter) DeleteAlbumSize(ctx interface{}, availability interface{}, albumId interface{}) *ViewWriteRepository_DeleteAlbumSize_Call
- func (_e *ViewWriteRepository_Expecter) InsertAlbumSize(ctx interface{}, albumSize interface{}) *ViewWriteRepository_InsertAlbumSize_Call
- func (_e *ViewWriteRepository_Expecter) UpdateAlbumSize(ctx interface{}, albumCountUpdates interface{}) *ViewWriteRepository_UpdateAlbumSize_Call
- type ViewWriteRepository_InsertAlbumSize_Call
- func (_c *ViewWriteRepository_InsertAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_InsertAlbumSize_Call
- func (_c *ViewWriteRepository_InsertAlbumSize_Call) Run(run func(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize)) *ViewWriteRepository_InsertAlbumSize_Call
- func (_c *ViewWriteRepository_InsertAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.MultiUserAlbumSize) error) *ViewWriteRepository_InsertAlbumSize_Call
- type ViewWriteRepository_UpdateAlbumSize_Call
- func (_c *ViewWriteRepository_UpdateAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_UpdateAlbumSize_Call
- func (_c *ViewWriteRepository_UpdateAlbumSize_Call) Run(run func(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff)) *ViewWriteRepository_UpdateAlbumSize_Call
- func (_c *ViewWriteRepository_UpdateAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.AlbumSizeDiff) error) *ViewWriteRepository_UpdateAlbumSize_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLViewCatalogAdapter ¶
ACLViewCatalogAdapter is an autogenerated mock type for the ACLViewCatalogAdapter type
func NewACLViewCatalogAdapter ¶
func NewACLViewCatalogAdapter(t interface { mock.TestingT Cleanup(func()) }) *ACLViewCatalogAdapter
NewACLViewCatalogAdapter creates a new instance of ACLViewCatalogAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ACLViewCatalogAdapter) EXPECT ¶ added in v1.5.41
func (_m *ACLViewCatalogAdapter) EXPECT() *ACLViewCatalogAdapter_Expecter
func (*ACLViewCatalogAdapter) FindAlbums ¶
FindAlbums provides a mock function with given fields: keys
func (*ACLViewCatalogAdapter) FindAllAlbums ¶
func (_m *ACLViewCatalogAdapter) FindAllAlbums(owner ownermodel.Owner) ([]*catalog.Album, error)
FindAllAlbums provides a mock function with given fields: owner
func (*ACLViewCatalogAdapter) ListMedias ¶
func (_m *ACLViewCatalogAdapter) ListMedias(albumId catalog.AlbumId, request catalog.PageRequest) (*catalog.MediaPage, error)
ListMedias provides a mock function with given fields: albumId, request
type ACLViewCatalogAdapter_Expecter ¶ added in v1.5.41
type ACLViewCatalogAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*ACLViewCatalogAdapter_Expecter) FindAlbums ¶ added in v1.5.41
func (_e *ACLViewCatalogAdapter_Expecter) FindAlbums(keys interface{}) *ACLViewCatalogAdapter_FindAlbums_Call
FindAlbums is a helper method to define mock.On call
- keys []catalog.AlbumId
func (*ACLViewCatalogAdapter_Expecter) FindAllAlbums ¶ added in v1.5.41
func (_e *ACLViewCatalogAdapter_Expecter) FindAllAlbums(owner interface{}) *ACLViewCatalogAdapter_FindAllAlbums_Call
FindAllAlbums is a helper method to define mock.On call
- owner ownermodel.Owner
func (*ACLViewCatalogAdapter_Expecter) ListMedias ¶ added in v1.5.41
func (_e *ACLViewCatalogAdapter_Expecter) ListMedias(albumId interface{}, request interface{}) *ACLViewCatalogAdapter_ListMedias_Call
ListMedias is a helper method to define mock.On call
- albumId catalog.AlbumId
- request catalog.PageRequest
type ACLViewCatalogAdapter_FindAlbums_Call ¶ added in v1.5.41
ACLViewCatalogAdapter_FindAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbums'
func (*ACLViewCatalogAdapter_FindAlbums_Call) Return ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_FindAlbums_Call) Return(_a0 []*catalog.Album, _a1 error) *ACLViewCatalogAdapter_FindAlbums_Call
func (*ACLViewCatalogAdapter_FindAlbums_Call) Run ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_FindAlbums_Call) Run(run func(keys []catalog.AlbumId)) *ACLViewCatalogAdapter_FindAlbums_Call
func (*ACLViewCatalogAdapter_FindAlbums_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_FindAlbums_Call) RunAndReturn(run func([]catalog.AlbumId) ([]*catalog.Album, error)) *ACLViewCatalogAdapter_FindAlbums_Call
type ACLViewCatalogAdapter_FindAllAlbums_Call ¶ added in v1.5.41
ACLViewCatalogAdapter_FindAllAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAllAlbums'
func (*ACLViewCatalogAdapter_FindAllAlbums_Call) Return ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_FindAllAlbums_Call) Return(_a0 []*catalog.Album, _a1 error) *ACLViewCatalogAdapter_FindAllAlbums_Call
func (*ACLViewCatalogAdapter_FindAllAlbums_Call) Run ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_FindAllAlbums_Call) Run(run func(owner ownermodel.Owner)) *ACLViewCatalogAdapter_FindAllAlbums_Call
func (*ACLViewCatalogAdapter_FindAllAlbums_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_FindAllAlbums_Call) RunAndReturn(run func(ownermodel.Owner) ([]*catalog.Album, error)) *ACLViewCatalogAdapter_FindAllAlbums_Call
type ACLViewCatalogAdapter_ListMedias_Call ¶ added in v1.5.41
ACLViewCatalogAdapter_ListMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMedias'
func (*ACLViewCatalogAdapter_ListMedias_Call) Return ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_ListMedias_Call) Return(_a0 *catalog.MediaPage, _a1 error) *ACLViewCatalogAdapter_ListMedias_Call
func (*ACLViewCatalogAdapter_ListMedias_Call) Run ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_ListMedias_Call) Run(run func(albumId catalog.AlbumId, request catalog.PageRequest)) *ACLViewCatalogAdapter_ListMedias_Call
func (*ACLViewCatalogAdapter_ListMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_ListMedias_Call) RunAndReturn(run func(catalog.AlbumId, catalog.PageRequest) (*catalog.MediaPage, error)) *ACLViewCatalogAdapter_ListMedias_Call
type ARepositoryAdapter ¶
ARepositoryAdapter is an autogenerated mock type for the ARepositoryAdapter type
func NewARepositoryAdapter ¶
func NewARepositoryAdapter(t interface { mock.TestingT Cleanup(func()) }) *ARepositoryAdapter
NewARepositoryAdapter creates a new instance of ARepositoryAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ARepositoryAdapter) AddLocation ¶
func (_m *ARepositoryAdapter) AddLocation(owner string, id string, key string) error
AddLocation provides a mock function with given fields: owner, id, key
func (*ARepositoryAdapter) EXPECT ¶ added in v1.5.41
func (_m *ARepositoryAdapter) EXPECT() *ARepositoryAdapter_Expecter
func (*ARepositoryAdapter) FindById ¶
func (_m *ARepositoryAdapter) FindById(owner string, id string) (string, error)
FindById provides a mock function with given fields: owner, id
func (*ARepositoryAdapter) FindByIds ¶
FindByIds provides a mock function with given fields: owner, ids
func (*ARepositoryAdapter) FindIdsFromKeyPrefix ¶
func (_m *ARepositoryAdapter) FindIdsFromKeyPrefix(keyPrefix string) (map[string]string, error)
FindIdsFromKeyPrefix provides a mock function with given fields: keyPrefix
func (*ARepositoryAdapter) UpdateLocations ¶
func (_m *ARepositoryAdapter) UpdateLocations(owner string, locations map[string]string) error
UpdateLocations provides a mock function with given fields: owner, locations
type ARepositoryAdapter_AddLocation_Call ¶ added in v1.5.41
ARepositoryAdapter_AddLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddLocation'
func (*ARepositoryAdapter_AddLocation_Call) Return ¶ added in v1.5.41
func (_c *ARepositoryAdapter_AddLocation_Call) Return(_a0 error) *ARepositoryAdapter_AddLocation_Call
func (*ARepositoryAdapter_AddLocation_Call) Run ¶ added in v1.5.41
func (_c *ARepositoryAdapter_AddLocation_Call) Run(run func(owner string, id string, key string)) *ARepositoryAdapter_AddLocation_Call
func (*ARepositoryAdapter_AddLocation_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ARepositoryAdapter_AddLocation_Call) RunAndReturn(run func(string, string, string) error) *ARepositoryAdapter_AddLocation_Call
type ARepositoryAdapter_Expecter ¶ added in v1.5.41
type ARepositoryAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*ARepositoryAdapter_Expecter) AddLocation ¶ added in v1.5.41
func (_e *ARepositoryAdapter_Expecter) AddLocation(owner interface{}, id interface{}, key interface{}) *ARepositoryAdapter_AddLocation_Call
AddLocation is a helper method to define mock.On call
- owner string
- id string
- key string
func (*ARepositoryAdapter_Expecter) FindById ¶ added in v1.5.41
func (_e *ARepositoryAdapter_Expecter) FindById(owner interface{}, id interface{}) *ARepositoryAdapter_FindById_Call
FindById is a helper method to define mock.On call
- owner string
- id string
func (*ARepositoryAdapter_Expecter) FindByIds ¶ added in v1.5.41
func (_e *ARepositoryAdapter_Expecter) FindByIds(owner interface{}, ids interface{}) *ARepositoryAdapter_FindByIds_Call
FindByIds is a helper method to define mock.On call
- owner string
- ids []string
func (*ARepositoryAdapter_Expecter) FindIdsFromKeyPrefix ¶ added in v1.5.41
func (_e *ARepositoryAdapter_Expecter) FindIdsFromKeyPrefix(keyPrefix interface{}) *ARepositoryAdapter_FindIdsFromKeyPrefix_Call
FindIdsFromKeyPrefix is a helper method to define mock.On call
- keyPrefix string
func (*ARepositoryAdapter_Expecter) UpdateLocations ¶ added in v1.5.41
func (_e *ARepositoryAdapter_Expecter) UpdateLocations(owner interface{}, locations interface{}) *ARepositoryAdapter_UpdateLocations_Call
UpdateLocations is a helper method to define mock.On call
- owner string
- locations map[string]string
type ARepositoryAdapter_FindById_Call ¶ added in v1.5.41
ARepositoryAdapter_FindById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindById'
func (*ARepositoryAdapter_FindById_Call) Return ¶ added in v1.5.41
func (_c *ARepositoryAdapter_FindById_Call) Return(_a0 string, _a1 error) *ARepositoryAdapter_FindById_Call
func (*ARepositoryAdapter_FindById_Call) Run ¶ added in v1.5.41
func (_c *ARepositoryAdapter_FindById_Call) Run(run func(owner string, id string)) *ARepositoryAdapter_FindById_Call
func (*ARepositoryAdapter_FindById_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ARepositoryAdapter_FindById_Call) RunAndReturn(run func(string, string) (string, error)) *ARepositoryAdapter_FindById_Call
type ARepositoryAdapter_FindByIds_Call ¶ added in v1.5.41
ARepositoryAdapter_FindByIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindByIds'
func (*ARepositoryAdapter_FindByIds_Call) Return ¶ added in v1.5.41
func (_c *ARepositoryAdapter_FindByIds_Call) Return(_a0 map[string]string, _a1 error) *ARepositoryAdapter_FindByIds_Call
func (*ARepositoryAdapter_FindByIds_Call) Run ¶ added in v1.5.41
func (_c *ARepositoryAdapter_FindByIds_Call) Run(run func(owner string, ids []string)) *ARepositoryAdapter_FindByIds_Call
func (*ARepositoryAdapter_FindByIds_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ARepositoryAdapter_FindByIds_Call) RunAndReturn(run func(string, []string) (map[string]string, error)) *ARepositoryAdapter_FindByIds_Call
type ARepositoryAdapter_FindIdsFromKeyPrefix_Call ¶ added in v1.5.41
ARepositoryAdapter_FindIdsFromKeyPrefix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIdsFromKeyPrefix'
func (*ARepositoryAdapter_FindIdsFromKeyPrefix_Call) Return ¶ added in v1.5.41
func (_c *ARepositoryAdapter_FindIdsFromKeyPrefix_Call) Return(_a0 map[string]string, _a1 error) *ARepositoryAdapter_FindIdsFromKeyPrefix_Call
func (*ARepositoryAdapter_FindIdsFromKeyPrefix_Call) Run ¶ added in v1.5.41
func (_c *ARepositoryAdapter_FindIdsFromKeyPrefix_Call) Run(run func(keyPrefix string)) *ARepositoryAdapter_FindIdsFromKeyPrefix_Call
func (*ARepositoryAdapter_FindIdsFromKeyPrefix_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ARepositoryAdapter_FindIdsFromKeyPrefix_Call) RunAndReturn(run func(string) (map[string]string, error)) *ARepositoryAdapter_FindIdsFromKeyPrefix_Call
type ARepositoryAdapter_UpdateLocations_Call ¶ added in v1.5.41
ARepositoryAdapter_UpdateLocations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateLocations'
func (*ARepositoryAdapter_UpdateLocations_Call) Return ¶ added in v1.5.41
func (_c *ARepositoryAdapter_UpdateLocations_Call) Return(_a0 error) *ARepositoryAdapter_UpdateLocations_Call
func (*ARepositoryAdapter_UpdateLocations_Call) Run ¶ added in v1.5.41
func (_c *ARepositoryAdapter_UpdateLocations_Call) Run(run func(owner string, locations map[string]string)) *ARepositoryAdapter_UpdateLocations_Call
func (*ARepositoryAdapter_UpdateLocations_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ARepositoryAdapter_UpdateLocations_Call) RunAndReturn(run func(string, map[string]string) error) *ARepositoryAdapter_UpdateLocations_Call
type AWSAdapterNames ¶ added in v1.5.39
AWSAdapterNames is an autogenerated mock type for the AWSAdapterNames type
func NewAWSAdapterNames ¶ added in v1.5.39
func NewAWSAdapterNames(t interface { mock.TestingT Cleanup(func()) }) *AWSAdapterNames
NewAWSAdapterNames creates a new instance of AWSAdapterNames. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AWSAdapterNames) ArchiveCacheBucketName ¶ added in v1.5.39
func (_m *AWSAdapterNames) ArchiveCacheBucketName() string
ArchiveCacheBucketName provides a mock function with given fields:
func (*AWSAdapterNames) ArchiveJobsSNSARN ¶ added in v1.5.39
func (_m *AWSAdapterNames) ArchiveJobsSNSARN() string
ArchiveJobsSNSARN provides a mock function with given fields:
func (*AWSAdapterNames) ArchiveJobsSQSURL ¶ added in v1.5.39
func (_m *AWSAdapterNames) ArchiveJobsSQSURL() string
ArchiveJobsSQSURL provides a mock function with given fields:
func (*AWSAdapterNames) ArchiveMainBucketName ¶ added in v1.5.39
func (_m *AWSAdapterNames) ArchiveMainBucketName() string
ArchiveMainBucketName provides a mock function with given fields:
func (*AWSAdapterNames) DynamoDBName ¶ added in v1.5.39
func (_m *AWSAdapterNames) DynamoDBName() string
DynamoDBName provides a mock function with given fields:
func (*AWSAdapterNames) EXPECT ¶ added in v1.5.41
func (_m *AWSAdapterNames) EXPECT() *AWSAdapterNames_Expecter
type AWSAdapterNames_ArchiveCacheBucketName_Call ¶ added in v1.5.41
AWSAdapterNames_ArchiveCacheBucketName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArchiveCacheBucketName'
func (*AWSAdapterNames_ArchiveCacheBucketName_Call) Return ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveCacheBucketName_Call) Return(_a0 string) *AWSAdapterNames_ArchiveCacheBucketName_Call
func (*AWSAdapterNames_ArchiveCacheBucketName_Call) Run ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveCacheBucketName_Call) Run(run func()) *AWSAdapterNames_ArchiveCacheBucketName_Call
func (*AWSAdapterNames_ArchiveCacheBucketName_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveCacheBucketName_Call) RunAndReturn(run func() string) *AWSAdapterNames_ArchiveCacheBucketName_Call
type AWSAdapterNames_ArchiveJobsSNSARN_Call ¶ added in v1.5.41
AWSAdapterNames_ArchiveJobsSNSARN_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArchiveJobsSNSARN'
func (*AWSAdapterNames_ArchiveJobsSNSARN_Call) Return ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveJobsSNSARN_Call) Return(_a0 string) *AWSAdapterNames_ArchiveJobsSNSARN_Call
func (*AWSAdapterNames_ArchiveJobsSNSARN_Call) Run ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveJobsSNSARN_Call) Run(run func()) *AWSAdapterNames_ArchiveJobsSNSARN_Call
func (*AWSAdapterNames_ArchiveJobsSNSARN_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveJobsSNSARN_Call) RunAndReturn(run func() string) *AWSAdapterNames_ArchiveJobsSNSARN_Call
type AWSAdapterNames_ArchiveJobsSQSURL_Call ¶ added in v1.5.41
AWSAdapterNames_ArchiveJobsSQSURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArchiveJobsSQSURL'
func (*AWSAdapterNames_ArchiveJobsSQSURL_Call) Return ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveJobsSQSURL_Call) Return(_a0 string) *AWSAdapterNames_ArchiveJobsSQSURL_Call
func (*AWSAdapterNames_ArchiveJobsSQSURL_Call) Run ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveJobsSQSURL_Call) Run(run func()) *AWSAdapterNames_ArchiveJobsSQSURL_Call
func (*AWSAdapterNames_ArchiveJobsSQSURL_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveJobsSQSURL_Call) RunAndReturn(run func() string) *AWSAdapterNames_ArchiveJobsSQSURL_Call
type AWSAdapterNames_ArchiveMainBucketName_Call ¶ added in v1.5.41
AWSAdapterNames_ArchiveMainBucketName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArchiveMainBucketName'
func (*AWSAdapterNames_ArchiveMainBucketName_Call) Return ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveMainBucketName_Call) Return(_a0 string) *AWSAdapterNames_ArchiveMainBucketName_Call
func (*AWSAdapterNames_ArchiveMainBucketName_Call) Run ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveMainBucketName_Call) Run(run func()) *AWSAdapterNames_ArchiveMainBucketName_Call
func (*AWSAdapterNames_ArchiveMainBucketName_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AWSAdapterNames_ArchiveMainBucketName_Call) RunAndReturn(run func() string) *AWSAdapterNames_ArchiveMainBucketName_Call
type AWSAdapterNames_DynamoDBName_Call ¶ added in v1.5.41
AWSAdapterNames_DynamoDBName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DynamoDBName'
func (*AWSAdapterNames_DynamoDBName_Call) Return ¶ added in v1.5.41
func (_c *AWSAdapterNames_DynamoDBName_Call) Return(_a0 string) *AWSAdapterNames_DynamoDBName_Call
func (*AWSAdapterNames_DynamoDBName_Call) Run ¶ added in v1.5.41
func (_c *AWSAdapterNames_DynamoDBName_Call) Run(run func()) *AWSAdapterNames_DynamoDBName_Call
func (*AWSAdapterNames_DynamoDBName_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AWSAdapterNames_DynamoDBName_Call) RunAndReturn(run func() string) *AWSAdapterNames_DynamoDBName_Call
type AWSAdapterNames_Expecter ¶ added in v1.5.41
type AWSAdapterNames_Expecter struct {
// contains filtered or unexported fields
}
func (*AWSAdapterNames_Expecter) ArchiveCacheBucketName ¶ added in v1.5.41
func (_e *AWSAdapterNames_Expecter) ArchiveCacheBucketName() *AWSAdapterNames_ArchiveCacheBucketName_Call
ArchiveCacheBucketName is a helper method to define mock.On call
func (*AWSAdapterNames_Expecter) ArchiveJobsSNSARN ¶ added in v1.5.41
func (_e *AWSAdapterNames_Expecter) ArchiveJobsSNSARN() *AWSAdapterNames_ArchiveJobsSNSARN_Call
ArchiveJobsSNSARN is a helper method to define mock.On call
func (*AWSAdapterNames_Expecter) ArchiveJobsSQSURL ¶ added in v1.5.41
func (_e *AWSAdapterNames_Expecter) ArchiveJobsSQSURL() *AWSAdapterNames_ArchiveJobsSQSURL_Call
ArchiveJobsSQSURL is a helper method to define mock.On call
func (*AWSAdapterNames_Expecter) ArchiveMainBucketName ¶ added in v1.5.41
func (_e *AWSAdapterNames_Expecter) ArchiveMainBucketName() *AWSAdapterNames_ArchiveMainBucketName_Call
ArchiveMainBucketName is a helper method to define mock.On call
func (*AWSAdapterNames_Expecter) DynamoDBName ¶ added in v1.5.41
func (_e *AWSAdapterNames_Expecter) DynamoDBName() *AWSAdapterNames_DynamoDBName_Call
DynamoDBName is a helper method to define mock.On call
type AlbumDatesAmendedObserver ¶ added in v1.6.4
AlbumDatesAmendedObserver is an autogenerated mock type for the AlbumDatesAmendedObserver type
func NewAlbumDatesAmendedObserver ¶ added in v1.6.4
func NewAlbumDatesAmendedObserver(t interface { mock.TestingT Cleanup(func()) }) *AlbumDatesAmendedObserver
NewAlbumDatesAmendedObserver creates a new instance of AlbumDatesAmendedObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumDatesAmendedObserver) EXPECT ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserver) EXPECT() *AlbumDatesAmendedObserver_Expecter
func (*AlbumDatesAmendedObserver) OnAlbumDatesAmended ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserver) OnAlbumDatesAmended(ctx context.Context, amendedAlbum catalog.DatesUpdate) error
OnAlbumDatesAmended provides a mock function with given fields: ctx, amendedAlbum
type AlbumDatesAmendedObserverFunc ¶ added in v1.6.4
AlbumDatesAmendedObserverFunc is an autogenerated mock type for the AlbumDatesAmendedObserverFunc type
func NewAlbumDatesAmendedObserverFunc ¶ added in v1.6.4
func NewAlbumDatesAmendedObserverFunc(t interface { mock.TestingT Cleanup(func()) }) *AlbumDatesAmendedObserverFunc
NewAlbumDatesAmendedObserverFunc creates a new instance of AlbumDatesAmendedObserverFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumDatesAmendedObserverFunc) EXPECT ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserverFunc) EXPECT() *AlbumDatesAmendedObserverFunc_Expecter
func (*AlbumDatesAmendedObserverFunc) Execute ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserverFunc) Execute(ctx context.Context, amendedAlbum catalog.DatesUpdate) error
Execute provides a mock function with given fields: ctx, amendedAlbum
type AlbumDatesAmendedObserverFunc_Execute_Call ¶ added in v1.6.4
AlbumDatesAmendedObserverFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*AlbumDatesAmendedObserverFunc_Execute_Call) Return ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) Return(_a0 error) *AlbumDatesAmendedObserverFunc_Execute_Call
func (*AlbumDatesAmendedObserverFunc_Execute_Call) Run ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) Run(run func(ctx context.Context, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserverFunc_Execute_Call
func (*AlbumDatesAmendedObserverFunc_Execute_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.DatesUpdate) error) *AlbumDatesAmendedObserverFunc_Execute_Call
type AlbumDatesAmendedObserverFunc_Expecter ¶ added in v1.6.4
type AlbumDatesAmendedObserverFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumDatesAmendedObserverFunc_Expecter) Execute ¶ added in v1.6.4
func (_e *AlbumDatesAmendedObserverFunc_Expecter) Execute(ctx interface{}, amendedAlbum interface{}) *AlbumDatesAmendedObserverFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- amendedAlbum catalog.DatesUpdate
type AlbumDatesAmendedObserverWithTimeline ¶ added in v1.6.4
AlbumDatesAmendedObserverWithTimeline is an autogenerated mock type for the AlbumDatesAmendedObserverWithTimeline type
func NewAlbumDatesAmendedObserverWithTimeline ¶ added in v1.6.4
func NewAlbumDatesAmendedObserverWithTimeline(t interface { mock.TestingT Cleanup(func()) }) *AlbumDatesAmendedObserverWithTimeline
NewAlbumDatesAmendedObserverWithTimeline creates a new instance of AlbumDatesAmendedObserverWithTimeline. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumDatesAmendedObserverWithTimeline) EXPECT ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserverWithTimeline) EXPECT() *AlbumDatesAmendedObserverWithTimeline_Expecter
func (*AlbumDatesAmendedObserverWithTimeline) OnAlbumDatesAmendedWithTimeline ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserverWithTimeline) OnAlbumDatesAmendedWithTimeline(ctx context.Context, timeline *catalog.TimelineAggregate, amendedAlbum catalog.DatesUpdate) error
OnAlbumDatesAmendedWithTimeline provides a mock function with given fields: ctx, timeline, amendedAlbum
type AlbumDatesAmendedObserverWithTimeline_Expecter ¶ added in v1.6.4
type AlbumDatesAmendedObserverWithTimeline_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumDatesAmendedObserverWithTimeline_Expecter) OnAlbumDatesAmendedWithTimeline ¶ added in v1.6.4
func (_e *AlbumDatesAmendedObserverWithTimeline_Expecter) OnAlbumDatesAmendedWithTimeline(ctx interface{}, timeline interface{}, amendedAlbum interface{}) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
OnAlbumDatesAmendedWithTimeline is a helper method to define mock.On call
- ctx context.Context
- timeline *catalog.TimelineAggregate
- amendedAlbum catalog.DatesUpdate
type AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call ¶ added in v1.6.4
type AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call struct {
*mock.Call
}
AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAlbumDatesAmendedWithTimeline'
func (*AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Return ¶ added in v1.6.4
func (*AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Run ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
func (*AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) RunAndReturn ¶ added in v1.6.4
type AlbumDatesAmendedObserver_Expecter ¶ added in v1.6.4
type AlbumDatesAmendedObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumDatesAmendedObserver_Expecter) OnAlbumDatesAmended ¶ added in v1.6.4
func (_e *AlbumDatesAmendedObserver_Expecter) OnAlbumDatesAmended(ctx interface{}, amendedAlbum interface{}) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
OnAlbumDatesAmended is a helper method to define mock.On call
- ctx context.Context
- amendedAlbum catalog.DatesUpdate
type AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call ¶ added in v1.6.4
AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAlbumDatesAmended'
func (*AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Run ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Run(run func(ctx context.Context, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
func (*AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) RunAndReturn(run func(context.Context, catalog.DatesUpdate) error) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
type AlbumLookupPort ¶ added in v1.5.54
AlbumLookupPort is an autogenerated mock type for the AlbumLookupPort type
func NewAlbumLookupPort ¶ added in v1.5.54
func NewAlbumLookupPort(t interface { mock.TestingT Cleanup(func()) }) *AlbumLookupPort
NewAlbumLookupPort creates a new instance of AlbumLookupPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumLookupPort) EXPECT ¶ added in v1.5.54
func (_m *AlbumLookupPort) EXPECT() *AlbumLookupPort_Expecter
func (*AlbumLookupPort) FindOrCreateAlbum ¶ added in v1.5.54
func (_m *AlbumLookupPort) FindOrCreateAlbum(owner ownermodel.Owner, mediaTime time.Time) (string, bool, error)
FindOrCreateAlbum provides a mock function with given fields: owner, mediaTime
type AlbumLookupPort_Expecter ¶ added in v1.5.54
type AlbumLookupPort_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumLookupPort_Expecter) FindOrCreateAlbum ¶ added in v1.5.54
func (_e *AlbumLookupPort_Expecter) FindOrCreateAlbum(owner interface{}, mediaTime interface{}) *AlbumLookupPort_FindOrCreateAlbum_Call
FindOrCreateAlbum is a helper method to define mock.On call
- owner ownermodel.Owner
- mediaTime time.Time
type AlbumLookupPort_FindOrCreateAlbum_Call ¶ added in v1.5.54
AlbumLookupPort_FindOrCreateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOrCreateAlbum'
func (*AlbumLookupPort_FindOrCreateAlbum_Call) Return ¶ added in v1.5.54
func (_c *AlbumLookupPort_FindOrCreateAlbum_Call) Return(folderName string, created bool, err error) *AlbumLookupPort_FindOrCreateAlbum_Call
func (*AlbumLookupPort_FindOrCreateAlbum_Call) Run ¶ added in v1.5.54
func (_c *AlbumLookupPort_FindOrCreateAlbum_Call) Run(run func(owner ownermodel.Owner, mediaTime time.Time)) *AlbumLookupPort_FindOrCreateAlbum_Call
func (*AlbumLookupPort_FindOrCreateAlbum_Call) RunAndReturn ¶ added in v1.5.54
func (_c *AlbumLookupPort_FindOrCreateAlbum_Call) RunAndReturn(run func(ownermodel.Owner, time.Time) (string, bool, error)) *AlbumLookupPort_FindOrCreateAlbum_Call
type AlbumLookupStrategy ¶ added in v1.6.4
AlbumLookupStrategy is an autogenerated mock type for the AlbumLookupStrategy type
func NewAlbumLookupStrategy ¶ added in v1.6.4
func NewAlbumLookupStrategy(t interface { mock.TestingT Cleanup(func()) }) *AlbumLookupStrategy
NewAlbumLookupStrategy creates a new instance of AlbumLookupStrategy. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumLookupStrategy) EXPECT ¶ added in v1.6.4
func (_m *AlbumLookupStrategy) EXPECT() *AlbumLookupStrategy_Expecter
func (*AlbumLookupStrategy) LookupAlbum ¶ added in v1.6.4
func (_m *AlbumLookupStrategy) LookupAlbum(ctx context.Context, owner ownermodel.Owner, timeline *catalog.TimelineAggregate, mediaTime time.Time) (catalog.AlbumReference, error)
LookupAlbum provides a mock function with given fields: ctx, owner, timeline, mediaTime
type AlbumLookupStrategy_Expecter ¶ added in v1.6.4
type AlbumLookupStrategy_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumLookupStrategy_Expecter) LookupAlbum ¶ added in v1.6.4
func (_e *AlbumLookupStrategy_Expecter) LookupAlbum(ctx interface{}, owner interface{}, timeline interface{}, mediaTime interface{}) *AlbumLookupStrategy_LookupAlbum_Call
LookupAlbum is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- timeline *catalog.TimelineAggregate
- mediaTime time.Time
type AlbumLookupStrategy_LookupAlbum_Call ¶ added in v1.6.4
AlbumLookupStrategy_LookupAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LookupAlbum'
func (*AlbumLookupStrategy_LookupAlbum_Call) Return ¶ added in v1.6.4
func (_c *AlbumLookupStrategy_LookupAlbum_Call) Return(_a0 catalog.AlbumReference, _a1 error) *AlbumLookupStrategy_LookupAlbum_Call
func (*AlbumLookupStrategy_LookupAlbum_Call) Run ¶ added in v1.6.4
func (_c *AlbumLookupStrategy_LookupAlbum_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, timeline *catalog.TimelineAggregate, mediaTime time.Time)) *AlbumLookupStrategy_LookupAlbum_Call
func (*AlbumLookupStrategy_LookupAlbum_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumLookupStrategy_LookupAlbum_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, *catalog.TimelineAggregate, time.Time) (catalog.AlbumReference, error)) *AlbumLookupStrategy_LookupAlbum_Call
type AlbumSharedObserver ¶ added in v1.6.4
type AlbumSharedObserver struct {
}AlbumSharedObserver is an autogenerated mock type for the AlbumSharedObserver type
func NewAlbumSharedObserver ¶ added in v1.6.4
func NewAlbumSharedObserver(t interface { mock.TestingT Cleanup(func()) }) *AlbumSharedObserver
NewAlbumSharedObserver creates a new instance of AlbumSharedObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumSharedObserver) AlbumShared ¶ added in v1.6.4
func (_m *AlbumSharedObserver) AlbumShared(ctx context.Context, albumId catalog.AlbumId, userEmail usermodel.UserId) error
AlbumShared provides a mock function with given fields: ctx, albumId, userEmail
func (*AlbumSharedObserver) EXPECT ¶ added in v1.6.4
func (_m *AlbumSharedObserver) EXPECT() *AlbumSharedObserver_Expecter
type AlbumSharedObserver_AlbumShared_Call ¶ added in v1.6.4
type AlbumSharedObserver_AlbumShared_Call struct {
}AlbumSharedObserver_AlbumShared_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlbumShared'
func (*AlbumSharedObserver_AlbumShared_Call) Return ¶ added in v1.6.4
func (_c *AlbumSharedObserver_AlbumShared_Call) Return(_a0 error) *AlbumSharedObserver_AlbumShared_Call
func (*AlbumSharedObserver_AlbumShared_Call) Run ¶ added in v1.6.4
func (_c *AlbumSharedObserver_AlbumShared_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, userEmail usermodel.UserId)) *AlbumSharedObserver_AlbumShared_Call
func (*AlbumSharedObserver_AlbumShared_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumSharedObserver_AlbumShared_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, usermodel.UserId) error) *AlbumSharedObserver_AlbumShared_Call
type AlbumSharedObserver_Expecter ¶ added in v1.6.4
type AlbumSharedObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumSharedObserver_Expecter) AlbumShared ¶ added in v1.6.4
func (_e *AlbumSharedObserver_Expecter) AlbumShared(ctx interface{}, albumId interface{}, userEmail interface{}) *AlbumSharedObserver_AlbumShared_Call
AlbumShared is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
- userEmail usermodel.UserId
type AlbumUnSharedObserver ¶ added in v1.6.4
type AlbumUnSharedObserver struct {
}AlbumUnSharedObserver is an autogenerated mock type for the AlbumUnSharedObserver type
func NewAlbumUnSharedObserver ¶ added in v1.6.4
func NewAlbumUnSharedObserver(t interface { mock.TestingT Cleanup(func()) }) *AlbumUnSharedObserver
NewAlbumUnSharedObserver creates a new instance of AlbumUnSharedObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumUnSharedObserver) AlbumUnShared ¶ added in v1.6.4
func (_m *AlbumUnSharedObserver) AlbumUnShared(ctx context.Context, albumId catalog.AlbumId, userEmail usermodel.UserId) error
AlbumUnShared provides a mock function with given fields: ctx, albumId, userEmail
func (*AlbumUnSharedObserver) EXPECT ¶ added in v1.6.4
func (_m *AlbumUnSharedObserver) EXPECT() *AlbumUnSharedObserver_Expecter
type AlbumUnSharedObserver_AlbumUnShared_Call ¶ added in v1.6.4
type AlbumUnSharedObserver_AlbumUnShared_Call struct {
}AlbumUnSharedObserver_AlbumUnShared_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlbumUnShared'
func (*AlbumUnSharedObserver_AlbumUnShared_Call) Return ¶ added in v1.6.4
func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) Return(_a0 error) *AlbumUnSharedObserver_AlbumUnShared_Call
func (*AlbumUnSharedObserver_AlbumUnShared_Call) Run ¶ added in v1.6.4
func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, userEmail usermodel.UserId)) *AlbumUnSharedObserver_AlbumUnShared_Call
func (*AlbumUnSharedObserver_AlbumUnShared_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, usermodel.UserId) error) *AlbumUnSharedObserver_AlbumUnShared_Call
type AlbumUnSharedObserver_Expecter ¶ added in v1.6.4
type AlbumUnSharedObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumUnSharedObserver_Expecter) AlbumUnShared ¶ added in v1.6.4
func (_e *AlbumUnSharedObserver_Expecter) AlbumUnShared(ctx interface{}, albumId interface{}, userEmail interface{}) *AlbumUnSharedObserver_AlbumUnShared_Call
AlbumUnShared is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
- userEmail usermodel.UserId
type AmendAlbumDateRepositoryPort ¶ added in v1.5.45
AmendAlbumDateRepositoryPort is an autogenerated mock type for the AmendAlbumDateRepositoryPort type
func NewAmendAlbumDateRepositoryPort ¶ added in v1.5.45
func NewAmendAlbumDateRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *AmendAlbumDateRepositoryPort
NewAmendAlbumDateRepositoryPort creates a new instance of AmendAlbumDateRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AmendAlbumDateRepositoryPort) AmendDates ¶ added in v1.5.45
func (_m *AmendAlbumDateRepositoryPort) AmendDates(ctx context.Context, album catalog.AlbumId, start time.Time, end time.Time) error
AmendDates provides a mock function with given fields: ctx, album, start, end
func (*AmendAlbumDateRepositoryPort) EXPECT ¶ added in v1.5.45
func (_m *AmendAlbumDateRepositoryPort) EXPECT() *AmendAlbumDateRepositoryPort_Expecter
type AmendAlbumDateRepositoryPort_AmendDates_Call ¶ added in v1.5.45
AmendAlbumDateRepositoryPort_AmendDates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AmendDates'
func (*AmendAlbumDateRepositoryPort_AmendDates_Call) Return ¶ added in v1.5.45
func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) Return(_a0 error) *AmendAlbumDateRepositoryPort_AmendDates_Call
func (*AmendAlbumDateRepositoryPort_AmendDates_Call) Run ¶ added in v1.5.45
func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) Run(run func(ctx context.Context, album catalog.AlbumId, start time.Time, end time.Time)) *AmendAlbumDateRepositoryPort_AmendDates_Call
func (*AmendAlbumDateRepositoryPort_AmendDates_Call) RunAndReturn ¶ added in v1.5.45
type AmendAlbumDateRepositoryPort_Expecter ¶ added in v1.5.45
type AmendAlbumDateRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*AmendAlbumDateRepositoryPort_Expecter) AmendDates ¶ added in v1.5.45
func (_e *AmendAlbumDateRepositoryPort_Expecter) AmendDates(ctx interface{}, album interface{}, start interface{}, end interface{}) *AmendAlbumDateRepositoryPort_AmendDates_Call
AmendDates is a helper method to define mock.On call
- ctx context.Context
- album catalog.AlbumId
- start time.Time
- end time.Time
type AmendAlbumDatesWithTimeline ¶ added in v1.6.4
AmendAlbumDatesWithTimeline is an autogenerated mock type for the AmendAlbumDatesWithTimeline type
func NewAmendAlbumDatesWithTimeline ¶ added in v1.6.4
func NewAmendAlbumDatesWithTimeline(t interface { mock.TestingT Cleanup(func()) }) *AmendAlbumDatesWithTimeline
NewAmendAlbumDatesWithTimeline creates a new instance of AmendAlbumDatesWithTimeline. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AmendAlbumDatesWithTimeline) AmendAlbumDates ¶ added in v1.6.4
func (_m *AmendAlbumDatesWithTimeline) AmendAlbumDates(ctx context.Context, timeline *catalog.TimelineAggregate, albumId catalog.AlbumId, start time.Time, end time.Time) error
AmendAlbumDates provides a mock function with given fields: ctx, timeline, albumId, start, end
func (*AmendAlbumDatesWithTimeline) EXPECT ¶ added in v1.6.4
func (_m *AmendAlbumDatesWithTimeline) EXPECT() *AmendAlbumDatesWithTimeline_Expecter
type AmendAlbumDatesWithTimeline_AmendAlbumDates_Call ¶ added in v1.6.4
AmendAlbumDatesWithTimeline_AmendAlbumDates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AmendAlbumDates'
func (*AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Return ¶ added in v1.6.4
func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Return(_a0 error) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
func (*AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Run ¶ added in v1.6.4
func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, albumId catalog.AlbumId, start time.Time, end time.Time)) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
func (*AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) RunAndReturn(run func(context.Context, *catalog.TimelineAggregate, catalog.AlbumId, time.Time, time.Time) error) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
type AmendAlbumDatesWithTimeline_Expecter ¶ added in v1.6.4
type AmendAlbumDatesWithTimeline_Expecter struct {
// contains filtered or unexported fields
}
func (*AmendAlbumDatesWithTimeline_Expecter) AmendAlbumDates ¶ added in v1.6.4
func (_e *AmendAlbumDatesWithTimeline_Expecter) AmendAlbumDates(ctx interface{}, timeline interface{}, albumId interface{}, start interface{}, end interface{}) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
AmendAlbumDates is a helper method to define mock.On call
- ctx context.Context
- timeline *catalog.TimelineAggregate
- albumId catalog.AlbumId
- start time.Time
- end time.Time
type AnalyserDecorator ¶ added in v1.5.0
AnalyserDecorator is an autogenerated mock type for the AnalyserDecorator type
func NewAnalyserDecorator ¶ added in v1.5.0
func NewAnalyserDecorator(t interface { mock.TestingT Cleanup(func()) }) *AnalyserDecorator
NewAnalyserDecorator creates a new instance of AnalyserDecorator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AnalyserDecorator) Decorate ¶ added in v1.5.0
func (_m *AnalyserDecorator) Decorate(analyseFunc backup.Analyser) backup.Analyser
Decorate provides a mock function with given fields: analyseFunc
func (*AnalyserDecorator) EXPECT ¶ added in v1.5.41
func (_m *AnalyserDecorator) EXPECT() *AnalyserDecorator_Expecter
type AnalyserDecorator_Decorate_Call ¶ added in v1.5.41
AnalyserDecorator_Decorate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Decorate'
func (*AnalyserDecorator_Decorate_Call) Return ¶ added in v1.5.41
func (_c *AnalyserDecorator_Decorate_Call) Return(_a0 backup.Analyser) *AnalyserDecorator_Decorate_Call
func (*AnalyserDecorator_Decorate_Call) Run ¶ added in v1.5.41
func (_c *AnalyserDecorator_Decorate_Call) Run(run func(analyseFunc backup.Analyser)) *AnalyserDecorator_Decorate_Call
func (*AnalyserDecorator_Decorate_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AnalyserDecorator_Decorate_Call) RunAndReturn(run func(backup.Analyser) backup.Analyser) *AnalyserDecorator_Decorate_Call
type AnalyserDecorator_Expecter ¶ added in v1.5.41
type AnalyserDecorator_Expecter struct {
// contains filtered or unexported fields
}
func (*AnalyserDecorator_Expecter) Decorate ¶ added in v1.5.41
func (_e *AnalyserDecorator_Expecter) Decorate(analyseFunc interface{}) *AnalyserDecorator_Decorate_Call
Decorate is a helper method to define mock.On call
- analyseFunc backup.Analyser
type AsyncJobAdapter ¶
AsyncJobAdapter is an autogenerated mock type for the AsyncJobAdapter type
func NewAsyncJobAdapter ¶
func NewAsyncJobAdapter(t interface { mock.TestingT Cleanup(func()) }) *AsyncJobAdapter
NewAsyncJobAdapter creates a new instance of AsyncJobAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AsyncJobAdapter) EXPECT ¶ added in v1.5.41
func (_m *AsyncJobAdapter) EXPECT() *AsyncJobAdapter_Expecter
func (*AsyncJobAdapter) LoadImagesInCache ¶
func (_m *AsyncJobAdapter) LoadImagesInCache(images ...*archive.ImageToResize) error
LoadImagesInCache provides a mock function with given fields: images
func (*AsyncJobAdapter) WarmUpCacheByFolder ¶
func (_m *AsyncJobAdapter) WarmUpCacheByFolder(owner string, missedStoreKey string, width int) error
WarmUpCacheByFolder provides a mock function with given fields: owner, missedStoreKey, width
type AsyncJobAdapter_Expecter ¶ added in v1.5.41
type AsyncJobAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*AsyncJobAdapter_Expecter) LoadImagesInCache ¶ added in v1.5.41
func (_e *AsyncJobAdapter_Expecter) LoadImagesInCache(images ...interface{}) *AsyncJobAdapter_LoadImagesInCache_Call
LoadImagesInCache is a helper method to define mock.On call
- images ...*archive.ImageToResize
func (*AsyncJobAdapter_Expecter) WarmUpCacheByFolder ¶ added in v1.5.41
func (_e *AsyncJobAdapter_Expecter) WarmUpCacheByFolder(owner interface{}, missedStoreKey interface{}, width interface{}) *AsyncJobAdapter_WarmUpCacheByFolder_Call
WarmUpCacheByFolder is a helper method to define mock.On call
- owner string
- missedStoreKey string
- width int
type AsyncJobAdapter_LoadImagesInCache_Call ¶ added in v1.5.41
AsyncJobAdapter_LoadImagesInCache_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadImagesInCache'
func (*AsyncJobAdapter_LoadImagesInCache_Call) Return ¶ added in v1.5.41
func (_c *AsyncJobAdapter_LoadImagesInCache_Call) Return(_a0 error) *AsyncJobAdapter_LoadImagesInCache_Call
func (*AsyncJobAdapter_LoadImagesInCache_Call) Run ¶ added in v1.5.41
func (_c *AsyncJobAdapter_LoadImagesInCache_Call) Run(run func(images ...*archive.ImageToResize)) *AsyncJobAdapter_LoadImagesInCache_Call
func (*AsyncJobAdapter_LoadImagesInCache_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AsyncJobAdapter_LoadImagesInCache_Call) RunAndReturn(run func(...*archive.ImageToResize) error) *AsyncJobAdapter_LoadImagesInCache_Call
type AsyncJobAdapter_WarmUpCacheByFolder_Call ¶ added in v1.5.41
AsyncJobAdapter_WarmUpCacheByFolder_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WarmUpCacheByFolder'
func (*AsyncJobAdapter_WarmUpCacheByFolder_Call) Return ¶ added in v1.5.41
func (_c *AsyncJobAdapter_WarmUpCacheByFolder_Call) Return(_a0 error) *AsyncJobAdapter_WarmUpCacheByFolder_Call
func (*AsyncJobAdapter_WarmUpCacheByFolder_Call) Run ¶ added in v1.5.41
func (_c *AsyncJobAdapter_WarmUpCacheByFolder_Call) Run(run func(owner string, missedStoreKey string, width int)) *AsyncJobAdapter_WarmUpCacheByFolder_Call
func (*AsyncJobAdapter_WarmUpCacheByFolder_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AsyncJobAdapter_WarmUpCacheByFolder_Call) RunAndReturn(run func(string, string, int) error) *AsyncJobAdapter_WarmUpCacheByFolder_Call
type BArchiveAdapter ¶
BArchiveAdapter is an autogenerated mock type for the BArchiveAdapter type
func NewBArchiveAdapter ¶
func NewBArchiveAdapter(t interface { mock.TestingT Cleanup(func()) }) *BArchiveAdapter
NewBArchiveAdapter creates a new instance of BArchiveAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BArchiveAdapter) ArchiveMedia ¶
func (_m *BArchiveAdapter) ArchiveMedia(owner string, media *backup.BackingUpMediaRequest) (string, error)
ArchiveMedia provides a mock function with given fields: owner, media
func (*BArchiveAdapter) EXPECT ¶ added in v1.5.41
func (_m *BArchiveAdapter) EXPECT() *BArchiveAdapter_Expecter
type BArchiveAdapter_ArchiveMedia_Call ¶ added in v1.5.41
BArchiveAdapter_ArchiveMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArchiveMedia'
func (*BArchiveAdapter_ArchiveMedia_Call) Return ¶ added in v1.5.41
func (_c *BArchiveAdapter_ArchiveMedia_Call) Return(_a0 string, _a1 error) *BArchiveAdapter_ArchiveMedia_Call
func (*BArchiveAdapter_ArchiveMedia_Call) Run ¶ added in v1.5.41
func (_c *BArchiveAdapter_ArchiveMedia_Call) Run(run func(owner string, media *backup.BackingUpMediaRequest)) *BArchiveAdapter_ArchiveMedia_Call
func (*BArchiveAdapter_ArchiveMedia_Call) RunAndReturn ¶ added in v1.5.41
func (_c *BArchiveAdapter_ArchiveMedia_Call) RunAndReturn(run func(string, *backup.BackingUpMediaRequest) (string, error)) *BArchiveAdapter_ArchiveMedia_Call
type BArchiveAdapter_Expecter ¶ added in v1.5.41
type BArchiveAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*BArchiveAdapter_Expecter) ArchiveMedia ¶ added in v1.5.41
func (_e *BArchiveAdapter_Expecter) ArchiveMedia(owner interface{}, media interface{}) *BArchiveAdapter_ArchiveMedia_Call
ArchiveMedia is a helper method to define mock.On call
- owner string
- media *backup.BackingUpMediaRequest
type BackupSuggestionPort ¶
BackupSuggestionPort is an autogenerated mock type for the BackupSuggestionPort type
func NewBackupSuggestionPort ¶
func NewBackupSuggestionPort(t interface { mock.TestingT Cleanup(func()) }) *BackupSuggestionPort
NewBackupSuggestionPort creates a new instance of BackupSuggestionPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BackupSuggestionPort) BackupSuggestion ¶
func (_m *BackupSuggestionPort) BackupSuggestion(record *ui.SuggestionRecord, existing *ui.ExistingRecord, listener ui.InteractiveRendererPort) error
BackupSuggestion provides a mock function with given fields: record, existing, listener
func (*BackupSuggestionPort) EXPECT ¶ added in v1.5.41
func (_m *BackupSuggestionPort) EXPECT() *BackupSuggestionPort_Expecter
type BackupSuggestionPort_BackupSuggestion_Call ¶ added in v1.5.41
BackupSuggestionPort_BackupSuggestion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BackupSuggestion'
func (*BackupSuggestionPort_BackupSuggestion_Call) Return ¶ added in v1.5.41
func (_c *BackupSuggestionPort_BackupSuggestion_Call) Return(_a0 error) *BackupSuggestionPort_BackupSuggestion_Call
func (*BackupSuggestionPort_BackupSuggestion_Call) Run ¶ added in v1.5.41
func (_c *BackupSuggestionPort_BackupSuggestion_Call) Run(run func(record *ui.SuggestionRecord, existing *ui.ExistingRecord, listener ui.InteractiveRendererPort)) *BackupSuggestionPort_BackupSuggestion_Call
func (*BackupSuggestionPort_BackupSuggestion_Call) RunAndReturn ¶ added in v1.5.41
func (_c *BackupSuggestionPort_BackupSuggestion_Call) RunAndReturn(run func(*ui.SuggestionRecord, *ui.ExistingRecord, ui.InteractiveRendererPort) error) *BackupSuggestionPort_BackupSuggestion_Call
type BackupSuggestionPort_Expecter ¶ added in v1.5.41
type BackupSuggestionPort_Expecter struct {
// contains filtered or unexported fields
}
func (*BackupSuggestionPort_Expecter) BackupSuggestion ¶ added in v1.5.41
func (_e *BackupSuggestionPort_Expecter) BackupSuggestion(record interface{}, existing interface{}, listener interface{}) *BackupSuggestionPort_BackupSuggestion_Call
BackupSuggestion is a helper method to define mock.On call
- record *ui.SuggestionRecord
- existing *ui.ExistingRecord
- listener ui.InteractiveRendererPort
type CacheAdapter ¶
CacheAdapter is an autogenerated mock type for the CacheAdapter type
func NewCacheAdapter ¶
func NewCacheAdapter(t interface { mock.TestingT Cleanup(func()) }) *CacheAdapter
NewCacheAdapter creates a new instance of CacheAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CacheAdapter) EXPECT ¶ added in v1.5.41
func (_m *CacheAdapter) EXPECT() *CacheAdapter_Expecter
func (*CacheAdapter) Get ¶
func (_m *CacheAdapter) Get(key string) (io.ReadCloser, int, string, error)
Get provides a mock function with given fields: key
func (*CacheAdapter) SignedURL ¶
SignedURL provides a mock function with given fields: key, duration
func (*CacheAdapter) WalkCacheByPrefix ¶
func (_m *CacheAdapter) WalkCacheByPrefix(prefix string, observer func(string)) error
WalkCacheByPrefix provides a mock function with given fields: prefix, observer
type CacheAdapter_Expecter ¶ added in v1.5.41
type CacheAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*CacheAdapter_Expecter) Get ¶ added in v1.5.41
func (_e *CacheAdapter_Expecter) Get(key interface{}) *CacheAdapter_Get_Call
Get is a helper method to define mock.On call
- key string
func (*CacheAdapter_Expecter) Put ¶ added in v1.5.41
func (_e *CacheAdapter_Expecter) Put(key interface{}, mediaType interface{}, content interface{}) *CacheAdapter_Put_Call
Put is a helper method to define mock.On call
- key string
- mediaType string
- content io.Reader
func (*CacheAdapter_Expecter) SignedURL ¶ added in v1.5.41
func (_e *CacheAdapter_Expecter) SignedURL(key interface{}, duration interface{}) *CacheAdapter_SignedURL_Call
SignedURL is a helper method to define mock.On call
- key string
- duration time.Duration
func (*CacheAdapter_Expecter) WalkCacheByPrefix ¶ added in v1.5.41
func (_e *CacheAdapter_Expecter) WalkCacheByPrefix(prefix interface{}, observer interface{}) *CacheAdapter_WalkCacheByPrefix_Call
WalkCacheByPrefix is a helper method to define mock.On call
- prefix string
- observer func(string)
type CacheAdapter_Get_Call ¶ added in v1.5.41
CacheAdapter_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*CacheAdapter_Get_Call) Return ¶ added in v1.5.41
func (_c *CacheAdapter_Get_Call) Return(_a0 io.ReadCloser, _a1 int, _a2 string, _a3 error) *CacheAdapter_Get_Call
func (*CacheAdapter_Get_Call) Run ¶ added in v1.5.41
func (_c *CacheAdapter_Get_Call) Run(run func(key string)) *CacheAdapter_Get_Call
func (*CacheAdapter_Get_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CacheAdapter_Get_Call) RunAndReturn(run func(string) (io.ReadCloser, int, string, error)) *CacheAdapter_Get_Call
type CacheAdapter_Put_Call ¶ added in v1.5.41
CacheAdapter_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*CacheAdapter_Put_Call) Return ¶ added in v1.5.41
func (_c *CacheAdapter_Put_Call) Return(_a0 error) *CacheAdapter_Put_Call
func (*CacheAdapter_Put_Call) Run ¶ added in v1.5.41
func (_c *CacheAdapter_Put_Call) Run(run func(key string, mediaType string, content io.Reader)) *CacheAdapter_Put_Call
func (*CacheAdapter_Put_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CacheAdapter_Put_Call) RunAndReturn(run func(string, string, io.Reader) error) *CacheAdapter_Put_Call
type CacheAdapter_SignedURL_Call ¶ added in v1.5.41
CacheAdapter_SignedURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignedURL'
func (*CacheAdapter_SignedURL_Call) Return ¶ added in v1.5.41
func (_c *CacheAdapter_SignedURL_Call) Return(_a0 string, _a1 error) *CacheAdapter_SignedURL_Call
func (*CacheAdapter_SignedURL_Call) Run ¶ added in v1.5.41
func (_c *CacheAdapter_SignedURL_Call) Run(run func(key string, duration time.Duration)) *CacheAdapter_SignedURL_Call
func (*CacheAdapter_SignedURL_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CacheAdapter_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *CacheAdapter_SignedURL_Call
type CacheAdapter_WalkCacheByPrefix_Call ¶ added in v1.5.41
CacheAdapter_WalkCacheByPrefix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WalkCacheByPrefix'
func (*CacheAdapter_WalkCacheByPrefix_Call) Return ¶ added in v1.5.41
func (_c *CacheAdapter_WalkCacheByPrefix_Call) Return(_a0 error) *CacheAdapter_WalkCacheByPrefix_Call
func (*CacheAdapter_WalkCacheByPrefix_Call) Run ¶ added in v1.5.41
func (_c *CacheAdapter_WalkCacheByPrefix_Call) Run(run func(prefix string, observer func(string))) *CacheAdapter_WalkCacheByPrefix_Call
func (*CacheAdapter_WalkCacheByPrefix_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CacheAdapter_WalkCacheByPrefix_Call) RunAndReturn(run func(string, func(string)) error) *CacheAdapter_WalkCacheByPrefix_Call
type CatalogAdapter ¶
CatalogAdapter is an autogenerated mock type for the CatalogAdapter type
func NewCatalogAdapter ¶
func NewCatalogAdapter(t interface { mock.TestingT Cleanup(func()) }) *CatalogAdapter
NewCatalogAdapter creates a new instance of CatalogAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CatalogAdapter) EXPECT ¶ added in v1.5.41
func (_m *CatalogAdapter) EXPECT() *CatalogAdapter_Expecter
func (*CatalogAdapter) IndexMedias ¶
func (_m *CatalogAdapter) IndexMedias(owner string, requests []*backup.CatalogMediaRequest) error
IndexMedias provides a mock function with given fields: owner, requests
type CatalogAdapter_Expecter ¶ added in v1.5.41
type CatalogAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogAdapter_Expecter) IndexMedias ¶ added in v1.5.41
func (_e *CatalogAdapter_Expecter) IndexMedias(owner interface{}, requests interface{}) *CatalogAdapter_IndexMedias_Call
IndexMedias is a helper method to define mock.On call
- owner string
- requests []*backup.CatalogMediaRequest
type CatalogAdapter_IndexMedias_Call ¶ added in v1.5.41
CatalogAdapter_IndexMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexMedias'
func (*CatalogAdapter_IndexMedias_Call) Return ¶ added in v1.5.41
func (_c *CatalogAdapter_IndexMedias_Call) Return(_a0 error) *CatalogAdapter_IndexMedias_Call
func (*CatalogAdapter_IndexMedias_Call) Run ¶ added in v1.5.41
func (_c *CatalogAdapter_IndexMedias_Call) Run(run func(owner string, requests []*backup.CatalogMediaRequest)) *CatalogAdapter_IndexMedias_Call
func (*CatalogAdapter_IndexMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogAdapter_IndexMedias_Call) RunAndReturn(run func(string, []*backup.CatalogMediaRequest) error) *CatalogAdapter_IndexMedias_Call
type CatalogInsertMedia ¶ added in v1.6.4
CatalogInsertMedia is an autogenerated mock type for the CatalogInsertMedia type
func NewCatalogInsertMedia ¶ added in v1.6.4
func NewCatalogInsertMedia(t interface { mock.TestingT Cleanup(func()) }) *CatalogInsertMedia
NewCatalogInsertMedia creates a new instance of CatalogInsertMedia. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CatalogInsertMedia) EXPECT ¶ added in v1.6.4
func (_m *CatalogInsertMedia) EXPECT() *CatalogInsertMedia_Expecter
func (*CatalogInsertMedia) Insert ¶ added in v1.6.4
func (_m *CatalogInsertMedia) Insert(ctx context.Context, owner ownermodel.Owner, medias []catalog.CreateMediaRequest) error
Insert provides a mock function with given fields: ctx, owner, medias
type CatalogInsertMedia_Expecter ¶ added in v1.6.4
type CatalogInsertMedia_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogInsertMedia_Expecter) Insert ¶ added in v1.6.4
func (_e *CatalogInsertMedia_Expecter) Insert(ctx interface{}, owner interface{}, medias interface{}) *CatalogInsertMedia_Insert_Call
Insert is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- medias []catalog.CreateMediaRequest
type CatalogInsertMedia_Insert_Call ¶ added in v1.6.4
CatalogInsertMedia_Insert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Insert'
func (*CatalogInsertMedia_Insert_Call) Return ¶ added in v1.6.4
func (_c *CatalogInsertMedia_Insert_Call) Return(_a0 error) *CatalogInsertMedia_Insert_Call
func (*CatalogInsertMedia_Insert_Call) Run ¶ added in v1.6.4
func (_c *CatalogInsertMedia_Insert_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, medias []catalog.CreateMediaRequest)) *CatalogInsertMedia_Insert_Call
func (*CatalogInsertMedia_Insert_Call) RunAndReturn ¶ added in v1.6.4
func (_c *CatalogInsertMedia_Insert_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.CreateMediaRequest) error) *CatalogInsertMedia_Insert_Call
type CatalogReference ¶ added in v1.5.54
CatalogReference is an autogenerated mock type for the CatalogReference type
func NewCatalogReference ¶ added in v1.5.54
func NewCatalogReference(t interface { mock.TestingT Cleanup(func()) }) *CatalogReference
NewCatalogReference creates a new instance of CatalogReference. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CatalogReference) AlbumCreated ¶ added in v1.5.54
func (_m *CatalogReference) AlbumCreated() bool
AlbumCreated provides a mock function with given fields:
func (*CatalogReference) AlbumFolderName ¶ added in v1.5.54
func (_m *CatalogReference) AlbumFolderName() string
AlbumFolderName provides a mock function with given fields:
func (*CatalogReference) EXPECT ¶ added in v1.5.54
func (_m *CatalogReference) EXPECT() *CatalogReference_Expecter
func (*CatalogReference) Exists ¶ added in v1.5.54
func (_m *CatalogReference) Exists() bool
Exists provides a mock function with given fields:
func (*CatalogReference) MediaId ¶ added in v1.5.54
func (_m *CatalogReference) MediaId() string
MediaId provides a mock function with given fields:
func (*CatalogReference) UniqueIdentifier ¶ added in v1.5.57
func (_m *CatalogReference) UniqueIdentifier() string
UniqueIdentifier provides a mock function with given fields:
type CatalogReference_AlbumCreated_Call ¶ added in v1.5.54
CatalogReference_AlbumCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlbumCreated'
func (*CatalogReference_AlbumCreated_Call) Return ¶ added in v1.5.54
func (_c *CatalogReference_AlbumCreated_Call) Return(_a0 bool) *CatalogReference_AlbumCreated_Call
func (*CatalogReference_AlbumCreated_Call) Run ¶ added in v1.5.54
func (_c *CatalogReference_AlbumCreated_Call) Run(run func()) *CatalogReference_AlbumCreated_Call
func (*CatalogReference_AlbumCreated_Call) RunAndReturn ¶ added in v1.5.54
func (_c *CatalogReference_AlbumCreated_Call) RunAndReturn(run func() bool) *CatalogReference_AlbumCreated_Call
type CatalogReference_AlbumFolderName_Call ¶ added in v1.5.54
CatalogReference_AlbumFolderName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlbumFolderName'
func (*CatalogReference_AlbumFolderName_Call) Return ¶ added in v1.5.54
func (_c *CatalogReference_AlbumFolderName_Call) Return(_a0 string) *CatalogReference_AlbumFolderName_Call
func (*CatalogReference_AlbumFolderName_Call) Run ¶ added in v1.5.54
func (_c *CatalogReference_AlbumFolderName_Call) Run(run func()) *CatalogReference_AlbumFolderName_Call
func (*CatalogReference_AlbumFolderName_Call) RunAndReturn ¶ added in v1.5.54
func (_c *CatalogReference_AlbumFolderName_Call) RunAndReturn(run func() string) *CatalogReference_AlbumFolderName_Call
type CatalogReference_Exists_Call ¶ added in v1.5.54
CatalogReference_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'
func (*CatalogReference_Exists_Call) Return ¶ added in v1.5.54
func (_c *CatalogReference_Exists_Call) Return(_a0 bool) *CatalogReference_Exists_Call
func (*CatalogReference_Exists_Call) Run ¶ added in v1.5.54
func (_c *CatalogReference_Exists_Call) Run(run func()) *CatalogReference_Exists_Call
func (*CatalogReference_Exists_Call) RunAndReturn ¶ added in v1.5.54
func (_c *CatalogReference_Exists_Call) RunAndReturn(run func() bool) *CatalogReference_Exists_Call
type CatalogReference_Expecter ¶ added in v1.5.54
type CatalogReference_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogReference_Expecter) AlbumCreated ¶ added in v1.5.54
func (_e *CatalogReference_Expecter) AlbumCreated() *CatalogReference_AlbumCreated_Call
AlbumCreated is a helper method to define mock.On call
func (*CatalogReference_Expecter) AlbumFolderName ¶ added in v1.5.54
func (_e *CatalogReference_Expecter) AlbumFolderName() *CatalogReference_AlbumFolderName_Call
AlbumFolderName is a helper method to define mock.On call
func (*CatalogReference_Expecter) Exists ¶ added in v1.5.54
func (_e *CatalogReference_Expecter) Exists() *CatalogReference_Exists_Call
Exists is a helper method to define mock.On call
func (*CatalogReference_Expecter) MediaId ¶ added in v1.5.54
func (_e *CatalogReference_Expecter) MediaId() *CatalogReference_MediaId_Call
MediaId is a helper method to define mock.On call
func (*CatalogReference_Expecter) UniqueIdentifier ¶ added in v1.6.4
func (_e *CatalogReference_Expecter) UniqueIdentifier() *CatalogReference_UniqueIdentifier_Call
UniqueIdentifier is a helper method to define mock.On call
type CatalogReference_MediaId_Call ¶ added in v1.5.54
CatalogReference_MediaId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MediaId'
func (*CatalogReference_MediaId_Call) Return ¶ added in v1.5.54
func (_c *CatalogReference_MediaId_Call) Return(_a0 string) *CatalogReference_MediaId_Call
func (*CatalogReference_MediaId_Call) Run ¶ added in v1.5.54
func (_c *CatalogReference_MediaId_Call) Run(run func()) *CatalogReference_MediaId_Call
func (*CatalogReference_MediaId_Call) RunAndReturn ¶ added in v1.5.54
func (_c *CatalogReference_MediaId_Call) RunAndReturn(run func() string) *CatalogReference_MediaId_Call
type CatalogReference_UniqueIdentifier_Call ¶ added in v1.6.4
CatalogReference_UniqueIdentifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UniqueIdentifier'
func (*CatalogReference_UniqueIdentifier_Call) Return ¶ added in v1.6.4
func (_c *CatalogReference_UniqueIdentifier_Call) Return(_a0 string) *CatalogReference_UniqueIdentifier_Call
func (*CatalogReference_UniqueIdentifier_Call) Run ¶ added in v1.6.4
func (_c *CatalogReference_UniqueIdentifier_Call) Run(run func()) *CatalogReference_UniqueIdentifier_Call
func (*CatalogReference_UniqueIdentifier_Call) RunAndReturn ¶ added in v1.6.4
func (_c *CatalogReference_UniqueIdentifier_Call) RunAndReturn(run func() string) *CatalogReference_UniqueIdentifier_Call
type CatalogReferencer ¶ added in v1.5.54
CatalogReferencer is an autogenerated mock type for the CatalogReferencer type
func NewCatalogReferencer ¶ added in v1.5.54
func NewCatalogReferencer(t interface { mock.TestingT Cleanup(func()) }) *CatalogReferencer
NewCatalogReferencer creates a new instance of CatalogReferencer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CatalogReferencer) EXPECT ¶ added in v1.5.54
func (_m *CatalogReferencer) EXPECT() *CatalogReferencer_Expecter
func (*CatalogReferencer) Reference ¶ added in v1.5.54
func (_m *CatalogReferencer) Reference(ctx context.Context, medias []*backup.AnalysedMedia) (map[*backup.AnalysedMedia]backup.CatalogReference, error)
Reference provides a mock function with given fields: ctx, medias
type CatalogReferencer_Expecter ¶ added in v1.5.54
type CatalogReferencer_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogReferencer_Expecter) Reference ¶ added in v1.5.54
func (_e *CatalogReferencer_Expecter) Reference(ctx interface{}, medias interface{}) *CatalogReferencer_Reference_Call
Reference is a helper method to define mock.On call
- ctx context.Context
- medias []*backup.AnalysedMedia
type CatalogReferencer_Reference_Call ¶ added in v1.5.54
CatalogReferencer_Reference_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reference'
func (*CatalogReferencer_Reference_Call) Return ¶ added in v1.5.54
func (_c *CatalogReferencer_Reference_Call) Return(_a0 map[*backup.AnalysedMedia]backup.CatalogReference, _a1 error) *CatalogReferencer_Reference_Call
func (*CatalogReferencer_Reference_Call) Run ¶ added in v1.5.54
func (_c *CatalogReferencer_Reference_Call) Run(run func(ctx context.Context, medias []*backup.AnalysedMedia)) *CatalogReferencer_Reference_Call
func (*CatalogReferencer_Reference_Call) RunAndReturn ¶ added in v1.5.54
func (_c *CatalogReferencer_Reference_Call) RunAndReturn(run func(context.Context, []*backup.AnalysedMedia) (map[*backup.AnalysedMedia]backup.CatalogReference, error)) *CatalogReferencer_Reference_Call
type CatalogRules ¶
CatalogRules is an autogenerated mock type for the CatalogRules type
func NewCatalogRules ¶
func NewCatalogRules(t interface { mock.TestingT Cleanup(func()) }) *CatalogRules
NewCatalogRules creates a new instance of CatalogRules. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CatalogRules) CanListMediasFromAlbum ¶
func (_m *CatalogRules) CanListMediasFromAlbum(id catalog.AlbumId) error
CanListMediasFromAlbum provides a mock function with given fields: id
func (*CatalogRules) CanManageAlbum ¶
func (_m *CatalogRules) CanManageAlbum(id catalog.AlbumId) error
CanManageAlbum provides a mock function with given fields: id
func (*CatalogRules) CanReadMedia ¶
func (_m *CatalogRules) CanReadMedia(owner ownermodel.Owner, id catalog.MediaId) error
CanReadMedia provides a mock function with given fields: owner, id
func (*CatalogRules) EXPECT ¶ added in v1.5.41
func (_m *CatalogRules) EXPECT() *CatalogRules_Expecter
func (*CatalogRules) Owner ¶
func (_m *CatalogRules) Owner() (*ownermodel.Owner, error)
Owner provides a mock function with given fields:
func (*CatalogRules) SharedByUserGrid ¶
func (_m *CatalogRules) SharedByUserGrid(owner ownermodel.Owner) (map[string]map[usermodel.UserId]aclcore.ScopeType, error)
SharedByUserGrid provides a mock function with given fields: owner
func (*CatalogRules) SharedWithUserAlbum ¶
func (_m *CatalogRules) SharedWithUserAlbum() ([]catalog.AlbumId, error)
SharedWithUserAlbum provides a mock function with given fields:
type CatalogRules_CanListMediasFromAlbum_Call ¶ added in v1.5.41
CatalogRules_CanListMediasFromAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanListMediasFromAlbum'
func (*CatalogRules_CanListMediasFromAlbum_Call) Return ¶ added in v1.5.41
func (_c *CatalogRules_CanListMediasFromAlbum_Call) Return(_a0 error) *CatalogRules_CanListMediasFromAlbum_Call
func (*CatalogRules_CanListMediasFromAlbum_Call) Run ¶ added in v1.5.41
func (_c *CatalogRules_CanListMediasFromAlbum_Call) Run(run func(id catalog.AlbumId)) *CatalogRules_CanListMediasFromAlbum_Call
func (*CatalogRules_CanListMediasFromAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_CanListMediasFromAlbum_Call) RunAndReturn(run func(catalog.AlbumId) error) *CatalogRules_CanListMediasFromAlbum_Call
type CatalogRules_CanManageAlbum_Call ¶ added in v1.5.41
CatalogRules_CanManageAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanShareAlbum'
func (*CatalogRules_CanManageAlbum_Call) Return ¶ added in v1.5.41
func (_c *CatalogRules_CanManageAlbum_Call) Return(_a0 error) *CatalogRules_CanManageAlbum_Call
func (*CatalogRules_CanManageAlbum_Call) Run ¶ added in v1.5.41
func (_c *CatalogRules_CanManageAlbum_Call) Run(run func(id catalog.AlbumId)) *CatalogRules_CanManageAlbum_Call
func (*CatalogRules_CanManageAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_CanManageAlbum_Call) RunAndReturn(run func(catalog.AlbumId) error) *CatalogRules_CanManageAlbum_Call
type CatalogRules_CanReadMedia_Call ¶ added in v1.5.41
CatalogRules_CanReadMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanReadMedia'
func (*CatalogRules_CanReadMedia_Call) Return ¶ added in v1.5.41
func (_c *CatalogRules_CanReadMedia_Call) Return(_a0 error) *CatalogRules_CanReadMedia_Call
func (*CatalogRules_CanReadMedia_Call) Run ¶ added in v1.5.41
func (_c *CatalogRules_CanReadMedia_Call) Run(run func(owner ownermodel.Owner, id catalog.MediaId)) *CatalogRules_CanReadMedia_Call
func (*CatalogRules_CanReadMedia_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_CanReadMedia_Call) RunAndReturn(run func(ownermodel.Owner, catalog.MediaId) error) *CatalogRules_CanReadMedia_Call
type CatalogRules_Expecter ¶ added in v1.5.41
type CatalogRules_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogRules_Expecter) CanListMediasFromAlbum ¶ added in v1.5.41
func (_e *CatalogRules_Expecter) CanListMediasFromAlbum(id interface{}) *CatalogRules_CanListMediasFromAlbum_Call
CanListMediasFromAlbum is a helper method to define mock.On call
- id catalog.AlbumId
func (*CatalogRules_Expecter) CanManageAlbum ¶ added in v1.5.41
func (_e *CatalogRules_Expecter) CanManageAlbum(id interface{}) *CatalogRules_CanManageAlbum_Call
CanManageAlbum is a helper method to define mock.On call
- id catalog.AlbumId
func (*CatalogRules_Expecter) CanReadMedia ¶ added in v1.5.41
func (_e *CatalogRules_Expecter) CanReadMedia(owner interface{}, id interface{}) *CatalogRules_CanReadMedia_Call
CanReadMedia is a helper method to define mock.On call
- owner ownermodel.Owner
- id catalog.MediaId
func (*CatalogRules_Expecter) Owner ¶ added in v1.5.41
func (_e *CatalogRules_Expecter) Owner() *CatalogRules_Owner_Call
Owner is a helper method to define mock.On call
func (*CatalogRules_Expecter) SharedByUserGrid ¶ added in v1.5.41
func (_e *CatalogRules_Expecter) SharedByUserGrid(owner interface{}) *CatalogRules_SharedByUserGrid_Call
SharedByUserGrid is a helper method to define mock.On call
- owner ownermodel.Owner
func (*CatalogRules_Expecter) SharedWithUserAlbum ¶ added in v1.5.41
func (_e *CatalogRules_Expecter) SharedWithUserAlbum() *CatalogRules_SharedWithUserAlbum_Call
SharedWithUserAlbum is a helper method to define mock.On call
type CatalogRules_Owner_Call ¶ added in v1.5.41
CatalogRules_Owner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Owner'
func (*CatalogRules_Owner_Call) Return ¶ added in v1.5.41
func (_c *CatalogRules_Owner_Call) Return(_a0 *ownermodel.Owner, _a1 error) *CatalogRules_Owner_Call
func (*CatalogRules_Owner_Call) Run ¶ added in v1.5.41
func (_c *CatalogRules_Owner_Call) Run(run func()) *CatalogRules_Owner_Call
func (*CatalogRules_Owner_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_Owner_Call) RunAndReturn(run func() (*ownermodel.Owner, error)) *CatalogRules_Owner_Call
type CatalogRules_SharedByUserGrid_Call ¶ added in v1.5.41
type CatalogRules_SharedByUserGrid_Call struct {
}CatalogRules_SharedByUserGrid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SharedByUserGrid'
func (*CatalogRules_SharedByUserGrid_Call) Return ¶ added in v1.5.41
func (_c *CatalogRules_SharedByUserGrid_Call) Return(_a0 map[string]map[usermodel.UserId]aclcore.ScopeType, _a1 error) *CatalogRules_SharedByUserGrid_Call
func (*CatalogRules_SharedByUserGrid_Call) Run ¶ added in v1.5.41
func (_c *CatalogRules_SharedByUserGrid_Call) Run(run func(owner ownermodel.Owner)) *CatalogRules_SharedByUserGrid_Call
func (*CatalogRules_SharedByUserGrid_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_SharedByUserGrid_Call) RunAndReturn(run func(ownermodel.Owner) (map[string]map[usermodel.UserId]aclcore.ScopeType, error)) *CatalogRules_SharedByUserGrid_Call
type CatalogRules_SharedWithUserAlbum_Call ¶ added in v1.5.41
type CatalogRules_SharedWithUserAlbum_Call struct {
}CatalogRules_SharedWithUserAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SharedWithUserAlbum'
func (*CatalogRules_SharedWithUserAlbum_Call) Return ¶ added in v1.5.41
func (_c *CatalogRules_SharedWithUserAlbum_Call) Return(_a0 []catalog.AlbumId, _a1 error) *CatalogRules_SharedWithUserAlbum_Call
func (*CatalogRules_SharedWithUserAlbum_Call) Run ¶ added in v1.5.41
func (_c *CatalogRules_SharedWithUserAlbum_Call) Run(run func()) *CatalogRules_SharedWithUserAlbum_Call
func (*CatalogRules_SharedWithUserAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_SharedWithUserAlbum_Call) RunAndReturn(run func() ([]catalog.AlbumId, error)) *CatalogRules_SharedWithUserAlbum_Call
type CatalogerFilter ¶ added in v1.5.54
CatalogerFilter is an autogenerated mock type for the CatalogerFilter type
func NewCatalogerFilter ¶ added in v1.5.54
func NewCatalogerFilter(t interface { mock.TestingT Cleanup(func()) }) *CatalogerFilter
NewCatalogerFilter creates a new instance of CatalogerFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CatalogerFilter) EXPECT ¶ added in v1.5.54
func (_m *CatalogerFilter) EXPECT() *CatalogerFilter_Expecter
func (*CatalogerFilter) FilterOut ¶ added in v1.5.54
func (_m *CatalogerFilter) FilterOut(media backup.AnalysedMedia, reference backup.CatalogReference) (backup.ProgressEventType, bool)
FilterOut provides a mock function with given fields: media, reference
type CatalogerFilterFunc ¶ added in v1.5.54
CatalogerFilterFunc is an autogenerated mock type for the CatalogerFilterFunc type
func NewCatalogerFilterFunc ¶ added in v1.5.54
func NewCatalogerFilterFunc(t interface { mock.TestingT Cleanup(func()) }) *CatalogerFilterFunc
NewCatalogerFilterFunc creates a new instance of CatalogerFilterFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CatalogerFilterFunc) EXPECT ¶ added in v1.5.54
func (_m *CatalogerFilterFunc) EXPECT() *CatalogerFilterFunc_Expecter
func (*CatalogerFilterFunc) Execute ¶ added in v1.5.54
func (_m *CatalogerFilterFunc) Execute(media backup.AnalysedMedia, reference backup.CatalogReference) (backup.ProgressEventType, bool)
Execute provides a mock function with given fields: media, reference
type CatalogerFilterFunc_Execute_Call ¶ added in v1.5.54
CatalogerFilterFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*CatalogerFilterFunc_Execute_Call) Return ¶ added in v1.5.54
func (_c *CatalogerFilterFunc_Execute_Call) Return(_a0 backup.ProgressEventType, _a1 bool) *CatalogerFilterFunc_Execute_Call
func (*CatalogerFilterFunc_Execute_Call) Run ¶ added in v1.5.54
func (_c *CatalogerFilterFunc_Execute_Call) Run(run func(media backup.AnalysedMedia, reference backup.CatalogReference)) *CatalogerFilterFunc_Execute_Call
func (*CatalogerFilterFunc_Execute_Call) RunAndReturn ¶ added in v1.5.54
func (_c *CatalogerFilterFunc_Execute_Call) RunAndReturn(run func(backup.AnalysedMedia, backup.CatalogReference) (backup.ProgressEventType, bool)) *CatalogerFilterFunc_Execute_Call
type CatalogerFilterFunc_Expecter ¶ added in v1.5.54
type CatalogerFilterFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogerFilterFunc_Expecter) Execute ¶ added in v1.5.54
func (_e *CatalogerFilterFunc_Expecter) Execute(media interface{}, reference interface{}) *CatalogerFilterFunc_Execute_Call
Execute is a helper method to define mock.On call
- media backup.AnalysedMedia
- reference backup.CatalogReference
type CatalogerFilter_Expecter ¶ added in v1.5.54
type CatalogerFilter_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogerFilter_Expecter) FilterOut ¶ added in v1.5.54
func (_e *CatalogerFilter_Expecter) FilterOut(media interface{}, reference interface{}) *CatalogerFilter_FilterOut_Call
FilterOut is a helper method to define mock.On call
- media backup.AnalysedMedia
- reference backup.CatalogReference
type CatalogerFilter_FilterOut_Call ¶ added in v1.5.54
CatalogerFilter_FilterOut_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterOut'
func (*CatalogerFilter_FilterOut_Call) Return ¶ added in v1.5.54
func (_c *CatalogerFilter_FilterOut_Call) Return(_a0 backup.ProgressEventType, _a1 bool) *CatalogerFilter_FilterOut_Call
func (*CatalogerFilter_FilterOut_Call) Run ¶ added in v1.5.54
func (_c *CatalogerFilter_FilterOut_Call) Run(run func(media backup.AnalysedMedia, reference backup.CatalogReference)) *CatalogerFilter_FilterOut_Call
func (*CatalogerFilter_FilterOut_Call) RunAndReturn ¶ added in v1.5.54
func (_c *CatalogerFilter_FilterOut_Call) RunAndReturn(run func(backup.AnalysedMedia, backup.CatalogReference) (backup.ProgressEventType, bool)) *CatalogerFilter_FilterOut_Call
type CertificateAuthority ¶
CertificateAuthority is an autogenerated mock type for the CertificateAuthority type
func NewCertificateAuthority ¶
func NewCertificateAuthority(t interface { mock.TestingT Cleanup(func()) }) *CertificateAuthority
NewCertificateAuthority creates a new instance of CertificateAuthority. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CertificateAuthority) EXPECT ¶ added in v1.5.41
func (_m *CertificateAuthority) EXPECT() *CertificateAuthority_Expecter
func (*CertificateAuthority) RequestCertificate ¶
func (_m *CertificateAuthority) RequestCertificate(ctx context.Context, email string, domain string) (*dnsdomain.CompleteCertificate, error)
RequestCertificate provides a mock function with given fields: ctx, email, domain
type CertificateAuthority_Expecter ¶ added in v1.5.41
type CertificateAuthority_Expecter struct {
// contains filtered or unexported fields
}
func (*CertificateAuthority_Expecter) RequestCertificate ¶ added in v1.5.41
func (_e *CertificateAuthority_Expecter) RequestCertificate(ctx interface{}, email interface{}, domain interface{}) *CertificateAuthority_RequestCertificate_Call
RequestCertificate is a helper method to define mock.On call
- ctx context.Context
- email string
- domain string
type CertificateAuthority_RequestCertificate_Call ¶ added in v1.5.41
CertificateAuthority_RequestCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RequestCertificate'
func (*CertificateAuthority_RequestCertificate_Call) Return ¶ added in v1.5.41
func (_c *CertificateAuthority_RequestCertificate_Call) Return(_a0 *dnsdomain.CompleteCertificate, _a1 error) *CertificateAuthority_RequestCertificate_Call
func (*CertificateAuthority_RequestCertificate_Call) Run ¶ added in v1.5.41
func (_c *CertificateAuthority_RequestCertificate_Call) Run(run func(ctx context.Context, email string, domain string)) *CertificateAuthority_RequestCertificate_Call
func (*CertificateAuthority_RequestCertificate_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CertificateAuthority_RequestCertificate_Call) RunAndReturn(run func(context.Context, string, string) (*dnsdomain.CompleteCertificate, error)) *CertificateAuthority_RequestCertificate_Call
type CertificateManager ¶
CertificateManager is an autogenerated mock type for the CertificateManager type
func NewCertificateManager ¶
func NewCertificateManager(t interface { mock.TestingT Cleanup(func()) }) *CertificateManager
NewCertificateManager creates a new instance of CertificateManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CertificateManager) EXPECT ¶ added in v1.5.41
func (_m *CertificateManager) EXPECT() *CertificateManager_Expecter
func (*CertificateManager) FindCertificate ¶
func (_m *CertificateManager) FindCertificate(ctx context.Context, domain string) (*dnsdomain.ExistingCertificate, error)
FindCertificate provides a mock function with given fields: ctx, domain
func (*CertificateManager) InstallCertificate ¶
func (_m *CertificateManager) InstallCertificate(ctx context.Context, id string, certificate dnsdomain.CompleteCertificate) error
InstallCertificate provides a mock function with given fields: ctx, id, certificate
type CertificateManager_Expecter ¶ added in v1.5.41
type CertificateManager_Expecter struct {
// contains filtered or unexported fields
}
func (*CertificateManager_Expecter) FindCertificate ¶ added in v1.5.41
func (_e *CertificateManager_Expecter) FindCertificate(ctx interface{}, domain interface{}) *CertificateManager_FindCertificate_Call
FindCertificate is a helper method to define mock.On call
- ctx context.Context
- domain string
func (*CertificateManager_Expecter) InstallCertificate ¶ added in v1.5.41
func (_e *CertificateManager_Expecter) InstallCertificate(ctx interface{}, id interface{}, certificate interface{}) *CertificateManager_InstallCertificate_Call
InstallCertificate is a helper method to define mock.On call
- ctx context.Context
- id string
- certificate dnsdomain.CompleteCertificate
type CertificateManager_FindCertificate_Call ¶ added in v1.5.41
CertificateManager_FindCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindCertificate'
func (*CertificateManager_FindCertificate_Call) Return ¶ added in v1.5.41
func (_c *CertificateManager_FindCertificate_Call) Return(_a0 *dnsdomain.ExistingCertificate, _a1 error) *CertificateManager_FindCertificate_Call
func (*CertificateManager_FindCertificate_Call) Run ¶ added in v1.5.41
func (_c *CertificateManager_FindCertificate_Call) Run(run func(ctx context.Context, domain string)) *CertificateManager_FindCertificate_Call
func (*CertificateManager_FindCertificate_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CertificateManager_FindCertificate_Call) RunAndReturn(run func(context.Context, string) (*dnsdomain.ExistingCertificate, error)) *CertificateManager_FindCertificate_Call
type CertificateManager_InstallCertificate_Call ¶ added in v1.5.41
CertificateManager_InstallCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InstallCertificate'
func (*CertificateManager_InstallCertificate_Call) Return ¶ added in v1.5.41
func (_c *CertificateManager_InstallCertificate_Call) Return(_a0 error) *CertificateManager_InstallCertificate_Call
func (*CertificateManager_InstallCertificate_Call) Run ¶ added in v1.5.41
func (_c *CertificateManager_InstallCertificate_Call) Run(run func(ctx context.Context, id string, certificate dnsdomain.CompleteCertificate)) *CertificateManager_InstallCertificate_Call
func (*CertificateManager_InstallCertificate_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CertificateManager_InstallCertificate_Call) RunAndReturn(run func(context.Context, string, dnsdomain.CompleteCertificate) error) *CertificateManager_InstallCertificate_Call
type ClosableFoundMedia ¶
ClosableFoundMedia is an autogenerated mock type for the ClosableFoundMedia type
func NewClosableFoundMedia ¶
func NewClosableFoundMedia(t interface { mock.TestingT Cleanup(func()) }) *ClosableFoundMedia
NewClosableFoundMedia creates a new instance of ClosableFoundMedia. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ClosableFoundMedia) Close ¶
func (_m *ClosableFoundMedia) Close() error
Close provides a mock function with given fields:
func (*ClosableFoundMedia) EXPECT ¶ added in v1.5.41
func (_m *ClosableFoundMedia) EXPECT() *ClosableFoundMedia_Expecter
type ClosableFoundMedia_Close_Call ¶ added in v1.5.41
ClosableFoundMedia_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AnalysedMediaChannelCloser'
func (*ClosableFoundMedia_Close_Call) Return ¶ added in v1.5.41
func (_c *ClosableFoundMedia_Close_Call) Return(_a0 error) *ClosableFoundMedia_Close_Call
func (*ClosableFoundMedia_Close_Call) Run ¶ added in v1.5.41
func (_c *ClosableFoundMedia_Close_Call) Run(run func()) *ClosableFoundMedia_Close_Call
func (*ClosableFoundMedia_Close_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ClosableFoundMedia_Close_Call) RunAndReturn(run func() error) *ClosableFoundMedia_Close_Call
type ClosableFoundMedia_Expecter ¶ added in v1.5.41
type ClosableFoundMedia_Expecter struct {
// contains filtered or unexported fields
}
func (*ClosableFoundMedia_Expecter) Close ¶ added in v1.5.41
func (_e *ClosableFoundMedia_Expecter) Close() *ClosableFoundMedia_Close_Call
Close is a helper method to define mock.On call
type CompletionReport ¶
CompletionReport is an autogenerated mock type for the CompletionReport type
func NewCompletionReport ¶
func NewCompletionReport(t interface { mock.TestingT Cleanup(func()) }) *CompletionReport
NewCompletionReport creates a new instance of CompletionReport. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CompletionReport) CountPerAlbum ¶
func (_m *CompletionReport) CountPerAlbum() map[string]*backup.TypeCounter
CountPerAlbum provides a mock function with given fields:
func (*CompletionReport) EXPECT ¶ added in v1.5.41
func (_m *CompletionReport) EXPECT() *CompletionReport_Expecter
func (*CompletionReport) NewAlbums ¶
func (_m *CompletionReport) NewAlbums() []string
NewAlbums provides a mock function with given fields:
func (*CompletionReport) Skipped ¶
func (_m *CompletionReport) Skipped() backup.MediaCounter
Skipped provides a mock function with given fields:
type CompletionReport_CountPerAlbum_Call ¶ added in v1.5.41
CompletionReport_CountPerAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountPerAlbum'
func (*CompletionReport_CountPerAlbum_Call) Return ¶ added in v1.5.41
func (_c *CompletionReport_CountPerAlbum_Call) Return(_a0 map[string]*backup.TypeCounter) *CompletionReport_CountPerAlbum_Call
func (*CompletionReport_CountPerAlbum_Call) Run ¶ added in v1.5.41
func (_c *CompletionReport_CountPerAlbum_Call) Run(run func()) *CompletionReport_CountPerAlbum_Call
func (*CompletionReport_CountPerAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CompletionReport_CountPerAlbum_Call) RunAndReturn(run func() map[string]*backup.TypeCounter) *CompletionReport_CountPerAlbum_Call
type CompletionReport_Expecter ¶ added in v1.5.41
type CompletionReport_Expecter struct {
// contains filtered or unexported fields
}
func (*CompletionReport_Expecter) CountPerAlbum ¶ added in v1.5.41
func (_e *CompletionReport_Expecter) CountPerAlbum() *CompletionReport_CountPerAlbum_Call
CountPerAlbum is a helper method to define mock.On call
func (*CompletionReport_Expecter) NewAlbums ¶ added in v1.5.41
func (_e *CompletionReport_Expecter) NewAlbums() *CompletionReport_NewAlbums_Call
NewAlbums is a helper method to define mock.On call
func (*CompletionReport_Expecter) Skipped ¶ added in v1.5.41
func (_e *CompletionReport_Expecter) Skipped() *CompletionReport_Skipped_Call
Skipped is a helper method to define mock.On call
type CompletionReport_NewAlbums_Call ¶ added in v1.5.41
CompletionReport_NewAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewAlbums'
func (*CompletionReport_NewAlbums_Call) Return ¶ added in v1.5.41
func (_c *CompletionReport_NewAlbums_Call) Return(_a0 []string) *CompletionReport_NewAlbums_Call
func (*CompletionReport_NewAlbums_Call) Run ¶ added in v1.5.41
func (_c *CompletionReport_NewAlbums_Call) Run(run func()) *CompletionReport_NewAlbums_Call
func (*CompletionReport_NewAlbums_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CompletionReport_NewAlbums_Call) RunAndReturn(run func() []string) *CompletionReport_NewAlbums_Call
type CompletionReport_Skipped_Call ¶ added in v1.5.41
CompletionReport_Skipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Skipped'
func (*CompletionReport_Skipped_Call) Return ¶ added in v1.5.41
func (_c *CompletionReport_Skipped_Call) Return(_a0 backup.MediaCounter) *CompletionReport_Skipped_Call
func (*CompletionReport_Skipped_Call) Run ¶ added in v1.5.41
func (_c *CompletionReport_Skipped_Call) Run(run func()) *CompletionReport_Skipped_Call
func (*CompletionReport_Skipped_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CompletionReport_Skipped_Call) RunAndReturn(run func() backup.MediaCounter) *CompletionReport_Skipped_Call
type Config ¶
Config is an autogenerated mock type for the Config type
func NewConfig ¶
NewConfig creates a new instance of Config. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Config) EXPECT ¶ added in v1.5.41
func (_m *Config) EXPECT() *Config_Expecter
func (*Config) GetAWSFactory ¶ added in v1.5.33
func (_m *Config) GetAWSFactory() *awsfactory.ClientsFactory
GetAWSFactory provides a mock function with given fields:
func (*Config) GetAWSV2Config ¶ added in v1.5.20
GetAWSV2Config provides a mock function with given fields:
func (*Config) GetIntOrDefault ¶
GetIntOrDefault provides a mock function with given fields: key, defaultValue
type ConfigFactory ¶ added in v1.5.33
ConfigFactory is an autogenerated mock type for the ConfigFactory type
func NewConfigFactory ¶ added in v1.5.33
func NewConfigFactory(t interface { mock.TestingT Cleanup(func()) }) *ConfigFactory
NewConfigFactory creates a new instance of ConfigFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ConfigFactory) EXPECT ¶ added in v1.5.41
func (_m *ConfigFactory) EXPECT() *ConfigFactory_Expecter
type ConfigFactoryFunc ¶ added in v1.5.33
ConfigFactoryFunc is an autogenerated mock type for the ConfigFactoryFunc type
func NewConfigFactoryFunc ¶ added in v1.5.33
func NewConfigFactoryFunc(t interface { mock.TestingT Cleanup(func()) }) *ConfigFactoryFunc
NewConfigFactoryFunc creates a new instance of ConfigFactoryFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ConfigFactoryFunc) EXPECT ¶ added in v1.5.41
func (_m *ConfigFactoryFunc) EXPECT() *ConfigFactoryFunc_Expecter
type ConfigFactoryFunc_Execute_Call ¶ added in v1.5.41
ConfigFactoryFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*ConfigFactoryFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *ConfigFactoryFunc_Execute_Call) Return(_a0 aws.Config, _a1 error) *ConfigFactoryFunc_Execute_Call
func (*ConfigFactoryFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *ConfigFactoryFunc_Execute_Call) Run(run func(ctx context.Context)) *ConfigFactoryFunc_Execute_Call
func (*ConfigFactoryFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ConfigFactoryFunc_Execute_Call) RunAndReturn(run func(context.Context) (aws.Config, error)) *ConfigFactoryFunc_Execute_Call
type ConfigFactoryFunc_Expecter ¶ added in v1.5.41
type ConfigFactoryFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*ConfigFactoryFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *ConfigFactoryFunc_Expecter) Execute(ctx interface{}) *ConfigFactoryFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
type ConfigFactory_Expecter ¶ added in v1.5.41
type ConfigFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*ConfigFactory_Expecter) NewConfig ¶ added in v1.5.41
func (_e *ConfigFactory_Expecter) NewConfig(ctx interface{}) *ConfigFactory_NewConfig_Call
NewConfig is a helper method to define mock.On call
- ctx context.Context
type ConfigFactory_NewConfig_Call ¶ added in v1.5.41
ConfigFactory_NewConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewConfig'
func (*ConfigFactory_NewConfig_Call) Return ¶ added in v1.5.41
func (_c *ConfigFactory_NewConfig_Call) Return(_a0 aws.Config, _a1 error) *ConfigFactory_NewConfig_Call
func (*ConfigFactory_NewConfig_Call) Run ¶ added in v1.5.41
func (_c *ConfigFactory_NewConfig_Call) Run(run func(ctx context.Context)) *ConfigFactory_NewConfig_Call
func (*ConfigFactory_NewConfig_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ConfigFactory_NewConfig_Call) RunAndReturn(run func(context.Context) (aws.Config, error)) *ConfigFactory_NewConfig_Call
type Config_Expecter ¶ added in v1.5.41
type Config_Expecter struct {
// contains filtered or unexported fields
}
func (*Config_Expecter) Get ¶ added in v1.5.41
func (_e *Config_Expecter) Get(key interface{}) *Config_Get_Call
Get is a helper method to define mock.On call
- key string
func (*Config_Expecter) GetAWSFactory ¶ added in v1.5.41
func (_e *Config_Expecter) GetAWSFactory() *Config_GetAWSFactory_Call
GetAWSFactory is a helper method to define mock.On call
func (*Config_Expecter) GetAWSV2Config ¶ added in v1.5.41
func (_e *Config_Expecter) GetAWSV2Config() *Config_GetAWSV2Config_Call
GetAWSV2Config is a helper method to define mock.On call
func (*Config_Expecter) GetBool ¶ added in v1.5.41
func (_e *Config_Expecter) GetBool(key interface{}) *Config_GetBool_Call
GetBool is a helper method to define mock.On call
- key string
func (*Config_Expecter) GetInt ¶ added in v1.5.41
func (_e *Config_Expecter) GetInt(key interface{}) *Config_GetInt_Call
GetInt is a helper method to define mock.On call
- key string
func (*Config_Expecter) GetIntOrDefault ¶ added in v1.5.41
func (_e *Config_Expecter) GetIntOrDefault(key interface{}, defaultValue interface{}) *Config_GetIntOrDefault_Call
GetIntOrDefault is a helper method to define mock.On call
- key string
- defaultValue int
func (*Config_Expecter) GetString ¶ added in v1.5.41
func (_e *Config_Expecter) GetString(key interface{}) *Config_GetString_Call
GetString is a helper method to define mock.On call
- key string
func (*Config_Expecter) GetStringOrDefault ¶ added in v1.5.41
func (_e *Config_Expecter) GetStringOrDefault(key interface{}, defaultValue interface{}) *Config_GetStringOrDefault_Call
GetStringOrDefault is a helper method to define mock.On call
- key string
- defaultValue string
type Config_GetAWSFactory_Call ¶ added in v1.5.41
Config_GetAWSFactory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAWSFactory'
func (*Config_GetAWSFactory_Call) Return ¶ added in v1.5.41
func (_c *Config_GetAWSFactory_Call) Return(_a0 *awsfactory.ClientsFactory) *Config_GetAWSFactory_Call
func (*Config_GetAWSFactory_Call) Run ¶ added in v1.5.41
func (_c *Config_GetAWSFactory_Call) Run(run func()) *Config_GetAWSFactory_Call
func (*Config_GetAWSFactory_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetAWSFactory_Call) RunAndReturn(run func() *awsfactory.ClientsFactory) *Config_GetAWSFactory_Call
type Config_GetAWSV2Config_Call ¶ added in v1.5.41
Config_GetAWSV2Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAWSV2Config'
func (*Config_GetAWSV2Config_Call) Return ¶ added in v1.5.41
func (_c *Config_GetAWSV2Config_Call) Return(_a0 aws.Config) *Config_GetAWSV2Config_Call
func (*Config_GetAWSV2Config_Call) Run ¶ added in v1.5.41
func (_c *Config_GetAWSV2Config_Call) Run(run func()) *Config_GetAWSV2Config_Call
func (*Config_GetAWSV2Config_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetAWSV2Config_Call) RunAndReturn(run func() aws.Config) *Config_GetAWSV2Config_Call
type Config_GetBool_Call ¶ added in v1.5.41
Config_GetBool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBool'
func (*Config_GetBool_Call) Return ¶ added in v1.5.41
func (_c *Config_GetBool_Call) Return(_a0 bool) *Config_GetBool_Call
func (*Config_GetBool_Call) Run ¶ added in v1.5.41
func (_c *Config_GetBool_Call) Run(run func(key string)) *Config_GetBool_Call
func (*Config_GetBool_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetBool_Call) RunAndReturn(run func(string) bool) *Config_GetBool_Call
type Config_GetIntOrDefault_Call ¶ added in v1.5.41
Config_GetIntOrDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIntOrDefault'
func (*Config_GetIntOrDefault_Call) Return ¶ added in v1.5.41
func (_c *Config_GetIntOrDefault_Call) Return(_a0 int) *Config_GetIntOrDefault_Call
func (*Config_GetIntOrDefault_Call) Run ¶ added in v1.5.41
func (_c *Config_GetIntOrDefault_Call) Run(run func(key string, defaultValue int)) *Config_GetIntOrDefault_Call
func (*Config_GetIntOrDefault_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetIntOrDefault_Call) RunAndReturn(run func(string, int) int) *Config_GetIntOrDefault_Call
type Config_GetInt_Call ¶ added in v1.5.41
Config_GetInt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInt'
func (*Config_GetInt_Call) Return ¶ added in v1.5.41
func (_c *Config_GetInt_Call) Return(_a0 int) *Config_GetInt_Call
func (*Config_GetInt_Call) Run ¶ added in v1.5.41
func (_c *Config_GetInt_Call) Run(run func(key string)) *Config_GetInt_Call
func (*Config_GetInt_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetInt_Call) RunAndReturn(run func(string) int) *Config_GetInt_Call
type Config_GetStringOrDefault_Call ¶ added in v1.5.41
Config_GetStringOrDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringOrDefault'
func (*Config_GetStringOrDefault_Call) Return ¶ added in v1.5.41
func (_c *Config_GetStringOrDefault_Call) Return(_a0 string) *Config_GetStringOrDefault_Call
func (*Config_GetStringOrDefault_Call) Run ¶ added in v1.5.41
func (_c *Config_GetStringOrDefault_Call) Run(run func(key string, defaultValue string)) *Config_GetStringOrDefault_Call
func (*Config_GetStringOrDefault_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetStringOrDefault_Call) RunAndReturn(run func(string, string) string) *Config_GetStringOrDefault_Call
type Config_GetString_Call ¶ added in v1.5.41
Config_GetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetString'
func (*Config_GetString_Call) Return ¶ added in v1.5.41
func (_c *Config_GetString_Call) Return(_a0 string) *Config_GetString_Call
func (*Config_GetString_Call) Run ¶ added in v1.5.41
func (_c *Config_GetString_Call) Run(run func(key string)) *Config_GetString_Call
func (*Config_GetString_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetString_Call) RunAndReturn(run func(string) string) *Config_GetString_Call
type Config_Get_Call ¶ added in v1.5.41
Config_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Config_Get_Call) Return ¶ added in v1.5.41
func (_c *Config_Get_Call) Return(_a0 interface{}) *Config_Get_Call
func (*Config_Get_Call) Run ¶ added in v1.5.41
func (_c *Config_Get_Call) Run(run func(key string)) *Config_Get_Call
func (*Config_Get_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_Get_Call) RunAndReturn(run func(string) interface{}) *Config_Get_Call
type CountMediasBySelectorsFunc ¶ added in v1.5.41
CountMediasBySelectorsFunc is an autogenerated mock type for the CountMediasBySelectorsFunc type
func NewCountMediasBySelectorsFunc ¶ added in v1.5.41
func NewCountMediasBySelectorsFunc(t interface { mock.TestingT Cleanup(func()) }) *CountMediasBySelectorsFunc
NewCountMediasBySelectorsFunc creates a new instance of CountMediasBySelectorsFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CountMediasBySelectorsFunc) EXPECT ¶ added in v1.5.41
func (_m *CountMediasBySelectorsFunc) EXPECT() *CountMediasBySelectorsFunc_Expecter
func (*CountMediasBySelectorsFunc) Execute ¶ added in v1.5.41
func (_m *CountMediasBySelectorsFunc) Execute(ctx context.Context, owner ownermodel.Owner, selectors []catalog.MediaSelector) (int, error)
Execute provides a mock function with given fields: ctx, owner, selectors
type CountMediasBySelectorsFunc_Execute_Call ¶ added in v1.5.41
CountMediasBySelectorsFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*CountMediasBySelectorsFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *CountMediasBySelectorsFunc_Execute_Call) Return(_a0 int, _a1 error) *CountMediasBySelectorsFunc_Execute_Call
func (*CountMediasBySelectorsFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *CountMediasBySelectorsFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, selectors []catalog.MediaSelector)) *CountMediasBySelectorsFunc_Execute_Call
func (*CountMediasBySelectorsFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CountMediasBySelectorsFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.MediaSelector) (int, error)) *CountMediasBySelectorsFunc_Execute_Call
type CountMediasBySelectorsFunc_Expecter ¶ added in v1.5.41
type CountMediasBySelectorsFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*CountMediasBySelectorsFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *CountMediasBySelectorsFunc_Expecter) Execute(ctx interface{}, owner interface{}, selectors interface{}) *CountMediasBySelectorsFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- selectors []catalog.MediaSelector
type CountMediasBySelectorsPort ¶ added in v1.5.41
CountMediasBySelectorsPort is an autogenerated mock type for the CountMediasBySelectorsPort type
func NewCountMediasBySelectorsPort ¶ added in v1.5.41
func NewCountMediasBySelectorsPort(t interface { mock.TestingT Cleanup(func()) }) *CountMediasBySelectorsPort
NewCountMediasBySelectorsPort creates a new instance of CountMediasBySelectorsPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CountMediasBySelectorsPort) CountMediasBySelectors ¶ added in v1.5.41
func (_m *CountMediasBySelectorsPort) CountMediasBySelectors(ctx context.Context, owner ownermodel.Owner, selectors []catalog.MediaSelector) (int, error)
CountMediasBySelectors provides a mock function with given fields: ctx, owner, selectors
func (*CountMediasBySelectorsPort) EXPECT ¶ added in v1.5.41
func (_m *CountMediasBySelectorsPort) EXPECT() *CountMediasBySelectorsPort_Expecter
type CountMediasBySelectorsPort_CountMediasBySelectors_Call ¶ added in v1.5.41
CountMediasBySelectorsPort_CountMediasBySelectors_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMediasBySelectors'
func (*CountMediasBySelectorsPort_CountMediasBySelectors_Call) Return ¶ added in v1.5.41
func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) Return(_a0 int, _a1 error) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
func (*CountMediasBySelectorsPort_CountMediasBySelectors_Call) Run ¶ added in v1.5.41
func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, selectors []catalog.MediaSelector)) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
func (*CountMediasBySelectorsPort_CountMediasBySelectors_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.MediaSelector) (int, error)) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
type CountMediasBySelectorsPort_Expecter ¶ added in v1.5.41
type CountMediasBySelectorsPort_Expecter struct {
// contains filtered or unexported fields
}
func (*CountMediasBySelectorsPort_Expecter) CountMediasBySelectors ¶ added in v1.5.41
func (_e *CountMediasBySelectorsPort_Expecter) CountMediasBySelectors(ctx interface{}, owner interface{}, selectors interface{}) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
CountMediasBySelectors is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- selectors []catalog.MediaSelector
type CreateAlbumObserver ¶ added in v1.5.42
CreateAlbumObserver is an autogenerated mock type for the CreateAlbumObserver type
func NewCreateAlbumObserver ¶ added in v1.5.42
func NewCreateAlbumObserver(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumObserver
NewCreateAlbumObserver creates a new instance of CreateAlbumObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumObserver) EXPECT ¶ added in v1.5.42
func (_m *CreateAlbumObserver) EXPECT() *CreateAlbumObserver_Expecter
func (*CreateAlbumObserver) ObserveCreateAlbum ¶ added in v1.5.42
func (_m *CreateAlbumObserver) ObserveCreateAlbum(ctx context.Context, createdAlbum catalog.Album) error
ObserveCreateAlbum provides a mock function with given fields: ctx, createdAlbum
type CreateAlbumObserverFunc ¶ added in v1.5.42
CreateAlbumObserverFunc is an autogenerated mock type for the CreateAlbumObserverFunc type
func NewCreateAlbumObserverFunc ¶ added in v1.5.42
func NewCreateAlbumObserverFunc(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumObserverFunc
NewCreateAlbumObserverFunc creates a new instance of CreateAlbumObserverFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumObserverFunc) EXPECT ¶ added in v1.5.42
func (_m *CreateAlbumObserverFunc) EXPECT() *CreateAlbumObserverFunc_Expecter
type CreateAlbumObserverFunc_Execute_Call ¶ added in v1.5.42
CreateAlbumObserverFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*CreateAlbumObserverFunc_Execute_Call) Return ¶ added in v1.5.42
func (_c *CreateAlbumObserverFunc_Execute_Call) Return(_a0 error) *CreateAlbumObserverFunc_Execute_Call
func (*CreateAlbumObserverFunc_Execute_Call) Run ¶ added in v1.5.42
func (_c *CreateAlbumObserverFunc_Execute_Call) Run(run func(ctx context.Context, createdAlbum catalog.Album)) *CreateAlbumObserverFunc_Execute_Call
func (*CreateAlbumObserverFunc_Execute_Call) RunAndReturn ¶ added in v1.5.42
func (_c *CreateAlbumObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *CreateAlbumObserverFunc_Execute_Call
type CreateAlbumObserverFunc_Expecter ¶ added in v1.5.42
type CreateAlbumObserverFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumObserverFunc_Expecter) Execute ¶ added in v1.5.42
func (_e *CreateAlbumObserverFunc_Expecter) Execute(ctx interface{}, createdAlbum interface{}) *CreateAlbumObserverFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- createdAlbum catalog.Album
type CreateAlbumObserverWithTimeline ¶ added in v1.6.4
CreateAlbumObserverWithTimeline is an autogenerated mock type for the CreateAlbumObserverWithTimeline type
func NewCreateAlbumObserverWithTimeline ¶ added in v1.6.4
func NewCreateAlbumObserverWithTimeline(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumObserverWithTimeline
NewCreateAlbumObserverWithTimeline creates a new instance of CreateAlbumObserverWithTimeline. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumObserverWithTimeline) EXPECT ¶ added in v1.6.4
func (_m *CreateAlbumObserverWithTimeline) EXPECT() *CreateAlbumObserverWithTimeline_Expecter
func (*CreateAlbumObserverWithTimeline) ObserveCreateAlbum ¶ added in v1.6.4
func (_m *CreateAlbumObserverWithTimeline) ObserveCreateAlbum(ctx context.Context, timeline *catalog.TimelineAggregate, createdAlbum catalog.Album) error
ObserveCreateAlbum provides a mock function with given fields: ctx, timeline, createdAlbum
type CreateAlbumObserverWithTimeline_Expecter ¶ added in v1.6.4
type CreateAlbumObserverWithTimeline_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumObserverWithTimeline_Expecter) ObserveCreateAlbum ¶ added in v1.6.4
func (_e *CreateAlbumObserverWithTimeline_Expecter) ObserveCreateAlbum(ctx interface{}, timeline interface{}, createdAlbum interface{}) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
ObserveCreateAlbum is a helper method to define mock.On call
- ctx context.Context
- timeline *catalog.TimelineAggregate
- createdAlbum catalog.Album
type CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call ¶ added in v1.6.4
CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveCreateAlbum'
func (*CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Run ¶ added in v1.6.4
func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, createdAlbum catalog.Album)) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
func (*CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) RunAndReturn ¶ added in v1.6.4
func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) RunAndReturn(run func(context.Context, *catalog.TimelineAggregate, catalog.Album) error) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
type CreateAlbumObserver_Expecter ¶ added in v1.5.42
type CreateAlbumObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumObserver_Expecter) ObserveCreateAlbum ¶ added in v1.5.42
func (_e *CreateAlbumObserver_Expecter) ObserveCreateAlbum(ctx interface{}, createdAlbum interface{}) *CreateAlbumObserver_ObserveCreateAlbum_Call
ObserveCreateAlbum is a helper method to define mock.On call
- ctx context.Context
- createdAlbum catalog.Album
type CreateAlbumObserver_ObserveCreateAlbum_Call ¶ added in v1.5.42
CreateAlbumObserver_ObserveCreateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveCreateAlbum'
func (*CreateAlbumObserver_ObserveCreateAlbum_Call) Return ¶ added in v1.5.42
func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) Return(_a0 error) *CreateAlbumObserver_ObserveCreateAlbum_Call
func (*CreateAlbumObserver_ObserveCreateAlbum_Call) Run ¶ added in v1.5.42
func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) Run(run func(ctx context.Context, createdAlbum catalog.Album)) *CreateAlbumObserver_ObserveCreateAlbum_Call
func (*CreateAlbumObserver_ObserveCreateAlbum_Call) RunAndReturn ¶ added in v1.5.42
func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *CreateAlbumObserver_ObserveCreateAlbum_Call
type CreateAlbumPort ¶
CreateAlbumPort is an autogenerated mock type for the CreateAlbumPort type
func NewCreateAlbumPort ¶
func NewCreateAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumPort
NewCreateAlbumPort creates a new instance of CreateAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumPort) Create ¶
func (_m *CreateAlbumPort) Create(createRequest ui.RecordCreation) error
Create provides a mock function with given fields: createRequest
func (*CreateAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *CreateAlbumPort) EXPECT() *CreateAlbumPort_Expecter
type CreateAlbumPort_Create_Call ¶ added in v1.5.41
CreateAlbumPort_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*CreateAlbumPort_Create_Call) Return ¶ added in v1.5.41
func (_c *CreateAlbumPort_Create_Call) Return(_a0 error) *CreateAlbumPort_Create_Call
func (*CreateAlbumPort_Create_Call) Run ¶ added in v1.5.41
func (_c *CreateAlbumPort_Create_Call) Run(run func(createRequest ui.RecordCreation)) *CreateAlbumPort_Create_Call
func (*CreateAlbumPort_Create_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CreateAlbumPort_Create_Call) RunAndReturn(run func(ui.RecordCreation) error) *CreateAlbumPort_Create_Call
type CreateAlbumPort_Expecter ¶ added in v1.5.41
type CreateAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumPort_Expecter) Create ¶ added in v1.5.41
func (_e *CreateAlbumPort_Expecter) Create(createRequest interface{}) *CreateAlbumPort_Create_Call
Create is a helper method to define mock.On call
- createRequest ui.RecordCreation
type CreateAlbumWithTimeline ¶ added in v1.6.4
CreateAlbumWithTimeline is an autogenerated mock type for the CreateAlbumWithTimeline type
func NewCreateAlbumWithTimeline ¶ added in v1.6.4
func NewCreateAlbumWithTimeline(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumWithTimeline
NewCreateAlbumWithTimeline creates a new instance of CreateAlbumWithTimeline. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumWithTimeline) Create ¶ added in v1.6.4
func (_m *CreateAlbumWithTimeline) Create(ctx context.Context, timeline *catalog.TimelineAggregate, request catalog.CreateAlbumRequest) (*catalog.AlbumId, error)
Create provides a mock function with given fields: ctx, timeline, request
func (*CreateAlbumWithTimeline) EXPECT ¶ added in v1.6.4
func (_m *CreateAlbumWithTimeline) EXPECT() *CreateAlbumWithTimeline_Expecter
type CreateAlbumWithTimeline_Create_Call ¶ added in v1.6.4
CreateAlbumWithTimeline_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*CreateAlbumWithTimeline_Create_Call) Return ¶ added in v1.6.4
func (_c *CreateAlbumWithTimeline_Create_Call) Return(_a0 *catalog.AlbumId, _a1 error) *CreateAlbumWithTimeline_Create_Call
func (*CreateAlbumWithTimeline_Create_Call) Run ¶ added in v1.6.4
func (_c *CreateAlbumWithTimeline_Create_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, request catalog.CreateAlbumRequest)) *CreateAlbumWithTimeline_Create_Call
func (*CreateAlbumWithTimeline_Create_Call) RunAndReturn ¶ added in v1.6.4
func (_c *CreateAlbumWithTimeline_Create_Call) RunAndReturn(run func(context.Context, *catalog.TimelineAggregate, catalog.CreateAlbumRequest) (*catalog.AlbumId, error)) *CreateAlbumWithTimeline_Create_Call
type CreateAlbumWithTimeline_Expecter ¶ added in v1.6.4
type CreateAlbumWithTimeline_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumWithTimeline_Expecter) Create ¶ added in v1.6.4
func (_e *CreateAlbumWithTimeline_Expecter) Create(ctx interface{}, timeline interface{}, request interface{}) *CreateAlbumWithTimeline_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- timeline *catalog.TimelineAggregate
- request catalog.CreateAlbumRequest
type DeleteAlbumObserver ¶ added in v1.5.42
DeleteAlbumObserver is an autogenerated mock type for the DeleteAlbumObserver type
func NewDeleteAlbumObserver ¶ added in v1.5.42
func NewDeleteAlbumObserver(t interface { mock.TestingT Cleanup(func()) }) *DeleteAlbumObserver
NewDeleteAlbumObserver creates a new instance of DeleteAlbumObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteAlbumObserver) EXPECT ¶ added in v1.5.42
func (_m *DeleteAlbumObserver) EXPECT() *DeleteAlbumObserver_Expecter
func (*DeleteAlbumObserver) OnDeleteAlbum ¶ added in v1.5.42
func (_m *DeleteAlbumObserver) OnDeleteAlbum(ctx context.Context, deletedAlbum catalog.AlbumId, transfers catalog.MediaTransferRecords) error
OnDeleteAlbum provides a mock function with given fields: ctx, deletedAlbum, transfers
type DeleteAlbumObserver_Expecter ¶ added in v1.5.42
type DeleteAlbumObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteAlbumObserver_Expecter) OnDeleteAlbum ¶ added in v1.5.42
func (_e *DeleteAlbumObserver_Expecter) OnDeleteAlbum(ctx interface{}, deletedAlbum interface{}, transfers interface{}) *DeleteAlbumObserver_OnDeleteAlbum_Call
OnDeleteAlbum is a helper method to define mock.On call
- ctx context.Context
- deletedAlbum catalog.AlbumId
- transfers catalog.MediaTransferRecords
type DeleteAlbumObserver_OnDeleteAlbum_Call ¶ added in v1.5.42
DeleteAlbumObserver_OnDeleteAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDeleteAlbum'
func (*DeleteAlbumObserver_OnDeleteAlbum_Call) Return ¶ added in v1.5.42
func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) Return(_a0 error) *DeleteAlbumObserver_OnDeleteAlbum_Call
func (*DeleteAlbumObserver_OnDeleteAlbum_Call) Run ¶ added in v1.5.42
func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) Run(run func(ctx context.Context, deletedAlbum catalog.AlbumId, transfers catalog.MediaTransferRecords)) *DeleteAlbumObserver_OnDeleteAlbum_Call
func (*DeleteAlbumObserver_OnDeleteAlbum_Call) RunAndReturn ¶ added in v1.5.42
func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.MediaTransferRecords) error) *DeleteAlbumObserver_OnDeleteAlbum_Call
type DeleteAlbumPort ¶
DeleteAlbumPort is an autogenerated mock type for the DeleteAlbumPort type
func NewDeleteAlbumPort ¶
func NewDeleteAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *DeleteAlbumPort
NewDeleteAlbumPort creates a new instance of DeleteAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteAlbumPort) DeleteAlbum ¶
func (_m *DeleteAlbumPort) DeleteAlbum(folderName string) error
DeleteAlbum provides a mock function with given fields: folderName
func (*DeleteAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *DeleteAlbumPort) EXPECT() *DeleteAlbumPort_Expecter
type DeleteAlbumPort_DeleteAlbum_Call ¶ added in v1.5.41
DeleteAlbumPort_DeleteAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbum'
func (*DeleteAlbumPort_DeleteAlbum_Call) Return ¶ added in v1.5.41
func (_c *DeleteAlbumPort_DeleteAlbum_Call) Return(_a0 error) *DeleteAlbumPort_DeleteAlbum_Call
func (*DeleteAlbumPort_DeleteAlbum_Call) Run ¶ added in v1.5.41
func (_c *DeleteAlbumPort_DeleteAlbum_Call) Run(run func(folderName string)) *DeleteAlbumPort_DeleteAlbum_Call
func (*DeleteAlbumPort_DeleteAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DeleteAlbumPort_DeleteAlbum_Call) RunAndReturn(run func(string) error) *DeleteAlbumPort_DeleteAlbum_Call
type DeleteAlbumPort_Expecter ¶ added in v1.5.41
type DeleteAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteAlbumPort_Expecter) DeleteAlbum ¶ added in v1.5.41
func (_e *DeleteAlbumPort_Expecter) DeleteAlbum(folderName interface{}) *DeleteAlbumPort_DeleteAlbum_Call
DeleteAlbum is a helper method to define mock.On call
- folderName string
type DeleteAlbumRepositoryFunc ¶ added in v1.5.41
DeleteAlbumRepositoryFunc is an autogenerated mock type for the DeleteAlbumRepositoryFunc type
func NewDeleteAlbumRepositoryFunc ¶ added in v1.5.41
func NewDeleteAlbumRepositoryFunc(t interface { mock.TestingT Cleanup(func()) }) *DeleteAlbumRepositoryFunc
NewDeleteAlbumRepositoryFunc creates a new instance of DeleteAlbumRepositoryFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteAlbumRepositoryFunc) EXPECT ¶ added in v1.5.41
func (_m *DeleteAlbumRepositoryFunc) EXPECT() *DeleteAlbumRepositoryFunc_Expecter
type DeleteAlbumRepositoryFunc_Execute_Call ¶ added in v1.5.41
DeleteAlbumRepositoryFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*DeleteAlbumRepositoryFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryFunc_Execute_Call) Return(_a0 error) *DeleteAlbumRepositoryFunc_Execute_Call
func (*DeleteAlbumRepositoryFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryFunc_Execute_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *DeleteAlbumRepositoryFunc_Execute_Call
func (*DeleteAlbumRepositoryFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *DeleteAlbumRepositoryFunc_Execute_Call
type DeleteAlbumRepositoryFunc_Expecter ¶ added in v1.5.41
type DeleteAlbumRepositoryFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteAlbumRepositoryFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *DeleteAlbumRepositoryFunc_Expecter) Execute(ctx interface{}, albumId interface{}) *DeleteAlbumRepositoryFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
type DeleteAlbumRepositoryPort ¶ added in v1.5.41
DeleteAlbumRepositoryPort is an autogenerated mock type for the DeleteAlbumRepositoryPort type
func NewDeleteAlbumRepositoryPort ¶ added in v1.5.41
func NewDeleteAlbumRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *DeleteAlbumRepositoryPort
NewDeleteAlbumRepositoryPort creates a new instance of DeleteAlbumRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteAlbumRepositoryPort) DeleteAlbum ¶ added in v1.5.41
func (_m *DeleteAlbumRepositoryPort) DeleteAlbum(ctx context.Context, albumId catalog.AlbumId) error
DeleteAlbum provides a mock function with given fields: ctx, albumId
func (*DeleteAlbumRepositoryPort) EXPECT ¶ added in v1.5.41
func (_m *DeleteAlbumRepositoryPort) EXPECT() *DeleteAlbumRepositoryPort_Expecter
type DeleteAlbumRepositoryPort_DeleteAlbum_Call ¶ added in v1.5.41
DeleteAlbumRepositoryPort_DeleteAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbum'
func (*DeleteAlbumRepositoryPort_DeleteAlbum_Call) Return ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) Return(_a0 error) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
func (*DeleteAlbumRepositoryPort_DeleteAlbum_Call) Run ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
func (*DeleteAlbumRepositoryPort_DeleteAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
type DeleteAlbumRepositoryPort_Expecter ¶ added in v1.5.41
type DeleteAlbumRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteAlbumRepositoryPort_Expecter) DeleteAlbum ¶ added in v1.5.41
func (_e *DeleteAlbumRepositoryPort_Expecter) DeleteAlbum(ctx interface{}, albumId interface{}) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
DeleteAlbum is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
type DetailsReaderAdapter ¶
DetailsReaderAdapter is an autogenerated mock type for the DetailsReaderAdapter type
func NewDetailsReaderAdapter ¶
func NewDetailsReaderAdapter(t interface { mock.TestingT Cleanup(func()) }) *DetailsReaderAdapter
NewDetailsReaderAdapter creates a new instance of DetailsReaderAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DetailsReaderAdapter) EXPECT ¶ added in v1.5.41
func (_m *DetailsReaderAdapter) EXPECT() *DetailsReaderAdapter_Expecter
func (*DetailsReaderAdapter) ReadDetails ¶
func (_m *DetailsReaderAdapter) ReadDetails(reader io.Reader, options backup.DetailsReaderOptions) (*backup.MediaDetails, error)
ReadDetails provides a mock function with given fields: reader, options
func (*DetailsReaderAdapter) Supports ¶
func (_m *DetailsReaderAdapter) Supports(media backup.FoundMedia, mediaType backup.MediaType) bool
Supports provides a mock function with given fields: media, mediaType
type DetailsReaderAdapter_Expecter ¶ added in v1.5.41
type DetailsReaderAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*DetailsReaderAdapter_Expecter) ReadDetails ¶ added in v1.5.41
func (_e *DetailsReaderAdapter_Expecter) ReadDetails(reader interface{}, options interface{}) *DetailsReaderAdapter_ReadDetails_Call
ReadDetails is a helper method to define mock.On call
- reader io.Reader
- options backup.DetailsReaderOptions
func (*DetailsReaderAdapter_Expecter) Supports ¶ added in v1.5.41
func (_e *DetailsReaderAdapter_Expecter) Supports(media interface{}, mediaType interface{}) *DetailsReaderAdapter_Supports_Call
Supports is a helper method to define mock.On call
- media backup.FoundMedia
- mediaType backup.MediaType
type DetailsReaderAdapter_ReadDetails_Call ¶ added in v1.5.41
DetailsReaderAdapter_ReadDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadDetails'
func (*DetailsReaderAdapter_ReadDetails_Call) Return ¶ added in v1.5.41
func (_c *DetailsReaderAdapter_ReadDetails_Call) Return(_a0 *backup.MediaDetails, _a1 error) *DetailsReaderAdapter_ReadDetails_Call
func (*DetailsReaderAdapter_ReadDetails_Call) Run ¶ added in v1.5.41
func (_c *DetailsReaderAdapter_ReadDetails_Call) Run(run func(reader io.Reader, options backup.DetailsReaderOptions)) *DetailsReaderAdapter_ReadDetails_Call
func (*DetailsReaderAdapter_ReadDetails_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DetailsReaderAdapter_ReadDetails_Call) RunAndReturn(run func(io.Reader, backup.DetailsReaderOptions) (*backup.MediaDetails, error)) *DetailsReaderAdapter_ReadDetails_Call
type DetailsReaderAdapter_Supports_Call ¶ added in v1.5.41
DetailsReaderAdapter_Supports_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Supports'
func (*DetailsReaderAdapter_Supports_Call) Return ¶ added in v1.5.41
func (_c *DetailsReaderAdapter_Supports_Call) Return(_a0 bool) *DetailsReaderAdapter_Supports_Call
func (*DetailsReaderAdapter_Supports_Call) Run ¶ added in v1.5.41
func (_c *DetailsReaderAdapter_Supports_Call) Run(run func(media backup.FoundMedia, mediaType backup.MediaType)) *DetailsReaderAdapter_Supports_Call
func (*DetailsReaderAdapter_Supports_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DetailsReaderAdapter_Supports_Call) RunAndReturn(run func(backup.FoundMedia, backup.MediaType) bool) *DetailsReaderAdapter_Supports_Call
type DynamoBatchGetItem ¶
DynamoBatchGetItem is an autogenerated mock type for the DynamoBatchGetItem type
func NewDynamoBatchGetItem ¶
func NewDynamoBatchGetItem(t interface { mock.TestingT Cleanup(func()) }) *DynamoBatchGetItem
NewDynamoBatchGetItem creates a new instance of DynamoBatchGetItem. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DynamoBatchGetItem) BatchGetItem ¶
func (_m *DynamoBatchGetItem) BatchGetItem(ctx context.Context, params *dynamodb.BatchGetItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.BatchGetItemOutput, error)
BatchGetItem provides a mock function with given fields: ctx, params, optFns
func (*DynamoBatchGetItem) EXPECT ¶ added in v1.5.41
func (_m *DynamoBatchGetItem) EXPECT() *DynamoBatchGetItem_Expecter
type DynamoBatchGetItem_BatchGetItem_Call ¶ added in v1.5.41
DynamoBatchGetItem_BatchGetItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchGetItem'
func (*DynamoBatchGetItem_BatchGetItem_Call) Return ¶ added in v1.5.41
func (_c *DynamoBatchGetItem_BatchGetItem_Call) Return(_a0 *dynamodb.BatchGetItemOutput, _a1 error) *DynamoBatchGetItem_BatchGetItem_Call
func (*DynamoBatchGetItem_BatchGetItem_Call) Run ¶ added in v1.5.41
func (_c *DynamoBatchGetItem_BatchGetItem_Call) Run(run func(ctx context.Context, params *dynamodb.BatchGetItemInput, optFns ...func(*dynamodb.Options))) *DynamoBatchGetItem_BatchGetItem_Call
func (*DynamoBatchGetItem_BatchGetItem_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DynamoBatchGetItem_BatchGetItem_Call) RunAndReturn(run func(context.Context, *dynamodb.BatchGetItemInput, ...func(*dynamodb.Options)) (*dynamodb.BatchGetItemOutput, error)) *DynamoBatchGetItem_BatchGetItem_Call
type DynamoBatchGetItem_Expecter ¶ added in v1.5.41
type DynamoBatchGetItem_Expecter struct {
// contains filtered or unexported fields
}
func (*DynamoBatchGetItem_Expecter) BatchGetItem ¶ added in v1.5.41
func (_e *DynamoBatchGetItem_Expecter) BatchGetItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamoBatchGetItem_BatchGetItem_Call
BatchGetItem is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.BatchGetItemInput
- optFns ...func(*dynamodb.Options)
type DynamoBatchWriteItem ¶
DynamoBatchWriteItem is an autogenerated mock type for the DynamoBatchWriteItem type
func NewDynamoBatchWriteItem ¶
func NewDynamoBatchWriteItem(t interface { mock.TestingT Cleanup(func()) }) *DynamoBatchWriteItem
NewDynamoBatchWriteItem creates a new instance of DynamoBatchWriteItem. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DynamoBatchWriteItem) BatchWriteItem ¶
func (_m *DynamoBatchWriteItem) BatchWriteItem(ctx context.Context, params *dynamodb.BatchWriteItemInput, optFns ...func(*dynamodb.Options)) (*dynamodb.BatchWriteItemOutput, error)
BatchWriteItem provides a mock function with given fields: ctx, params, optFns
func (*DynamoBatchWriteItem) EXPECT ¶ added in v1.5.41
func (_m *DynamoBatchWriteItem) EXPECT() *DynamoBatchWriteItem_Expecter
type DynamoBatchWriteItem_BatchWriteItem_Call ¶ added in v1.5.41
DynamoBatchWriteItem_BatchWriteItem_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchWriteItem'
func (*DynamoBatchWriteItem_BatchWriteItem_Call) Return ¶ added in v1.5.41
func (_c *DynamoBatchWriteItem_BatchWriteItem_Call) Return(_a0 *dynamodb.BatchWriteItemOutput, _a1 error) *DynamoBatchWriteItem_BatchWriteItem_Call
func (*DynamoBatchWriteItem_BatchWriteItem_Call) Run ¶ added in v1.5.41
func (_c *DynamoBatchWriteItem_BatchWriteItem_Call) Run(run func(ctx context.Context, params *dynamodb.BatchWriteItemInput, optFns ...func(*dynamodb.Options))) *DynamoBatchWriteItem_BatchWriteItem_Call
func (*DynamoBatchWriteItem_BatchWriteItem_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DynamoBatchWriteItem_BatchWriteItem_Call) RunAndReturn(run func(context.Context, *dynamodb.BatchWriteItemInput, ...func(*dynamodb.Options)) (*dynamodb.BatchWriteItemOutput, error)) *DynamoBatchWriteItem_BatchWriteItem_Call
type DynamoBatchWriteItem_Expecter ¶ added in v1.5.41
type DynamoBatchWriteItem_Expecter struct {
// contains filtered or unexported fields
}
func (*DynamoBatchWriteItem_Expecter) BatchWriteItem ¶ added in v1.5.41
func (_e *DynamoBatchWriteItem_Expecter) BatchWriteItem(ctx interface{}, params interface{}, optFns ...interface{}) *DynamoBatchWriteItem_BatchWriteItem_Call
BatchWriteItem is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.BatchWriteItemInput
- optFns ...func(*dynamodb.Options)
type DynamoQuery ¶
DynamoQuery is an autogenerated mock type for the DynamoQuery type
func NewDynamoQuery ¶
func NewDynamoQuery(t interface { mock.TestingT Cleanup(func()) }) *DynamoQuery
NewDynamoQuery creates a new instance of DynamoQuery. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DynamoQuery) EXPECT ¶ added in v1.5.41
func (_m *DynamoQuery) EXPECT() *DynamoQuery_Expecter
func (*DynamoQuery) Query ¶
func (_m *DynamoQuery) Query(ctx context.Context, d *dynamodb.QueryInput, optFns ...func(*dynamodb.Options)) (*dynamodb.QueryOutput, error)
Query provides a mock function with given fields: ctx, d, optFns
type DynamoQuery_Expecter ¶ added in v1.5.41
type DynamoQuery_Expecter struct {
// contains filtered or unexported fields
}
func (*DynamoQuery_Expecter) Query ¶ added in v1.5.41
func (_e *DynamoQuery_Expecter) Query(ctx interface{}, d interface{}, optFns ...interface{}) *DynamoQuery_Query_Call
Query is a helper method to define mock.On call
- ctx context.Context
- d *dynamodb.QueryInput
- optFns ...func(*dynamodb.Options)
type DynamoQuery_Query_Call ¶ added in v1.5.41
DynamoQuery_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*DynamoQuery_Query_Call) Return ¶ added in v1.5.41
func (_c *DynamoQuery_Query_Call) Return(_a0 *dynamodb.QueryOutput, _a1 error) *DynamoQuery_Query_Call
func (*DynamoQuery_Query_Call) Run ¶ added in v1.5.41
func (_c *DynamoQuery_Query_Call) Run(run func(ctx context.Context, d *dynamodb.QueryInput, optFns ...func(*dynamodb.Options))) *DynamoQuery_Query_Call
func (*DynamoQuery_Query_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DynamoQuery_Query_Call) RunAndReturn(run func(context.Context, *dynamodb.QueryInput, ...func(*dynamodb.Options)) (*dynamodb.QueryOutput, error)) *DynamoQuery_Query_Call
type ExistingRecordRepositoryPort ¶
ExistingRecordRepositoryPort is an autogenerated mock type for the ExistingRecordRepositoryPort type
func NewExistingRecordRepositoryPort ¶
func NewExistingRecordRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *ExistingRecordRepositoryPort
NewExistingRecordRepositoryPort creates a new instance of ExistingRecordRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ExistingRecordRepositoryPort) EXPECT ¶ added in v1.5.41
func (_m *ExistingRecordRepositoryPort) EXPECT() *ExistingRecordRepositoryPort_Expecter
func (*ExistingRecordRepositoryPort) FindExistingRecords ¶
func (_m *ExistingRecordRepositoryPort) FindExistingRecords() ([]*ui.ExistingRecord, error)
FindExistingRecords provides a mock function with given fields:
type ExistingRecordRepositoryPort_Expecter ¶ added in v1.5.41
type ExistingRecordRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*ExistingRecordRepositoryPort_Expecter) FindExistingRecords ¶ added in v1.5.41
func (_e *ExistingRecordRepositoryPort_Expecter) FindExistingRecords() *ExistingRecordRepositoryPort_FindExistingRecords_Call
FindExistingRecords is a helper method to define mock.On call
type ExistingRecordRepositoryPort_FindExistingRecords_Call ¶ added in v1.5.41
ExistingRecordRepositoryPort_FindExistingRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindExistingRecords'
func (*ExistingRecordRepositoryPort_FindExistingRecords_Call) Return ¶ added in v1.5.41
func (_c *ExistingRecordRepositoryPort_FindExistingRecords_Call) Return(_a0 []*ui.ExistingRecord, _a1 error) *ExistingRecordRepositoryPort_FindExistingRecords_Call
func (*ExistingRecordRepositoryPort_FindExistingRecords_Call) Run ¶ added in v1.5.41
func (_c *ExistingRecordRepositoryPort_FindExistingRecords_Call) Run(run func()) *ExistingRecordRepositoryPort_FindExistingRecords_Call
func (*ExistingRecordRepositoryPort_FindExistingRecords_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ExistingRecordRepositoryPort_FindExistingRecords_Call) RunAndReturn(run func() ([]*ui.ExistingRecord, error)) *ExistingRecordRepositoryPort_FindExistingRecords_Call
type FindAlbumByIdFunc ¶ added in v1.5.43
FindAlbumByIdFunc is an autogenerated mock type for the FindAlbumByIdFunc type
func NewFindAlbumByIdFunc ¶ added in v1.5.43
func NewFindAlbumByIdFunc(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumByIdFunc
NewFindAlbumByIdFunc creates a new instance of FindAlbumByIdFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumByIdFunc) EXPECT ¶ added in v1.5.43
func (_m *FindAlbumByIdFunc) EXPECT() *FindAlbumByIdFunc_Expecter
type FindAlbumByIdFunc_Execute_Call ¶ added in v1.5.43
FindAlbumByIdFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*FindAlbumByIdFunc_Execute_Call) Return ¶ added in v1.5.43
func (_c *FindAlbumByIdFunc_Execute_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumByIdFunc_Execute_Call
func (*FindAlbumByIdFunc_Execute_Call) Run ¶ added in v1.5.43
func (_c *FindAlbumByIdFunc_Execute_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *FindAlbumByIdFunc_Execute_Call
func (*FindAlbumByIdFunc_Execute_Call) RunAndReturn ¶ added in v1.5.43
func (_c *FindAlbumByIdFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumByIdFunc_Execute_Call
type FindAlbumByIdFunc_Expecter ¶ added in v1.5.43
type FindAlbumByIdFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumByIdFunc_Expecter) Execute ¶ added in v1.5.43
func (_e *FindAlbumByIdFunc_Expecter) Execute(ctx interface{}, id interface{}) *FindAlbumByIdFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- id catalog.AlbumId
type FindAlbumByIdPort ¶ added in v1.5.43
FindAlbumByIdPort is an autogenerated mock type for the FindAlbumByIdPort type
func NewFindAlbumByIdPort ¶ added in v1.5.43
func NewFindAlbumByIdPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumByIdPort
NewFindAlbumByIdPort creates a new instance of FindAlbumByIdPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumByIdPort) EXPECT ¶ added in v1.5.43
func (_m *FindAlbumByIdPort) EXPECT() *FindAlbumByIdPort_Expecter
func (*FindAlbumByIdPort) FindAlbumById ¶ added in v1.5.43
func (_m *FindAlbumByIdPort) FindAlbumById(ctx context.Context, id catalog.AlbumId) (*catalog.Album, error)
FindAlbumById provides a mock function with given fields: ctx, id
type FindAlbumByIdPort_Expecter ¶ added in v1.5.43
type FindAlbumByIdPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumByIdPort_Expecter) FindAlbumById ¶ added in v1.5.43
func (_e *FindAlbumByIdPort_Expecter) FindAlbumById(ctx interface{}, id interface{}) *FindAlbumByIdPort_FindAlbumById_Call
FindAlbumById is a helper method to define mock.On call
- ctx context.Context
- id catalog.AlbumId
type FindAlbumByIdPort_FindAlbumById_Call ¶ added in v1.5.43
FindAlbumByIdPort_FindAlbumById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumById'
func (*FindAlbumByIdPort_FindAlbumById_Call) Return ¶ added in v1.5.43
func (_c *FindAlbumByIdPort_FindAlbumById_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumByIdPort_FindAlbumById_Call
func (*FindAlbumByIdPort_FindAlbumById_Call) Run ¶ added in v1.5.43
func (_c *FindAlbumByIdPort_FindAlbumById_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *FindAlbumByIdPort_FindAlbumById_Call
func (*FindAlbumByIdPort_FindAlbumById_Call) RunAndReturn ¶ added in v1.5.43
func (_c *FindAlbumByIdPort_FindAlbumById_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumByIdPort_FindAlbumById_Call
type FindAlbumByOwnerFunc ¶ added in v1.5.49
FindAlbumByOwnerFunc is an autogenerated mock type for the FindAlbumByOwnerFunc type
func NewFindAlbumByOwnerFunc ¶ added in v1.5.49
func NewFindAlbumByOwnerFunc(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumByOwnerFunc
NewFindAlbumByOwnerFunc creates a new instance of FindAlbumByOwnerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumByOwnerFunc) EXPECT ¶ added in v1.5.49
func (_m *FindAlbumByOwnerFunc) EXPECT() *FindAlbumByOwnerFunc_Expecter
func (*FindAlbumByOwnerFunc) Execute ¶ added in v1.5.49
func (_m *FindAlbumByOwnerFunc) Execute(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
Execute provides a mock function with given fields: ctx, owner
type FindAlbumByOwnerFunc_Execute_Call ¶ added in v1.5.49
FindAlbumByOwnerFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*FindAlbumByOwnerFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *FindAlbumByOwnerFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumByOwnerFunc_Execute_Call
func (*FindAlbumByOwnerFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *FindAlbumByOwnerFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumByOwnerFunc_Execute_Call
func (*FindAlbumByOwnerFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *FindAlbumByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumByOwnerFunc_Execute_Call
type FindAlbumByOwnerFunc_Expecter ¶ added in v1.5.49
type FindAlbumByOwnerFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumByOwnerFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *FindAlbumByOwnerFunc_Expecter) Execute(ctx interface{}, owner interface{}) *FindAlbumByOwnerFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type FindAlbumByOwnerPort ¶ added in v1.5.48
FindAlbumByOwnerPort is an autogenerated mock type for the FindAlbumByOwnerPort type
func NewFindAlbumByOwnerPort ¶ added in v1.5.48
func NewFindAlbumByOwnerPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumByOwnerPort
NewFindAlbumByOwnerPort creates a new instance of FindAlbumByOwnerPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumByOwnerPort) EXPECT ¶ added in v1.5.48
func (_m *FindAlbumByOwnerPort) EXPECT() *FindAlbumByOwnerPort_Expecter
func (*FindAlbumByOwnerPort) FindAlbumsByOwner ¶ added in v1.5.48
func (_m *FindAlbumByOwnerPort) FindAlbumsByOwner(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
FindAlbumsByOwner provides a mock function with given fields: ctx, owner
type FindAlbumByOwnerPort_Expecter ¶ added in v1.5.48
type FindAlbumByOwnerPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumByOwnerPort_Expecter) FindAlbumsByOwner ¶ added in v1.5.48
func (_e *FindAlbumByOwnerPort_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
FindAlbumsByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type FindAlbumByOwnerPort_FindAlbumsByOwner_Call ¶ added in v1.5.48
FindAlbumByOwnerPort_FindAlbumsByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumsByOwner'
func (*FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Return ¶ added in v1.5.48
func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
func (*FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Run ¶ added in v1.5.48
func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
func (*FindAlbumByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn ¶ added in v1.5.48
func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
type FindAlbumPort ¶ added in v1.6.4
FindAlbumPort is an autogenerated mock type for the FindAlbumPort type
func NewFindAlbumPort ¶ added in v1.6.4
func NewFindAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumPort
NewFindAlbumPort creates a new instance of FindAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumPort) EXPECT ¶ added in v1.6.4
func (_m *FindAlbumPort) EXPECT() *FindAlbumPort_Expecter
type FindAlbumPort_Expecter ¶ added in v1.6.4
type FindAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumPort_Expecter) FindAlbum ¶ added in v1.6.4
func (_e *FindAlbumPort_Expecter) FindAlbum(ctx interface{}, albumId interface{}) *FindAlbumPort_FindAlbum_Call
FindAlbum is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
type FindAlbumPort_FindAlbum_Call ¶ added in v1.6.4
FindAlbumPort_FindAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbum'
func (*FindAlbumPort_FindAlbum_Call) Return ¶ added in v1.6.4
func (_c *FindAlbumPort_FindAlbum_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumPort_FindAlbum_Call
func (*FindAlbumPort_FindAlbum_Call) Run ¶ added in v1.6.4
func (_c *FindAlbumPort_FindAlbum_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *FindAlbumPort_FindAlbum_Call
func (*FindAlbumPort_FindAlbum_Call) RunAndReturn ¶ added in v1.6.4
func (_c *FindAlbumPort_FindAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumPort_FindAlbum_Call
type FindAlbumsByIdsFunc ¶ added in v1.5.49
FindAlbumsByIdsFunc is an autogenerated mock type for the FindAlbumsByIdsFunc type
func NewFindAlbumsByIdsFunc ¶ added in v1.5.49
func NewFindAlbumsByIdsFunc(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumsByIdsFunc
NewFindAlbumsByIdsFunc creates a new instance of FindAlbumsByIdsFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumsByIdsFunc) EXPECT ¶ added in v1.5.49
func (_m *FindAlbumsByIdsFunc) EXPECT() *FindAlbumsByIdsFunc_Expecter
type FindAlbumsByIdsFunc_Execute_Call ¶ added in v1.5.49
FindAlbumsByIdsFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*FindAlbumsByIdsFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *FindAlbumsByIdsFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByIdsFunc_Execute_Call
func (*FindAlbumsByIdsFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *FindAlbumsByIdsFunc_Execute_Call) Run(run func(ctx context.Context, ids []catalog.AlbumId)) *FindAlbumsByIdsFunc_Execute_Call
func (*FindAlbumsByIdsFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *FindAlbumsByIdsFunc_Execute_Call) RunAndReturn(run func(context.Context, []catalog.AlbumId) ([]*catalog.Album, error)) *FindAlbumsByIdsFunc_Execute_Call
type FindAlbumsByIdsFunc_Expecter ¶ added in v1.5.49
type FindAlbumsByIdsFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumsByIdsFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *FindAlbumsByIdsFunc_Expecter) Execute(ctx interface{}, ids interface{}) *FindAlbumsByIdsFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- ids []catalog.AlbumId
type FindAlbumsByIdsPort ¶ added in v1.5.48
FindAlbumsByIdsPort is an autogenerated mock type for the FindAlbumsByIdsPort type
func NewFindAlbumsByIdsPort ¶ added in v1.5.48
func NewFindAlbumsByIdsPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumsByIdsPort
NewFindAlbumsByIdsPort creates a new instance of FindAlbumsByIdsPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumsByIdsPort) EXPECT ¶ added in v1.5.48
func (_m *FindAlbumsByIdsPort) EXPECT() *FindAlbumsByIdsPort_Expecter
func (*FindAlbumsByIdsPort) FindAlbumsById ¶ added in v1.5.48
func (_m *FindAlbumsByIdsPort) FindAlbumsById(ctx context.Context, ids []catalog.AlbumId) ([]*catalog.Album, error)
FindAlbumsById provides a mock function with given fields: ctx, ids
type FindAlbumsByIdsPort_Expecter ¶ added in v1.5.48
type FindAlbumsByIdsPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumsByIdsPort_Expecter) FindAlbumsById ¶ added in v1.5.48
func (_e *FindAlbumsByIdsPort_Expecter) FindAlbumsById(ctx interface{}, ids interface{}) *FindAlbumsByIdsPort_FindAlbumsById_Call
FindAlbumsById is a helper method to define mock.On call
- ctx context.Context
- ids []catalog.AlbumId
type FindAlbumsByIdsPort_FindAlbumsById_Call ¶ added in v1.5.48
FindAlbumsByIdsPort_FindAlbumsById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumsById'
func (*FindAlbumsByIdsPort_FindAlbumsById_Call) Return ¶ added in v1.5.48
func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByIdsPort_FindAlbumsById_Call
func (*FindAlbumsByIdsPort_FindAlbumsById_Call) Run ¶ added in v1.5.48
func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) Run(run func(ctx context.Context, ids []catalog.AlbumId)) *FindAlbumsByIdsPort_FindAlbumsById_Call
func (*FindAlbumsByIdsPort_FindAlbumsById_Call) RunAndReturn ¶ added in v1.5.48
func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) RunAndReturn(run func(context.Context, []catalog.AlbumId) ([]*catalog.Album, error)) *FindAlbumsByIdsPort_FindAlbumsById_Call
type FindAlbumsByOwnerFunc ¶ added in v1.5.41
FindAlbumsByOwnerFunc is an autogenerated mock type for the FindAlbumsByOwnerFunc type
func NewFindAlbumsByOwnerFunc ¶ added in v1.5.41
func NewFindAlbumsByOwnerFunc(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumsByOwnerFunc
NewFindAlbumsByOwnerFunc creates a new instance of FindAlbumsByOwnerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumsByOwnerFunc) EXPECT ¶ added in v1.5.41
func (_m *FindAlbumsByOwnerFunc) EXPECT() *FindAlbumsByOwnerFunc_Expecter
func (*FindAlbumsByOwnerFunc) Execute ¶ added in v1.5.41
func (_m *FindAlbumsByOwnerFunc) Execute(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
Execute provides a mock function with given fields: ctx, owner
type FindAlbumsByOwnerFunc_Execute_Call ¶ added in v1.5.41
FindAlbumsByOwnerFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*FindAlbumsByOwnerFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByOwnerFunc_Execute_Call
func (*FindAlbumsByOwnerFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumsByOwnerFunc_Execute_Call
func (*FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerFunc_Execute_Call
type FindAlbumsByOwnerFunc_Expecter ¶ added in v1.5.41
type FindAlbumsByOwnerFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumsByOwnerFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *FindAlbumsByOwnerFunc_Expecter) Execute(ctx interface{}, owner interface{}) *FindAlbumsByOwnerFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type FindAlbumsByOwnerPort ¶ added in v1.5.33
FindAlbumsByOwnerPort is an autogenerated mock type for the FindAlbumsByOwnerPort type
func NewFindAlbumsByOwnerPort ¶ added in v1.5.33
func NewFindAlbumsByOwnerPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumsByOwnerPort
NewFindAlbumsByOwnerPort creates a new instance of FindAlbumsByOwnerPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumsByOwnerPort) EXPECT ¶ added in v1.5.41
func (_m *FindAlbumsByOwnerPort) EXPECT() *FindAlbumsByOwnerPort_Expecter
func (*FindAlbumsByOwnerPort) FindAlbumsByOwner ¶ added in v1.5.33
func (_m *FindAlbumsByOwnerPort) FindAlbumsByOwner(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
FindAlbumsByOwner provides a mock function with given fields: ctx, owner
type FindAlbumsByOwnerPort_Expecter ¶ added in v1.5.41
type FindAlbumsByOwnerPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumsByOwnerPort_Expecter) FindAlbumsByOwner ¶ added in v1.5.41
func (_e *FindAlbumsByOwnerPort_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
FindAlbumsByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type FindAlbumsByOwnerPort_FindAlbumsByOwner_Call ¶ added in v1.5.41
FindAlbumsByOwnerPort_FindAlbumsByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumsByOwner'
func (*FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Return ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
func (*FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Run ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
func (*FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
type FindExistingSignaturePort ¶ added in v1.5.54
FindExistingSignaturePort is an autogenerated mock type for the FindExistingSignaturePort type
func NewFindExistingSignaturePort ¶ added in v1.5.54
func NewFindExistingSignaturePort(t interface { mock.TestingT Cleanup(func()) }) *FindExistingSignaturePort
NewFindExistingSignaturePort creates a new instance of FindExistingSignaturePort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindExistingSignaturePort) EXPECT ¶ added in v1.5.54
func (_m *FindExistingSignaturePort) EXPECT() *FindExistingSignaturePort_Expecter
func (*FindExistingSignaturePort) FindSignatures ¶ added in v1.5.54
func (_m *FindExistingSignaturePort) FindSignatures(ctx context.Context, owner ownermodel.Owner, signatures []catalog.MediaSignature) (map[catalog.MediaSignature]catalog.MediaId, error)
FindSignatures provides a mock function with given fields: ctx, owner, signatures
type FindExistingSignaturePort_Expecter ¶ added in v1.5.54
type FindExistingSignaturePort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindExistingSignaturePort_Expecter) FindSignatures ¶ added in v1.5.54
func (_e *FindExistingSignaturePort_Expecter) FindSignatures(ctx interface{}, owner interface{}, signatures interface{}) *FindExistingSignaturePort_FindSignatures_Call
FindSignatures is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- signatures []catalog.MediaSignature
type FindExistingSignaturePort_FindSignatures_Call ¶ added in v1.5.54
FindExistingSignaturePort_FindSignatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSignatures'
func (*FindExistingSignaturePort_FindSignatures_Call) Return ¶ added in v1.5.54
func (_c *FindExistingSignaturePort_FindSignatures_Call) Return(_a0 map[catalog.MediaSignature]catalog.MediaId, _a1 error) *FindExistingSignaturePort_FindSignatures_Call
func (*FindExistingSignaturePort_FindSignatures_Call) Run ¶ added in v1.5.54
func (_c *FindExistingSignaturePort_FindSignatures_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, signatures []catalog.MediaSignature)) *FindExistingSignaturePort_FindSignatures_Call
func (*FindExistingSignaturePort_FindSignatures_Call) RunAndReturn ¶ added in v1.5.54
func (_c *FindExistingSignaturePort_FindSignatures_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.MediaSignature) (map[catalog.MediaSignature]catalog.MediaId, error)) *FindExistingSignaturePort_FindSignatures_Call
type FoundMedia ¶
FoundMedia is an autogenerated mock type for the FoundMedia type
func NewFoundMedia ¶
func NewFoundMedia(t interface { mock.TestingT Cleanup(func()) }) *FoundMedia
NewFoundMedia creates a new instance of FoundMedia. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FoundMedia) EXPECT ¶ added in v1.5.41
func (_m *FoundMedia) EXPECT() *FoundMedia_Expecter
func (*FoundMedia) LastModification ¶ added in v1.5.0
func (_m *FoundMedia) LastModification() time.Time
LastModification provides a mock function with given fields:
func (*FoundMedia) MediaPath ¶
func (_m *FoundMedia) MediaPath() backup.MediaPath
MediaPath provides a mock function with given fields:
func (*FoundMedia) ReadMedia ¶
func (_m *FoundMedia) ReadMedia() (io.ReadCloser, error)
ReadMedia provides a mock function with given fields:
func (*FoundMedia) Size ¶
func (_m *FoundMedia) Size() int
Size provides a mock function with given fields:
func (*FoundMedia) String ¶
func (_m *FoundMedia) String() string
String provides a mock function with given fields:
type FoundMedia_Expecter ¶ added in v1.5.41
type FoundMedia_Expecter struct {
// contains filtered or unexported fields
}
func (*FoundMedia_Expecter) LastModification ¶ added in v1.5.41
func (_e *FoundMedia_Expecter) LastModification() *FoundMedia_LastModification_Call
LastModification is a helper method to define mock.On call
func (*FoundMedia_Expecter) MediaPath ¶ added in v1.5.41
func (_e *FoundMedia_Expecter) MediaPath() *FoundMedia_MediaPath_Call
MediaPath is a helper method to define mock.On call
func (*FoundMedia_Expecter) ReadMedia ¶ added in v1.5.41
func (_e *FoundMedia_Expecter) ReadMedia() *FoundMedia_ReadMedia_Call
ReadMedia is a helper method to define mock.On call
func (*FoundMedia_Expecter) Size ¶ added in v1.5.41
func (_e *FoundMedia_Expecter) Size() *FoundMedia_Size_Call
Size is a helper method to define mock.On call
func (*FoundMedia_Expecter) String ¶ added in v1.5.41
func (_e *FoundMedia_Expecter) String() *FoundMedia_String_Call
String is a helper method to define mock.On call
type FoundMedia_LastModification_Call ¶ added in v1.5.41
FoundMedia_LastModification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastModification'
func (*FoundMedia_LastModification_Call) Return ¶ added in v1.5.41
func (_c *FoundMedia_LastModification_Call) Return(_a0 time.Time) *FoundMedia_LastModification_Call
func (*FoundMedia_LastModification_Call) Run ¶ added in v1.5.41
func (_c *FoundMedia_LastModification_Call) Run(run func()) *FoundMedia_LastModification_Call
func (*FoundMedia_LastModification_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FoundMedia_LastModification_Call) RunAndReturn(run func() time.Time) *FoundMedia_LastModification_Call
type FoundMedia_MediaPath_Call ¶ added in v1.5.41
FoundMedia_MediaPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MediaPath'
func (*FoundMedia_MediaPath_Call) Return ¶ added in v1.5.41
func (_c *FoundMedia_MediaPath_Call) Return(_a0 backup.MediaPath) *FoundMedia_MediaPath_Call
func (*FoundMedia_MediaPath_Call) Run ¶ added in v1.5.41
func (_c *FoundMedia_MediaPath_Call) Run(run func()) *FoundMedia_MediaPath_Call
func (*FoundMedia_MediaPath_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FoundMedia_MediaPath_Call) RunAndReturn(run func() backup.MediaPath) *FoundMedia_MediaPath_Call
type FoundMedia_ReadMedia_Call ¶ added in v1.5.41
FoundMedia_ReadMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadMedia'
func (*FoundMedia_ReadMedia_Call) Return ¶ added in v1.5.41
func (_c *FoundMedia_ReadMedia_Call) Return(_a0 io.ReadCloser, _a1 error) *FoundMedia_ReadMedia_Call
func (*FoundMedia_ReadMedia_Call) Run ¶ added in v1.5.41
func (_c *FoundMedia_ReadMedia_Call) Run(run func()) *FoundMedia_ReadMedia_Call
func (*FoundMedia_ReadMedia_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FoundMedia_ReadMedia_Call) RunAndReturn(run func() (io.ReadCloser, error)) *FoundMedia_ReadMedia_Call
type FoundMedia_Size_Call ¶ added in v1.5.41
FoundMedia_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'
func (*FoundMedia_Size_Call) Return ¶ added in v1.5.41
func (_c *FoundMedia_Size_Call) Return(_a0 int) *FoundMedia_Size_Call
func (*FoundMedia_Size_Call) Run ¶ added in v1.5.41
func (_c *FoundMedia_Size_Call) Run(run func()) *FoundMedia_Size_Call
func (*FoundMedia_Size_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FoundMedia_Size_Call) RunAndReturn(run func() int) *FoundMedia_Size_Call
type FoundMedia_String_Call ¶ added in v1.5.41
FoundMedia_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*FoundMedia_String_Call) Return ¶ added in v1.5.41
func (_c *FoundMedia_String_Call) Return(_a0 string) *FoundMedia_String_Call
func (*FoundMedia_String_Call) Run ¶ added in v1.5.41
func (_c *FoundMedia_String_Call) Run(run func()) *FoundMedia_String_Call
func (*FoundMedia_String_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FoundMedia_String_Call) RunAndReturn(run func() string) *FoundMedia_String_Call
type GetAlbumSharingGridFunc ¶ added in v1.5.49
GetAlbumSharingGridFunc is an autogenerated mock type for the GetAlbumSharingGridFunc type
func NewGetAlbumSharingGridFunc ¶ added in v1.5.49
func NewGetAlbumSharingGridFunc(t interface { mock.TestingT Cleanup(func()) }) *GetAlbumSharingGridFunc
NewGetAlbumSharingGridFunc creates a new instance of GetAlbumSharingGridFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GetAlbumSharingGridFunc) EXPECT ¶ added in v1.5.49
func (_m *GetAlbumSharingGridFunc) EXPECT() *GetAlbumSharingGridFunc_Expecter
type GetAlbumSharingGridFunc_Execute_Call ¶ added in v1.5.49
GetAlbumSharingGridFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*GetAlbumSharingGridFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *GetAlbumSharingGridFunc_Execute_Call) Return(_a0 map[catalog.AlbumId][]usermodel.UserId, _a1 error) *GetAlbumSharingGridFunc_Execute_Call
func (*GetAlbumSharingGridFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *GetAlbumSharingGridFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *GetAlbumSharingGridFunc_Execute_Call
func (*GetAlbumSharingGridFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *GetAlbumSharingGridFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) (map[catalog.AlbumId][]usermodel.UserId, error)) *GetAlbumSharingGridFunc_Execute_Call
type GetAlbumSharingGridFunc_Expecter ¶ added in v1.5.49
type GetAlbumSharingGridFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*GetAlbumSharingGridFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *GetAlbumSharingGridFunc_Expecter) Execute(ctx interface{}, owner interface{}) *GetAlbumSharingGridFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type GetAlbumSharingGridPort ¶ added in v1.5.49
GetAlbumSharingGridPort is an autogenerated mock type for the GetAlbumSharingGridPort type
func NewGetAlbumSharingGridPort ¶ added in v1.5.49
func NewGetAlbumSharingGridPort(t interface { mock.TestingT Cleanup(func()) }) *GetAlbumSharingGridPort
NewGetAlbumSharingGridPort creates a new instance of GetAlbumSharingGridPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GetAlbumSharingGridPort) EXPECT ¶ added in v1.5.49
func (_m *GetAlbumSharingGridPort) EXPECT() *GetAlbumSharingGridPort_Expecter
func (*GetAlbumSharingGridPort) GetAlbumSharingGrid ¶ added in v1.5.49
func (_m *GetAlbumSharingGridPort) GetAlbumSharingGrid(ctx context.Context, owner ownermodel.Owner) (map[catalog.AlbumId][]usermodel.UserId, error)
GetAlbumSharingGrid provides a mock function with given fields: ctx, owner
type GetAlbumSharingGridPort_Expecter ¶ added in v1.5.49
type GetAlbumSharingGridPort_Expecter struct {
// contains filtered or unexported fields
}
func (*GetAlbumSharingGridPort_Expecter) GetAlbumSharingGrid ¶ added in v1.5.49
func (_e *GetAlbumSharingGridPort_Expecter) GetAlbumSharingGrid(ctx interface{}, owner interface{}) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
GetAlbumSharingGrid is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type GetAlbumSharingGridPort_GetAlbumSharingGrid_Call ¶ added in v1.5.49
GetAlbumSharingGridPort_GetAlbumSharingGrid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlbumSharingGrid'
func (*GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Return ¶ added in v1.5.49
func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Return(_a0 map[catalog.AlbumId][]usermodel.UserId, _a1 error) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
func (*GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Run ¶ added in v1.5.49
func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
func (*GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) RunAndReturn ¶ added in v1.5.49
func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) (map[catalog.AlbumId][]usermodel.UserId, error)) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
type GetAvailabilitiesByUserFunc ¶ added in v1.6.4
GetAvailabilitiesByUserFunc is an autogenerated mock type for the GetAvailabilitiesByUserFunc type
func NewGetAvailabilitiesByUserFunc ¶ added in v1.6.4
func NewGetAvailabilitiesByUserFunc(t interface { mock.TestingT Cleanup(func()) }) *GetAvailabilitiesByUserFunc
NewGetAvailabilitiesByUserFunc creates a new instance of GetAvailabilitiesByUserFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GetAvailabilitiesByUserFunc) EXPECT ¶ added in v1.6.4
func (_m *GetAvailabilitiesByUserFunc) EXPECT() *GetAvailabilitiesByUserFunc_Expecter
func (*GetAvailabilitiesByUserFunc) Execute ¶ added in v1.6.4
func (_m *GetAvailabilitiesByUserFunc) Execute(ctx context.Context, user usermodel.UserId) ([]catalogviews.MultiUserAlbumSize, error)
Execute provides a mock function with given fields: ctx, user
type GetAvailabilitiesByUserFunc_Execute_Call ¶ added in v1.6.4
GetAvailabilitiesByUserFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*GetAvailabilitiesByUserFunc_Execute_Call) Return ¶ added in v1.6.4
func (_c *GetAvailabilitiesByUserFunc_Execute_Call) Return(_a0 []catalogviews.MultiUserAlbumSize, _a1 error) *GetAvailabilitiesByUserFunc_Execute_Call
func (*GetAvailabilitiesByUserFunc_Execute_Call) Run ¶ added in v1.6.4
func (_c *GetAvailabilitiesByUserFunc_Execute_Call) Run(run func(ctx context.Context, user usermodel.UserId)) *GetAvailabilitiesByUserFunc_Execute_Call
func (*GetAvailabilitiesByUserFunc_Execute_Call) RunAndReturn ¶ added in v1.6.4
func (_c *GetAvailabilitiesByUserFunc_Execute_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalogviews.MultiUserAlbumSize, error)) *GetAvailabilitiesByUserFunc_Execute_Call
type GetAvailabilitiesByUserFunc_Expecter ¶ added in v1.6.4
type GetAvailabilitiesByUserFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*GetAvailabilitiesByUserFunc_Expecter) Execute ¶ added in v1.6.4
func (_e *GetAvailabilitiesByUserFunc_Expecter) Execute(ctx interface{}, user interface{}) *GetAvailabilitiesByUserFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- user usermodel.UserId
type GetAvailabilitiesByUserPort ¶ added in v1.6.4
GetAvailabilitiesByUserPort is an autogenerated mock type for the GetAvailabilitiesByUserPort type
func NewGetAvailabilitiesByUserPort ¶ added in v1.6.4
func NewGetAvailabilitiesByUserPort(t interface { mock.TestingT Cleanup(func()) }) *GetAvailabilitiesByUserPort
NewGetAvailabilitiesByUserPort creates a new instance of GetAvailabilitiesByUserPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GetAvailabilitiesByUserPort) EXPECT ¶ added in v1.6.4
func (_m *GetAvailabilitiesByUserPort) EXPECT() *GetAvailabilitiesByUserPort_Expecter
func (*GetAvailabilitiesByUserPort) GetAvailabilitiesByUser ¶ added in v1.6.4
func (_m *GetAvailabilitiesByUserPort) GetAvailabilitiesByUser(ctx context.Context, user usermodel.UserId) ([]catalogviews.MultiUserAlbumSize, error)
GetAvailabilitiesByUser provides a mock function with given fields: ctx, user
type GetAvailabilitiesByUserPort_Expecter ¶ added in v1.6.4
type GetAvailabilitiesByUserPort_Expecter struct {
// contains filtered or unexported fields
}
func (*GetAvailabilitiesByUserPort_Expecter) GetAvailabilitiesByUser ¶ added in v1.6.4
func (_e *GetAvailabilitiesByUserPort_Expecter) GetAvailabilitiesByUser(ctx interface{}, user interface{}) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
GetAvailabilitiesByUser is a helper method to define mock.On call
- ctx context.Context
- user usermodel.UserId
type GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call ¶ added in v1.6.4
GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAvailabilitiesByUser'
func (*GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Run ¶ added in v1.6.4
func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Run(run func(ctx context.Context, user usermodel.UserId)) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
func (*GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) RunAndReturn ¶ added in v1.6.4
func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalogviews.MultiUserAlbumSize, error)) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
type GetStreamAdapter ¶
GetStreamAdapter is an autogenerated mock type for the GetStreamAdapter type
func NewGetStreamAdapter ¶
func NewGetStreamAdapter(t interface { mock.TestingT Cleanup(func()) }) *GetStreamAdapter
NewGetStreamAdapter creates a new instance of GetStreamAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GetStreamAdapter) BatchGet ¶
func (_m *GetStreamAdapter) BatchGet(ctx context.Context, key []map[string]types.AttributeValue) (*dynamodb.BatchGetItemOutput, error)
BatchGet provides a mock function with given fields: ctx, key
func (*GetStreamAdapter) EXPECT ¶ added in v1.5.41
func (_m *GetStreamAdapter) EXPECT() *GetStreamAdapter_Expecter
type GetStreamAdapter_BatchGet_Call ¶ added in v1.5.41
GetStreamAdapter_BatchGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchGet'
func (*GetStreamAdapter_BatchGet_Call) Return ¶ added in v1.5.41
func (_c *GetStreamAdapter_BatchGet_Call) Return(_a0 *dynamodb.BatchGetItemOutput, _a1 error) *GetStreamAdapter_BatchGet_Call
func (*GetStreamAdapter_BatchGet_Call) Run ¶ added in v1.5.41
func (_c *GetStreamAdapter_BatchGet_Call) Run(run func(ctx context.Context, key []map[string]types.AttributeValue)) *GetStreamAdapter_BatchGet_Call
func (*GetStreamAdapter_BatchGet_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GetStreamAdapter_BatchGet_Call) RunAndReturn(run func(context.Context, []map[string]types.AttributeValue) (*dynamodb.BatchGetItemOutput, error)) *GetStreamAdapter_BatchGet_Call
type GetStreamAdapter_Expecter ¶ added in v1.5.41
type GetStreamAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*GetStreamAdapter_Expecter) BatchGet ¶ added in v1.5.41
func (_e *GetStreamAdapter_Expecter) BatchGet(ctx interface{}, key interface{}) *GetStreamAdapter_BatchGet_Call
BatchGet is a helper method to define mock.On call
- ctx context.Context
- key []map[string]types.AttributeValue
type GrantRepository ¶
GrantRepository is an autogenerated mock type for the GrantRepository type
func NewGrantRepository ¶
func NewGrantRepository(t interface { mock.TestingT Cleanup(func()) }) *GrantRepository
NewGrantRepository creates a new instance of GrantRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GrantRepository) DeleteScopes ¶
func (_m *GrantRepository) DeleteScopes(id ...aclcore.ScopeId) error
DeleteScopes provides a mock function with given fields: id
func (*GrantRepository) EXPECT ¶ added in v1.5.41
func (_m *GrantRepository) EXPECT() *GrantRepository_Expecter
func (*GrantRepository) FindScopesById ¶
FindScopesById provides a mock function with given fields: ids
func (*GrantRepository) ListScopesByOwner ¶ added in v1.5.49
func (_m *GrantRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwner provides a mock function with given fields: ctx, owner, types
func (*GrantRepository) ListScopesByOwners ¶ added in v1.5.0
func (_m *GrantRepository) ListScopesByOwners(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwners provides a mock function with given fields: ctx, owners, types
func (*GrantRepository) ListScopesByUser ¶ added in v1.5.49
func (_m *GrantRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByUser provides a mock function with given fields: ctx, email, types
func (*GrantRepository) SaveIfNewScope ¶
func (_m *GrantRepository) SaveIfNewScope(scope aclcore.Scope) error
SaveIfNewScope provides a mock function with given fields: scope
type GrantRepository_DeleteScopes_Call ¶ added in v1.5.41
GrantRepository_DeleteScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteScopes'
func (*GrantRepository_DeleteScopes_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_DeleteScopes_Call) Return(_a0 error) *GrantRepository_DeleteScopes_Call
func (*GrantRepository_DeleteScopes_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_DeleteScopes_Call) Run(run func(id ...aclcore.ScopeId)) *GrantRepository_DeleteScopes_Call
func (*GrantRepository_DeleteScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_DeleteScopes_Call) RunAndReturn(run func(...aclcore.ScopeId) error) *GrantRepository_DeleteScopes_Call
type GrantRepository_Expecter ¶ added in v1.5.41
type GrantRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*GrantRepository_Expecter) DeleteScopes ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) DeleteScopes(id ...interface{}) *GrantRepository_DeleteScopes_Call
DeleteScopes is a helper method to define mock.On call
- id ...aclcore.ScopeId
func (*GrantRepository_Expecter) FindScopesById ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) FindScopesById(ids ...interface{}) *GrantRepository_FindScopesById_Call
FindScopesById is a helper method to define mock.On call
- ids ...aclcore.ScopeId
func (*GrantRepository_Expecter) ListScopesByOwner ¶ added in v1.5.49
func (_e *GrantRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *GrantRepository_ListScopesByOwner_Call
ListScopesByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- types ...aclcore.ScopeType
func (*GrantRepository_Expecter) ListScopesByOwners ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) ListScopesByOwners(ctx interface{}, owners interface{}, types ...interface{}) *GrantRepository_ListScopesByOwners_Call
ListScopesByOwners is a helper method to define mock.On call
- ctx context.Context
- owners []ownermodel.Owner
- types ...aclcore.ScopeType
func (*GrantRepository_Expecter) ListScopesByUser ¶ added in v1.5.49
func (_e *GrantRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *GrantRepository_ListScopesByUser_Call
ListScopesByUser is a helper method to define mock.On call
- ctx context.Context
- email usermodel.UserId
- types ...aclcore.ScopeType
func (*GrantRepository_Expecter) SaveIfNewScope ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) SaveIfNewScope(scope interface{}) *GrantRepository_SaveIfNewScope_Call
SaveIfNewScope is a helper method to define mock.On call
- scope aclcore.Scope
type GrantRepository_FindScopesById_Call ¶ added in v1.5.41
GrantRepository_FindScopesById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindScopesById'
func (*GrantRepository_FindScopesById_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_FindScopesById_Call
func (*GrantRepository_FindScopesById_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *GrantRepository_FindScopesById_Call
func (*GrantRepository_FindScopesById_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *GrantRepository_FindScopesById_Call
type GrantRepository_ListScopesByOwner_Call ¶ added in v1.5.49
GrantRepository_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'
func (*GrantRepository_ListScopesByOwner_Call) Return ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByOwner_Call
func (*GrantRepository_ListScopesByOwner_Call) Run ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType)) *GrantRepository_ListScopesByOwner_Call
func (*GrantRepository_ListScopesByOwner_Call) RunAndReturn ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListScopesByOwner_Call
type GrantRepository_ListScopesByOwners_Call ¶ added in v1.5.41
GrantRepository_ListScopesByOwners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwners'
func (*GrantRepository_ListScopesByOwners_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_ListScopesByOwners_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByOwners_Call
func (*GrantRepository_ListScopesByOwners_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_ListScopesByOwners_Call) Run(run func(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType)) *GrantRepository_ListScopesByOwners_Call
func (*GrantRepository_ListScopesByOwners_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_ListScopesByOwners_Call) RunAndReturn(run func(context.Context, []ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListScopesByOwners_Call
type GrantRepository_ListScopesByUser_Call ¶ added in v1.5.49
GrantRepository_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'
func (*GrantRepository_ListScopesByUser_Call) Return ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByUser_Call
func (*GrantRepository_ListScopesByUser_Call) Run ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByUser_Call) Run(run func(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType)) *GrantRepository_ListScopesByUser_Call
func (*GrantRepository_ListScopesByUser_Call) RunAndReturn ¶ added in v1.5.49
type GrantRepository_SaveIfNewScope_Call ¶ added in v1.5.41
GrantRepository_SaveIfNewScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveIfNewScope'
func (*GrantRepository_SaveIfNewScope_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_SaveIfNewScope_Call) Return(_a0 error) *GrantRepository_SaveIfNewScope_Call
func (*GrantRepository_SaveIfNewScope_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_SaveIfNewScope_Call) Run(run func(scope aclcore.Scope)) *GrantRepository_SaveIfNewScope_Call
func (*GrantRepository_SaveIfNewScope_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_SaveIfNewScope_Call) RunAndReturn(run func(aclcore.Scope) error) *GrantRepository_SaveIfNewScope_Call
type IAccessTokenGenerator ¶
IAccessTokenGenerator is an autogenerated mock type for the IAccessTokenGenerator type
func NewIAccessTokenGenerator ¶
func NewIAccessTokenGenerator(t interface { mock.TestingT Cleanup(func()) }) *IAccessTokenGenerator
NewIAccessTokenGenerator creates a new instance of IAccessTokenGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IAccessTokenGenerator) EXPECT ¶ added in v1.5.41
func (_m *IAccessTokenGenerator) EXPECT() *IAccessTokenGenerator_Expecter
func (*IAccessTokenGenerator) GenerateAccessToken ¶
func (_m *IAccessTokenGenerator) GenerateAccessToken(email usermodel.UserId) (*aclcore.Authentication, error)
GenerateAccessToken provides a mock function with given fields: email
type IAccessTokenGenerator_Expecter ¶ added in v1.5.41
type IAccessTokenGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*IAccessTokenGenerator_Expecter) GenerateAccessToken ¶ added in v1.5.41
func (_e *IAccessTokenGenerator_Expecter) GenerateAccessToken(email interface{}) *IAccessTokenGenerator_GenerateAccessToken_Call
GenerateAccessToken is a helper method to define mock.On call
- email usermodel.UserId
type IAccessTokenGenerator_GenerateAccessToken_Call ¶ added in v1.5.41
IAccessTokenGenerator_GenerateAccessToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAccessToken'
func (*IAccessTokenGenerator_GenerateAccessToken_Call) Return ¶ added in v1.5.41
func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) Return(_a0 *aclcore.Authentication, _a1 error) *IAccessTokenGenerator_GenerateAccessToken_Call
func (*IAccessTokenGenerator_GenerateAccessToken_Call) Run ¶ added in v1.5.41
func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) Run(run func(email usermodel.UserId)) *IAccessTokenGenerator_GenerateAccessToken_Call
func (*IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Authentication, error)) *IAccessTokenGenerator_GenerateAccessToken_Call
type IRefreshTokenGenerator ¶
IRefreshTokenGenerator is an autogenerated mock type for the IRefreshTokenGenerator type
func NewIRefreshTokenGenerator ¶
func NewIRefreshTokenGenerator(t interface { mock.TestingT Cleanup(func()) }) *IRefreshTokenGenerator
NewIRefreshTokenGenerator creates a new instance of IRefreshTokenGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IRefreshTokenGenerator) EXPECT ¶ added in v1.5.41
func (_m *IRefreshTokenGenerator) EXPECT() *IRefreshTokenGenerator_Expecter
func (*IRefreshTokenGenerator) GenerateRefreshToken ¶
func (_m *IRefreshTokenGenerator) GenerateRefreshToken(spec aclcore.RefreshTokenSpec) (string, error)
GenerateRefreshToken provides a mock function with given fields: spec
type IRefreshTokenGenerator_Expecter ¶ added in v1.5.41
type IRefreshTokenGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*IRefreshTokenGenerator_Expecter) GenerateRefreshToken ¶ added in v1.5.41
func (_e *IRefreshTokenGenerator_Expecter) GenerateRefreshToken(spec interface{}) *IRefreshTokenGenerator_GenerateRefreshToken_Call
GenerateRefreshToken is a helper method to define mock.On call
- spec aclcore.RefreshTokenSpec
type IRefreshTokenGenerator_GenerateRefreshToken_Call ¶ added in v1.5.41
IRefreshTokenGenerator_GenerateRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateRefreshToken'
func (*IRefreshTokenGenerator_GenerateRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) Return(_a0 string, _a1 error) *IRefreshTokenGenerator_GenerateRefreshToken_Call
func (*IRefreshTokenGenerator_GenerateRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) Run(run func(spec aclcore.RefreshTokenSpec)) *IRefreshTokenGenerator_GenerateRefreshToken_Call
func (*IRefreshTokenGenerator_GenerateRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) RunAndReturn(run func(aclcore.RefreshTokenSpec) (string, error)) *IRefreshTokenGenerator_GenerateRefreshToken_Call
type IdentityDetailsStore ¶
IdentityDetailsStore is an autogenerated mock type for the IdentityDetailsStore type
func NewIdentityDetailsStore ¶
func NewIdentityDetailsStore(t interface { mock.TestingT Cleanup(func()) }) *IdentityDetailsStore
NewIdentityDetailsStore creates a new instance of IdentityDetailsStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IdentityDetailsStore) EXPECT ¶ added in v1.5.41
func (_m *IdentityDetailsStore) EXPECT() *IdentityDetailsStore_Expecter
func (*IdentityDetailsStore) FindIdentity ¶
FindIdentity provides a mock function with given fields: email
func (*IdentityDetailsStore) StoreIdentity ¶
func (_m *IdentityDetailsStore) StoreIdentity(identity aclcore.Identity) error
StoreIdentity provides a mock function with given fields: identity
type IdentityDetailsStore_Expecter ¶ added in v1.5.41
type IdentityDetailsStore_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityDetailsStore_Expecter) FindIdentity ¶ added in v1.5.41
func (_e *IdentityDetailsStore_Expecter) FindIdentity(email interface{}) *IdentityDetailsStore_FindIdentity_Call
FindIdentity is a helper method to define mock.On call
- email usermodel.UserId
func (*IdentityDetailsStore_Expecter) StoreIdentity ¶ added in v1.5.41
func (_e *IdentityDetailsStore_Expecter) StoreIdentity(identity interface{}) *IdentityDetailsStore_StoreIdentity_Call
StoreIdentity is a helper method to define mock.On call
- identity aclcore.Identity
type IdentityDetailsStore_FindIdentity_Call ¶ added in v1.5.41
IdentityDetailsStore_FindIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIdentity'
func (*IdentityDetailsStore_FindIdentity_Call) Return ¶ added in v1.5.41
func (_c *IdentityDetailsStore_FindIdentity_Call) Return(_a0 *aclcore.Identity, _a1 error) *IdentityDetailsStore_FindIdentity_Call
func (*IdentityDetailsStore_FindIdentity_Call) Run ¶ added in v1.5.41
func (_c *IdentityDetailsStore_FindIdentity_Call) Run(run func(email usermodel.UserId)) *IdentityDetailsStore_FindIdentity_Call
func (*IdentityDetailsStore_FindIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityDetailsStore_FindIdentity_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Identity, error)) *IdentityDetailsStore_FindIdentity_Call
type IdentityDetailsStore_StoreIdentity_Call ¶ added in v1.5.41
IdentityDetailsStore_StoreIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreIdentity'
func (*IdentityDetailsStore_StoreIdentity_Call) Return ¶ added in v1.5.41
func (_c *IdentityDetailsStore_StoreIdentity_Call) Return(_a0 error) *IdentityDetailsStore_StoreIdentity_Call
func (*IdentityDetailsStore_StoreIdentity_Call) Run ¶ added in v1.5.41
func (_c *IdentityDetailsStore_StoreIdentity_Call) Run(run func(identity aclcore.Identity)) *IdentityDetailsStore_StoreIdentity_Call
func (*IdentityDetailsStore_StoreIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityDetailsStore_StoreIdentity_Call) RunAndReturn(run func(aclcore.Identity) error) *IdentityDetailsStore_StoreIdentity_Call
type IdentityQueriesIdentityRepository ¶
IdentityQueriesIdentityRepository is an autogenerated mock type for the IdentityQueriesIdentityRepository type
func NewIdentityQueriesIdentityRepository ¶
func NewIdentityQueriesIdentityRepository(t interface { mock.TestingT Cleanup(func()) }) *IdentityQueriesIdentityRepository
NewIdentityQueriesIdentityRepository creates a new instance of IdentityQueriesIdentityRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IdentityQueriesIdentityRepository) EXPECT ¶ added in v1.5.41
func (_m *IdentityQueriesIdentityRepository) EXPECT() *IdentityQueriesIdentityRepository_Expecter
func (*IdentityQueriesIdentityRepository) FindIdentities ¶
func (_m *IdentityQueriesIdentityRepository) FindIdentities(emails []usermodel.UserId) ([]*aclcore.Identity, error)
FindIdentities provides a mock function with given fields: emails
type IdentityQueriesIdentityRepository_Expecter ¶ added in v1.5.41
type IdentityQueriesIdentityRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityQueriesIdentityRepository_Expecter) FindIdentities ¶ added in v1.5.41
func (_e *IdentityQueriesIdentityRepository_Expecter) FindIdentities(emails interface{}) *IdentityQueriesIdentityRepository_FindIdentities_Call
FindIdentities is a helper method to define mock.On call
- emails []usermodel.UserId
type IdentityQueriesIdentityRepository_FindIdentities_Call ¶ added in v1.5.41
IdentityQueriesIdentityRepository_FindIdentities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIdentities'
func (*IdentityQueriesIdentityRepository_FindIdentities_Call) Return ¶ added in v1.5.41
func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) Return(_a0 []*aclcore.Identity, _a1 error) *IdentityQueriesIdentityRepository_FindIdentities_Call
func (*IdentityQueriesIdentityRepository_FindIdentities_Call) Run ¶ added in v1.5.41
func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) Run(run func(emails []usermodel.UserId)) *IdentityQueriesIdentityRepository_FindIdentities_Call
func (*IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn(run func([]usermodel.UserId) ([]*aclcore.Identity, error)) *IdentityQueriesIdentityRepository_FindIdentities_Call
type IdentityQueriesScopeRepository ¶
IdentityQueriesScopeRepository is an autogenerated mock type for the IdentityQueriesScopeRepository type
func NewIdentityQueriesScopeRepository ¶
func NewIdentityQueriesScopeRepository(t interface { mock.TestingT Cleanup(func()) }) *IdentityQueriesScopeRepository
NewIdentityQueriesScopeRepository creates a new instance of IdentityQueriesScopeRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IdentityQueriesScopeRepository) EXPECT ¶ added in v1.5.41
func (_m *IdentityQueriesScopeRepository) EXPECT() *IdentityQueriesScopeRepository_Expecter
func (*IdentityQueriesScopeRepository) ListScopesByOwners ¶
func (_m *IdentityQueriesScopeRepository) ListScopesByOwners(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwners provides a mock function with given fields: ctx, owners, types
type IdentityQueriesScopeRepository_Expecter ¶ added in v1.5.41
type IdentityQueriesScopeRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityQueriesScopeRepository_Expecter) ListScopesByOwners ¶ added in v1.5.41
func (_e *IdentityQueriesScopeRepository_Expecter) ListScopesByOwners(ctx interface{}, owners interface{}, types ...interface{}) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
ListScopesByOwners is a helper method to define mock.On call
- ctx context.Context
- owners []ownermodel.Owner
- types ...aclcore.ScopeType
type IdentityQueriesScopeRepository_ListScopesByOwners_Call ¶ added in v1.5.41
IdentityQueriesScopeRepository_ListScopesByOwners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwners'
func (*IdentityQueriesScopeRepository_ListScopesByOwners_Call) Return ¶ added in v1.5.41
func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) Return(_a0 []*aclcore.Scope, _a1 error) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
func (*IdentityQueriesScopeRepository_ListScopesByOwners_Call) Run ¶ added in v1.5.41
func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) Run(run func(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType)) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
func (*IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn(run func(context.Context, []ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
type IdentityRepository ¶ added in v1.5.0
IdentityRepository is an autogenerated mock type for the IdentityRepository type
func NewIdentityRepository ¶ added in v1.5.0
func NewIdentityRepository(t interface { mock.TestingT Cleanup(func()) }) *IdentityRepository
NewIdentityRepository creates a new instance of IdentityRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IdentityRepository) EXPECT ¶ added in v1.5.41
func (_m *IdentityRepository) EXPECT() *IdentityRepository_Expecter
func (*IdentityRepository) FindIdentities ¶ added in v1.5.0
func (_m *IdentityRepository) FindIdentities(emails []usermodel.UserId) ([]*aclcore.Identity, error)
FindIdentities provides a mock function with given fields: emails
func (*IdentityRepository) FindIdentity ¶ added in v1.5.0
FindIdentity provides a mock function with given fields: email
func (*IdentityRepository) StoreIdentity ¶ added in v1.5.0
func (_m *IdentityRepository) StoreIdentity(identity aclcore.Identity) error
StoreIdentity provides a mock function with given fields: identity
type IdentityRepository_Expecter ¶ added in v1.5.41
type IdentityRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityRepository_Expecter) FindIdentities ¶ added in v1.5.41
func (_e *IdentityRepository_Expecter) FindIdentities(emails interface{}) *IdentityRepository_FindIdentities_Call
FindIdentities is a helper method to define mock.On call
- emails []usermodel.UserId
func (*IdentityRepository_Expecter) FindIdentity ¶ added in v1.5.41
func (_e *IdentityRepository_Expecter) FindIdentity(email interface{}) *IdentityRepository_FindIdentity_Call
FindIdentity is a helper method to define mock.On call
- email usermodel.UserId
func (*IdentityRepository_Expecter) StoreIdentity ¶ added in v1.5.41
func (_e *IdentityRepository_Expecter) StoreIdentity(identity interface{}) *IdentityRepository_StoreIdentity_Call
StoreIdentity is a helper method to define mock.On call
- identity aclcore.Identity
type IdentityRepository_FindIdentities_Call ¶ added in v1.5.41
IdentityRepository_FindIdentities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIdentities'
func (*IdentityRepository_FindIdentities_Call) Return ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentities_Call) Return(_a0 []*aclcore.Identity, _a1 error) *IdentityRepository_FindIdentities_Call
func (*IdentityRepository_FindIdentities_Call) Run ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentities_Call) Run(run func(emails []usermodel.UserId)) *IdentityRepository_FindIdentities_Call
func (*IdentityRepository_FindIdentities_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentities_Call) RunAndReturn(run func([]usermodel.UserId) ([]*aclcore.Identity, error)) *IdentityRepository_FindIdentities_Call
type IdentityRepository_FindIdentity_Call ¶ added in v1.5.41
IdentityRepository_FindIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIdentity'
func (*IdentityRepository_FindIdentity_Call) Return ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentity_Call) Return(_a0 *aclcore.Identity, _a1 error) *IdentityRepository_FindIdentity_Call
func (*IdentityRepository_FindIdentity_Call) Run ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentity_Call) Run(run func(email usermodel.UserId)) *IdentityRepository_FindIdentity_Call
func (*IdentityRepository_FindIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentity_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Identity, error)) *IdentityRepository_FindIdentity_Call
type IdentityRepository_StoreIdentity_Call ¶ added in v1.5.41
IdentityRepository_StoreIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreIdentity'
func (*IdentityRepository_StoreIdentity_Call) Return ¶ added in v1.5.41
func (_c *IdentityRepository_StoreIdentity_Call) Return(_a0 error) *IdentityRepository_StoreIdentity_Call
func (*IdentityRepository_StoreIdentity_Call) Run ¶ added in v1.5.41
func (_c *IdentityRepository_StoreIdentity_Call) Run(run func(identity aclcore.Identity)) *IdentityRepository_StoreIdentity_Call
func (*IdentityRepository_StoreIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityRepository_StoreIdentity_Call) RunAndReturn(run func(aclcore.Identity) error) *IdentityRepository_StoreIdentity_Call
type InsertAlbumPort ¶ added in v1.5.33
InsertAlbumPort is an autogenerated mock type for the InsertAlbumPort type
func NewInsertAlbumPort ¶ added in v1.5.33
func NewInsertAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *InsertAlbumPort
NewInsertAlbumPort creates a new instance of InsertAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *InsertAlbumPort) EXPECT() *InsertAlbumPort_Expecter
func (*InsertAlbumPort) InsertAlbum ¶ added in v1.5.33
InsertAlbum provides a mock function with given fields: ctx, album
type InsertAlbumPortFunc ¶ added in v1.5.33
InsertAlbumPortFunc is an autogenerated mock type for the InsertAlbumPortFunc type
func NewInsertAlbumPortFunc ¶ added in v1.5.33
func NewInsertAlbumPortFunc(t interface { mock.TestingT Cleanup(func()) }) *InsertAlbumPortFunc
NewInsertAlbumPortFunc creates a new instance of InsertAlbumPortFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertAlbumPortFunc) EXPECT ¶ added in v1.5.41
func (_m *InsertAlbumPortFunc) EXPECT() *InsertAlbumPortFunc_Expecter
type InsertAlbumPortFunc_Execute_Call ¶ added in v1.5.41
InsertAlbumPortFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*InsertAlbumPortFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *InsertAlbumPortFunc_Execute_Call) Return(_a0 error) *InsertAlbumPortFunc_Execute_Call
func (*InsertAlbumPortFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *InsertAlbumPortFunc_Execute_Call) Run(run func(ctx context.Context, album catalog.Album)) *InsertAlbumPortFunc_Execute_Call
func (*InsertAlbumPortFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InsertAlbumPortFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *InsertAlbumPortFunc_Execute_Call
type InsertAlbumPortFunc_Expecter ¶ added in v1.5.41
type InsertAlbumPortFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertAlbumPortFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *InsertAlbumPortFunc_Expecter) Execute(ctx interface{}, album interface{}) *InsertAlbumPortFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- album catalog.Album
type InsertAlbumPort_Expecter ¶ added in v1.5.41
type InsertAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertAlbumPort_Expecter) InsertAlbum ¶ added in v1.5.41
func (_e *InsertAlbumPort_Expecter) InsertAlbum(ctx interface{}, album interface{}) *InsertAlbumPort_InsertAlbum_Call
InsertAlbum is a helper method to define mock.On call
- ctx context.Context
- album catalog.Album
type InsertAlbumPort_InsertAlbum_Call ¶ added in v1.5.41
InsertAlbumPort_InsertAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertAlbum'
func (*InsertAlbumPort_InsertAlbum_Call) Return ¶ added in v1.5.41
func (_c *InsertAlbumPort_InsertAlbum_Call) Return(_a0 error) *InsertAlbumPort_InsertAlbum_Call
func (*InsertAlbumPort_InsertAlbum_Call) Run ¶ added in v1.5.41
func (_c *InsertAlbumPort_InsertAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *InsertAlbumPort_InsertAlbum_Call
func (*InsertAlbumPort_InsertAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InsertAlbumPort_InsertAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *InsertAlbumPort_InsertAlbum_Call
type InsertMediaPort ¶ added in v1.6.4
InsertMediaPort is an autogenerated mock type for the InsertMediaPort type
func NewInsertMediaPort ¶ added in v1.6.4
func NewInsertMediaPort(t interface { mock.TestingT Cleanup(func()) }) *InsertMediaPort
NewInsertMediaPort creates a new instance of InsertMediaPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertMediaPort) EXPECT ¶ added in v1.6.4
func (_m *InsertMediaPort) EXPECT() *InsertMediaPort_Expecter
func (*InsertMediaPort) IndexMedias ¶ added in v1.6.4
func (_m *InsertMediaPort) IndexMedias(ctx context.Context, owner ownermodel.Owner, requests []*backup.CatalogMediaRequest) error
IndexMedias provides a mock function with given fields: ctx, owner, requests
type InsertMediaPort_Expecter ¶ added in v1.6.4
type InsertMediaPort_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertMediaPort_Expecter) IndexMedias ¶ added in v1.6.4
func (_e *InsertMediaPort_Expecter) IndexMedias(ctx interface{}, owner interface{}, requests interface{}) *InsertMediaPort_IndexMedias_Call
IndexMedias is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- requests []*backup.CatalogMediaRequest
type InsertMediaPort_IndexMedias_Call ¶ added in v1.6.4
InsertMediaPort_IndexMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexMedias'
func (*InsertMediaPort_IndexMedias_Call) Return ¶ added in v1.6.4
func (_c *InsertMediaPort_IndexMedias_Call) Return(_a0 error) *InsertMediaPort_IndexMedias_Call
func (*InsertMediaPort_IndexMedias_Call) Run ¶ added in v1.6.4
func (_c *InsertMediaPort_IndexMedias_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, requests []*backup.CatalogMediaRequest)) *InsertMediaPort_IndexMedias_Call
func (*InsertMediaPort_IndexMedias_Call) RunAndReturn ¶ added in v1.6.4
func (_c *InsertMediaPort_IndexMedias_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []*backup.CatalogMediaRequest) error) *InsertMediaPort_IndexMedias_Call
type InsertMediaSimulator ¶ added in v1.5.54
InsertMediaSimulator is an autogenerated mock type for the InsertMediaSimulator type
func NewInsertMediaSimulator ¶ added in v1.5.54
func NewInsertMediaSimulator(t interface { mock.TestingT Cleanup(func()) }) *InsertMediaSimulator
NewInsertMediaSimulator creates a new instance of InsertMediaSimulator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertMediaSimulator) EXPECT ¶ added in v1.5.54
func (_m *InsertMediaSimulator) EXPECT() *InsertMediaSimulator_Expecter
func (*InsertMediaSimulator) SimulateInsertingMedia ¶ added in v1.5.54
func (_m *InsertMediaSimulator) SimulateInsertingMedia(ctx context.Context, owner ownermodel.Owner, signatures []catalog.MediaSignature) ([]catalog.MediaFutureReference, error)
SimulateInsertingMedia provides a mock function with given fields: ctx, owner, signatures
type InsertMediaSimulator_Expecter ¶ added in v1.5.54
type InsertMediaSimulator_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertMediaSimulator_Expecter) SimulateInsertingMedia ¶ added in v1.5.54
func (_e *InsertMediaSimulator_Expecter) SimulateInsertingMedia(ctx interface{}, owner interface{}, signatures interface{}) *InsertMediaSimulator_SimulateInsertingMedia_Call
SimulateInsertingMedia is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- signatures []catalog.MediaSignature
type InsertMediaSimulator_SimulateInsertingMedia_Call ¶ added in v1.5.54
InsertMediaSimulator_SimulateInsertingMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimulateInsertingMedia'
func (*InsertMediaSimulator_SimulateInsertingMedia_Call) Return ¶ added in v1.5.54
func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) Return(_a0 []catalog.MediaFutureReference, _a1 error) *InsertMediaSimulator_SimulateInsertingMedia_Call
func (*InsertMediaSimulator_SimulateInsertingMedia_Call) Run ¶ added in v1.5.54
func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, signatures []catalog.MediaSignature)) *InsertMediaSimulator_SimulateInsertingMedia_Call
func (*InsertMediaSimulator_SimulateInsertingMedia_Call) RunAndReturn ¶ added in v1.5.54
func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.MediaSignature) ([]catalog.MediaFutureReference, error)) *InsertMediaSimulator_SimulateInsertingMedia_Call
type InsertMediasObserver ¶ added in v1.5.48
InsertMediasObserver is an autogenerated mock type for the InsertMediasObserver type
func NewInsertMediasObserver ¶ added in v1.5.48
func NewInsertMediasObserver(t interface { mock.TestingT Cleanup(func()) }) *InsertMediasObserver
NewInsertMediasObserver creates a new instance of InsertMediasObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertMediasObserver) EXPECT ¶ added in v1.5.48
func (_m *InsertMediasObserver) EXPECT() *InsertMediasObserver_Expecter
func (*InsertMediasObserver) OnMediasInserted ¶ added in v1.5.48
func (_m *InsertMediasObserver) OnMediasInserted(_a0 context.Context, _a1 map[catalog.AlbumId][]catalog.MediaId) error
OnMediasInserted provides a mock function with given fields: _a0, _a1
type InsertMediasObserver_Expecter ¶ added in v1.5.48
type InsertMediasObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertMediasObserver_Expecter) OnMediasInserted ¶ added in v1.5.48
func (_e *InsertMediasObserver_Expecter) OnMediasInserted(_a0 interface{}, _a1 interface{}) *InsertMediasObserver_OnMediasInserted_Call
OnMediasInserted is a helper method to define mock.On call
- _a0 context.Context
- _a1 map[catalog.AlbumId][]catalog.MediaId
type InsertMediasObserver_OnMediasInserted_Call ¶ added in v1.5.48
InsertMediasObserver_OnMediasInserted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMediasInserted'
func (*InsertMediasObserver_OnMediasInserted_Call) Return ¶ added in v1.5.48
func (_c *InsertMediasObserver_OnMediasInserted_Call) Return(_a0 error) *InsertMediasObserver_OnMediasInserted_Call
func (*InsertMediasObserver_OnMediasInserted_Call) Run ¶ added in v1.5.48
func (_c *InsertMediasObserver_OnMediasInserted_Call) Run(run func(_a0 context.Context, _a1 map[catalog.AlbumId][]catalog.MediaId)) *InsertMediasObserver_OnMediasInserted_Call
func (*InsertMediasObserver_OnMediasInserted_Call) RunAndReturn ¶ added in v1.5.48
func (_c *InsertMediasObserver_OnMediasInserted_Call) RunAndReturn(run func(context.Context, map[catalog.AlbumId][]catalog.MediaId) error) *InsertMediasObserver_OnMediasInserted_Call
type InsertMediasRepositoryPort ¶ added in v1.5.48
InsertMediasRepositoryPort is an autogenerated mock type for the InsertMediasRepositoryPort type
func NewInsertMediasRepositoryPort ¶ added in v1.5.48
func NewInsertMediasRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *InsertMediasRepositoryPort
NewInsertMediasRepositoryPort creates a new instance of InsertMediasRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertMediasRepositoryPort) EXPECT ¶ added in v1.5.48
func (_m *InsertMediasRepositoryPort) EXPECT() *InsertMediasRepositoryPort_Expecter
func (*InsertMediasRepositoryPort) InsertMedias ¶ added in v1.5.48
func (_m *InsertMediasRepositoryPort) InsertMedias(ctx context.Context, owner ownermodel.Owner, media []catalog.CreateMediaRequest) error
InsertMedias provides a mock function with given fields: ctx, owner, media
type InsertMediasRepositoryPort_Expecter ¶ added in v1.5.48
type InsertMediasRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertMediasRepositoryPort_Expecter) InsertMedias ¶ added in v1.5.48
func (_e *InsertMediasRepositoryPort_Expecter) InsertMedias(ctx interface{}, owner interface{}, media interface{}) *InsertMediasRepositoryPort_InsertMedias_Call
InsertMedias is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- media []catalog.CreateMediaRequest
type InsertMediasRepositoryPort_InsertMedias_Call ¶ added in v1.5.48
InsertMediasRepositoryPort_InsertMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertMedias'
func (*InsertMediasRepositoryPort_InsertMedias_Call) Return ¶ added in v1.5.48
func (_c *InsertMediasRepositoryPort_InsertMedias_Call) Return(_a0 error) *InsertMediasRepositoryPort_InsertMedias_Call
func (*InsertMediasRepositoryPort_InsertMedias_Call) Run ¶ added in v1.5.48
func (_c *InsertMediasRepositoryPort_InsertMedias_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, media []catalog.CreateMediaRequest)) *InsertMediasRepositoryPort_InsertMedias_Call
func (*InsertMediasRepositoryPort_InsertMedias_Call) RunAndReturn ¶ added in v1.5.48
func (_c *InsertMediasRepositoryPort_InsertMedias_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.CreateMediaRequest) error) *InsertMediasRepositoryPort_InsertMedias_Call
type InteractiveActionsPort ¶
InteractiveActionsPort is an autogenerated mock type for the InteractiveActionsPort type
func NewInteractiveActionsPort ¶
func NewInteractiveActionsPort(t interface { mock.TestingT Cleanup(func()) }) *InteractiveActionsPort
NewInteractiveActionsPort creates a new instance of InteractiveActionsPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InteractiveActionsPort) BackupSuggestion ¶
func (_m *InteractiveActionsPort) BackupSuggestion(record *ui.SuggestionRecord, existing *ui.ExistingRecord, listener ui.InteractiveRendererPort) error
BackupSuggestion provides a mock function with given fields: record, existing, listener
func (*InteractiveActionsPort) Create ¶
func (_m *InteractiveActionsPort) Create(createRequest ui.RecordCreation) error
Create provides a mock function with given fields: createRequest
func (*InteractiveActionsPort) DeleteAlbum ¶
func (_m *InteractiveActionsPort) DeleteAlbum(folderName string) error
DeleteAlbum provides a mock function with given fields: folderName
func (*InteractiveActionsPort) EXPECT ¶ added in v1.5.41
func (_m *InteractiveActionsPort) EXPECT() *InteractiveActionsPort_Expecter
func (*InteractiveActionsPort) RenameAlbum ¶
func (_m *InteractiveActionsPort) RenameAlbum(folderName string, newName string, renameFolder bool) error
RenameAlbum provides a mock function with given fields: folderName, newName, renameFolder
func (*InteractiveActionsPort) UpdateAlbum ¶
func (_m *InteractiveActionsPort) UpdateAlbum(folderName string, start time.Time, end time.Time) error
UpdateAlbum provides a mock function with given fields: folderName, start, end
type InteractiveActionsPort_BackupSuggestion_Call ¶ added in v1.5.41
InteractiveActionsPort_BackupSuggestion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BackupSuggestion'
func (*InteractiveActionsPort_BackupSuggestion_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_BackupSuggestion_Call) Return(_a0 error) *InteractiveActionsPort_BackupSuggestion_Call
func (*InteractiveActionsPort_BackupSuggestion_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_BackupSuggestion_Call) Run(run func(record *ui.SuggestionRecord, existing *ui.ExistingRecord, listener ui.InteractiveRendererPort)) *InteractiveActionsPort_BackupSuggestion_Call
func (*InteractiveActionsPort_BackupSuggestion_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_BackupSuggestion_Call) RunAndReturn(run func(*ui.SuggestionRecord, *ui.ExistingRecord, ui.InteractiveRendererPort) error) *InteractiveActionsPort_BackupSuggestion_Call
type InteractiveActionsPort_Create_Call ¶ added in v1.5.41
InteractiveActionsPort_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*InteractiveActionsPort_Create_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_Create_Call) Return(_a0 error) *InteractiveActionsPort_Create_Call
func (*InteractiveActionsPort_Create_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_Create_Call) Run(run func(createRequest ui.RecordCreation)) *InteractiveActionsPort_Create_Call
func (*InteractiveActionsPort_Create_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_Create_Call) RunAndReturn(run func(ui.RecordCreation) error) *InteractiveActionsPort_Create_Call
type InteractiveActionsPort_DeleteAlbum_Call ¶ added in v1.5.41
InteractiveActionsPort_DeleteAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbum'
func (*InteractiveActionsPort_DeleteAlbum_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_DeleteAlbum_Call) Return(_a0 error) *InteractiveActionsPort_DeleteAlbum_Call
func (*InteractiveActionsPort_DeleteAlbum_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_DeleteAlbum_Call) Run(run func(folderName string)) *InteractiveActionsPort_DeleteAlbum_Call
func (*InteractiveActionsPort_DeleteAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_DeleteAlbum_Call) RunAndReturn(run func(string) error) *InteractiveActionsPort_DeleteAlbum_Call
type InteractiveActionsPort_Expecter ¶ added in v1.5.41
type InteractiveActionsPort_Expecter struct {
// contains filtered or unexported fields
}
func (*InteractiveActionsPort_Expecter) BackupSuggestion ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) BackupSuggestion(record interface{}, existing interface{}, listener interface{}) *InteractiveActionsPort_BackupSuggestion_Call
BackupSuggestion is a helper method to define mock.On call
- record *ui.SuggestionRecord
- existing *ui.ExistingRecord
- listener ui.InteractiveRendererPort
func (*InteractiveActionsPort_Expecter) Create ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) Create(createRequest interface{}) *InteractiveActionsPort_Create_Call
Create is a helper method to define mock.On call
- createRequest ui.RecordCreation
func (*InteractiveActionsPort_Expecter) DeleteAlbum ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) DeleteAlbum(folderName interface{}) *InteractiveActionsPort_DeleteAlbum_Call
DeleteAlbum is a helper method to define mock.On call
- folderName string
func (*InteractiveActionsPort_Expecter) RenameAlbum ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) RenameAlbum(folderName interface{}, newName interface{}, renameFolder interface{}) *InteractiveActionsPort_RenameAlbum_Call
RenameAlbum is a helper method to define mock.On call
- folderName string
- newName string
- renameFolder bool
func (*InteractiveActionsPort_Expecter) UpdateAlbum ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) UpdateAlbum(folderName interface{}, start interface{}, end interface{}) *InteractiveActionsPort_UpdateAlbum_Call
UpdateAlbum is a helper method to define mock.On call
- folderName string
- start time.Time
- end time.Time
type InteractiveActionsPort_RenameAlbum_Call ¶ added in v1.5.41
InteractiveActionsPort_RenameAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenameAlbum'
func (*InteractiveActionsPort_RenameAlbum_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_RenameAlbum_Call) Return(_a0 error) *InteractiveActionsPort_RenameAlbum_Call
func (*InteractiveActionsPort_RenameAlbum_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_RenameAlbum_Call) Run(run func(folderName string, newName string, renameFolder bool)) *InteractiveActionsPort_RenameAlbum_Call
func (*InteractiveActionsPort_RenameAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_RenameAlbum_Call) RunAndReturn(run func(string, string, bool) error) *InteractiveActionsPort_RenameAlbum_Call
type InteractiveActionsPort_UpdateAlbum_Call ¶ added in v1.5.41
InteractiveActionsPort_UpdateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbum'
func (*InteractiveActionsPort_UpdateAlbum_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_UpdateAlbum_Call) Return(_a0 error) *InteractiveActionsPort_UpdateAlbum_Call
func (*InteractiveActionsPort_UpdateAlbum_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_UpdateAlbum_Call) Run(run func(folderName string, start time.Time, end time.Time)) *InteractiveActionsPort_UpdateAlbum_Call
func (*InteractiveActionsPort_UpdateAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_UpdateAlbum_Call) RunAndReturn(run func(string, time.Time, time.Time) error) *InteractiveActionsPort_UpdateAlbum_Call
type InteractiveRendererPort ¶
InteractiveRendererPort is an autogenerated mock type for the InteractiveRendererPort type
func NewInteractiveRendererPort ¶
func NewInteractiveRendererPort(t interface { mock.TestingT Cleanup(func()) }) *InteractiveRendererPort
NewInteractiveRendererPort creates a new instance of InteractiveRendererPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InteractiveRendererPort) EXPECT ¶ added in v1.5.41
func (_m *InteractiveRendererPort) EXPECT() *InteractiveRendererPort_Expecter
func (*InteractiveRendererPort) Height ¶
func (_m *InteractiveRendererPort) Height() int
Height provides a mock function with given fields:
func (*InteractiveRendererPort) Print ¶
func (_m *InteractiveRendererPort) Print(question string)
Print provides a mock function with given fields: question
func (*InteractiveRendererPort) ReadAnswer ¶
func (_m *InteractiveRendererPort) ReadAnswer() (string, error)
ReadAnswer provides a mock function with given fields:
func (*InteractiveRendererPort) Render ¶
func (_m *InteractiveRendererPort) Render(state *ui.InteractiveViewState) error
Render provides a mock function with given fields: state
func (*InteractiveRendererPort) TakeOverScreen ¶
func (_m *InteractiveRendererPort) TakeOverScreen()
TakeOverScreen provides a mock function with given fields:
type InteractiveRendererPort_Expecter ¶ added in v1.5.41
type InteractiveRendererPort_Expecter struct {
// contains filtered or unexported fields
}
func (*InteractiveRendererPort_Expecter) Height ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) Height() *InteractiveRendererPort_Height_Call
Height is a helper method to define mock.On call
func (*InteractiveRendererPort_Expecter) Print ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) Print(question interface{}) *InteractiveRendererPort_Print_Call
Print is a helper method to define mock.On call
- question string
func (*InteractiveRendererPort_Expecter) ReadAnswer ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) ReadAnswer() *InteractiveRendererPort_ReadAnswer_Call
ReadAnswer is a helper method to define mock.On call
func (*InteractiveRendererPort_Expecter) Render ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) Render(state interface{}) *InteractiveRendererPort_Render_Call
Render is a helper method to define mock.On call
- state *ui.InteractiveViewState
func (*InteractiveRendererPort_Expecter) TakeOverScreen ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) TakeOverScreen() *InteractiveRendererPort_TakeOverScreen_Call
TakeOverScreen is a helper method to define mock.On call
type InteractiveRendererPort_Height_Call ¶ added in v1.5.41
InteractiveRendererPort_Height_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Height'
func (*InteractiveRendererPort_Height_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Height_Call) Return(_a0 int) *InteractiveRendererPort_Height_Call
func (*InteractiveRendererPort_Height_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Height_Call) Run(run func()) *InteractiveRendererPort_Height_Call
func (*InteractiveRendererPort_Height_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Height_Call) RunAndReturn(run func() int) *InteractiveRendererPort_Height_Call
type InteractiveRendererPort_Print_Call ¶ added in v1.5.41
InteractiveRendererPort_Print_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Print'
func (*InteractiveRendererPort_Print_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Print_Call) Return() *InteractiveRendererPort_Print_Call
func (*InteractiveRendererPort_Print_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Print_Call) Run(run func(question string)) *InteractiveRendererPort_Print_Call
func (*InteractiveRendererPort_Print_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Print_Call) RunAndReturn(run func(string)) *InteractiveRendererPort_Print_Call
type InteractiveRendererPort_ReadAnswer_Call ¶ added in v1.5.41
InteractiveRendererPort_ReadAnswer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAnswer'
func (*InteractiveRendererPort_ReadAnswer_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_ReadAnswer_Call) Return(_a0 string, _a1 error) *InteractiveRendererPort_ReadAnswer_Call
func (*InteractiveRendererPort_ReadAnswer_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_ReadAnswer_Call) Run(run func()) *InteractiveRendererPort_ReadAnswer_Call
func (*InteractiveRendererPort_ReadAnswer_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_ReadAnswer_Call) RunAndReturn(run func() (string, error)) *InteractiveRendererPort_ReadAnswer_Call
type InteractiveRendererPort_Render_Call ¶ added in v1.5.41
InteractiveRendererPort_Render_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Render'
func (*InteractiveRendererPort_Render_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Render_Call) Return(_a0 error) *InteractiveRendererPort_Render_Call
func (*InteractiveRendererPort_Render_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Render_Call) Run(run func(state *ui.InteractiveViewState)) *InteractiveRendererPort_Render_Call
func (*InteractiveRendererPort_Render_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Render_Call) RunAndReturn(run func(*ui.InteractiveViewState) error) *InteractiveRendererPort_Render_Call
type InteractiveRendererPort_TakeOverScreen_Call ¶ added in v1.5.41
InteractiveRendererPort_TakeOverScreen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TakeOverScreen'
func (*InteractiveRendererPort_TakeOverScreen_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_TakeOverScreen_Call) Return() *InteractiveRendererPort_TakeOverScreen_Call
func (*InteractiveRendererPort_TakeOverScreen_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_TakeOverScreen_Call) Run(run func()) *InteractiveRendererPort_TakeOverScreen_Call
func (*InteractiveRendererPort_TakeOverScreen_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_TakeOverScreen_Call) RunAndReturn(run func()) *InteractiveRendererPort_TakeOverScreen_Call
type ListAlbumsProvider ¶ added in v1.5.49
ListAlbumsProvider is an autogenerated mock type for the ListAlbumsProvider type
func NewListAlbumsProvider ¶ added in v1.5.49
func NewListAlbumsProvider(t interface { mock.TestingT Cleanup(func()) }) *ListAlbumsProvider
NewListAlbumsProvider creates a new instance of ListAlbumsProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ListAlbumsProvider) EXPECT ¶ added in v1.5.49
func (_m *ListAlbumsProvider) EXPECT() *ListAlbumsProvider_Expecter
func (*ListAlbumsProvider) ListAlbums ¶ added in v1.5.49
func (_m *ListAlbumsProvider) ListAlbums(ctx context.Context, user usermodel.CurrentUser, filter catalogviews.ListAlbumsFilter) ([]*catalogviews.VisibleAlbum, error)
ListAlbums provides a mock function with given fields: ctx, user, filter
type ListAlbumsProviderFunc ¶ added in v1.5.49
ListAlbumsProviderFunc is an autogenerated mock type for the ListAlbumsProviderFunc type
func NewListAlbumsProviderFunc ¶ added in v1.5.49
func NewListAlbumsProviderFunc(t interface { mock.TestingT Cleanup(func()) }) *ListAlbumsProviderFunc
NewListAlbumsProviderFunc creates a new instance of ListAlbumsProviderFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ListAlbumsProviderFunc) EXPECT ¶ added in v1.5.49
func (_m *ListAlbumsProviderFunc) EXPECT() *ListAlbumsProviderFunc_Expecter
func (*ListAlbumsProviderFunc) Execute ¶ added in v1.5.49
func (_m *ListAlbumsProviderFunc) Execute(ctx context.Context, user usermodel.CurrentUser, filter catalogviews.ListAlbumsFilter) ([]*catalogviews.VisibleAlbum, error)
Execute provides a mock function with given fields: ctx, user, filter
type ListAlbumsProviderFunc_Execute_Call ¶ added in v1.5.49
ListAlbumsProviderFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*ListAlbumsProviderFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *ListAlbumsProviderFunc_Execute_Call) Return(_a0 []*catalogviews.VisibleAlbum, _a1 error) *ListAlbumsProviderFunc_Execute_Call
func (*ListAlbumsProviderFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *ListAlbumsProviderFunc_Execute_Call) Run(run func(ctx context.Context, user usermodel.CurrentUser, filter catalogviews.ListAlbumsFilter)) *ListAlbumsProviderFunc_Execute_Call
func (*ListAlbumsProviderFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ListAlbumsProviderFunc_Execute_Call) RunAndReturn(run func(context.Context, usermodel.CurrentUser, catalogviews.ListAlbumsFilter) ([]*catalogviews.VisibleAlbum, error)) *ListAlbumsProviderFunc_Execute_Call
type ListAlbumsProviderFunc_Expecter ¶ added in v1.5.49
type ListAlbumsProviderFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*ListAlbumsProviderFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *ListAlbumsProviderFunc_Expecter) Execute(ctx interface{}, user interface{}, filter interface{}) *ListAlbumsProviderFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- user usermodel.CurrentUser
- filter catalogviews.ListAlbumsFilter
type ListAlbumsProvider_Expecter ¶ added in v1.5.49
type ListAlbumsProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*ListAlbumsProvider_Expecter) ListAlbums ¶ added in v1.5.49
func (_e *ListAlbumsProvider_Expecter) ListAlbums(ctx interface{}, user interface{}, filter interface{}) *ListAlbumsProvider_ListAlbums_Call
ListAlbums is a helper method to define mock.On call
- ctx context.Context
- user usermodel.CurrentUser
- filter catalogviews.ListAlbumsFilter
type ListAlbumsProvider_ListAlbums_Call ¶ added in v1.5.49
ListAlbumsProvider_ListAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlbums'
func (*ListAlbumsProvider_ListAlbums_Call) Return ¶ added in v1.5.49
func (_c *ListAlbumsProvider_ListAlbums_Call) Return(_a0 []*catalogviews.VisibleAlbum, _a1 error) *ListAlbumsProvider_ListAlbums_Call
func (*ListAlbumsProvider_ListAlbums_Call) Run ¶ added in v1.5.49
func (_c *ListAlbumsProvider_ListAlbums_Call) Run(run func(ctx context.Context, user usermodel.CurrentUser, filter catalogviews.ListAlbumsFilter)) *ListAlbumsProvider_ListAlbums_Call
func (*ListAlbumsProvider_ListAlbums_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ListAlbumsProvider_ListAlbums_Call) RunAndReturn(run func(context.Context, usermodel.CurrentUser, catalogviews.ListAlbumsFilter) ([]*catalogviews.VisibleAlbum, error)) *ListAlbumsProvider_ListAlbums_Call
type ListUserWhoCanAccessAlbumPort ¶ added in v1.6.4
ListUserWhoCanAccessAlbumPort is an autogenerated mock type for the ListUserWhoCanAccessAlbumPort type
func NewListUserWhoCanAccessAlbumPort ¶ added in v1.6.4
func NewListUserWhoCanAccessAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *ListUserWhoCanAccessAlbumPort
NewListUserWhoCanAccessAlbumPort creates a new instance of ListUserWhoCanAccessAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ListUserWhoCanAccessAlbumPort) EXPECT ¶ added in v1.6.4
func (_m *ListUserWhoCanAccessAlbumPort) EXPECT() *ListUserWhoCanAccessAlbumPort_Expecter
func (*ListUserWhoCanAccessAlbumPort) ListUsersWhoCanAccessAlbum ¶ added in v1.6.4
func (_m *ListUserWhoCanAccessAlbumPort) ListUsersWhoCanAccessAlbum(ctx context.Context, albumId ...catalog.AlbumId) (map[catalog.AlbumId][]catalogviews.Availability, error)
ListUsersWhoCanAccessAlbum provides a mock function with given fields: ctx, albumId
type ListUserWhoCanAccessAlbumPort_Expecter ¶ added in v1.6.4
type ListUserWhoCanAccessAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*ListUserWhoCanAccessAlbumPort_Expecter) ListUsersWhoCanAccessAlbum ¶ added in v1.6.4
func (_e *ListUserWhoCanAccessAlbumPort_Expecter) ListUsersWhoCanAccessAlbum(ctx interface{}, albumId ...interface{}) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
ListUsersWhoCanAccessAlbum is a helper method to define mock.On call
- ctx context.Context
- albumId ...catalog.AlbumId
type ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call ¶ added in v1.6.4
ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsersWhoCanAccessAlbum'
func (*ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Run ¶ added in v1.6.4
func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Run(run func(ctx context.Context, albumId ...catalog.AlbumId)) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
func (*ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId][]catalogviews.Availability, error)) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
type Listener ¶
Listener is an autogenerated mock type for the Listener type
func NewListener ¶
NewListener creates a new instance of Listener. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Listener) EXPECT ¶ added in v1.5.41
func (_m *Listener) EXPECT() *Listener_Expecter
type Listener_Execute_Call ¶ added in v1.5.41
Listener_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*Listener_Execute_Call) Return ¶ added in v1.5.41
func (_c *Listener_Execute_Call) Return() *Listener_Execute_Call
func (*Listener_Execute_Call) Run ¶ added in v1.5.41
func (_c *Listener_Execute_Call) Run(run func(_a0 config.Config)) *Listener_Execute_Call
func (*Listener_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Listener_Execute_Call) RunAndReturn(run func(config.Config)) *Listener_Execute_Call
type Listener_Expecter ¶ added in v1.5.41
type Listener_Expecter struct {
// contains filtered or unexported fields
}
func (*Listener_Expecter) Execute ¶ added in v1.5.41
func (_e *Listener_Expecter) Execute(_a0 interface{}) *Listener_Execute_Call
Execute is a helper method to define mock.On call
- _a0 config.Config
type MediaAlbumResolver ¶
MediaAlbumResolver is an autogenerated mock type for the MediaAlbumResolver type
func NewMediaAlbumResolver ¶
func NewMediaAlbumResolver(t interface { mock.TestingT Cleanup(func()) }) *MediaAlbumResolver
NewMediaAlbumResolver creates a new instance of MediaAlbumResolver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MediaAlbumResolver) EXPECT ¶ added in v1.5.41
func (_m *MediaAlbumResolver) EXPECT() *MediaAlbumResolver_Expecter
func (*MediaAlbumResolver) FindAlbumOfMedia ¶
func (_m *MediaAlbumResolver) FindAlbumOfMedia(owner ownermodel.Owner, mediaId catalog.MediaId) (catalog.AlbumId, error)
FindAlbumOfMedia provides a mock function with given fields: owner, mediaId
type MediaAlbumResolver_Expecter ¶ added in v1.5.41
type MediaAlbumResolver_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaAlbumResolver_Expecter) FindAlbumOfMedia ¶ added in v1.5.41
func (_e *MediaAlbumResolver_Expecter) FindAlbumOfMedia(owner interface{}, mediaId interface{}) *MediaAlbumResolver_FindAlbumOfMedia_Call
FindAlbumOfMedia is a helper method to define mock.On call
- owner ownermodel.Owner
- mediaId catalog.MediaId
type MediaAlbumResolver_FindAlbumOfMedia_Call ¶ added in v1.5.41
MediaAlbumResolver_FindAlbumOfMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumOfMedia'
func (*MediaAlbumResolver_FindAlbumOfMedia_Call) Return ¶ added in v1.5.41
func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) Return(_a0 catalog.AlbumId, _a1 error) *MediaAlbumResolver_FindAlbumOfMedia_Call
func (*MediaAlbumResolver_FindAlbumOfMedia_Call) Run ¶ added in v1.5.41
func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) Run(run func(owner ownermodel.Owner, mediaId catalog.MediaId)) *MediaAlbumResolver_FindAlbumOfMedia_Call
func (*MediaAlbumResolver_FindAlbumOfMedia_Call) RunAndReturn ¶ added in v1.5.41
func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) RunAndReturn(run func(ownermodel.Owner, catalog.MediaId) (catalog.AlbumId, error)) *MediaAlbumResolver_FindAlbumOfMedia_Call
type MediaCounterFunc ¶ added in v1.5.50
MediaCounterFunc is an autogenerated mock type for the MediaCounterFunc type
func NewMediaCounterFunc ¶ added in v1.5.50
func NewMediaCounterFunc(t interface { mock.TestingT Cleanup(func()) }) *MediaCounterFunc
NewMediaCounterFunc creates a new instance of MediaCounterFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MediaCounterFunc) EXPECT ¶ added in v1.5.50
func (_m *MediaCounterFunc) EXPECT() *MediaCounterFunc_Expecter
type MediaCounterFunc_Execute_Call ¶ added in v1.5.50
MediaCounterFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MediaCounterFunc_Execute_Call) Return ¶ added in v1.5.50
func (_c *MediaCounterFunc_Execute_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *MediaCounterFunc_Execute_Call
func (*MediaCounterFunc_Execute_Call) Run ¶ added in v1.5.50
func (_c *MediaCounterFunc_Execute_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *MediaCounterFunc_Execute_Call
func (*MediaCounterFunc_Execute_Call) RunAndReturn ¶ added in v1.5.50
func (_c *MediaCounterFunc_Execute_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *MediaCounterFunc_Execute_Call
type MediaCounterFunc_Expecter ¶ added in v1.5.50
type MediaCounterFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaCounterFunc_Expecter) Execute ¶ added in v1.5.50
func (_e *MediaCounterFunc_Expecter) Execute(ctx interface{}, album ...interface{}) *MediaCounterFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- album ...catalog.AlbumId
type MediaCounterPort ¶ added in v1.5.50
MediaCounterPort is an autogenerated mock type for the MediaCounterPort type
func NewMediaCounterPort ¶ added in v1.5.50
func NewMediaCounterPort(t interface { mock.TestingT Cleanup(func()) }) *MediaCounterPort
NewMediaCounterPort creates a new instance of MediaCounterPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MediaCounterPort) CountMedia ¶ added in v1.5.50
func (_m *MediaCounterPort) CountMedia(ctx context.Context, album ...catalog.AlbumId) (map[catalog.AlbumId]int, error)
CountMedia provides a mock function with given fields: ctx, album
func (*MediaCounterPort) EXPECT ¶ added in v1.5.50
func (_m *MediaCounterPort) EXPECT() *MediaCounterPort_Expecter
type MediaCounterPort_CountMedia_Call ¶ added in v1.5.50
MediaCounterPort_CountMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMedia'
func (*MediaCounterPort_CountMedia_Call) Return ¶ added in v1.5.50
func (_c *MediaCounterPort_CountMedia_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *MediaCounterPort_CountMedia_Call
func (*MediaCounterPort_CountMedia_Call) Run ¶ added in v1.5.50
func (_c *MediaCounterPort_CountMedia_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *MediaCounterPort_CountMedia_Call
func (*MediaCounterPort_CountMedia_Call) RunAndReturn ¶ added in v1.5.50
func (_c *MediaCounterPort_CountMedia_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *MediaCounterPort_CountMedia_Call
type MediaCounterPort_Expecter ¶ added in v1.5.50
type MediaCounterPort_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaCounterPort_Expecter) CountMedia ¶ added in v1.5.50
func (_e *MediaCounterPort_Expecter) CountMedia(ctx interface{}, album ...interface{}) *MediaCounterPort_CountMedia_Call
CountMedia is a helper method to define mock.On call
- ctx context.Context
- album ...catalog.AlbumId
type MediaTransfer ¶ added in v1.5.43
MediaTransfer is an autogenerated mock type for the MediaTransfer type
func NewMediaTransfer ¶ added in v1.5.43
func NewMediaTransfer(t interface { mock.TestingT Cleanup(func()) }) *MediaTransfer
NewMediaTransfer creates a new instance of MediaTransfer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MediaTransfer) EXPECT ¶ added in v1.5.43
func (_m *MediaTransfer) EXPECT() *MediaTransfer_Expecter
func (*MediaTransfer) Transfer ¶ added in v1.5.43
func (_m *MediaTransfer) Transfer(ctx context.Context, records catalog.MediaTransferRecords) error
Transfer provides a mock function with given fields: ctx, records
type MediaTransferFunc ¶ added in v1.5.43
MediaTransferFunc is an autogenerated mock type for the MediaTransferFunc type
func NewMediaTransferFunc ¶ added in v1.5.43
func NewMediaTransferFunc(t interface { mock.TestingT Cleanup(func()) }) *MediaTransferFunc
NewMediaTransferFunc creates a new instance of MediaTransferFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MediaTransferFunc) EXPECT ¶ added in v1.5.43
func (_m *MediaTransferFunc) EXPECT() *MediaTransferFunc_Expecter
func (*MediaTransferFunc) Execute ¶ added in v1.5.43
func (_m *MediaTransferFunc) Execute(ctx context.Context, records catalog.MediaTransferRecords) error
Execute provides a mock function with given fields: ctx, records
type MediaTransferFunc_Execute_Call ¶ added in v1.5.43
MediaTransferFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MediaTransferFunc_Execute_Call) Return ¶ added in v1.5.43
func (_c *MediaTransferFunc_Execute_Call) Return(_a0 error) *MediaTransferFunc_Execute_Call
func (*MediaTransferFunc_Execute_Call) Run ¶ added in v1.5.43
func (_c *MediaTransferFunc_Execute_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *MediaTransferFunc_Execute_Call
func (*MediaTransferFunc_Execute_Call) RunAndReturn ¶ added in v1.5.43
func (_c *MediaTransferFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) error) *MediaTransferFunc_Execute_Call
type MediaTransferFunc_Expecter ¶ added in v1.5.43
type MediaTransferFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaTransferFunc_Expecter) Execute ¶ added in v1.5.43
func (_e *MediaTransferFunc_Expecter) Execute(ctx interface{}, records interface{}) *MediaTransferFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
type MediaTransfer_Expecter ¶ added in v1.5.43
type MediaTransfer_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaTransfer_Expecter) Transfer ¶ added in v1.5.43
func (_e *MediaTransfer_Expecter) Transfer(ctx interface{}, records interface{}) *MediaTransfer_Transfer_Call
Transfer is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
type MediaTransfer_Transfer_Call ¶ added in v1.5.43
MediaTransfer_Transfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transfer'
func (*MediaTransfer_Transfer_Call) Return ¶ added in v1.5.43
func (_c *MediaTransfer_Transfer_Call) Return(_a0 error) *MediaTransfer_Transfer_Call
func (*MediaTransfer_Transfer_Call) Run ¶ added in v1.5.43
func (_c *MediaTransfer_Transfer_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *MediaTransfer_Transfer_Call
func (*MediaTransfer_Transfer_Call) RunAndReturn ¶ added in v1.5.43
func (_c *MediaTransfer_Transfer_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) error) *MediaTransfer_Transfer_Call
type Names ¶ added in v1.5.33
Names is an autogenerated mock type for the Names type
func NewNames ¶ added in v1.5.33
NewNames creates a new instance of Names. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Names) DynamoDBMainTable ¶ added in v1.5.33
DynamoDBMainTable provides a mock function with given fields:
func (*Names) EXPECT ¶ added in v1.5.41
func (_m *Names) EXPECT() *Names_Expecter
type Names_DynamoDBMainTable_Call ¶ added in v1.5.41
Names_DynamoDBMainTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DynamoDBMainTable'
func (*Names_DynamoDBMainTable_Call) Return ¶ added in v1.5.41
func (_c *Names_DynamoDBMainTable_Call) Return(_a0 string) *Names_DynamoDBMainTable_Call
func (*Names_DynamoDBMainTable_Call) Run ¶ added in v1.5.41
func (_c *Names_DynamoDBMainTable_Call) Run(run func()) *Names_DynamoDBMainTable_Call
func (*Names_DynamoDBMainTable_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Names_DynamoDBMainTable_Call) RunAndReturn(run func() string) *Names_DynamoDBMainTable_Call
type Names_Expecter ¶ added in v1.5.41
type Names_Expecter struct {
// contains filtered or unexported fields
}
func (*Names_Expecter) DynamoDBMainTable ¶ added in v1.5.41
func (_e *Names_Expecter) DynamoDBMainTable() *Names_DynamoDBMainTable_Call
DynamoDBMainTable is a helper method to define mock.On call
type PostAnalyseFilter ¶
PostAnalyseFilter is an autogenerated mock type for the PostAnalyseFilter type
func NewPostAnalyseFilter ¶
func NewPostAnalyseFilter(t interface { mock.TestingT Cleanup(func()) }) *PostAnalyseFilter
NewPostAnalyseFilter creates a new instance of PostAnalyseFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PostAnalyseFilter) AcceptAnalysedMedia ¶
func (_m *PostAnalyseFilter) AcceptAnalysedMedia(media *backup.AnalysedMedia, folderName string) bool
AcceptAnalysedMedia provides a mock function with given fields: media, folderName
func (*PostAnalyseFilter) EXPECT ¶ added in v1.5.41
func (_m *PostAnalyseFilter) EXPECT() *PostAnalyseFilter_Expecter
type PostAnalyseFilter_AcceptAnalysedMedia_Call ¶ added in v1.5.41
PostAnalyseFilter_AcceptAnalysedMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AcceptAnalysedMedia'
func (*PostAnalyseFilter_AcceptAnalysedMedia_Call) Return ¶ added in v1.5.41
func (_c *PostAnalyseFilter_AcceptAnalysedMedia_Call) Return(_a0 bool) *PostAnalyseFilter_AcceptAnalysedMedia_Call
func (*PostAnalyseFilter_AcceptAnalysedMedia_Call) Run ¶ added in v1.5.41
func (_c *PostAnalyseFilter_AcceptAnalysedMedia_Call) Run(run func(media *backup.AnalysedMedia, folderName string)) *PostAnalyseFilter_AcceptAnalysedMedia_Call
func (*PostAnalyseFilter_AcceptAnalysedMedia_Call) RunAndReturn ¶ added in v1.5.41
func (_c *PostAnalyseFilter_AcceptAnalysedMedia_Call) RunAndReturn(run func(*backup.AnalysedMedia, string) bool) *PostAnalyseFilter_AcceptAnalysedMedia_Call
type PostAnalyseFilter_Expecter ¶ added in v1.5.41
type PostAnalyseFilter_Expecter struct {
// contains filtered or unexported fields
}
func (*PostAnalyseFilter_Expecter) AcceptAnalysedMedia ¶ added in v1.5.41
func (_e *PostAnalyseFilter_Expecter) AcceptAnalysedMedia(media interface{}, folderName interface{}) *PostAnalyseFilter_AcceptAnalysedMedia_Call
AcceptAnalysedMedia is a helper method to define mock.On call
- media *backup.AnalysedMedia
- folderName string
type PrintReadTerminalPort ¶
PrintReadTerminalPort is an autogenerated mock type for the PrintReadTerminalPort type
func NewPrintReadTerminalPort ¶
func NewPrintReadTerminalPort(t interface { mock.TestingT Cleanup(func()) }) *PrintReadTerminalPort
NewPrintReadTerminalPort creates a new instance of PrintReadTerminalPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PrintReadTerminalPort) EXPECT ¶ added in v1.5.41
func (_m *PrintReadTerminalPort) EXPECT() *PrintReadTerminalPort_Expecter
func (*PrintReadTerminalPort) Print ¶
func (_m *PrintReadTerminalPort) Print(question string)
Print provides a mock function with given fields: question
func (*PrintReadTerminalPort) ReadAnswer ¶
func (_m *PrintReadTerminalPort) ReadAnswer() (string, error)
ReadAnswer provides a mock function with given fields:
type PrintReadTerminalPort_Expecter ¶ added in v1.5.41
type PrintReadTerminalPort_Expecter struct {
// contains filtered or unexported fields
}
func (*PrintReadTerminalPort_Expecter) Print ¶ added in v1.5.41
func (_e *PrintReadTerminalPort_Expecter) Print(question interface{}) *PrintReadTerminalPort_Print_Call
Print is a helper method to define mock.On call
- question string
func (*PrintReadTerminalPort_Expecter) ReadAnswer ¶ added in v1.5.41
func (_e *PrintReadTerminalPort_Expecter) ReadAnswer() *PrintReadTerminalPort_ReadAnswer_Call
ReadAnswer is a helper method to define mock.On call
type PrintReadTerminalPort_Print_Call ¶ added in v1.5.41
PrintReadTerminalPort_Print_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Print'
func (*PrintReadTerminalPort_Print_Call) Return ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_Print_Call) Return() *PrintReadTerminalPort_Print_Call
func (*PrintReadTerminalPort_Print_Call) Run ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_Print_Call) Run(run func(question string)) *PrintReadTerminalPort_Print_Call
func (*PrintReadTerminalPort_Print_Call) RunAndReturn ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_Print_Call) RunAndReturn(run func(string)) *PrintReadTerminalPort_Print_Call
type PrintReadTerminalPort_ReadAnswer_Call ¶ added in v1.5.41
PrintReadTerminalPort_ReadAnswer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAnswer'
func (*PrintReadTerminalPort_ReadAnswer_Call) Return ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_ReadAnswer_Call) Return(_a0 string, _a1 error) *PrintReadTerminalPort_ReadAnswer_Call
func (*PrintReadTerminalPort_ReadAnswer_Call) Run ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_ReadAnswer_Call) Run(run func()) *PrintReadTerminalPort_ReadAnswer_Call
func (*PrintReadTerminalPort_ReadAnswer_Call) RunAndReturn ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_ReadAnswer_Call) RunAndReturn(run func() (string, error)) *PrintReadTerminalPort_ReadAnswer_Call
type ProviderFactory ¶ added in v1.6.4
ProviderFactory is an autogenerated mock type for the ProviderFactory type
func NewProviderFactory ¶ added in v1.6.4
func NewProviderFactory(t interface { mock.TestingT Cleanup(func()) }) *ProviderFactory
NewProviderFactory creates a new instance of ProviderFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProviderFactory) EXPECT ¶ added in v1.6.4
func (_m *ProviderFactory) EXPECT() *ProviderFactory_Expecter
func (*ProviderFactory) NewProvider ¶ added in v1.6.4
func (_m *ProviderFactory) NewProvider(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort) catalogviews.ListAlbumsProvider
NewProvider provides a mock function with given fields: ctx, mediaCounterPort
type ProviderFactoryFunc ¶ added in v1.6.4
ProviderFactoryFunc is an autogenerated mock type for the ProviderFactoryFunc type
func NewProviderFactoryFunc ¶ added in v1.6.4
func NewProviderFactoryFunc(t interface { mock.TestingT Cleanup(func()) }) *ProviderFactoryFunc
NewProviderFactoryFunc creates a new instance of ProviderFactoryFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProviderFactoryFunc) EXPECT ¶ added in v1.6.4
func (_m *ProviderFactoryFunc) EXPECT() *ProviderFactoryFunc_Expecter
func (*ProviderFactoryFunc) Execute ¶ added in v1.6.4
func (_m *ProviderFactoryFunc) Execute(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort) catalogviews.ListAlbumsProvider
Execute provides a mock function with given fields: ctx, mediaCounterPort
type ProviderFactoryFunc_Execute_Call ¶ added in v1.6.4
ProviderFactoryFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*ProviderFactoryFunc_Execute_Call) Return ¶ added in v1.6.4
func (_c *ProviderFactoryFunc_Execute_Call) Return(_a0 catalogviews.ListAlbumsProvider) *ProviderFactoryFunc_Execute_Call
func (*ProviderFactoryFunc_Execute_Call) Run ¶ added in v1.6.4
func (_c *ProviderFactoryFunc_Execute_Call) Run(run func(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort)) *ProviderFactoryFunc_Execute_Call
func (*ProviderFactoryFunc_Execute_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ProviderFactoryFunc_Execute_Call) RunAndReturn(run func(context.Context, catalogviews.MediaCounterPort) catalogviews.ListAlbumsProvider) *ProviderFactoryFunc_Execute_Call
type ProviderFactoryFunc_Expecter ¶ added in v1.6.4
type ProviderFactoryFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*ProviderFactoryFunc_Expecter) Execute ¶ added in v1.6.4
func (_e *ProviderFactoryFunc_Expecter) Execute(ctx interface{}, mediaCounterPort interface{}) *ProviderFactoryFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- mediaCounterPort catalogviews.MediaCounterPort
type ProviderFactory_Expecter ¶ added in v1.6.4
type ProviderFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*ProviderFactory_Expecter) NewProvider ¶ added in v1.6.4
func (_e *ProviderFactory_Expecter) NewProvider(ctx interface{}, mediaCounterPort interface{}) *ProviderFactory_NewProvider_Call
NewProvider is a helper method to define mock.On call
- ctx context.Context
- mediaCounterPort catalogviews.MediaCounterPort
type ProviderFactory_NewProvider_Call ¶ added in v1.6.4
ProviderFactory_NewProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewProvider'
func (*ProviderFactory_NewProvider_Call) Return ¶ added in v1.6.4
func (_c *ProviderFactory_NewProvider_Call) Return(_a0 catalogviews.ListAlbumsProvider) *ProviderFactory_NewProvider_Call
func (*ProviderFactory_NewProvider_Call) Run ¶ added in v1.6.4
func (_c *ProviderFactory_NewProvider_Call) Run(run func(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort)) *ProviderFactory_NewProvider_Call
func (*ProviderFactory_NewProvider_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ProviderFactory_NewProvider_Call) RunAndReturn(run func(context.Context, catalogviews.MediaCounterPort) catalogviews.ListAlbumsProvider) *ProviderFactory_NewProvider_Call
type ReferencerFactory ¶ added in v1.5.54
ReferencerFactory is an autogenerated mock type for the ReferencerFactory type
func NewReferencerFactory ¶ added in v1.5.54
func NewReferencerFactory(t interface { mock.TestingT Cleanup(func()) }) *ReferencerFactory
NewReferencerFactory creates a new instance of ReferencerFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ReferencerFactory) EXPECT ¶ added in v1.5.54
func (_m *ReferencerFactory) EXPECT() *ReferencerFactory_Expecter
func (*ReferencerFactory) NewCreatorReferencer ¶ added in v1.5.54
func (_m *ReferencerFactory) NewCreatorReferencer(ctx context.Context, owner ownermodel.Owner) (backup.CatalogReferencer, error)
NewCreatorReferencer provides a mock function with given fields: ctx, owner
func (*ReferencerFactory) NewDryRunReferencer ¶ added in v1.5.54
func (_m *ReferencerFactory) NewDryRunReferencer(ctx context.Context, owner ownermodel.Owner) (backup.CatalogReferencer, error)
NewDryRunReferencer provides a mock function with given fields: ctx, owner
type ReferencerFactory_Expecter ¶ added in v1.5.54
type ReferencerFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*ReferencerFactory_Expecter) NewCreatorReferencer ¶ added in v1.5.54
func (_e *ReferencerFactory_Expecter) NewCreatorReferencer(ctx interface{}, owner interface{}) *ReferencerFactory_NewCreatorReferencer_Call
NewCreatorReferencer is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
func (*ReferencerFactory_Expecter) NewDryRunReferencer ¶ added in v1.5.54
func (_e *ReferencerFactory_Expecter) NewDryRunReferencer(ctx interface{}, owner interface{}) *ReferencerFactory_NewDryRunReferencer_Call
NewDryRunReferencer is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type ReferencerFactory_NewCreatorReferencer_Call ¶ added in v1.5.54
ReferencerFactory_NewCreatorReferencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewCreatorReferencer'
func (*ReferencerFactory_NewCreatorReferencer_Call) Return ¶ added in v1.5.54
func (_c *ReferencerFactory_NewCreatorReferencer_Call) Return(_a0 backup.CatalogReferencer, _a1 error) *ReferencerFactory_NewCreatorReferencer_Call
func (*ReferencerFactory_NewCreatorReferencer_Call) Run ¶ added in v1.5.54
func (_c *ReferencerFactory_NewCreatorReferencer_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *ReferencerFactory_NewCreatorReferencer_Call
func (*ReferencerFactory_NewCreatorReferencer_Call) RunAndReturn ¶ added in v1.5.54
func (_c *ReferencerFactory_NewCreatorReferencer_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) (backup.CatalogReferencer, error)) *ReferencerFactory_NewCreatorReferencer_Call
type ReferencerFactory_NewDryRunReferencer_Call ¶ added in v1.5.54
ReferencerFactory_NewDryRunReferencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewDryRunReferencer'
func (*ReferencerFactory_NewDryRunReferencer_Call) Return ¶ added in v1.5.54
func (_c *ReferencerFactory_NewDryRunReferencer_Call) Return(_a0 backup.CatalogReferencer, _a1 error) *ReferencerFactory_NewDryRunReferencer_Call
func (*ReferencerFactory_NewDryRunReferencer_Call) Run ¶ added in v1.5.54
func (_c *ReferencerFactory_NewDryRunReferencer_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *ReferencerFactory_NewDryRunReferencer_Call
func (*ReferencerFactory_NewDryRunReferencer_Call) RunAndReturn ¶ added in v1.5.54
func (_c *ReferencerFactory_NewDryRunReferencer_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) (backup.CatalogReferencer, error)) *ReferencerFactory_NewDryRunReferencer_Call
type RefreshTokenRepository ¶
RefreshTokenRepository is an autogenerated mock type for the RefreshTokenRepository type
func NewRefreshTokenRepository ¶
func NewRefreshTokenRepository(t interface { mock.TestingT Cleanup(func()) }) *RefreshTokenRepository
NewRefreshTokenRepository creates a new instance of RefreshTokenRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RefreshTokenRepository) DeleteRefreshToken ¶
func (_m *RefreshTokenRepository) DeleteRefreshToken(token string) error
DeleteRefreshToken provides a mock function with given fields: token
func (*RefreshTokenRepository) EXPECT ¶ added in v1.5.41
func (_m *RefreshTokenRepository) EXPECT() *RefreshTokenRepository_Expecter
func (*RefreshTokenRepository) FindRefreshToken ¶
func (_m *RefreshTokenRepository) FindRefreshToken(token string) (*aclcore.RefreshTokenSpec, error)
FindRefreshToken provides a mock function with given fields: token
func (*RefreshTokenRepository) HouseKeepRefreshToken ¶
func (_m *RefreshTokenRepository) HouseKeepRefreshToken() (int, error)
HouseKeepRefreshToken provides a mock function with given fields:
func (*RefreshTokenRepository) StoreRefreshToken ¶
func (_m *RefreshTokenRepository) StoreRefreshToken(token string, spec aclcore.RefreshTokenSpec) error
StoreRefreshToken provides a mock function with given fields: token, spec
type RefreshTokenRepository_DeleteRefreshToken_Call ¶ added in v1.5.41
RefreshTokenRepository_DeleteRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRefreshToken'
func (*RefreshTokenRepository_DeleteRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) Return(_a0 error) *RefreshTokenRepository_DeleteRefreshToken_Call
func (*RefreshTokenRepository_DeleteRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) Run(run func(token string)) *RefreshTokenRepository_DeleteRefreshToken_Call
func (*RefreshTokenRepository_DeleteRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) RunAndReturn(run func(string) error) *RefreshTokenRepository_DeleteRefreshToken_Call
type RefreshTokenRepository_Expecter ¶ added in v1.5.41
type RefreshTokenRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*RefreshTokenRepository_Expecter) DeleteRefreshToken ¶ added in v1.5.41
func (_e *RefreshTokenRepository_Expecter) DeleteRefreshToken(token interface{}) *RefreshTokenRepository_DeleteRefreshToken_Call
DeleteRefreshToken is a helper method to define mock.On call
- token string
func (*RefreshTokenRepository_Expecter) FindRefreshToken ¶ added in v1.5.41
func (_e *RefreshTokenRepository_Expecter) FindRefreshToken(token interface{}) *RefreshTokenRepository_FindRefreshToken_Call
FindRefreshToken is a helper method to define mock.On call
- token string
func (*RefreshTokenRepository_Expecter) HouseKeepRefreshToken ¶ added in v1.5.41
func (_e *RefreshTokenRepository_Expecter) HouseKeepRefreshToken() *RefreshTokenRepository_HouseKeepRefreshToken_Call
HouseKeepRefreshToken is a helper method to define mock.On call
func (*RefreshTokenRepository_Expecter) StoreRefreshToken ¶ added in v1.5.41
func (_e *RefreshTokenRepository_Expecter) StoreRefreshToken(token interface{}, spec interface{}) *RefreshTokenRepository_StoreRefreshToken_Call
StoreRefreshToken is a helper method to define mock.On call
- token string
- spec aclcore.RefreshTokenSpec
type RefreshTokenRepository_FindRefreshToken_Call ¶ added in v1.5.41
RefreshTokenRepository_FindRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindRefreshToken'
func (*RefreshTokenRepository_FindRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RefreshTokenRepository_FindRefreshToken_Call) Return(_a0 *aclcore.RefreshTokenSpec, _a1 error) *RefreshTokenRepository_FindRefreshToken_Call
func (*RefreshTokenRepository_FindRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RefreshTokenRepository_FindRefreshToken_Call) Run(run func(token string)) *RefreshTokenRepository_FindRefreshToken_Call
func (*RefreshTokenRepository_FindRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RefreshTokenRepository_FindRefreshToken_Call) RunAndReturn(run func(string) (*aclcore.RefreshTokenSpec, error)) *RefreshTokenRepository_FindRefreshToken_Call
type RefreshTokenRepository_HouseKeepRefreshToken_Call ¶ added in v1.5.41
RefreshTokenRepository_HouseKeepRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HouseKeepRefreshToken'
func (*RefreshTokenRepository_HouseKeepRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) Return(_a0 int, _a1 error) *RefreshTokenRepository_HouseKeepRefreshToken_Call
func (*RefreshTokenRepository_HouseKeepRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) Run(run func()) *RefreshTokenRepository_HouseKeepRefreshToken_Call
func (*RefreshTokenRepository_HouseKeepRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) RunAndReturn(run func() (int, error)) *RefreshTokenRepository_HouseKeepRefreshToken_Call
type RefreshTokenRepository_StoreRefreshToken_Call ¶ added in v1.5.41
RefreshTokenRepository_StoreRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreRefreshToken'
func (*RefreshTokenRepository_StoreRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RefreshTokenRepository_StoreRefreshToken_Call) Return(_a0 error) *RefreshTokenRepository_StoreRefreshToken_Call
func (*RefreshTokenRepository_StoreRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RefreshTokenRepository_StoreRefreshToken_Call) Run(run func(token string, spec aclcore.RefreshTokenSpec)) *RefreshTokenRepository_StoreRefreshToken_Call
func (*RefreshTokenRepository_StoreRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RefreshTokenRepository_StoreRefreshToken_Call) RunAndReturn(run func(string, aclcore.RefreshTokenSpec) error) *RefreshTokenRepository_StoreRefreshToken_Call
type RenameAlbumObserver ¶ added in v1.5.43
RenameAlbumObserver is an autogenerated mock type for the RenameAlbumObserver type
func NewRenameAlbumObserver ¶ added in v1.5.43
func NewRenameAlbumObserver(t interface { mock.TestingT Cleanup(func()) }) *RenameAlbumObserver
NewRenameAlbumObserver creates a new instance of RenameAlbumObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RenameAlbumObserver) EXPECT ¶ added in v1.5.43
func (_m *RenameAlbumObserver) EXPECT() *RenameAlbumObserver_Expecter
func (*RenameAlbumObserver) OnRenameAlbum ¶ added in v1.5.43
func (_m *RenameAlbumObserver) OnRenameAlbum(ctx context.Context, current catalog.AlbumId, creationRequest catalog.CreateAlbumRequest) error
OnRenameAlbum provides a mock function with given fields: ctx, current, creationRequest
type RenameAlbumObserver_Expecter ¶ added in v1.5.43
type RenameAlbumObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*RenameAlbumObserver_Expecter) OnRenameAlbum ¶ added in v1.5.43
func (_e *RenameAlbumObserver_Expecter) OnRenameAlbum(ctx interface{}, current interface{}, creationRequest interface{}) *RenameAlbumObserver_OnRenameAlbum_Call
OnRenameAlbum is a helper method to define mock.On call
- ctx context.Context
- current catalog.AlbumId
- creationRequest catalog.CreateAlbumRequest
type RenameAlbumObserver_OnRenameAlbum_Call ¶ added in v1.5.43
RenameAlbumObserver_OnRenameAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRenameAlbum'
func (*RenameAlbumObserver_OnRenameAlbum_Call) Return ¶ added in v1.5.43
func (_c *RenameAlbumObserver_OnRenameAlbum_Call) Return(_a0 error) *RenameAlbumObserver_OnRenameAlbum_Call
func (*RenameAlbumObserver_OnRenameAlbum_Call) Run ¶ added in v1.5.43
func (_c *RenameAlbumObserver_OnRenameAlbum_Call) Run(run func(ctx context.Context, current catalog.AlbumId, creationRequest catalog.CreateAlbumRequest)) *RenameAlbumObserver_OnRenameAlbum_Call
func (*RenameAlbumObserver_OnRenameAlbum_Call) RunAndReturn ¶ added in v1.5.43
func (_c *RenameAlbumObserver_OnRenameAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.CreateAlbumRequest) error) *RenameAlbumObserver_OnRenameAlbum_Call
type RenameAlbumPort ¶
RenameAlbumPort is an autogenerated mock type for the RenameAlbumPort type
func NewRenameAlbumPort ¶
func NewRenameAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *RenameAlbumPort
NewRenameAlbumPort creates a new instance of RenameAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RenameAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *RenameAlbumPort) EXPECT() *RenameAlbumPort_Expecter
func (*RenameAlbumPort) RenameAlbum ¶
func (_m *RenameAlbumPort) RenameAlbum(folderName string, newName string, renameFolder bool) error
RenameAlbum provides a mock function with given fields: folderName, newName, renameFolder
type RenameAlbumPort_Expecter ¶ added in v1.5.41
type RenameAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*RenameAlbumPort_Expecter) RenameAlbum ¶ added in v1.5.41
func (_e *RenameAlbumPort_Expecter) RenameAlbum(folderName interface{}, newName interface{}, renameFolder interface{}) *RenameAlbumPort_RenameAlbum_Call
RenameAlbum is a helper method to define mock.On call
- folderName string
- newName string
- renameFolder bool
type RenameAlbumPort_RenameAlbum_Call ¶ added in v1.5.41
RenameAlbumPort_RenameAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenameAlbum'
func (*RenameAlbumPort_RenameAlbum_Call) Return ¶ added in v1.5.41
func (_c *RenameAlbumPort_RenameAlbum_Call) Return(_a0 error) *RenameAlbumPort_RenameAlbum_Call
func (*RenameAlbumPort_RenameAlbum_Call) Run ¶ added in v1.5.41
func (_c *RenameAlbumPort_RenameAlbum_Call) Run(run func(folderName string, newName string, renameFolder bool)) *RenameAlbumPort_RenameAlbum_Call
func (*RenameAlbumPort_RenameAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RenameAlbumPort_RenameAlbum_Call) RunAndReturn(run func(string, string, bool) error) *RenameAlbumPort_RenameAlbum_Call
type RepositoryAdapter ¶
RepositoryAdapter is an autogenerated mock type for the RepositoryAdapter type
func NewRepositoryAdapter ¶
func NewRepositoryAdapter(t interface { mock.TestingT Cleanup(func()) }) *RepositoryAdapter
NewRepositoryAdapter creates a new instance of RepositoryAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RepositoryAdapter) CountMedia ¶ added in v1.5.50
func (_m *RepositoryAdapter) CountMedia(ctx context.Context, album ...catalog.AlbumId) (map[catalog.AlbumId]int, error)
CountMedia provides a mock function with given fields: ctx, album
func (*RepositoryAdapter) EXPECT ¶ added in v1.5.41
func (_m *RepositoryAdapter) EXPECT() *RepositoryAdapter_Expecter
func (*RepositoryAdapter) FindAlbumByIds ¶ added in v1.5.43
func (_m *RepositoryAdapter) FindAlbumByIds(ctx context.Context, ids ...catalog.AlbumId) ([]*catalog.Album, error)
FindAlbumByIds provides a mock function with given fields: ctx, ids
func (*RepositoryAdapter) FindAlbumsByOwner ¶
func (_m *RepositoryAdapter) FindAlbumsByOwner(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
FindAlbumsByOwner provides a mock function with given fields: ctx, owner
func (*RepositoryAdapter) FindMediaCurrentAlbum ¶
func (_m *RepositoryAdapter) FindMediaCurrentAlbum(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)
FindMediaCurrentAlbum provides a mock function with given fields: ctx, owner, mediaId
func (*RepositoryAdapter) FindMedias ¶
func (_m *RepositoryAdapter) FindMedias(ctx context.Context, request *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)
FindMedias provides a mock function with given fields: ctx, request
type RepositoryAdapter_CountMedia_Call ¶ added in v1.5.50
RepositoryAdapter_CountMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMedia'
func (*RepositoryAdapter_CountMedia_Call) Return ¶ added in v1.5.50
func (_c *RepositoryAdapter_CountMedia_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *RepositoryAdapter_CountMedia_Call
func (*RepositoryAdapter_CountMedia_Call) Run ¶ added in v1.5.50
func (_c *RepositoryAdapter_CountMedia_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *RepositoryAdapter_CountMedia_Call
func (*RepositoryAdapter_CountMedia_Call) RunAndReturn ¶ added in v1.5.50
func (_c *RepositoryAdapter_CountMedia_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *RepositoryAdapter_CountMedia_Call
type RepositoryAdapter_Expecter ¶ added in v1.5.41
type RepositoryAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*RepositoryAdapter_Expecter) CountMedia ¶ added in v1.5.50
func (_e *RepositoryAdapter_Expecter) CountMedia(ctx interface{}, album ...interface{}) *RepositoryAdapter_CountMedia_Call
CountMedia is a helper method to define mock.On call
- ctx context.Context
- album ...catalog.AlbumId
func (*RepositoryAdapter_Expecter) FindAlbumByIds ¶ added in v1.5.43
func (_e *RepositoryAdapter_Expecter) FindAlbumByIds(ctx interface{}, ids ...interface{}) *RepositoryAdapter_FindAlbumByIds_Call
FindAlbumByIds is a helper method to define mock.On call
- ctx context.Context
- ids ...catalog.AlbumId
func (*RepositoryAdapter_Expecter) FindAlbumsByOwner ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *RepositoryAdapter_FindAlbumsByOwner_Call
FindAlbumsByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
func (*RepositoryAdapter_Expecter) FindMediaCurrentAlbum ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) FindMediaCurrentAlbum(ctx interface{}, owner interface{}, mediaId interface{}) *RepositoryAdapter_FindMediaCurrentAlbum_Call
FindMediaCurrentAlbum is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- mediaId catalog.MediaId
func (*RepositoryAdapter_Expecter) FindMedias ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) FindMedias(ctx interface{}, request interface{}) *RepositoryAdapter_FindMedias_Call
FindMedias is a helper method to define mock.On call
- ctx context.Context
- request *catalog.FindMediaRequest
type RepositoryAdapter_FindAlbumByIds_Call ¶ added in v1.5.43
RepositoryAdapter_FindAlbumByIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumByIds'
func (*RepositoryAdapter_FindAlbumByIds_Call) Return ¶ added in v1.5.43
func (_c *RepositoryAdapter_FindAlbumByIds_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbumByIds_Call
func (*RepositoryAdapter_FindAlbumByIds_Call) Run ¶ added in v1.5.43
func (_c *RepositoryAdapter_FindAlbumByIds_Call) Run(run func(ctx context.Context, ids ...catalog.AlbumId)) *RepositoryAdapter_FindAlbumByIds_Call
func (*RepositoryAdapter_FindAlbumByIds_Call) RunAndReturn ¶ added in v1.5.43
func (_c *RepositoryAdapter_FindAlbumByIds_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumByIds_Call
type RepositoryAdapter_FindAlbumsByOwner_Call ¶ added in v1.5.41
RepositoryAdapter_FindAlbumsByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumsByOwner'
func (*RepositoryAdapter_FindAlbumsByOwner_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbumsByOwner_Call
func (*RepositoryAdapter_FindAlbumsByOwner_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *RepositoryAdapter_FindAlbumsByOwner_Call
func (*RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumsByOwner_Call
type RepositoryAdapter_FindMediaCurrentAlbum_Call ¶ added in v1.5.41
RepositoryAdapter_FindMediaCurrentAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaCurrentAlbum'
func (*RepositoryAdapter_FindMediaCurrentAlbum_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindMediaCurrentAlbum_Call) Return(id *catalog.AlbumId, err error) *RepositoryAdapter_FindMediaCurrentAlbum_Call
func (*RepositoryAdapter_FindMediaCurrentAlbum_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindMediaCurrentAlbum_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId)) *RepositoryAdapter_FindMediaCurrentAlbum_Call
func (*RepositoryAdapter_FindMediaCurrentAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindMediaCurrentAlbum_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, catalog.MediaId) (*catalog.AlbumId, error)) *RepositoryAdapter_FindMediaCurrentAlbum_Call
type RepositoryAdapter_FindMedias_Call ¶ added in v1.5.41
RepositoryAdapter_FindMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMedias'
func (*RepositoryAdapter_FindMedias_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindMedias_Call) Return(medias []*catalog.MediaMeta, err error) *RepositoryAdapter_FindMedias_Call
func (*RepositoryAdapter_FindMedias_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindMedias_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *RepositoryAdapter_FindMedias_Call
func (*RepositoryAdapter_FindMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindMedias_Call) RunAndReturn(run func(context.Context, *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)) *RepositoryAdapter_FindMedias_Call
type ResizerAdapter ¶
ResizerAdapter is an autogenerated mock type for the ResizerAdapter type
func NewResizerAdapter ¶
func NewResizerAdapter(t interface { mock.TestingT Cleanup(func()) }) *ResizerAdapter
NewResizerAdapter creates a new instance of ResizerAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ResizerAdapter) EXPECT ¶ added in v1.5.41
func (_m *ResizerAdapter) EXPECT() *ResizerAdapter_Expecter
func (*ResizerAdapter) ResizeImage ¶
func (_m *ResizerAdapter) ResizeImage(reader io.Reader, width int, fast bool) ([]byte, string, error)
ResizeImage provides a mock function with given fields: reader, width, fast
func (*ResizerAdapter) ResizeImageAtDifferentWidths ¶
func (_m *ResizerAdapter) ResizeImageAtDifferentWidths(reader io.Reader, width []int) (map[int][]byte, string, error)
ResizeImageAtDifferentWidths provides a mock function with given fields: reader, width
type ResizerAdapter_Expecter ¶ added in v1.5.41
type ResizerAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*ResizerAdapter_Expecter) ResizeImage ¶ added in v1.5.41
func (_e *ResizerAdapter_Expecter) ResizeImage(reader interface{}, width interface{}, fast interface{}) *ResizerAdapter_ResizeImage_Call
ResizeImage is a helper method to define mock.On call
- reader io.Reader
- width int
- fast bool
func (*ResizerAdapter_Expecter) ResizeImageAtDifferentWidths ¶ added in v1.5.41
func (_e *ResizerAdapter_Expecter) ResizeImageAtDifferentWidths(reader interface{}, width interface{}) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
ResizeImageAtDifferentWidths is a helper method to define mock.On call
- reader io.Reader
- width []int
type ResizerAdapter_ResizeImageAtDifferentWidths_Call ¶ added in v1.5.41
ResizerAdapter_ResizeImageAtDifferentWidths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResizeImageAtDifferentWidths'
func (*ResizerAdapter_ResizeImageAtDifferentWidths_Call) Return ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) Return(_a0 map[int][]byte, _a1 string, _a2 error) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
func (*ResizerAdapter_ResizeImageAtDifferentWidths_Call) Run ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) Run(run func(reader io.Reader, width []int)) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
func (*ResizerAdapter_ResizeImageAtDifferentWidths_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) RunAndReturn(run func(io.Reader, []int) (map[int][]byte, string, error)) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
type ResizerAdapter_ResizeImage_Call ¶ added in v1.5.41
ResizerAdapter_ResizeImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResizeImage'
func (*ResizerAdapter_ResizeImage_Call) Return ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImage_Call) Return(_a0 []byte, _a1 string, _a2 error) *ResizerAdapter_ResizeImage_Call
func (*ResizerAdapter_ResizeImage_Call) Run ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImage_Call) Run(run func(reader io.Reader, width int, fast bool)) *ResizerAdapter_ResizeImage_Call
func (*ResizerAdapter_ResizeImage_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImage_Call) RunAndReturn(run func(io.Reader, int, bool) ([]byte, string, error)) *ResizerAdapter_ResizeImage_Call
type ReverseScopesReader ¶
ReverseScopesReader is an autogenerated mock type for the ReverseScopesReader type
func NewReverseScopesReader ¶
func NewReverseScopesReader(t interface { mock.TestingT Cleanup(func()) }) *ReverseScopesReader
NewReverseScopesReader creates a new instance of ReverseScopesReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ReverseScopesReader) EXPECT ¶ added in v1.5.41
func (_m *ReverseScopesReader) EXPECT() *ReverseScopesReader_Expecter
func (*ReverseScopesReader) ListScopesByOwner ¶ added in v1.5.49
func (_m *ReverseScopesReader) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwner provides a mock function with given fields: ctx, owner, types
type ReverseScopesReader_Expecter ¶ added in v1.5.41
type ReverseScopesReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ReverseScopesReader_Expecter) ListScopesByOwner ¶ added in v1.5.49
func (_e *ReverseScopesReader_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ReverseScopesReader_ListScopesByOwner_Call
ListScopesByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- types ...aclcore.ScopeType
type ReverseScopesReader_ListScopesByOwner_Call ¶ added in v1.5.49
ReverseScopesReader_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'
func (*ReverseScopesReader_ListScopesByOwner_Call) Return ¶ added in v1.5.49
func (_c *ReverseScopesReader_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ReverseScopesReader_ListScopesByOwner_Call
func (*ReverseScopesReader_ListScopesByOwner_Call) Run ¶ added in v1.5.49
func (_c *ReverseScopesReader_ListScopesByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType)) *ReverseScopesReader_ListScopesByOwner_Call
func (*ReverseScopesReader_ListScopesByOwner_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ReverseScopesReader_ListScopesByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ReverseScopesReader_ListScopesByOwner_Call
type RevokeAccessTokenAdapter ¶
RevokeAccessTokenAdapter is an autogenerated mock type for the RevokeAccessTokenAdapter type
func NewRevokeAccessTokenAdapter ¶
func NewRevokeAccessTokenAdapter(t interface { mock.TestingT Cleanup(func()) }) *RevokeAccessTokenAdapter
NewRevokeAccessTokenAdapter creates a new instance of RevokeAccessTokenAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RevokeAccessTokenAdapter) DeleteRefreshToken ¶
func (_m *RevokeAccessTokenAdapter) DeleteRefreshToken(token string) error
DeleteRefreshToken provides a mock function with given fields: token
func (*RevokeAccessTokenAdapter) EXPECT ¶ added in v1.5.41
func (_m *RevokeAccessTokenAdapter) EXPECT() *RevokeAccessTokenAdapter_Expecter
type RevokeAccessTokenAdapter_DeleteRefreshToken_Call ¶ added in v1.5.41
RevokeAccessTokenAdapter_DeleteRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRefreshToken'
func (*RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Return(_a0 error) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
func (*RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Run(run func(token string)) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
func (*RevokeAccessTokenAdapter_DeleteRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) RunAndReturn(run func(string) error) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
type RevokeAccessTokenAdapter_Expecter ¶ added in v1.5.41
type RevokeAccessTokenAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*RevokeAccessTokenAdapter_Expecter) DeleteRefreshToken ¶ added in v1.5.41
func (_e *RevokeAccessTokenAdapter_Expecter) DeleteRefreshToken(token interface{}) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
DeleteRefreshToken is a helper method to define mock.On call
- token string
type RunnerAnalyser ¶ added in v1.5.20
RunnerAnalyser is an autogenerated mock type for the RunnerAnalyser type
func NewRunnerAnalyser ¶ added in v1.5.20
func NewRunnerAnalyser(t interface { mock.TestingT Cleanup(func()) }) *RunnerAnalyser
NewRunnerAnalyser creates a new instance of RunnerAnalyser. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RunnerAnalyser) Analyse ¶ added in v1.5.20
func (_m *RunnerAnalyser) Analyse(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent) (*backup.AnalysedMedia, error)
Analyse provides a mock function with given fields: found, progressChannel
func (*RunnerAnalyser) EXPECT ¶ added in v1.5.41
func (_m *RunnerAnalyser) EXPECT() *RunnerAnalyser_Expecter
type RunnerAnalyserFunc ¶ added in v1.5.0
RunnerAnalyserFunc is an autogenerated mock type for the RunnerAnalyserFunc type
func NewRunnerAnalyserFunc ¶ added in v1.5.0
func NewRunnerAnalyserFunc(t interface { mock.TestingT Cleanup(func()) }) *RunnerAnalyserFunc
NewRunnerAnalyserFunc creates a new instance of RunnerAnalyserFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RunnerAnalyserFunc) EXPECT ¶ added in v1.5.41
func (_m *RunnerAnalyserFunc) EXPECT() *RunnerAnalyserFunc_Expecter
func (*RunnerAnalyserFunc) Execute ¶ added in v1.5.0
func (_m *RunnerAnalyserFunc) Execute(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent) (*backup.AnalysedMedia, error)
Execute provides a mock function with given fields: found, progressChannel
type RunnerAnalyserFunc_Execute_Call ¶ added in v1.5.41
RunnerAnalyserFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*RunnerAnalyserFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *RunnerAnalyserFunc_Execute_Call) Return(_a0 *backup.AnalysedMedia, _a1 error) *RunnerAnalyserFunc_Execute_Call
func (*RunnerAnalyserFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *RunnerAnalyserFunc_Execute_Call) Run(run func(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent)) *RunnerAnalyserFunc_Execute_Call
func (*RunnerAnalyserFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RunnerAnalyserFunc_Execute_Call) RunAndReturn(run func(backup.FoundMedia, chan *backup.ProgressEvent) (*backup.AnalysedMedia, error)) *RunnerAnalyserFunc_Execute_Call
type RunnerAnalyserFunc_Expecter ¶ added in v1.5.41
type RunnerAnalyserFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*RunnerAnalyserFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *RunnerAnalyserFunc_Expecter) Execute(found interface{}, progressChannel interface{}) *RunnerAnalyserFunc_Execute_Call
Execute is a helper method to define mock.On call
- found backup.FoundMedia
- progressChannel chan *backup.ProgressEvent
type RunnerAnalyser_Analyse_Call ¶ added in v1.5.41
RunnerAnalyser_Analyse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Analyse'
func (*RunnerAnalyser_Analyse_Call) Return ¶ added in v1.5.41
func (_c *RunnerAnalyser_Analyse_Call) Return(_a0 *backup.AnalysedMedia, _a1 error) *RunnerAnalyser_Analyse_Call
func (*RunnerAnalyser_Analyse_Call) Run ¶ added in v1.5.41
func (_c *RunnerAnalyser_Analyse_Call) Run(run func(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent)) *RunnerAnalyser_Analyse_Call
func (*RunnerAnalyser_Analyse_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RunnerAnalyser_Analyse_Call) RunAndReturn(run func(backup.FoundMedia, chan *backup.ProgressEvent) (*backup.AnalysedMedia, error)) *RunnerAnalyser_Analyse_Call
type RunnerAnalyser_Expecter ¶ added in v1.5.41
type RunnerAnalyser_Expecter struct {
// contains filtered or unexported fields
}
func (*RunnerAnalyser_Expecter) Analyse ¶ added in v1.5.41
func (_e *RunnerAnalyser_Expecter) Analyse(found interface{}, progressChannel interface{}) *RunnerAnalyser_Analyse_Call
Analyse is a helper method to define mock.On call
- found backup.FoundMedia
- progressChannel chan *backup.ProgressEvent
type RunnerCataloger ¶ added in v1.5.54
RunnerCataloger is an autogenerated mock type for the RunnerCataloger type
func NewRunnerCataloger ¶ added in v1.5.54
func NewRunnerCataloger(t interface { mock.TestingT Cleanup(func()) }) *RunnerCataloger
NewRunnerCataloger creates a new instance of RunnerCataloger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RunnerCataloger) Catalog ¶ added in v1.5.54
func (_m *RunnerCataloger) Catalog(ctx context.Context, medias []*backup.AnalysedMedia, progressChannel chan *backup.ProgressEvent) ([]*backup.BackingUpMediaRequest, error)
Catalog provides a mock function with given fields: ctx, medias, progressChannel
func (*RunnerCataloger) EXPECT ¶ added in v1.5.54
func (_m *RunnerCataloger) EXPECT() *RunnerCataloger_Expecter
type RunnerCatalogerFunc ¶ added in v1.5.54
RunnerCatalogerFunc is an autogenerated mock type for the RunnerCatalogerFunc type
func NewRunnerCatalogerFunc ¶ added in v1.5.54
func NewRunnerCatalogerFunc(t interface { mock.TestingT Cleanup(func()) }) *RunnerCatalogerFunc
NewRunnerCatalogerFunc creates a new instance of RunnerCatalogerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RunnerCatalogerFunc) EXPECT ¶ added in v1.5.54
func (_m *RunnerCatalogerFunc) EXPECT() *RunnerCatalogerFunc_Expecter
func (*RunnerCatalogerFunc) Execute ¶ added in v1.5.54
func (_m *RunnerCatalogerFunc) Execute(ctx context.Context, medias []*backup.AnalysedMedia, progressChannel chan *backup.ProgressEvent) ([]*backup.BackingUpMediaRequest, error)
Execute provides a mock function with given fields: ctx, medias, progressChannel
type RunnerCatalogerFunc_Execute_Call ¶ added in v1.5.54
RunnerCatalogerFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*RunnerCatalogerFunc_Execute_Call) Return ¶ added in v1.5.54
func (_c *RunnerCatalogerFunc_Execute_Call) Return(_a0 []*backup.BackingUpMediaRequest, _a1 error) *RunnerCatalogerFunc_Execute_Call
func (*RunnerCatalogerFunc_Execute_Call) Run ¶ added in v1.5.54
func (_c *RunnerCatalogerFunc_Execute_Call) Run(run func(ctx context.Context, medias []*backup.AnalysedMedia, progressChannel chan *backup.ProgressEvent)) *RunnerCatalogerFunc_Execute_Call
func (*RunnerCatalogerFunc_Execute_Call) RunAndReturn ¶ added in v1.5.54
func (_c *RunnerCatalogerFunc_Execute_Call) RunAndReturn(run func(context.Context, []*backup.AnalysedMedia, chan *backup.ProgressEvent) ([]*backup.BackingUpMediaRequest, error)) *RunnerCatalogerFunc_Execute_Call
type RunnerCatalogerFunc_Expecter ¶ added in v1.5.54
type RunnerCatalogerFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*RunnerCatalogerFunc_Expecter) Execute ¶ added in v1.5.54
func (_e *RunnerCatalogerFunc_Expecter) Execute(ctx interface{}, medias interface{}, progressChannel interface{}) *RunnerCatalogerFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- medias []*backup.AnalysedMedia
- progressChannel chan *backup.ProgressEvent
type RunnerCataloger_Catalog_Call ¶ added in v1.5.54
RunnerCataloger_Catalog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Catalog'
func (*RunnerCataloger_Catalog_Call) Return ¶ added in v1.5.54
func (_c *RunnerCataloger_Catalog_Call) Return(_a0 []*backup.BackingUpMediaRequest, _a1 error) *RunnerCataloger_Catalog_Call
func (*RunnerCataloger_Catalog_Call) Run ¶ added in v1.5.54
func (_c *RunnerCataloger_Catalog_Call) Run(run func(ctx context.Context, medias []*backup.AnalysedMedia, progressChannel chan *backup.ProgressEvent)) *RunnerCataloger_Catalog_Call
func (*RunnerCataloger_Catalog_Call) RunAndReturn ¶ added in v1.5.54
func (_c *RunnerCataloger_Catalog_Call) RunAndReturn(run func(context.Context, []*backup.AnalysedMedia, chan *backup.ProgressEvent) ([]*backup.BackingUpMediaRequest, error)) *RunnerCataloger_Catalog_Call
type RunnerCataloger_Expecter ¶ added in v1.5.54
type RunnerCataloger_Expecter struct {
// contains filtered or unexported fields
}
func (*RunnerCataloger_Expecter) Catalog ¶ added in v1.5.54
func (_e *RunnerCataloger_Expecter) Catalog(ctx interface{}, medias interface{}, progressChannel interface{}) *RunnerCataloger_Catalog_Call
Catalog is a helper method to define mock.On call
- ctx context.Context
- medias []*backup.AnalysedMedia
- progressChannel chan *backup.ProgressEvent
type RunnerUploader ¶ added in v1.6.4
RunnerUploader is an autogenerated mock type for the RunnerUploader type
func NewRunnerUploader ¶ added in v1.6.4
func NewRunnerUploader(t interface { mock.TestingT Cleanup(func()) }) *RunnerUploader
NewRunnerUploader creates a new instance of RunnerUploader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RunnerUploader) EXPECT ¶ added in v1.6.4
func (_m *RunnerUploader) EXPECT() *RunnerUploader_Expecter
func (*RunnerUploader) Upload ¶ added in v1.6.4
func (_m *RunnerUploader) Upload(buffer []*backup.BackingUpMediaRequest, progressChannel chan *backup.ProgressEvent) error
Upload provides a mock function with given fields: buffer, progressChannel
type RunnerUploaderFunc ¶ added in v1.6.4
RunnerUploaderFunc is an autogenerated mock type for the RunnerUploaderFunc type
func NewRunnerUploaderFunc ¶ added in v1.6.4
func NewRunnerUploaderFunc(t interface { mock.TestingT Cleanup(func()) }) *RunnerUploaderFunc
NewRunnerUploaderFunc creates a new instance of RunnerUploaderFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RunnerUploaderFunc) EXPECT ¶ added in v1.6.4
func (_m *RunnerUploaderFunc) EXPECT() *RunnerUploaderFunc_Expecter
func (*RunnerUploaderFunc) Execute ¶ added in v1.6.4
func (_m *RunnerUploaderFunc) Execute(buffer []*backup.BackingUpMediaRequest, progressChannel chan *backup.ProgressEvent) error
Execute provides a mock function with given fields: buffer, progressChannel
type RunnerUploaderFunc_Execute_Call ¶ added in v1.6.4
RunnerUploaderFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*RunnerUploaderFunc_Execute_Call) Return ¶ added in v1.6.4
func (_c *RunnerUploaderFunc_Execute_Call) Return(_a0 error) *RunnerUploaderFunc_Execute_Call
func (*RunnerUploaderFunc_Execute_Call) Run ¶ added in v1.6.4
func (_c *RunnerUploaderFunc_Execute_Call) Run(run func(buffer []*backup.BackingUpMediaRequest, progressChannel chan *backup.ProgressEvent)) *RunnerUploaderFunc_Execute_Call
func (*RunnerUploaderFunc_Execute_Call) RunAndReturn ¶ added in v1.6.4
func (_c *RunnerUploaderFunc_Execute_Call) RunAndReturn(run func([]*backup.BackingUpMediaRequest, chan *backup.ProgressEvent) error) *RunnerUploaderFunc_Execute_Call
type RunnerUploaderFunc_Expecter ¶ added in v1.6.4
type RunnerUploaderFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*RunnerUploaderFunc_Expecter) Execute ¶ added in v1.6.4
func (_e *RunnerUploaderFunc_Expecter) Execute(buffer interface{}, progressChannel interface{}) *RunnerUploaderFunc_Execute_Call
Execute is a helper method to define mock.On call
- buffer []*backup.BackingUpMediaRequest
- progressChannel chan *backup.ProgressEvent
type RunnerUploader_Expecter ¶ added in v1.6.4
type RunnerUploader_Expecter struct {
// contains filtered or unexported fields
}
func (*RunnerUploader_Expecter) Upload ¶ added in v1.6.4
func (_e *RunnerUploader_Expecter) Upload(buffer interface{}, progressChannel interface{}) *RunnerUploader_Upload_Call
Upload is a helper method to define mock.On call
- buffer []*backup.BackingUpMediaRequest
- progressChannel chan *backup.ProgressEvent
type RunnerUploader_Upload_Call ¶ added in v1.6.4
RunnerUploader_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'
func (*RunnerUploader_Upload_Call) Return ¶ added in v1.6.4
func (_c *RunnerUploader_Upload_Call) Return(_a0 error) *RunnerUploader_Upload_Call
func (*RunnerUploader_Upload_Call) Run ¶ added in v1.6.4
func (_c *RunnerUploader_Upload_Call) Run(run func(buffer []*backup.BackingUpMediaRequest, progressChannel chan *backup.ProgressEvent)) *RunnerUploader_Upload_Call
func (*RunnerUploader_Upload_Call) RunAndReturn ¶ added in v1.6.4
func (_c *RunnerUploader_Upload_Call) RunAndReturn(run func([]*backup.BackingUpMediaRequest, chan *backup.ProgressEvent) error) *RunnerUploader_Upload_Call
type ScanStreamExecutor ¶
ScanStreamExecutor is an autogenerated mock type for the ScanStreamExecutor type
func NewScanStreamExecutor ¶
func NewScanStreamExecutor(t interface { mock.TestingT Cleanup(func()) }) *ScanStreamExecutor
NewScanStreamExecutor creates a new instance of ScanStreamExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScanStreamExecutor) EXPECT ¶ added in v1.5.41
func (_m *ScanStreamExecutor) EXPECT() *ScanStreamExecutor_Expecter
type ScanStreamExecutor_Expecter ¶ added in v1.5.41
type ScanStreamExecutor_Expecter struct {
// contains filtered or unexported fields
}
func (*ScanStreamExecutor_Expecter) Scan ¶ added in v1.5.41
func (_e *ScanStreamExecutor_Expecter) Scan(ctx interface{}, params interface{}, optFns ...interface{}) *ScanStreamExecutor_Scan_Call
Scan is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.ScanInput
- optFns ...func(*dynamodb.Options)
type ScanStreamExecutor_Scan_Call ¶ added in v1.5.41
ScanStreamExecutor_Scan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scan'
func (*ScanStreamExecutor_Scan_Call) Return ¶ added in v1.5.41
func (_c *ScanStreamExecutor_Scan_Call) Return(_a0 *dynamodb.ScanOutput, _a1 error) *ScanStreamExecutor_Scan_Call
func (*ScanStreamExecutor_Scan_Call) Run ¶ added in v1.5.41
func (_c *ScanStreamExecutor_Scan_Call) Run(run func(ctx context.Context, params *dynamodb.ScanInput, optFns ...func(*dynamodb.Options))) *ScanStreamExecutor_Scan_Call
func (*ScanStreamExecutor_Scan_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScanStreamExecutor_Scan_Call) RunAndReturn(run func(context.Context, *dynamodb.ScanInput, ...func(*dynamodb.Options)) (*dynamodb.ScanOutput, error)) *ScanStreamExecutor_Scan_Call
type ScopeReadRepository ¶ added in v1.5.49
ScopeReadRepository is an autogenerated mock type for the ScopeReadRepository type
func NewScopeReadRepository ¶ added in v1.5.49
func NewScopeReadRepository(t interface { mock.TestingT Cleanup(func()) }) *ScopeReadRepository
NewScopeReadRepository creates a new instance of ScopeReadRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScopeReadRepository) EXPECT ¶ added in v1.5.49
func (_m *ScopeReadRepository) EXPECT() *ScopeReadRepository_Expecter
func (*ScopeReadRepository) ListScopesByOwner ¶ added in v1.5.49
func (_m *ScopeReadRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwner provides a mock function with given fields: ctx, owner, types
type ScopeReadRepositoryPort ¶ added in v1.5.49
ScopeReadRepositoryPort is an autogenerated mock type for the ScopeReadRepositoryPort type
func NewScopeReadRepositoryPort ¶ added in v1.5.49
func NewScopeReadRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *ScopeReadRepositoryPort
NewScopeReadRepositoryPort creates a new instance of ScopeReadRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScopeReadRepositoryPort) EXPECT ¶ added in v1.5.49
func (_m *ScopeReadRepositoryPort) EXPECT() *ScopeReadRepositoryPort_Expecter
func (*ScopeReadRepositoryPort) ListScopesByOwner ¶ added in v1.5.49
func (_m *ScopeReadRepositoryPort) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwner provides a mock function with given fields: ctx, owner, types
type ScopeReadRepositoryPort_Expecter ¶ added in v1.5.49
type ScopeReadRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*ScopeReadRepositoryPort_Expecter) ListScopesByOwner ¶ added in v1.5.49
func (_e *ScopeReadRepositoryPort_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeReadRepositoryPort_ListScopesByOwner_Call
ListScopesByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- types ...aclcore.ScopeType
func (*ScopeReadRepositoryPort_Expecter) ListScopesByUser ¶ added in v1.5.49
func (_e *ScopeReadRepositoryPort_Expecter) ListScopesByUser(ctx interface{}, id interface{}, types ...interface{}) *ScopeReadRepositoryPort_ListScopesByUser_Call
ListScopesByUser is a helper method to define mock.On call
- ctx context.Context
- id usermodel.UserId
- types ...aclcore.ScopeType
type ScopeReadRepositoryPort_ListScopesByOwner_Call ¶ added in v1.5.49
ScopeReadRepositoryPort_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'
func (*ScopeReadRepositoryPort_ListScopesByOwner_Call) Return ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepositoryPort_ListScopesByOwner_Call
func (*ScopeReadRepositoryPort_ListScopesByOwner_Call) Run ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType)) *ScopeReadRepositoryPort_ListScopesByOwner_Call
func (*ScopeReadRepositoryPort_ListScopesByOwner_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopeReadRepositoryPort_ListScopesByOwner_Call
type ScopeReadRepositoryPort_ListScopesByUser_Call ¶ added in v1.5.49
ScopeReadRepositoryPort_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'
func (*ScopeReadRepositoryPort_ListScopesByUser_Call) Return ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepositoryPort_ListScopesByUser_Call
func (*ScopeReadRepositoryPort_ListScopesByUser_Call) Run ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) Run(run func(ctx context.Context, id usermodel.UserId, types ...aclcore.ScopeType)) *ScopeReadRepositoryPort_ListScopesByUser_Call
func (*ScopeReadRepositoryPort_ListScopesByUser_Call) RunAndReturn ¶ added in v1.5.49
type ScopeReadRepository_Expecter ¶ added in v1.5.49
type ScopeReadRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*ScopeReadRepository_Expecter) ListScopesByOwner ¶ added in v1.5.49
func (_e *ScopeReadRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByOwner_Call
ListScopesByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- types ...aclcore.ScopeType
func (*ScopeReadRepository_Expecter) ListScopesByUser ¶ added in v1.5.49
func (_e *ScopeReadRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByUser_Call
ListScopesByUser is a helper method to define mock.On call
- ctx context.Context
- email usermodel.UserId
- types ...aclcore.ScopeType
type ScopeReadRepository_ListScopesByOwner_Call ¶ added in v1.5.49
ScopeReadRepository_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'
func (*ScopeReadRepository_ListScopesByOwner_Call) Return ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_ListScopesByOwner_Call
func (*ScopeReadRepository_ListScopesByOwner_Call) Run ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType)) *ScopeReadRepository_ListScopesByOwner_Call
func (*ScopeReadRepository_ListScopesByOwner_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopeReadRepository_ListScopesByOwner_Call
type ScopeReadRepository_ListScopesByUser_Call ¶ added in v1.5.49
ScopeReadRepository_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'
func (*ScopeReadRepository_ListScopesByUser_Call) Return ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_ListScopesByUser_Call
func (*ScopeReadRepository_ListScopesByUser_Call) Run ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByUser_Call) Run(run func(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType)) *ScopeReadRepository_ListScopesByUser_Call
func (*ScopeReadRepository_ListScopesByUser_Call) RunAndReturn ¶ added in v1.5.49
type ScopeRepository ¶
ScopeRepository is an autogenerated mock type for the ScopeRepository type
func NewScopeRepository ¶
func NewScopeRepository(t interface { mock.TestingT Cleanup(func()) }) *ScopeRepository
NewScopeRepository creates a new instance of ScopeRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScopeRepository) EXPECT ¶ added in v1.5.41
func (_m *ScopeRepository) EXPECT() *ScopeRepository_Expecter
func (*ScopeRepository) FindScopesById ¶
FindScopesById provides a mock function with given fields: ids
func (*ScopeRepository) ListScopesByOwner ¶ added in v1.5.49
func (_m *ScopeRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwner provides a mock function with given fields: ctx, owner, types
type ScopeRepository_Expecter ¶ added in v1.5.41
type ScopeRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*ScopeRepository_Expecter) FindScopesById ¶ added in v1.5.41
func (_e *ScopeRepository_Expecter) FindScopesById(ids ...interface{}) *ScopeRepository_FindScopesById_Call
FindScopesById is a helper method to define mock.On call
- ids ...aclcore.ScopeId
func (*ScopeRepository_Expecter) ListScopesByOwner ¶ added in v1.5.49
func (_e *ScopeRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeRepository_ListScopesByOwner_Call
ListScopesByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- types ...aclcore.ScopeType
func (*ScopeRepository_Expecter) ListScopesByUser ¶ added in v1.5.49
func (_e *ScopeRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopeRepository_ListScopesByUser_Call
ListScopesByUser is a helper method to define mock.On call
- ctx context.Context
- email usermodel.UserId
- types ...aclcore.ScopeType
type ScopeRepository_FindScopesById_Call ¶ added in v1.5.41
ScopeRepository_FindScopesById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindScopesById'
func (*ScopeRepository_FindScopesById_Call) Return ¶ added in v1.5.41
func (_c *ScopeRepository_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_FindScopesById_Call
func (*ScopeRepository_FindScopesById_Call) Run ¶ added in v1.5.41
func (_c *ScopeRepository_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *ScopeRepository_FindScopesById_Call
func (*ScopeRepository_FindScopesById_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopeRepository_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *ScopeRepository_FindScopesById_Call
type ScopeRepository_ListScopesByOwner_Call ¶ added in v1.5.49
ScopeRepository_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'
func (*ScopeRepository_ListScopesByOwner_Call) Return ¶ added in v1.5.49
func (_c *ScopeRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_ListScopesByOwner_Call
func (*ScopeRepository_ListScopesByOwner_Call) Run ¶ added in v1.5.49
func (_c *ScopeRepository_ListScopesByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType)) *ScopeRepository_ListScopesByOwner_Call
func (*ScopeRepository_ListScopesByOwner_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ScopeRepository_ListScopesByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopeRepository_ListScopesByOwner_Call
type ScopeRepository_ListScopesByUser_Call ¶ added in v1.5.49
ScopeRepository_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'
func (*ScopeRepository_ListScopesByUser_Call) Return ¶ added in v1.5.49
func (_c *ScopeRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_ListScopesByUser_Call
func (*ScopeRepository_ListScopesByUser_Call) Run ¶ added in v1.5.49
func (_c *ScopeRepository_ListScopesByUser_Call) Run(run func(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType)) *ScopeRepository_ListScopesByUser_Call
func (*ScopeRepository_ListScopesByUser_Call) RunAndReturn ¶ added in v1.5.49
type ScopeWriter ¶
ScopeWriter is an autogenerated mock type for the ScopeWriter type
func NewScopeWriter ¶
func NewScopeWriter(t interface { mock.TestingT Cleanup(func()) }) *ScopeWriter
NewScopeWriter creates a new instance of ScopeWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScopeWriter) DeleteScopes ¶
func (_m *ScopeWriter) DeleteScopes(id ...aclcore.ScopeId) error
DeleteScopes provides a mock function with given fields: id
func (*ScopeWriter) EXPECT ¶ added in v1.5.41
func (_m *ScopeWriter) EXPECT() *ScopeWriter_Expecter
func (*ScopeWriter) SaveIfNewScope ¶
func (_m *ScopeWriter) SaveIfNewScope(scope aclcore.Scope) error
SaveIfNewScope provides a mock function with given fields: scope
type ScopeWriter_DeleteScopes_Call ¶ added in v1.5.41
ScopeWriter_DeleteScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteScopes'
func (*ScopeWriter_DeleteScopes_Call) Return ¶ added in v1.5.41
func (_c *ScopeWriter_DeleteScopes_Call) Return(_a0 error) *ScopeWriter_DeleteScopes_Call
func (*ScopeWriter_DeleteScopes_Call) Run ¶ added in v1.5.41
func (_c *ScopeWriter_DeleteScopes_Call) Run(run func(id ...aclcore.ScopeId)) *ScopeWriter_DeleteScopes_Call
func (*ScopeWriter_DeleteScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopeWriter_DeleteScopes_Call) RunAndReturn(run func(...aclcore.ScopeId) error) *ScopeWriter_DeleteScopes_Call
type ScopeWriter_Expecter ¶ added in v1.5.41
type ScopeWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*ScopeWriter_Expecter) DeleteScopes ¶ added in v1.5.41
func (_e *ScopeWriter_Expecter) DeleteScopes(id ...interface{}) *ScopeWriter_DeleteScopes_Call
DeleteScopes is a helper method to define mock.On call
- id ...aclcore.ScopeId
func (*ScopeWriter_Expecter) SaveIfNewScope ¶ added in v1.5.41
func (_e *ScopeWriter_Expecter) SaveIfNewScope(scope interface{}) *ScopeWriter_SaveIfNewScope_Call
SaveIfNewScope is a helper method to define mock.On call
- scope aclcore.Scope
type ScopeWriter_SaveIfNewScope_Call ¶ added in v1.5.41
ScopeWriter_SaveIfNewScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveIfNewScope'
func (*ScopeWriter_SaveIfNewScope_Call) Return ¶ added in v1.5.41
func (_c *ScopeWriter_SaveIfNewScope_Call) Return(_a0 error) *ScopeWriter_SaveIfNewScope_Call
func (*ScopeWriter_SaveIfNewScope_Call) Run ¶ added in v1.5.41
func (_c *ScopeWriter_SaveIfNewScope_Call) Run(run func(scope aclcore.Scope)) *ScopeWriter_SaveIfNewScope_Call
func (*ScopeWriter_SaveIfNewScope_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopeWriter_SaveIfNewScope_Call) RunAndReturn(run func(aclcore.Scope) error) *ScopeWriter_SaveIfNewScope_Call
type ScopesReader ¶
ScopesReader is an autogenerated mock type for the ScopesReader type
func NewScopesReader ¶
func NewScopesReader(t interface { mock.TestingT Cleanup(func()) }) *ScopesReader
NewScopesReader creates a new instance of ScopesReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScopesReader) EXPECT ¶ added in v1.5.41
func (_m *ScopesReader) EXPECT() *ScopesReader_Expecter
func (*ScopesReader) FindScopesById ¶
FindScopesById provides a mock function with given fields: ids
type ScopesReader_Expecter ¶ added in v1.5.41
type ScopesReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ScopesReader_Expecter) FindScopesById ¶ added in v1.5.41
func (_e *ScopesReader_Expecter) FindScopesById(ids ...interface{}) *ScopesReader_FindScopesById_Call
FindScopesById is a helper method to define mock.On call
- ids ...aclcore.ScopeId
func (*ScopesReader_Expecter) ListScopesByUser ¶ added in v1.5.49
func (_e *ScopesReader_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopesReader_ListScopesByUser_Call
ListScopesByUser is a helper method to define mock.On call
- ctx context.Context
- email usermodel.UserId
- types ...aclcore.ScopeType
type ScopesReader_FindScopesById_Call ¶ added in v1.5.41
ScopesReader_FindScopesById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindScopesById'
func (*ScopesReader_FindScopesById_Call) Return ¶ added in v1.5.41
func (_c *ScopesReader_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_FindScopesById_Call
func (*ScopesReader_FindScopesById_Call) Run ¶ added in v1.5.41
func (_c *ScopesReader_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *ScopesReader_FindScopesById_Call
func (*ScopesReader_FindScopesById_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopesReader_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *ScopesReader_FindScopesById_Call
type ScopesReader_ListScopesByUser_Call ¶ added in v1.5.49
ScopesReader_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'
func (*ScopesReader_ListScopesByUser_Call) Return ¶ added in v1.5.49
func (_c *ScopesReader_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_ListScopesByUser_Call
func (*ScopesReader_ListScopesByUser_Call) Run ¶ added in v1.5.49
func (_c *ScopesReader_ListScopesByUser_Call) Run(run func(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType)) *ScopesReader_ListScopesByUser_Call
func (*ScopesReader_ListScopesByUser_Call) RunAndReturn ¶ added in v1.5.49
type SecretAccessKeyDecoder ¶ added in v1.5.33
SecretAccessKeyDecoder is an autogenerated mock type for the SecretAccessKeyDecoder type
func NewSecretAccessKeyDecoder ¶ added in v1.5.33
func NewSecretAccessKeyDecoder(t interface { mock.TestingT Cleanup(func()) }) *SecretAccessKeyDecoder
NewSecretAccessKeyDecoder creates a new instance of SecretAccessKeyDecoder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SecretAccessKeyDecoder) EXPECT ¶ added in v1.5.41
func (_m *SecretAccessKeyDecoder) EXPECT() *SecretAccessKeyDecoder_Expecter
type SecretAccessKeyDecoder_Execute_Call ¶ added in v1.5.41
SecretAccessKeyDecoder_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*SecretAccessKeyDecoder_Execute_Call) Return ¶ added in v1.5.41
func (_c *SecretAccessKeyDecoder_Execute_Call) Return(_a0 string, _a1 error) *SecretAccessKeyDecoder_Execute_Call
func (*SecretAccessKeyDecoder_Execute_Call) Run ¶ added in v1.5.41
func (_c *SecretAccessKeyDecoder_Execute_Call) Run(run func(encodedValue string)) *SecretAccessKeyDecoder_Execute_Call
func (*SecretAccessKeyDecoder_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SecretAccessKeyDecoder_Execute_Call) RunAndReturn(run func(string) (string, error)) *SecretAccessKeyDecoder_Execute_Call
type SecretAccessKeyDecoder_Expecter ¶ added in v1.5.41
type SecretAccessKeyDecoder_Expecter struct {
// contains filtered or unexported fields
}
func (*SecretAccessKeyDecoder_Expecter) Execute ¶ added in v1.5.41
func (_e *SecretAccessKeyDecoder_Expecter) Execute(encodedValue interface{}) *SecretAccessKeyDecoder_Execute_Call
Execute is a helper method to define mock.On call
- encodedValue string
type SharedWithUserFunc ¶ added in v1.5.49
type SharedWithUserFunc struct {
}SharedWithUserFunc is an autogenerated mock type for the SharedWithUserFunc type
func NewSharedWithUserFunc ¶ added in v1.5.49
func NewSharedWithUserFunc(t interface { mock.TestingT Cleanup(func()) }) *SharedWithUserFunc
NewSharedWithUserFunc creates a new instance of SharedWithUserFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SharedWithUserFunc) EXPECT ¶ added in v1.5.49
func (_m *SharedWithUserFunc) EXPECT() *SharedWithUserFunc_Expecter
type SharedWithUserFunc_Execute_Call ¶ added in v1.5.49
type SharedWithUserFunc_Execute_Call struct {
}SharedWithUserFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*SharedWithUserFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *SharedWithUserFunc_Execute_Call) Return(_a0 []catalog.AlbumId, _a1 error) *SharedWithUserFunc_Execute_Call
func (*SharedWithUserFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *SharedWithUserFunc_Execute_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *SharedWithUserFunc_Execute_Call
func (*SharedWithUserFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *SharedWithUserFunc_Execute_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalog.AlbumId, error)) *SharedWithUserFunc_Execute_Call
type SharedWithUserFunc_Expecter ¶ added in v1.5.49
type SharedWithUserFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*SharedWithUserFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *SharedWithUserFunc_Expecter) Execute(ctx interface{}, userId interface{}) *SharedWithUserFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- userId usermodel.UserId
type SharedWithUserPort ¶ added in v1.5.48
type SharedWithUserPort struct {
}SharedWithUserPort is an autogenerated mock type for the SharedWithUserPort type
func NewSharedWithUserPort ¶ added in v1.5.48
func NewSharedWithUserPort(t interface { mock.TestingT Cleanup(func()) }) *SharedWithUserPort
NewSharedWithUserPort creates a new instance of SharedWithUserPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SharedWithUserPort) EXPECT ¶ added in v1.5.48
func (_m *SharedWithUserPort) EXPECT() *SharedWithUserPort_Expecter
func (*SharedWithUserPort) ListAlbumIdsSharedWithUser ¶ added in v1.5.48
func (_m *SharedWithUserPort) ListAlbumIdsSharedWithUser(ctx context.Context, userId usermodel.UserId) ([]catalog.AlbumId, error)
ListAlbumIdsSharedWithUser provides a mock function with given fields: ctx, userId
type SharedWithUserPort_Expecter ¶ added in v1.5.48
type SharedWithUserPort_Expecter struct {
// contains filtered or unexported fields
}
func (*SharedWithUserPort_Expecter) ListAlbumIdsSharedWithUser ¶ added in v1.5.48
func (_e *SharedWithUserPort_Expecter) ListAlbumIdsSharedWithUser(ctx interface{}, userId interface{}) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
ListAlbumIdsSharedWithUser is a helper method to define mock.On call
- ctx context.Context
- userId usermodel.UserId
type SharedWithUserPort_ListAlbumIdsSharedWithUser_Call ¶ added in v1.5.48
type SharedWithUserPort_ListAlbumIdsSharedWithUser_Call struct {
}SharedWithUserPort_ListAlbumIdsSharedWithUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlbumIdsSharedWithUser'
func (*SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Return ¶ added in v1.5.48
func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Return(_a0 []catalog.AlbumId, _a1 error) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
func (*SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Run ¶ added in v1.5.48
func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
func (*SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) RunAndReturn ¶ added in v1.5.48
func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalog.AlbumId, error)) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
type SourceVolume ¶
SourceVolume is an autogenerated mock type for the SourceVolume type
func NewSourceVolume ¶
func NewSourceVolume(t interface { mock.TestingT Cleanup(func()) }) *SourceVolume
NewSourceVolume creates a new instance of SourceVolume. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SourceVolume) EXPECT ¶ added in v1.5.41
func (_m *SourceVolume) EXPECT() *SourceVolume_Expecter
func (*SourceVolume) FindMedias ¶
func (_m *SourceVolume) FindMedias() ([]backup.FoundMedia, error)
FindMedias provides a mock function with given fields:
func (*SourceVolume) String ¶
func (_m *SourceVolume) String() string
String provides a mock function with given fields:
type SourceVolume_Expecter ¶ added in v1.5.41
type SourceVolume_Expecter struct {
// contains filtered or unexported fields
}
func (*SourceVolume_Expecter) FindMedias ¶ added in v1.5.41
func (_e *SourceVolume_Expecter) FindMedias() *SourceVolume_FindMedias_Call
FindMedias is a helper method to define mock.On call
func (*SourceVolume_Expecter) String ¶ added in v1.5.41
func (_e *SourceVolume_Expecter) String() *SourceVolume_String_Call
String is a helper method to define mock.On call
type SourceVolume_FindMedias_Call ¶ added in v1.5.41
SourceVolume_FindMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMedias'
func (*SourceVolume_FindMedias_Call) Return ¶ added in v1.5.41
func (_c *SourceVolume_FindMedias_Call) Return(_a0 []backup.FoundMedia, _a1 error) *SourceVolume_FindMedias_Call
func (*SourceVolume_FindMedias_Call) Run ¶ added in v1.5.41
func (_c *SourceVolume_FindMedias_Call) Run(run func()) *SourceVolume_FindMedias_Call
func (*SourceVolume_FindMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SourceVolume_FindMedias_Call) RunAndReturn(run func() ([]backup.FoundMedia, error)) *SourceVolume_FindMedias_Call
type SourceVolume_String_Call ¶ added in v1.5.41
SourceVolume_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*SourceVolume_String_Call) Return ¶ added in v1.5.41
func (_c *SourceVolume_String_Call) Return(_a0 string) *SourceVolume_String_Call
func (*SourceVolume_String_Call) Run ¶ added in v1.5.41
func (_c *SourceVolume_String_Call) Run(run func()) *SourceVolume_String_Call
func (*SourceVolume_String_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SourceVolume_String_Call) RunAndReturn(run func() string) *SourceVolume_String_Call
type StatefulAlbumReferencer ¶ added in v1.5.54
StatefulAlbumReferencer is an autogenerated mock type for the StatefulAlbumReferencer type
func NewStatefulAlbumReferencer ¶ added in v1.5.54
func NewStatefulAlbumReferencer(t interface { mock.TestingT Cleanup(func()) }) *StatefulAlbumReferencer
NewStatefulAlbumReferencer creates a new instance of StatefulAlbumReferencer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StatefulAlbumReferencer) EXPECT ¶ added in v1.5.54
func (_m *StatefulAlbumReferencer) EXPECT() *StatefulAlbumReferencer_Expecter
func (*StatefulAlbumReferencer) FindReference ¶ added in v1.5.54
func (_m *StatefulAlbumReferencer) FindReference(ctx context.Context, mediaTime time.Time) (catalog.AlbumReference, error)
FindReference provides a mock function with given fields: ctx, mediaTime
type StatefulAlbumReferencer_Expecter ¶ added in v1.5.54
type StatefulAlbumReferencer_Expecter struct {
// contains filtered or unexported fields
}
func (*StatefulAlbumReferencer_Expecter) FindReference ¶ added in v1.5.54
func (_e *StatefulAlbumReferencer_Expecter) FindReference(ctx interface{}, mediaTime interface{}) *StatefulAlbumReferencer_FindReference_Call
FindReference is a helper method to define mock.On call
- ctx context.Context
- mediaTime time.Time
type StatefulAlbumReferencer_FindReference_Call ¶ added in v1.5.54
StatefulAlbumReferencer_FindReference_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindReference'
func (*StatefulAlbumReferencer_FindReference_Call) Return ¶ added in v1.5.54
func (_c *StatefulAlbumReferencer_FindReference_Call) Return(_a0 catalog.AlbumReference, _a1 error) *StatefulAlbumReferencer_FindReference_Call
func (*StatefulAlbumReferencer_FindReference_Call) Run ¶ added in v1.5.54
func (_c *StatefulAlbumReferencer_FindReference_Call) Run(run func(ctx context.Context, mediaTime time.Time)) *StatefulAlbumReferencer_FindReference_Call
func (*StatefulAlbumReferencer_FindReference_Call) RunAndReturn ¶ added in v1.5.54
func (_c *StatefulAlbumReferencer_FindReference_Call) RunAndReturn(run func(context.Context, time.Time) (catalog.AlbumReference, error)) *StatefulAlbumReferencer_FindReference_Call
type StoreAdapter ¶
StoreAdapter is an autogenerated mock type for the StoreAdapter type
func NewStoreAdapter ¶
func NewStoreAdapter(t interface { mock.TestingT Cleanup(func()) }) *StoreAdapter
NewStoreAdapter creates a new instance of StoreAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StoreAdapter) Copy ¶
func (_m *StoreAdapter) Copy(origin string, destination archive.DestructuredKey) (string, error)
Copy provides a mock function with given fields: origin, destination
func (*StoreAdapter) Delete ¶
func (_m *StoreAdapter) Delete(locations []string) error
Delete provides a mock function with given fields: locations
func (*StoreAdapter) Download ¶
func (_m *StoreAdapter) Download(key string) (io.ReadCloser, error)
Download provides a mock function with given fields: key
func (*StoreAdapter) EXPECT ¶ added in v1.5.41
func (_m *StoreAdapter) EXPECT() *StoreAdapter_Expecter
func (*StoreAdapter) SignedURL ¶
SignedURL provides a mock function with given fields: key, duration
func (*StoreAdapter) Upload ¶
func (_m *StoreAdapter) Upload(values archive.DestructuredKey, content io.Reader) (string, error)
Upload provides a mock function with given fields: values, content
type StoreAdapter_Copy_Call ¶ added in v1.5.41
StoreAdapter_Copy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Copy'
func (*StoreAdapter_Copy_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_Copy_Call) Return(_a0 string, _a1 error) *StoreAdapter_Copy_Call
func (*StoreAdapter_Copy_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_Copy_Call) Run(run func(origin string, destination archive.DestructuredKey)) *StoreAdapter_Copy_Call
func (*StoreAdapter_Copy_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_Copy_Call) RunAndReturn(run func(string, archive.DestructuredKey) (string, error)) *StoreAdapter_Copy_Call
type StoreAdapter_Delete_Call ¶ added in v1.5.41
StoreAdapter_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*StoreAdapter_Delete_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_Delete_Call) Return(_a0 error) *StoreAdapter_Delete_Call
func (*StoreAdapter_Delete_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_Delete_Call) Run(run func(locations []string)) *StoreAdapter_Delete_Call
func (*StoreAdapter_Delete_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_Delete_Call) RunAndReturn(run func([]string) error) *StoreAdapter_Delete_Call
type StoreAdapter_Download_Call ¶ added in v1.5.41
StoreAdapter_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'
func (*StoreAdapter_Download_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *StoreAdapter_Download_Call
func (*StoreAdapter_Download_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_Download_Call) Run(run func(key string)) *StoreAdapter_Download_Call
func (*StoreAdapter_Download_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_Download_Call) RunAndReturn(run func(string) (io.ReadCloser, error)) *StoreAdapter_Download_Call
type StoreAdapter_Expecter ¶ added in v1.5.41
type StoreAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*StoreAdapter_Expecter) Copy ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) Copy(origin interface{}, destination interface{}) *StoreAdapter_Copy_Call
Copy is a helper method to define mock.On call
- origin string
- destination archive.DestructuredKey
func (*StoreAdapter_Expecter) Delete ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) Delete(locations interface{}) *StoreAdapter_Delete_Call
Delete is a helper method to define mock.On call
- locations []string
func (*StoreAdapter_Expecter) Download ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) Download(key interface{}) *StoreAdapter_Download_Call
Download is a helper method to define mock.On call
- key string
func (*StoreAdapter_Expecter) SignedURL ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) SignedURL(key interface{}, duration interface{}) *StoreAdapter_SignedURL_Call
SignedURL is a helper method to define mock.On call
- key string
- duration time.Duration
func (*StoreAdapter_Expecter) Upload ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) Upload(values interface{}, content interface{}) *StoreAdapter_Upload_Call
Upload is a helper method to define mock.On call
- values archive.DestructuredKey
- content io.Reader
type StoreAdapter_SignedURL_Call ¶ added in v1.5.41
StoreAdapter_SignedURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignedURL'
func (*StoreAdapter_SignedURL_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_SignedURL_Call) Return(_a0 string, _a1 error) *StoreAdapter_SignedURL_Call
func (*StoreAdapter_SignedURL_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_SignedURL_Call) Run(run func(key string, duration time.Duration)) *StoreAdapter_SignedURL_Call
func (*StoreAdapter_SignedURL_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *StoreAdapter_SignedURL_Call
type StoreAdapter_Upload_Call ¶ added in v1.5.41
StoreAdapter_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'
func (*StoreAdapter_Upload_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_Upload_Call) Return(_a0 string, _a1 error) *StoreAdapter_Upload_Call
func (*StoreAdapter_Upload_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_Upload_Call) Run(run func(values archive.DestructuredKey, content io.Reader)) *StoreAdapter_Upload_Call
func (*StoreAdapter_Upload_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_Upload_Call) RunAndReturn(run func(archive.DestructuredKey, io.Reader) (string, error)) *StoreAdapter_Upload_Call
type StoreAndCache ¶
StoreAndCache is an autogenerated mock type for the StoreAndCache type
func NewStoreAndCache ¶
func NewStoreAndCache(t interface { mock.TestingT Cleanup(func()) }) *StoreAndCache
NewStoreAndCache creates a new instance of StoreAndCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StoreAndCache) Copy ¶
func (_m *StoreAndCache) Copy(origin string, destination archive.DestructuredKey) (string, error)
Copy provides a mock function with given fields: origin, destination
func (*StoreAndCache) Delete ¶
func (_m *StoreAndCache) Delete(locations []string) error
Delete provides a mock function with given fields: locations
func (*StoreAndCache) Download ¶
func (_m *StoreAndCache) Download(key string) (io.ReadCloser, error)
Download provides a mock function with given fields: key
func (*StoreAndCache) EXPECT ¶ added in v1.5.41
func (_m *StoreAndCache) EXPECT() *StoreAndCache_Expecter
func (*StoreAndCache) Get ¶
func (_m *StoreAndCache) Get(key string) (io.ReadCloser, int, string, error)
Get provides a mock function with given fields: key
func (*StoreAndCache) SignedURL ¶
SignedURL provides a mock function with given fields: key, duration
func (*StoreAndCache) Upload ¶
func (_m *StoreAndCache) Upload(values archive.DestructuredKey, content io.Reader) (string, error)
Upload provides a mock function with given fields: values, content
func (*StoreAndCache) WalkCacheByPrefix ¶
func (_m *StoreAndCache) WalkCacheByPrefix(prefix string, observer func(string)) error
WalkCacheByPrefix provides a mock function with given fields: prefix, observer
type StoreAndCache_Copy_Call ¶ added in v1.5.41
StoreAndCache_Copy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Copy'
func (*StoreAndCache_Copy_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Copy_Call) Return(_a0 string, _a1 error) *StoreAndCache_Copy_Call
func (*StoreAndCache_Copy_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Copy_Call) Run(run func(origin string, destination archive.DestructuredKey)) *StoreAndCache_Copy_Call
func (*StoreAndCache_Copy_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Copy_Call) RunAndReturn(run func(string, archive.DestructuredKey) (string, error)) *StoreAndCache_Copy_Call
type StoreAndCache_Delete_Call ¶ added in v1.5.41
StoreAndCache_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*StoreAndCache_Delete_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Delete_Call) Return(_a0 error) *StoreAndCache_Delete_Call
func (*StoreAndCache_Delete_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Delete_Call) Run(run func(locations []string)) *StoreAndCache_Delete_Call
func (*StoreAndCache_Delete_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Delete_Call) RunAndReturn(run func([]string) error) *StoreAndCache_Delete_Call
type StoreAndCache_Download_Call ¶ added in v1.5.41
StoreAndCache_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'
func (*StoreAndCache_Download_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *StoreAndCache_Download_Call
func (*StoreAndCache_Download_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Download_Call) Run(run func(key string)) *StoreAndCache_Download_Call
func (*StoreAndCache_Download_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Download_Call) RunAndReturn(run func(string) (io.ReadCloser, error)) *StoreAndCache_Download_Call
type StoreAndCache_Expecter ¶ added in v1.5.41
type StoreAndCache_Expecter struct {
// contains filtered or unexported fields
}
func (*StoreAndCache_Expecter) Copy ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Copy(origin interface{}, destination interface{}) *StoreAndCache_Copy_Call
Copy is a helper method to define mock.On call
- origin string
- destination archive.DestructuredKey
func (*StoreAndCache_Expecter) Delete ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Delete(locations interface{}) *StoreAndCache_Delete_Call
Delete is a helper method to define mock.On call
- locations []string
func (*StoreAndCache_Expecter) Download ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Download(key interface{}) *StoreAndCache_Download_Call
Download is a helper method to define mock.On call
- key string
func (*StoreAndCache_Expecter) Get ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Get(key interface{}) *StoreAndCache_Get_Call
Get is a helper method to define mock.On call
- key string
func (*StoreAndCache_Expecter) Put ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Put(key interface{}, mediaType interface{}, content interface{}) *StoreAndCache_Put_Call
Put is a helper method to define mock.On call
- key string
- mediaType string
- content io.Reader
func (*StoreAndCache_Expecter) SignedURL ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) SignedURL(key interface{}, duration interface{}) *StoreAndCache_SignedURL_Call
SignedURL is a helper method to define mock.On call
- key string
- duration time.Duration
func (*StoreAndCache_Expecter) Upload ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Upload(values interface{}, content interface{}) *StoreAndCache_Upload_Call
Upload is a helper method to define mock.On call
- values archive.DestructuredKey
- content io.Reader
func (*StoreAndCache_Expecter) WalkCacheByPrefix ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) WalkCacheByPrefix(prefix interface{}, observer interface{}) *StoreAndCache_WalkCacheByPrefix_Call
WalkCacheByPrefix is a helper method to define mock.On call
- prefix string
- observer func(string)
type StoreAndCache_Get_Call ¶ added in v1.5.41
StoreAndCache_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*StoreAndCache_Get_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Get_Call) Return(_a0 io.ReadCloser, _a1 int, _a2 string, _a3 error) *StoreAndCache_Get_Call
func (*StoreAndCache_Get_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Get_Call) Run(run func(key string)) *StoreAndCache_Get_Call
func (*StoreAndCache_Get_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Get_Call) RunAndReturn(run func(string) (io.ReadCloser, int, string, error)) *StoreAndCache_Get_Call
type StoreAndCache_Put_Call ¶ added in v1.5.41
StoreAndCache_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*StoreAndCache_Put_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Put_Call) Return(_a0 error) *StoreAndCache_Put_Call
func (*StoreAndCache_Put_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Put_Call) Run(run func(key string, mediaType string, content io.Reader)) *StoreAndCache_Put_Call
func (*StoreAndCache_Put_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Put_Call) RunAndReturn(run func(string, string, io.Reader) error) *StoreAndCache_Put_Call
type StoreAndCache_SignedURL_Call ¶ added in v1.5.41
StoreAndCache_SignedURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignedURL'
func (*StoreAndCache_SignedURL_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_SignedURL_Call) Return(_a0 string, _a1 error) *StoreAndCache_SignedURL_Call
func (*StoreAndCache_SignedURL_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_SignedURL_Call) Run(run func(key string, duration time.Duration)) *StoreAndCache_SignedURL_Call
func (*StoreAndCache_SignedURL_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *StoreAndCache_SignedURL_Call
type StoreAndCache_Upload_Call ¶ added in v1.5.41
StoreAndCache_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'
func (*StoreAndCache_Upload_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Upload_Call) Return(_a0 string, _a1 error) *StoreAndCache_Upload_Call
func (*StoreAndCache_Upload_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Upload_Call) Run(run func(values archive.DestructuredKey, content io.Reader)) *StoreAndCache_Upload_Call
func (*StoreAndCache_Upload_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Upload_Call) RunAndReturn(run func(archive.DestructuredKey, io.Reader) (string, error)) *StoreAndCache_Upload_Call
type StoreAndCache_WalkCacheByPrefix_Call ¶ added in v1.5.41
StoreAndCache_WalkCacheByPrefix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WalkCacheByPrefix'
func (*StoreAndCache_WalkCacheByPrefix_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_WalkCacheByPrefix_Call) Return(_a0 error) *StoreAndCache_WalkCacheByPrefix_Call
func (*StoreAndCache_WalkCacheByPrefix_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_WalkCacheByPrefix_Call) Run(run func(prefix string, observer func(string))) *StoreAndCache_WalkCacheByPrefix_Call
func (*StoreAndCache_WalkCacheByPrefix_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_WalkCacheByPrefix_Call) RunAndReturn(run func(string, func(string)) error) *StoreAndCache_WalkCacheByPrefix_Call
type Stream ¶
Stream is an autogenerated mock type for the Stream type
func NewStream ¶
NewStream creates a new instance of Stream. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Stream) EXPECT ¶ added in v1.5.41
func (_m *Stream) EXPECT() *Stream_Expecter
type Stream_Count_Call ¶ added in v1.5.41
Stream_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*Stream_Count_Call) Return ¶ added in v1.5.41
func (_c *Stream_Count_Call) Return(_a0 int64) *Stream_Count_Call
func (*Stream_Count_Call) Run ¶ added in v1.5.41
func (_c *Stream_Count_Call) Run(run func()) *Stream_Count_Call
func (*Stream_Count_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Stream_Count_Call) RunAndReturn(run func() int64) *Stream_Count_Call
type Stream_Error_Call ¶ added in v1.5.41
Stream_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Stream_Error_Call) Return ¶ added in v1.5.41
func (_c *Stream_Error_Call) Return(_a0 error) *Stream_Error_Call
func (*Stream_Error_Call) Run ¶ added in v1.5.41
func (_c *Stream_Error_Call) Run(run func()) *Stream_Error_Call
func (*Stream_Error_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Stream_Error_Call) RunAndReturn(run func() error) *Stream_Error_Call
type Stream_Expecter ¶ added in v1.5.41
type Stream_Expecter struct {
// contains filtered or unexported fields
}
func (*Stream_Expecter) Count ¶ added in v1.5.41
func (_e *Stream_Expecter) Count() *Stream_Count_Call
Count is a helper method to define mock.On call
func (*Stream_Expecter) Error ¶ added in v1.5.41
func (_e *Stream_Expecter) Error() *Stream_Error_Call
Error is a helper method to define mock.On call
func (*Stream_Expecter) HasNext ¶ added in v1.5.41
func (_e *Stream_Expecter) HasNext() *Stream_HasNext_Call
HasNext is a helper method to define mock.On call
func (*Stream_Expecter) Next ¶ added in v1.5.41
func (_e *Stream_Expecter) Next() *Stream_Next_Call
Next is a helper method to define mock.On call
type Stream_HasNext_Call ¶ added in v1.5.41
Stream_HasNext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasNext'
func (*Stream_HasNext_Call) Return ¶ added in v1.5.41
func (_c *Stream_HasNext_Call) Return(_a0 bool) *Stream_HasNext_Call
func (*Stream_HasNext_Call) Run ¶ added in v1.5.41
func (_c *Stream_HasNext_Call) Run(run func()) *Stream_HasNext_Call
func (*Stream_HasNext_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Stream_HasNext_Call) RunAndReturn(run func() bool) *Stream_HasNext_Call
type Stream_Next_Call ¶ added in v1.5.41
Stream_Next_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Next'
func (*Stream_Next_Call) Return ¶ added in v1.5.41
func (_c *Stream_Next_Call) Return(_a0 map[string]types.AttributeValue) *Stream_Next_Call
func (*Stream_Next_Call) Run ¶ added in v1.5.41
func (_c *Stream_Next_Call) Run(run func()) *Stream_Next_Call
func (*Stream_Next_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Stream_Next_Call) RunAndReturn(run func() map[string]types.AttributeValue) *Stream_Next_Call
type SuggestionRecordRepositoryPort ¶
SuggestionRecordRepositoryPort is an autogenerated mock type for the SuggestionRecordRepositoryPort type
func NewSuggestionRecordRepositoryPort ¶
func NewSuggestionRecordRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *SuggestionRecordRepositoryPort
NewSuggestionRecordRepositoryPort creates a new instance of SuggestionRecordRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SuggestionRecordRepositoryPort) Count ¶
func (_m *SuggestionRecordRepositoryPort) Count() int
Count provides a mock function with given fields:
func (*SuggestionRecordRepositoryPort) EXPECT ¶ added in v1.5.41
func (_m *SuggestionRecordRepositoryPort) EXPECT() *SuggestionRecordRepositoryPort_Expecter
func (*SuggestionRecordRepositoryPort) FindSuggestionRecords ¶
func (_m *SuggestionRecordRepositoryPort) FindSuggestionRecords() []*ui.SuggestionRecord
FindSuggestionRecords provides a mock function with given fields:
func (*SuggestionRecordRepositoryPort) Rejects ¶
func (_m *SuggestionRecordRepositoryPort) Rejects() int
Rejects provides a mock function with given fields:
type SuggestionRecordRepositoryPort_Count_Call ¶ added in v1.5.41
SuggestionRecordRepositoryPort_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*SuggestionRecordRepositoryPort_Count_Call) Return ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Count_Call) Return(_a0 int) *SuggestionRecordRepositoryPort_Count_Call
func (*SuggestionRecordRepositoryPort_Count_Call) Run ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Count_Call) Run(run func()) *SuggestionRecordRepositoryPort_Count_Call
func (*SuggestionRecordRepositoryPort_Count_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Count_Call) RunAndReturn(run func() int) *SuggestionRecordRepositoryPort_Count_Call
type SuggestionRecordRepositoryPort_Expecter ¶ added in v1.5.41
type SuggestionRecordRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*SuggestionRecordRepositoryPort_Expecter) Count ¶ added in v1.5.41
func (_e *SuggestionRecordRepositoryPort_Expecter) Count() *SuggestionRecordRepositoryPort_Count_Call
Count is a helper method to define mock.On call
func (*SuggestionRecordRepositoryPort_Expecter) FindSuggestionRecords ¶ added in v1.5.41
func (_e *SuggestionRecordRepositoryPort_Expecter) FindSuggestionRecords() *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
FindSuggestionRecords is a helper method to define mock.On call
func (*SuggestionRecordRepositoryPort_Expecter) Rejects ¶ added in v1.5.41
func (_e *SuggestionRecordRepositoryPort_Expecter) Rejects() *SuggestionRecordRepositoryPort_Rejects_Call
Rejects is a helper method to define mock.On call
type SuggestionRecordRepositoryPort_FindSuggestionRecords_Call ¶ added in v1.5.41
SuggestionRecordRepositoryPort_FindSuggestionRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSuggestionRecords'
func (*SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Run ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Run(run func()) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
func (*SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) RunAndReturn(run func() []*ui.SuggestionRecord) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
type SuggestionRecordRepositoryPort_Rejects_Call ¶ added in v1.5.41
SuggestionRecordRepositoryPort_Rejects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rejects'
func (*SuggestionRecordRepositoryPort_Rejects_Call) Return ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Rejects_Call) Return(_a0 int) *SuggestionRecordRepositoryPort_Rejects_Call
func (*SuggestionRecordRepositoryPort_Rejects_Call) Run ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Rejects_Call) Run(run func()) *SuggestionRecordRepositoryPort_Rejects_Call
func (*SuggestionRecordRepositoryPort_Rejects_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Rejects_Call) RunAndReturn(run func() int) *SuggestionRecordRepositoryPort_Rejects_Call
type TimelineAdapter ¶
TimelineAdapter is an autogenerated mock type for the TimelineAdapter type
func NewTimelineAdapter ¶
func NewTimelineAdapter(t interface { mock.TestingT Cleanup(func()) }) *TimelineAdapter
NewTimelineAdapter creates a new instance of TimelineAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TimelineAdapter) EXPECT ¶ added in v1.5.41
func (_m *TimelineAdapter) EXPECT() *TimelineAdapter_Expecter
func (*TimelineAdapter) FindOrCreateAlbum ¶
FindOrCreateAlbum provides a mock function with given fields: mediaTime
type TimelineAdapter_Expecter ¶ added in v1.5.41
type TimelineAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*TimelineAdapter_Expecter) FindAlbum ¶ added in v1.5.41
func (_e *TimelineAdapter_Expecter) FindAlbum(dateTime interface{}) *TimelineAdapter_FindAlbum_Call
FindAlbum is a helper method to define mock.On call
- dateTime time.Time
func (*TimelineAdapter_Expecter) FindOrCreateAlbum ¶ added in v1.5.41
func (_e *TimelineAdapter_Expecter) FindOrCreateAlbum(mediaTime interface{}) *TimelineAdapter_FindOrCreateAlbum_Call
FindOrCreateAlbum is a helper method to define mock.On call
- mediaTime time.Time
type TimelineAdapter_FindAlbum_Call ¶ added in v1.5.41
TimelineAdapter_FindAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbum'
func (*TimelineAdapter_FindAlbum_Call) Return ¶ added in v1.5.41
func (_c *TimelineAdapter_FindAlbum_Call) Return(folderName string, exists bool, err error) *TimelineAdapter_FindAlbum_Call
func (*TimelineAdapter_FindAlbum_Call) Run ¶ added in v1.5.41
func (_c *TimelineAdapter_FindAlbum_Call) Run(run func(dateTime time.Time)) *TimelineAdapter_FindAlbum_Call
func (*TimelineAdapter_FindAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TimelineAdapter_FindAlbum_Call) RunAndReturn(run func(time.Time) (string, bool, error)) *TimelineAdapter_FindAlbum_Call
type TimelineAdapter_FindOrCreateAlbum_Call ¶ added in v1.5.41
TimelineAdapter_FindOrCreateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOrCreateAlbum'
func (*TimelineAdapter_FindOrCreateAlbum_Call) Return ¶ added in v1.5.41
func (_c *TimelineAdapter_FindOrCreateAlbum_Call) Return(folderName string, created bool, err error) *TimelineAdapter_FindOrCreateAlbum_Call
func (*TimelineAdapter_FindOrCreateAlbum_Call) Run ¶ added in v1.5.41
func (_c *TimelineAdapter_FindOrCreateAlbum_Call) Run(run func(mediaTime time.Time)) *TimelineAdapter_FindOrCreateAlbum_Call
func (*TimelineAdapter_FindOrCreateAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TimelineAdapter_FindOrCreateAlbum_Call) RunAndReturn(run func(time.Time) (string, bool, error)) *TimelineAdapter_FindOrCreateAlbum_Call
type TimelineMutationObserver ¶ added in v1.5.33
TimelineMutationObserver is an autogenerated mock type for the TimelineMutationObserver type
func NewTimelineMutationObserver ¶ added in v1.5.33
func NewTimelineMutationObserver(t interface { mock.TestingT Cleanup(func()) }) *TimelineMutationObserver
NewTimelineMutationObserver creates a new instance of TimelineMutationObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TimelineMutationObserver) EXPECT ¶ added in v1.5.41
func (_m *TimelineMutationObserver) EXPECT() *TimelineMutationObserver_Expecter
func (*TimelineMutationObserver) OnTransferredMedias ¶ added in v1.6.4
func (_m *TimelineMutationObserver) OnTransferredMedias(ctx context.Context, transfers catalog.TransferredMedias) error
OnTransferredMedias provides a mock function with given fields: ctx, transfers
type TimelineMutationObserverFunc ¶ added in v1.5.42
TimelineMutationObserverFunc is an autogenerated mock type for the TimelineMutationObserverFunc type
func NewTimelineMutationObserverFunc ¶ added in v1.5.42
func NewTimelineMutationObserverFunc(t interface { mock.TestingT Cleanup(func()) }) *TimelineMutationObserverFunc
NewTimelineMutationObserverFunc creates a new instance of TimelineMutationObserverFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TimelineMutationObserverFunc) EXPECT ¶ added in v1.5.42
func (_m *TimelineMutationObserverFunc) EXPECT() *TimelineMutationObserverFunc_Expecter
func (*TimelineMutationObserverFunc) Execute ¶ added in v1.5.42
func (_m *TimelineMutationObserverFunc) Execute(ctx context.Context, transfers catalog.TransferredMedias) error
Execute provides a mock function with given fields: ctx, transfers
type TimelineMutationObserverFunc_Execute_Call ¶ added in v1.5.42
TimelineMutationObserverFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*TimelineMutationObserverFunc_Execute_Call) Return ¶ added in v1.5.42
func (_c *TimelineMutationObserverFunc_Execute_Call) Return(_a0 error) *TimelineMutationObserverFunc_Execute_Call
func (*TimelineMutationObserverFunc_Execute_Call) Run ¶ added in v1.5.42
func (_c *TimelineMutationObserverFunc_Execute_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserverFunc_Execute_Call
func (*TimelineMutationObserverFunc_Execute_Call) RunAndReturn ¶ added in v1.5.42
func (_c *TimelineMutationObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserverFunc_Execute_Call
type TimelineMutationObserverFunc_Expecter ¶ added in v1.5.42
type TimelineMutationObserverFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*TimelineMutationObserverFunc_Expecter) Execute ¶ added in v1.5.42
func (_e *TimelineMutationObserverFunc_Expecter) Execute(ctx interface{}, transfers interface{}) *TimelineMutationObserverFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- transfers catalog.TransferredMedias
type TimelineMutationObserver_Expecter ¶ added in v1.5.41
type TimelineMutationObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*TimelineMutationObserver_Expecter) OnTransferredMedias ¶ added in v1.6.4
func (_e *TimelineMutationObserver_Expecter) OnTransferredMedias(ctx interface{}, transfers interface{}) *TimelineMutationObserver_OnTransferredMedias_Call
OnTransferredMedias is a helper method to define mock.On call
- ctx context.Context
- transfers catalog.TransferredMedias
type TimelineMutationObserver_OnTransferredMedias_Call ¶ added in v1.6.4
TimelineMutationObserver_OnTransferredMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnTransferredMedias'
func (*TimelineMutationObserver_OnTransferredMedias_Call) Return ¶ added in v1.6.4
func (_c *TimelineMutationObserver_OnTransferredMedias_Call) Return(_a0 error) *TimelineMutationObserver_OnTransferredMedias_Call
func (*TimelineMutationObserver_OnTransferredMedias_Call) Run ¶ added in v1.6.4
func (_c *TimelineMutationObserver_OnTransferredMedias_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserver_OnTransferredMedias_Call
func (*TimelineMutationObserver_OnTransferredMedias_Call) RunAndReturn ¶ added in v1.6.4
func (_c *TimelineMutationObserver_OnTransferredMedias_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserver_OnTransferredMedias_Call
type TrackAnalysed ¶
TrackAnalysed is an autogenerated mock type for the TrackAnalysed type
func NewTrackAnalysed ¶
func NewTrackAnalysed(t interface { mock.TestingT Cleanup(func()) }) *TrackAnalysed
NewTrackAnalysed creates a new instance of TrackAnalysed. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TrackAnalysed) EXPECT ¶ added in v1.5.41
func (_m *TrackAnalysed) EXPECT() *TrackAnalysed_Expecter
func (*TrackAnalysed) OnAnalysed ¶
func (_m *TrackAnalysed) OnAnalysed(done backup.MediaCounter, total backup.MediaCounter, cached backup.MediaCounter)
OnAnalysed provides a mock function with given fields: done, total, cached
type TrackAnalysed_Expecter ¶ added in v1.5.41
type TrackAnalysed_Expecter struct {
// contains filtered or unexported fields
}
func (*TrackAnalysed_Expecter) OnAnalysed ¶ added in v1.5.41
func (_e *TrackAnalysed_Expecter) OnAnalysed(done interface{}, total interface{}, cached interface{}) *TrackAnalysed_OnAnalysed_Call
OnAnalysed is a helper method to define mock.On call
- done backup.MediaCounter
- total backup.MediaCounter
- cached backup.MediaCounter
type TrackAnalysed_OnAnalysed_Call ¶ added in v1.5.41
TrackAnalysed_OnAnalysed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAnalysed'
func (*TrackAnalysed_OnAnalysed_Call) Return ¶ added in v1.5.41
func (_c *TrackAnalysed_OnAnalysed_Call) Return() *TrackAnalysed_OnAnalysed_Call
func (*TrackAnalysed_OnAnalysed_Call) Run ¶ added in v1.5.41
func (_c *TrackAnalysed_OnAnalysed_Call) Run(run func(done backup.MediaCounter, total backup.MediaCounter, cached backup.MediaCounter)) *TrackAnalysed_OnAnalysed_Call
func (*TrackAnalysed_OnAnalysed_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TrackAnalysed_OnAnalysed_Call) RunAndReturn(run func(backup.MediaCounter, backup.MediaCounter, backup.MediaCounter)) *TrackAnalysed_OnAnalysed_Call
type TrackEvents ¶
TrackEvents is an autogenerated mock type for the TrackEvents type
func NewTrackEvents ¶
func NewTrackEvents(t interface { mock.TestingT Cleanup(func()) }) *TrackEvents
NewTrackEvents creates a new instance of TrackEvents. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TrackEvents) EXPECT ¶ added in v1.5.41
func (_m *TrackEvents) EXPECT() *TrackEvents_Expecter
func (*TrackEvents) OnEvent ¶
func (_m *TrackEvents) OnEvent(event backup.ProgressEvent)
OnEvent provides a mock function with given fields: event
type TrackEvents_Expecter ¶ added in v1.5.41
type TrackEvents_Expecter struct {
// contains filtered or unexported fields
}
func (*TrackEvents_Expecter) OnEvent ¶ added in v1.5.41
func (_e *TrackEvents_Expecter) OnEvent(event interface{}) *TrackEvents_OnEvent_Call
OnEvent is a helper method to define mock.On call
- event backup.ProgressEvent
type TrackEvents_OnEvent_Call ¶ added in v1.5.41
TrackEvents_OnEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEvent'
func (*TrackEvents_OnEvent_Call) Return ¶ added in v1.5.41
func (_c *TrackEvents_OnEvent_Call) Return() *TrackEvents_OnEvent_Call
func (*TrackEvents_OnEvent_Call) Run ¶ added in v1.5.41
func (_c *TrackEvents_OnEvent_Call) Run(run func(event backup.ProgressEvent)) *TrackEvents_OnEvent_Call
func (*TrackEvents_OnEvent_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TrackEvents_OnEvent_Call) RunAndReturn(run func(backup.ProgressEvent)) *TrackEvents_OnEvent_Call
type TrackScanComplete ¶
TrackScanComplete is an autogenerated mock type for the TrackScanComplete type
func NewTrackScanComplete ¶
func NewTrackScanComplete(t interface { mock.TestingT Cleanup(func()) }) *TrackScanComplete
NewTrackScanComplete creates a new instance of TrackScanComplete. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TrackScanComplete) EXPECT ¶ added in v1.5.41
func (_m *TrackScanComplete) EXPECT() *TrackScanComplete_Expecter
func (*TrackScanComplete) OnScanComplete ¶
func (_m *TrackScanComplete) OnScanComplete(total backup.MediaCounter)
OnScanComplete provides a mock function with given fields: total
type TrackScanComplete_Expecter ¶ added in v1.5.41
type TrackScanComplete_Expecter struct {
// contains filtered or unexported fields
}
func (*TrackScanComplete_Expecter) OnScanComplete ¶ added in v1.5.41
func (_e *TrackScanComplete_Expecter) OnScanComplete(total interface{}) *TrackScanComplete_OnScanComplete_Call
OnScanComplete is a helper method to define mock.On call
- total backup.MediaCounter
type TrackScanComplete_OnScanComplete_Call ¶ added in v1.5.41
TrackScanComplete_OnScanComplete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnScanComplete'
func (*TrackScanComplete_OnScanComplete_Call) Return ¶ added in v1.5.41
func (_c *TrackScanComplete_OnScanComplete_Call) Return() *TrackScanComplete_OnScanComplete_Call
func (*TrackScanComplete_OnScanComplete_Call) Run ¶ added in v1.5.41
func (_c *TrackScanComplete_OnScanComplete_Call) Run(run func(total backup.MediaCounter)) *TrackScanComplete_OnScanComplete_Call
func (*TrackScanComplete_OnScanComplete_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TrackScanComplete_OnScanComplete_Call) RunAndReturn(run func(backup.MediaCounter)) *TrackScanComplete_OnScanComplete_Call
type TrackUploaded ¶
TrackUploaded is an autogenerated mock type for the TrackUploaded type
func NewTrackUploaded ¶
func NewTrackUploaded(t interface { mock.TestingT Cleanup(func()) }) *TrackUploaded
NewTrackUploaded creates a new instance of TrackUploaded. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TrackUploaded) EXPECT ¶ added in v1.5.41
func (_m *TrackUploaded) EXPECT() *TrackUploaded_Expecter
func (*TrackUploaded) OnUploaded ¶
func (_m *TrackUploaded) OnUploaded(done backup.MediaCounter, total backup.MediaCounter)
OnUploaded provides a mock function with given fields: done, total
type TrackUploaded_Expecter ¶ added in v1.5.41
type TrackUploaded_Expecter struct {
// contains filtered or unexported fields
}
func (*TrackUploaded_Expecter) OnUploaded ¶ added in v1.5.41
func (_e *TrackUploaded_Expecter) OnUploaded(done interface{}, total interface{}) *TrackUploaded_OnUploaded_Call
OnUploaded is a helper method to define mock.On call
- done backup.MediaCounter
- total backup.MediaCounter
type TrackUploaded_OnUploaded_Call ¶ added in v1.5.41
TrackUploaded_OnUploaded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUploaded'
func (*TrackUploaded_OnUploaded_Call) Return ¶ added in v1.5.41
func (_c *TrackUploaded_OnUploaded_Call) Return() *TrackUploaded_OnUploaded_Call
func (*TrackUploaded_OnUploaded_Call) Run ¶ added in v1.5.41
func (_c *TrackUploaded_OnUploaded_Call) Run(run func(done backup.MediaCounter, total backup.MediaCounter)) *TrackUploaded_OnUploaded_Call
func (*TrackUploaded_OnUploaded_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TrackUploaded_OnUploaded_Call) RunAndReturn(run func(backup.MediaCounter, backup.MediaCounter)) *TrackUploaded_OnUploaded_Call
type TransferMediasFunc ¶ added in v1.5.41
TransferMediasFunc is an autogenerated mock type for the TransferMediasFunc type
func NewTransferMediasFunc ¶ added in v1.5.41
func NewTransferMediasFunc(t interface { mock.TestingT Cleanup(func()) }) *TransferMediasFunc
NewTransferMediasFunc creates a new instance of TransferMediasFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransferMediasFunc) EXPECT ¶ added in v1.5.41
func (_m *TransferMediasFunc) EXPECT() *TransferMediasFunc_Expecter
func (*TransferMediasFunc) Execute ¶ added in v1.5.41
func (_m *TransferMediasFunc) Execute(ctx context.Context, records catalog.MediaTransferRecords) (catalog.TransferredMedias, error)
Execute provides a mock function with given fields: ctx, records
type TransferMediasFunc_Execute_Call ¶ added in v1.5.41
TransferMediasFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*TransferMediasFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *TransferMediasFunc_Execute_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *TransferMediasFunc_Execute_Call
func (*TransferMediasFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *TransferMediasFunc_Execute_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasFunc_Execute_Call
func (*TransferMediasFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TransferMediasFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) (catalog.TransferredMedias, error)) *TransferMediasFunc_Execute_Call
type TransferMediasFunc_Expecter ¶ added in v1.5.41
type TransferMediasFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*TransferMediasFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *TransferMediasFunc_Expecter) Execute(ctx interface{}, records interface{}) *TransferMediasFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
type TransferMediasRepositoryPort ¶ added in v1.5.45
TransferMediasRepositoryPort is an autogenerated mock type for the TransferMediasRepositoryPort type
func NewTransferMediasRepositoryPort ¶ added in v1.5.45
func NewTransferMediasRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *TransferMediasRepositoryPort
NewTransferMediasRepositoryPort creates a new instance of TransferMediasRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransferMediasRepositoryPort) EXPECT ¶ added in v1.5.45
func (_m *TransferMediasRepositoryPort) EXPECT() *TransferMediasRepositoryPort_Expecter
func (*TransferMediasRepositoryPort) TransferMediasFromRecords ¶ added in v1.5.45
func (_m *TransferMediasRepositoryPort) TransferMediasFromRecords(ctx context.Context, records catalog.MediaTransferRecords) (catalog.TransferredMedias, error)
TransferMediasFromRecords provides a mock function with given fields: ctx, records
type TransferMediasRepositoryPort_Expecter ¶ added in v1.5.45
type TransferMediasRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*TransferMediasRepositoryPort_Expecter) TransferMediasFromRecords ¶ added in v1.5.45
func (_e *TransferMediasRepositoryPort_Expecter) TransferMediasFromRecords(ctx interface{}, records interface{}) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
TransferMediasFromRecords is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
type TransferMediasRepositoryPort_TransferMediasFromRecords_Call ¶ added in v1.5.45
TransferMediasRepositoryPort_TransferMediasFromRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferMediasFromRecords'
func (*TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Run ¶ added in v1.5.45
func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
func (*TransferMediasRepositoryPort_TransferMediasFromRecords_Call) RunAndReturn ¶ added in v1.5.45
func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) (catalog.TransferredMedias, error)) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
type UpdateAlbumNamePort ¶ added in v1.5.43
UpdateAlbumNamePort is an autogenerated mock type for the UpdateAlbumNamePort type
func NewUpdateAlbumNamePort ¶ added in v1.5.43
func NewUpdateAlbumNamePort(t interface { mock.TestingT Cleanup(func()) }) *UpdateAlbumNamePort
NewUpdateAlbumNamePort creates a new instance of UpdateAlbumNamePort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UpdateAlbumNamePort) EXPECT ¶ added in v1.5.43
func (_m *UpdateAlbumNamePort) EXPECT() *UpdateAlbumNamePort_Expecter
func (*UpdateAlbumNamePort) UpdateAlbumName ¶ added in v1.5.43
func (_m *UpdateAlbumNamePort) UpdateAlbumName(ctx context.Context, albumId catalog.AlbumId, newName string) error
UpdateAlbumName provides a mock function with given fields: ctx, albumId, newName
type UpdateAlbumNamePort_Expecter ¶ added in v1.5.43
type UpdateAlbumNamePort_Expecter struct {
// contains filtered or unexported fields
}
func (*UpdateAlbumNamePort_Expecter) UpdateAlbumName ¶ added in v1.5.43
func (_e *UpdateAlbumNamePort_Expecter) UpdateAlbumName(ctx interface{}, albumId interface{}, newName interface{}) *UpdateAlbumNamePort_UpdateAlbumName_Call
UpdateAlbumName is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
- newName string
type UpdateAlbumNamePort_UpdateAlbumName_Call ¶ added in v1.5.43
UpdateAlbumNamePort_UpdateAlbumName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbumName'
func (*UpdateAlbumNamePort_UpdateAlbumName_Call) Return ¶ added in v1.5.43
func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) Return(_a0 error) *UpdateAlbumNamePort_UpdateAlbumName_Call
func (*UpdateAlbumNamePort_UpdateAlbumName_Call) Run ¶ added in v1.5.43
func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, newName string)) *UpdateAlbumNamePort_UpdateAlbumName_Call
func (*UpdateAlbumNamePort_UpdateAlbumName_Call) RunAndReturn ¶ added in v1.5.43
func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, string) error) *UpdateAlbumNamePort_UpdateAlbumName_Call
type UpdateAlbumPort ¶
UpdateAlbumPort is an autogenerated mock type for the UpdateAlbumPort type
func NewUpdateAlbumPort ¶
func NewUpdateAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *UpdateAlbumPort
NewUpdateAlbumPort creates a new instance of UpdateAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UpdateAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *UpdateAlbumPort) EXPECT() *UpdateAlbumPort_Expecter
func (*UpdateAlbumPort) UpdateAlbum ¶
UpdateAlbum provides a mock function with given fields: folderName, start, end
type UpdateAlbumPort_Expecter ¶ added in v1.5.41
type UpdateAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*UpdateAlbumPort_Expecter) UpdateAlbum ¶ added in v1.5.41
func (_e *UpdateAlbumPort_Expecter) UpdateAlbum(folderName interface{}, start interface{}, end interface{}) *UpdateAlbumPort_UpdateAlbum_Call
UpdateAlbum is a helper method to define mock.On call
- folderName string
- start time.Time
- end time.Time
type UpdateAlbumPort_UpdateAlbum_Call ¶ added in v1.5.41
UpdateAlbumPort_UpdateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbum'
func (*UpdateAlbumPort_UpdateAlbum_Call) Return ¶ added in v1.5.41
func (_c *UpdateAlbumPort_UpdateAlbum_Call) Return(_a0 error) *UpdateAlbumPort_UpdateAlbum_Call
func (*UpdateAlbumPort_UpdateAlbum_Call) Run ¶ added in v1.5.41
func (_c *UpdateAlbumPort_UpdateAlbum_Call) Run(run func(folderName string, start time.Time, end time.Time)) *UpdateAlbumPort_UpdateAlbum_Call
func (*UpdateAlbumPort_UpdateAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *UpdateAlbumPort_UpdateAlbum_Call) RunAndReturn(run func(string, time.Time, time.Time) error) *UpdateAlbumPort_UpdateAlbum_Call
type UserInputPort ¶
UserInputPort is an autogenerated mock type for the UserInputPort type
func NewUserInputPort ¶
func NewUserInputPort(t interface { mock.TestingT Cleanup(func()) }) *UserInputPort
NewUserInputPort creates a new instance of UserInputPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UserInputPort) EXPECT ¶ added in v1.5.41
func (_m *UserInputPort) EXPECT() *UserInputPort_Expecter
func (*UserInputPort) StartListening ¶
func (_m *UserInputPort) StartListening()
StartListening provides a mock function with given fields:
type UserInputPort_Expecter ¶ added in v1.5.41
type UserInputPort_Expecter struct {
// contains filtered or unexported fields
}
func (*UserInputPort_Expecter) StartListening ¶ added in v1.5.41
func (_e *UserInputPort_Expecter) StartListening() *UserInputPort_StartListening_Call
StartListening is a helper method to define mock.On call
type UserInputPort_StartListening_Call ¶ added in v1.5.41
UserInputPort_StartListening_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartListening'
func (*UserInputPort_StartListening_Call) Return ¶ added in v1.5.41
func (_c *UserInputPort_StartListening_Call) Return() *UserInputPort_StartListening_Call
func (*UserInputPort_StartListening_Call) Run ¶ added in v1.5.41
func (_c *UserInputPort_StartListening_Call) Run(run func()) *UserInputPort_StartListening_Call
func (*UserInputPort_StartListening_Call) RunAndReturn ¶ added in v1.5.41
func (_c *UserInputPort_StartListening_Call) RunAndReturn(run func()) *UserInputPort_StartListening_Call
type ViewWriteRepository ¶ added in v1.6.4
ViewWriteRepository is an autogenerated mock type for the ViewWriteRepository type
func NewViewWriteRepository ¶ added in v1.6.4
func NewViewWriteRepository(t interface { mock.TestingT Cleanup(func()) }) *ViewWriteRepository
NewViewWriteRepository creates a new instance of ViewWriteRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ViewWriteRepository) DeleteAlbumSize ¶ added in v1.6.4
func (_m *ViewWriteRepository) DeleteAlbumSize(ctx context.Context, availability catalogviews.Availability, albumId catalog.AlbumId) error
DeleteAlbumSize provides a mock function with given fields: ctx, availability, albumId
func (*ViewWriteRepository) EXPECT ¶ added in v1.6.4
func (_m *ViewWriteRepository) EXPECT() *ViewWriteRepository_Expecter
func (*ViewWriteRepository) InsertAlbumSize ¶ added in v1.6.4
func (_m *ViewWriteRepository) InsertAlbumSize(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize) error
InsertAlbumSize provides a mock function with given fields: ctx, albumSize
func (*ViewWriteRepository) UpdateAlbumSize ¶ added in v1.6.4
func (_m *ViewWriteRepository) UpdateAlbumSize(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff) error
UpdateAlbumSize provides a mock function with given fields: ctx, albumCountUpdates
type ViewWriteRepository_DeleteAlbumSize_Call ¶ added in v1.6.4
ViewWriteRepository_DeleteAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbumSize'
func (*ViewWriteRepository_DeleteAlbumSize_Call) Return ¶ added in v1.6.4
func (_c *ViewWriteRepository_DeleteAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_DeleteAlbumSize_Call
func (*ViewWriteRepository_DeleteAlbumSize_Call) Run ¶ added in v1.6.4
func (_c *ViewWriteRepository_DeleteAlbumSize_Call) Run(run func(ctx context.Context, availability catalogviews.Availability, albumId catalog.AlbumId)) *ViewWriteRepository_DeleteAlbumSize_Call
func (*ViewWriteRepository_DeleteAlbumSize_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ViewWriteRepository_DeleteAlbumSize_Call) RunAndReturn(run func(context.Context, catalogviews.Availability, catalog.AlbumId) error) *ViewWriteRepository_DeleteAlbumSize_Call
type ViewWriteRepository_Expecter ¶ added in v1.6.4
type ViewWriteRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*ViewWriteRepository_Expecter) DeleteAlbumSize ¶ added in v1.6.4
func (_e *ViewWriteRepository_Expecter) DeleteAlbumSize(ctx interface{}, availability interface{}, albumId interface{}) *ViewWriteRepository_DeleteAlbumSize_Call
DeleteAlbumSize is a helper method to define mock.On call
- ctx context.Context
- availability catalogviews.Availability
- albumId catalog.AlbumId
func (*ViewWriteRepository_Expecter) InsertAlbumSize ¶ added in v1.6.4
func (_e *ViewWriteRepository_Expecter) InsertAlbumSize(ctx interface{}, albumSize interface{}) *ViewWriteRepository_InsertAlbumSize_Call
InsertAlbumSize is a helper method to define mock.On call
- ctx context.Context
- albumSize []catalogviews.MultiUserAlbumSize
func (*ViewWriteRepository_Expecter) UpdateAlbumSize ¶ added in v1.6.4
func (_e *ViewWriteRepository_Expecter) UpdateAlbumSize(ctx interface{}, albumCountUpdates interface{}) *ViewWriteRepository_UpdateAlbumSize_Call
UpdateAlbumSize is a helper method to define mock.On call
- ctx context.Context
- albumCountUpdates []catalogviews.AlbumSizeDiff
type ViewWriteRepository_InsertAlbumSize_Call ¶ added in v1.6.4
ViewWriteRepository_InsertAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertAlbumSize'
func (*ViewWriteRepository_InsertAlbumSize_Call) Return ¶ added in v1.6.4
func (_c *ViewWriteRepository_InsertAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_InsertAlbumSize_Call
func (*ViewWriteRepository_InsertAlbumSize_Call) Run ¶ added in v1.6.4
func (_c *ViewWriteRepository_InsertAlbumSize_Call) Run(run func(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize)) *ViewWriteRepository_InsertAlbumSize_Call
func (*ViewWriteRepository_InsertAlbumSize_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ViewWriteRepository_InsertAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.MultiUserAlbumSize) error) *ViewWriteRepository_InsertAlbumSize_Call
type ViewWriteRepository_UpdateAlbumSize_Call ¶ added in v1.6.4
ViewWriteRepository_UpdateAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbumSize'
func (*ViewWriteRepository_UpdateAlbumSize_Call) Return ¶ added in v1.6.4
func (_c *ViewWriteRepository_UpdateAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_UpdateAlbumSize_Call
func (*ViewWriteRepository_UpdateAlbumSize_Call) Run ¶ added in v1.6.4
func (_c *ViewWriteRepository_UpdateAlbumSize_Call) Run(run func(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff)) *ViewWriteRepository_UpdateAlbumSize_Call
func (*ViewWriteRepository_UpdateAlbumSize_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ViewWriteRepository_UpdateAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.AlbumSizeDiff) error) *ViewWriteRepository_UpdateAlbumSize_Call
Source Files ¶
- ACLViewCatalogAdapter.go
- ARepositoryAdapter.go
- AWSAdapterNames.go
- AlbumDatesAmendedObserver.go
- AlbumDatesAmendedObserverFunc.go
- AlbumDatesAmendedObserverWithTimeline.go
- AlbumLookupPort.go
- AlbumLookupStrategy.go
- AlbumSharedObserver.go
- AlbumUnSharedObserver.go
- AmendAlbumDateRepositoryPort.go
- AmendAlbumDatesWithTimeline.go
- AnalyserDecorator.go
- AsyncJobAdapter.go
- BArchiveAdapter.go
- BackupSuggestionPort.go
- CacheAdapter.go
- CatalogAdapter.go
- CatalogInsertMedia.go
- CatalogReference.go
- CatalogReferencer.go
- CatalogRules.go
- CatalogerFilter.go
- CatalogerFilterFunc.go
- CertificateAuthority.go
- CertificateManager.go
- ClosableFoundMedia.go
- CompletionReport.go
- Config.go
- ConfigFactory.go
- ConfigFactoryFunc.go
- CountMediasBySelectorsFunc.go
- CountMediasBySelectorsPort.go
- CreateAlbumObserver.go
- CreateAlbumObserverFunc.go
- CreateAlbumObserverWithTimeline.go
- CreateAlbumPort.go
- CreateAlbumWithTimeline.go
- DeleteAlbumObserver.go
- DeleteAlbumPort.go
- DeleteAlbumRepositoryFunc.go
- DeleteAlbumRepositoryPort.go
- DetailsReaderAdapter.go
- DynamoBatchGetItem.go
- DynamoBatchWriteItem.go
- DynamoQuery.go
- ExistingRecordRepositoryPort.go
- FindAlbumByIdFunc.go
- FindAlbumByIdPort.go
- FindAlbumByOwnerFunc.go
- FindAlbumByOwnerPort.go
- FindAlbumPort.go
- FindAlbumsByIdsFunc.go
- FindAlbumsByIdsPort.go
- FindAlbumsByOwnerFunc.go
- FindAlbumsByOwnerPort.go
- FindExistingSignaturePort.go
- FoundMedia.go
- GetAlbumSharingGridFunc.go
- GetAlbumSharingGridPort.go
- GetAvailabilitiesByUserFunc.go
- GetAvailabilitiesByUserPort.go
- GetStreamAdapter.go
- GrantRepository.go
- IAccessTokenGenerator.go
- IRefreshTokenGenerator.go
- IdentityDetailsStore.go
- IdentityQueriesIdentityRepository.go
- IdentityQueriesScopeRepository.go
- IdentityRepository.go
- InsertAlbumPort.go
- InsertAlbumPortFunc.go
- InsertMediaPort.go
- InsertMediaSimulator.go
- InsertMediasObserver.go
- InsertMediasRepositoryPort.go
- InteractiveActionsPort.go
- InteractiveRendererPort.go
- ListAlbumsProvider.go
- ListAlbumsProviderFunc.go
- ListUserWhoCanAccessAlbumPort.go
- Listener.go
- MediaAlbumResolver.go
- MediaCounterFunc.go
- MediaCounterPort.go
- MediaTransfer.go
- MediaTransferFunc.go
- Names.go
- PostAnalyseFilter.go
- PrintReadTerminalPort.go
- ProviderFactory.go
- ProviderFactoryFunc.go
- ReferencerFactory.go
- RefreshTokenRepository.go
- RenameAlbumObserver.go
- RenameAlbumPort.go
- RepositoryAdapter.go
- ResizerAdapter.go
- ReverseScopesReader.go
- RevokeAccessTokenAdapter.go
- RunnerAnalyser.go
- RunnerAnalyserFunc.go
- RunnerCatalogerFunc.go
- RunnerUploaderFunc.go
- ScanStreamExecutor.go
- ScopeReadRepository.go
- ScopeReadRepositoryPort.go
- ScopeRepository.go
- ScopeWriter.go
- ScopesReader.go
- SecretAccessKeyDecoder.go
- SharedWithUserFunc.go
- SharedWithUserPort.go
- SourceVolume.go
- StatefulAlbumReferencer.go
- StoreAdapter.go
- StoreAndCache.go
- Stream.go
- SuggestionRecordRepositoryPort.go
- TimelineAdapter.go
- TimelineMutationObserver.go
- TimelineMutationObserverFunc.go
- TrackAnalysed.go
- TrackEvents.go
- TrackScanComplete.go
- TrackUploaded.go
- TransferMediasFunc.go
- TransferMediasRepositoryPort.go
- UpdateAlbumNamePort.go
- UpdateAlbumPort.go
- UserInputPort.go
- ViewWriteRepository.go
- runnerCataloger.go
- runnerPublisher.go
- runnerUniqueFilter.go
- runnerUploader.go