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 string) ([]*catalog.Album, error)
- func (_m *ACLViewCatalogAdapter) ListMedias(owner string, folderName string, 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(owner interface{}, folderName 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 string)) *ACLViewCatalogAdapter_FindAllAlbums_Call
- func (_c *ACLViewCatalogAdapter_FindAllAlbums_Call) RunAndReturn(run func(string) ([]*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(owner string, folderName string, request catalog.PageRequest)) *ACLViewCatalogAdapter_ListMedias_Call
- func (_c *ACLViewCatalogAdapter_ListMedias_Call) RunAndReturn(run func(string, string, 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 AlbumCanBeDeletedObserver
- type AlbumCanBeDeletedObserver_Expecter
- type AlbumCanBeDeletedObserver_Observe_Call
- func (_c *AlbumCanBeDeletedObserver_Observe_Call) Return(_a0 error) *AlbumCanBeDeletedObserver_Observe_Call
- func (_c *AlbumCanBeDeletedObserver_Observe_Call) Run(run func(ctx context.Context, deletedAlbum catalog.AlbumId, ...)) *AlbumCanBeDeletedObserver_Observe_Call
- func (_c *AlbumCanBeDeletedObserver_Observe_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.MediaTransferRecords) error) *AlbumCanBeDeletedObserver_Observe_Call
- type AnalyserDecorator
- type AnalyserDecorator_Decorate_Call
- func (_c *AnalyserDecorator_Decorate_Call) Return(_a0 backup.RunnerAnalyser) *AnalyserDecorator_Decorate_Call
- func (_c *AnalyserDecorator_Decorate_Call) Run(run func(analyseFunc backup.RunnerAnalyser)) *AnalyserDecorator_Decorate_Call
- func (_c *AnalyserDecorator_Decorate_Call) RunAndReturn(run func(backup.RunnerAnalyser) backup.RunnerAnalyser) *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 CArchiveAdapter
- type CArchiveAdapter_Expecter
- type CArchiveAdapter_MoveMedias_Call
- func (_c *CArchiveAdapter_MoveMedias_Call) Return(_a0 error) *CArchiveAdapter_MoveMedias_Call
- func (_c *CArchiveAdapter_MoveMedias_Call) Run(run func(owner catalog.Owner, ids []catalog.MediaId, name catalog.FolderName)) *CArchiveAdapter_MoveMedias_Call
- func (_c *CArchiveAdapter_MoveMedias_Call) RunAndReturn(run func(catalog.Owner, []catalog.MediaId, catalog.FolderName) error) *CArchiveAdapter_MoveMedias_Call
- type CArchiveAdapter_Observe_Call
- func (_c *CArchiveAdapter_Observe_Call) Return(_a0 error) *CArchiveAdapter_Observe_Call
- func (_c *CArchiveAdapter_Observe_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *CArchiveAdapter_Observe_Call
- func (_c *CArchiveAdapter_Observe_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *CArchiveAdapter_Observe_Call
- 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
- func (_m *CatalogAdapter) AssignIdsToNewMedias(owner string, medias []*backup.AnalysedMedia) (map[*backup.AnalysedMedia]string, error)
- func (_m *CatalogAdapter) EXPECT() *CatalogAdapter_Expecter
- func (_m *CatalogAdapter) GetAlbumsTimeline(owner string) (backup.TimelineAdapter, error)
- func (_m *CatalogAdapter) IndexMedias(owner string, requests []*backup.CatalogMediaRequest) error
- type CatalogAdapter_AssignIdsToNewMedias_Call
- func (_c *CatalogAdapter_AssignIdsToNewMedias_Call) Return(_a0 map[*backup.AnalysedMedia]string, _a1 error) *CatalogAdapter_AssignIdsToNewMedias_Call
- func (_c *CatalogAdapter_AssignIdsToNewMedias_Call) Run(run func(owner string, medias []*backup.AnalysedMedia)) *CatalogAdapter_AssignIdsToNewMedias_Call
- func (_c *CatalogAdapter_AssignIdsToNewMedias_Call) RunAndReturn(...) *CatalogAdapter_AssignIdsToNewMedias_Call
- type CatalogAdapter_Expecter
- func (_e *CatalogAdapter_Expecter) AssignIdsToNewMedias(owner interface{}, medias interface{}) *CatalogAdapter_AssignIdsToNewMedias_Call
- func (_e *CatalogAdapter_Expecter) GetAlbumsTimeline(owner interface{}) *CatalogAdapter_GetAlbumsTimeline_Call
- func (_e *CatalogAdapter_Expecter) IndexMedias(owner interface{}, requests interface{}) *CatalogAdapter_IndexMedias_Call
- type CatalogAdapter_GetAlbumsTimeline_Call
- func (_c *CatalogAdapter_GetAlbumsTimeline_Call) Return(_a0 backup.TimelineAdapter, _a1 error) *CatalogAdapter_GetAlbumsTimeline_Call
- func (_c *CatalogAdapter_GetAlbumsTimeline_Call) Run(run func(owner string)) *CatalogAdapter_GetAlbumsTimeline_Call
- func (_c *CatalogAdapter_GetAlbumsTimeline_Call) RunAndReturn(run func(string) (backup.TimelineAdapter, error)) *CatalogAdapter_GetAlbumsTimeline_Call
- 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 CatalogRules
- func (_m *CatalogRules) CanListMediasFromAlbum(owner string, folderName string) error
- func (_m *CatalogRules) CanManageAlbum(owner string, folderName string) error
- func (_m *CatalogRules) CanReadMedia(owner string, id string) error
- func (_m *CatalogRules) EXPECT() *CatalogRules_Expecter
- func (_m *CatalogRules) Owner() (string, error)
- func (_m *CatalogRules) SharedByUserGrid(owner string) (map[string]map[string]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(owner string, folderName string)) *CatalogRules_CanListMediasFromAlbum_Call
- func (_c *CatalogRules_CanListMediasFromAlbum_Call) RunAndReturn(run func(string, string) 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(owner string, folderName string)) *CatalogRules_CanManageAlbum_Call
- func (_c *CatalogRules_CanManageAlbum_Call) RunAndReturn(run func(string, string) 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 string, id string)) *CatalogRules_CanReadMedia_Call
- func (_c *CatalogRules_CanReadMedia_Call) RunAndReturn(run func(string, string) error) *CatalogRules_CanReadMedia_Call
- type CatalogRules_Expecter
- func (_e *CatalogRules_Expecter) CanListMediasFromAlbum(owner interface{}, folderName interface{}) *CatalogRules_CanListMediasFromAlbum_Call
- func (_e *CatalogRules_Expecter) CanManageAlbum(owner interface{}, folderName 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[string]aclcore.ScopeType, _a1 error) *CatalogRules_SharedByUserGrid_Call
- func (_c *CatalogRules_SharedByUserGrid_Call) Run(run func(owner string)) *CatalogRules_SharedByUserGrid_Call
- func (_c *CatalogRules_SharedByUserGrid_Call) RunAndReturn(run func(string) (map[string]map[string]aclcore.ScopeType, error)) *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 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.AWSFactory
- 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(run func(context.Context, catalog.Owner, []catalog.MediaSelector) (int, error)) *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(run func(context.Context, catalog.Owner, []catalog.MediaSelector) (int, error)) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
- type CountMediasBySelectorsPort_Expecter
- 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 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 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 catalog.Owner)) *FindAlbumsByOwnerFunc_Execute_Call
- func (_c *FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.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 catalog.Owner)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, catalog.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_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 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) ListOwnerScopes(owner string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) ListScopesByOwners(owners []string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) ListUserScopes(email string, 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) ListOwnerScopes(owner interface{}, types ...interface{}) *GrantRepository_ListOwnerScopes_Call
- func (_e *GrantRepository_Expecter) ListScopesByOwners(owners interface{}, types ...interface{}) *GrantRepository_ListScopesByOwners_Call
- func (_e *GrantRepository_Expecter) ListUserScopes(email interface{}, types ...interface{}) *GrantRepository_ListUserScopes_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_ListOwnerScopes_Call
- func (_c *GrantRepository_ListOwnerScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListOwnerScopes_Call
- func (_c *GrantRepository_ListOwnerScopes_Call) Run(run func(owner string, types ...aclcore.ScopeType)) *GrantRepository_ListOwnerScopes_Call
- func (_c *GrantRepository_ListOwnerScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListOwnerScopes_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(run func(owners []string, types ...aclcore.ScopeType)) *GrantRepository_ListScopesByOwners_Call
- func (_c *GrantRepository_ListScopesByOwners_Call) RunAndReturn(run func([]string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListScopesByOwners_Call
- type GrantRepository_ListUserScopes_Call
- func (_c *GrantRepository_ListUserScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListUserScopes_Call
- func (_c *GrantRepository_ListUserScopes_Call) Run(run func(email string, types ...aclcore.ScopeType)) *GrantRepository_ListUserScopes_Call
- func (_c *GrantRepository_ListUserScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListUserScopes_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 string)) *IAccessTokenGenerator_GenerateAccessToken_Call
- func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn(run func(string) (*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 string)) *IdentityDetailsStore_FindIdentity_Call
- func (_c *IdentityDetailsStore_FindIdentity_Call) RunAndReturn(run func(string) (*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 []string)) *IdentityQueriesIdentityRepository_FindIdentities_Call
- func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn(run func([]string) ([]*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(run func(owners []string, types ...aclcore.ScopeType)) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
- func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn(run func([]string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
- type IdentityRepository
- func (_m *IdentityRepository) EXPECT() *IdentityRepository_Expecter
- func (_m *IdentityRepository) FindIdentities(emails []string) ([]*aclcore.Identity, error)
- func (_m *IdentityRepository) FindIdentity(email string) (*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 []string)) *IdentityRepository_FindIdentities_Call
- func (_c *IdentityRepository_FindIdentities_Call) RunAndReturn(run func([]string) ([]*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 string)) *IdentityRepository_FindIdentity_Call
- func (_c *IdentityRepository_FindIdentity_Call) RunAndReturn(run func(string) (*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 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 Listener
- type Listener_Execute_Call
- type Listener_Expecter
- type MediaAlbumResolver
- type MediaAlbumResolver_Expecter
- type MediaAlbumResolver_FindAlbumOfMedia_Call
- func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) Return(_a0 string, _a1 error) *MediaAlbumResolver_FindAlbumOfMedia_Call
- func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) Run(run func(owner string, mediaId string)) *MediaAlbumResolver_FindAlbumOfMedia_Call
- func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) RunAndReturn(run func(string, string) (string, error)) *MediaAlbumResolver_FindAlbumOfMedia_Call
- type MoveMediaPort
- type MoveMediaPortFunc
- type MoveMediaPortFunc_Execute_Call
- func (_c *MoveMediaPortFunc_Execute_Call) Return(_a0 error) *MoveMediaPortFunc_Execute_Call
- func (_c *MoveMediaPortFunc_Execute_Call) Run(...) *MoveMediaPortFunc_Execute_Call
- func (_c *MoveMediaPortFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, []catalog.MediaId) error) *MoveMediaPortFunc_Execute_Call
- type MoveMediaPortFunc_Expecter
- type MoveMediaPort_Expecter
- type MoveMediaPort_MoveMedia_Call
- func (_c *MoveMediaPort_MoveMedia_Call) Return(_a0 error) *MoveMediaPort_MoveMedia_Call
- func (_c *MoveMediaPort_MoveMedia_Call) Run(...) *MoveMediaPort_MoveMedia_Call
- func (_c *MoveMediaPort_MoveMedia_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, []catalog.MediaId) error) *MoveMediaPort_MoveMedia_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 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 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) DeleteEmptyAlbum(ctx context.Context, id catalog.AlbumId) error
- func (_m *RepositoryAdapter) EXPECT() *RepositoryAdapter_Expecter
- func (_m *RepositoryAdapter) FindAlbums(ctx context.Context, ids ...catalog.AlbumId) ([]*catalog.Album, error)
- func (_m *RepositoryAdapter) FindAlbumsByOwner(ctx context.Context, owner catalog.Owner) ([]*catalog.Album, error)
- func (_m *RepositoryAdapter) FindExistingSignatures(ctx context.Context, owner catalog.Owner, signatures []*catalog.MediaSignature) ([]*catalog.MediaSignature, error)
- func (_m *RepositoryAdapter) FindMediaCurrentAlbum(ctx context.Context, owner catalog.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)
- func (_m *RepositoryAdapter) FindMediaIds(ctx context.Context, request *catalog.FindMediaRequest) ([]catalog.MediaId, error)
- func (_m *RepositoryAdapter) FindMedias(ctx context.Context, request *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)
- func (_m *RepositoryAdapter) InsertAlbum(ctx context.Context, album catalog.Album) error
- func (_m *RepositoryAdapter) InsertMedias(ctx context.Context, owner catalog.Owner, media []catalog.CreateMediaRequest) error
- func (_m *RepositoryAdapter) TransferMedias(ctx context.Context, owner catalog.Owner, mediaIds []catalog.MediaId, ...) error
- func (_m *RepositoryAdapter) TransferMediasFromRecords(ctx context.Context, records catalog.MediaTransferRecords) (catalog.TransferredMedias, error)
- func (_m *RepositoryAdapter) UpdateAlbum(ctx context.Context, album catalog.Album) error
- type RepositoryAdapter_DeleteEmptyAlbum_Call
- func (_c *RepositoryAdapter_DeleteEmptyAlbum_Call) Return(_a0 error) *RepositoryAdapter_DeleteEmptyAlbum_Call
- func (_c *RepositoryAdapter_DeleteEmptyAlbum_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *RepositoryAdapter_DeleteEmptyAlbum_Call
- func (_c *RepositoryAdapter_DeleteEmptyAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *RepositoryAdapter_DeleteEmptyAlbum_Call
- type RepositoryAdapter_Expecter
- func (_e *RepositoryAdapter_Expecter) DeleteEmptyAlbum(ctx interface{}, id interface{}) *RepositoryAdapter_DeleteEmptyAlbum_Call
- func (_e *RepositoryAdapter_Expecter) FindAlbums(ctx interface{}, ids ...interface{}) *RepositoryAdapter_FindAlbums_Call
- func (_e *RepositoryAdapter_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *RepositoryAdapter_FindAlbumsByOwner_Call
- func (_e *RepositoryAdapter_Expecter) FindExistingSignatures(ctx interface{}, owner interface{}, signatures interface{}) *RepositoryAdapter_FindExistingSignatures_Call
- func (_e *RepositoryAdapter_Expecter) FindMediaCurrentAlbum(ctx interface{}, owner interface{}, mediaId interface{}) *RepositoryAdapter_FindMediaCurrentAlbum_Call
- func (_e *RepositoryAdapter_Expecter) FindMediaIds(ctx interface{}, request interface{}) *RepositoryAdapter_FindMediaIds_Call
- func (_e *RepositoryAdapter_Expecter) FindMedias(ctx interface{}, request interface{}) *RepositoryAdapter_FindMedias_Call
- func (_e *RepositoryAdapter_Expecter) InsertAlbum(ctx interface{}, album interface{}) *RepositoryAdapter_InsertAlbum_Call
- func (_e *RepositoryAdapter_Expecter) InsertMedias(ctx interface{}, owner interface{}, media interface{}) *RepositoryAdapter_InsertMedias_Call
- func (_e *RepositoryAdapter_Expecter) TransferMedias(ctx interface{}, owner interface{}, mediaIds interface{}, ...) *RepositoryAdapter_TransferMedias_Call
- func (_e *RepositoryAdapter_Expecter) TransferMediasFromRecords(ctx interface{}, records interface{}) *RepositoryAdapter_TransferMediasFromRecords_Call
- func (_e *RepositoryAdapter_Expecter) UpdateAlbum(ctx interface{}, album interface{}) *RepositoryAdapter_UpdateAlbum_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 catalog.Owner)) *RepositoryAdapter_FindAlbumsByOwner_Call
- func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, catalog.Owner) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumsByOwner_Call
- type RepositoryAdapter_FindAlbums_Call
- func (_c *RepositoryAdapter_FindAlbums_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbums_Call
- func (_c *RepositoryAdapter_FindAlbums_Call) Run(run func(ctx context.Context, ids ...catalog.AlbumId)) *RepositoryAdapter_FindAlbums_Call
- func (_c *RepositoryAdapter_FindAlbums_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbums_Call
- type RepositoryAdapter_FindExistingSignatures_Call
- func (_c *RepositoryAdapter_FindExistingSignatures_Call) Return(_a0 []*catalog.MediaSignature, _a1 error) *RepositoryAdapter_FindExistingSignatures_Call
- func (_c *RepositoryAdapter_FindExistingSignatures_Call) Run(...) *RepositoryAdapter_FindExistingSignatures_Call
- func (_c *RepositoryAdapter_FindExistingSignatures_Call) RunAndReturn(...) *RepositoryAdapter_FindExistingSignatures_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 catalog.Owner, mediaId catalog.MediaId)) *RepositoryAdapter_FindMediaCurrentAlbum_Call
- func (_c *RepositoryAdapter_FindMediaCurrentAlbum_Call) RunAndReturn(...) *RepositoryAdapter_FindMediaCurrentAlbum_Call
- type RepositoryAdapter_FindMediaIds_Call
- func (_c *RepositoryAdapter_FindMediaIds_Call) Return(ids []catalog.MediaId, err error) *RepositoryAdapter_FindMediaIds_Call
- func (_c *RepositoryAdapter_FindMediaIds_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *RepositoryAdapter_FindMediaIds_Call
- func (_c *RepositoryAdapter_FindMediaIds_Call) RunAndReturn(...) *RepositoryAdapter_FindMediaIds_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 RepositoryAdapter_InsertAlbum_Call
- func (_c *RepositoryAdapter_InsertAlbum_Call) Return(_a0 error) *RepositoryAdapter_InsertAlbum_Call
- func (_c *RepositoryAdapter_InsertAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *RepositoryAdapter_InsertAlbum_Call
- func (_c *RepositoryAdapter_InsertAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *RepositoryAdapter_InsertAlbum_Call
- type RepositoryAdapter_InsertMedias_Call
- func (_c *RepositoryAdapter_InsertMedias_Call) Return(_a0 error) *RepositoryAdapter_InsertMedias_Call
- func (_c *RepositoryAdapter_InsertMedias_Call) Run(...) *RepositoryAdapter_InsertMedias_Call
- func (_c *RepositoryAdapter_InsertMedias_Call) RunAndReturn(run func(context.Context, catalog.Owner, []catalog.CreateMediaRequest) error) *RepositoryAdapter_InsertMedias_Call
- type RepositoryAdapter_TransferMediasFromRecords_Call
- func (_c *RepositoryAdapter_TransferMediasFromRecords_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *RepositoryAdapter_TransferMediasFromRecords_Call
- func (_c *RepositoryAdapter_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *RepositoryAdapter_TransferMediasFromRecords_Call
- func (_c *RepositoryAdapter_TransferMediasFromRecords_Call) RunAndReturn(...) *RepositoryAdapter_TransferMediasFromRecords_Call
- type RepositoryAdapter_TransferMedias_Call
- func (_c *RepositoryAdapter_TransferMedias_Call) Return(_a0 error) *RepositoryAdapter_TransferMedias_Call
- func (_c *RepositoryAdapter_TransferMedias_Call) Run(...) *RepositoryAdapter_TransferMedias_Call
- func (_c *RepositoryAdapter_TransferMedias_Call) RunAndReturn(...) *RepositoryAdapter_TransferMedias_Call
- type RepositoryAdapter_UpdateAlbum_Call
- func (_c *RepositoryAdapter_UpdateAlbum_Call) Return(_a0 error) *RepositoryAdapter_UpdateAlbum_Call
- func (_c *RepositoryAdapter_UpdateAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *RepositoryAdapter_UpdateAlbum_Call
- func (_c *RepositoryAdapter_UpdateAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *RepositoryAdapter_UpdateAlbum_Call
- type RepositoryContract
- func (_m *RepositoryContract) DeleteEmptyAlbum(ctx context.Context, id catalog.AlbumId) error
- func (_m *RepositoryContract) EXPECT() *RepositoryContract_Expecter
- func (_m *RepositoryContract) FindAlbums(ctx context.Context, ids ...catalog.AlbumId) ([]*catalog.Album, error)
- func (_m *RepositoryContract) FindAlbumsByOwner(ctx context.Context, owner catalog.Owner) ([]*catalog.Album, error)
- func (_m *RepositoryContract) FindExistingSignatures(ctx context.Context, owner catalog.Owner, signatures []*catalog.MediaSignature) ([]*catalog.MediaSignature, error)
- func (_m *RepositoryContract) FindMediaCurrentAlbum(ctx context.Context, owner catalog.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)
- func (_m *RepositoryContract) FindMediaIds(ctx context.Context, request *catalog.FindMediaRequest) ([]catalog.MediaId, error)
- func (_m *RepositoryContract) FindMedias(ctx context.Context, request *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)
- func (_m *RepositoryContract) InsertAlbum(ctx context.Context, album catalog.Album) error
- func (_m *RepositoryContract) InsertMedias(ctx context.Context, owner catalog.Owner, media []catalog.CreateMediaRequest) error
- func (_m *RepositoryContract) TransferMedias(ctx context.Context, owner catalog.Owner, mediaIds []catalog.MediaId, ...) error
- func (_m *RepositoryContract) TransferMediasFromRecords(ctx context.Context, records catalog.MediaTransferRecords) (catalog.TransferredMedias, error)
- func (_m *RepositoryContract) UpdateAlbum(ctx context.Context, album catalog.Album) error
- type RepositoryContract_DeleteEmptyAlbum_Call
- func (_c *RepositoryContract_DeleteEmptyAlbum_Call) Return(_a0 error) *RepositoryContract_DeleteEmptyAlbum_Call
- func (_c *RepositoryContract_DeleteEmptyAlbum_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *RepositoryContract_DeleteEmptyAlbum_Call
- func (_c *RepositoryContract_DeleteEmptyAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *RepositoryContract_DeleteEmptyAlbum_Call
- type RepositoryContract_Expecter
- func (_e *RepositoryContract_Expecter) DeleteEmptyAlbum(ctx interface{}, id interface{}) *RepositoryContract_DeleteEmptyAlbum_Call
- func (_e *RepositoryContract_Expecter) FindAlbums(ctx interface{}, ids ...interface{}) *RepositoryContract_FindAlbums_Call
- func (_e *RepositoryContract_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *RepositoryContract_FindAlbumsByOwner_Call
- func (_e *RepositoryContract_Expecter) FindExistingSignatures(ctx interface{}, owner interface{}, signatures interface{}) *RepositoryContract_FindExistingSignatures_Call
- func (_e *RepositoryContract_Expecter) FindMediaCurrentAlbum(ctx interface{}, owner interface{}, mediaId interface{}) *RepositoryContract_FindMediaCurrentAlbum_Call
- func (_e *RepositoryContract_Expecter) FindMediaIds(ctx interface{}, request interface{}) *RepositoryContract_FindMediaIds_Call
- func (_e *RepositoryContract_Expecter) FindMedias(ctx interface{}, request interface{}) *RepositoryContract_FindMedias_Call
- func (_e *RepositoryContract_Expecter) InsertAlbum(ctx interface{}, album interface{}) *RepositoryContract_InsertAlbum_Call
- func (_e *RepositoryContract_Expecter) InsertMedias(ctx interface{}, owner interface{}, media interface{}) *RepositoryContract_InsertMedias_Call
- func (_e *RepositoryContract_Expecter) TransferMedias(ctx interface{}, owner interface{}, mediaIds interface{}, ...) *RepositoryContract_TransferMedias_Call
- func (_e *RepositoryContract_Expecter) TransferMediasFromRecords(ctx interface{}, records interface{}) *RepositoryContract_TransferMediasFromRecords_Call
- func (_e *RepositoryContract_Expecter) UpdateAlbum(ctx interface{}, album interface{}) *RepositoryContract_UpdateAlbum_Call
- type RepositoryContract_FindAlbumsByOwner_Call
- func (_c *RepositoryContract_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryContract_FindAlbumsByOwner_Call
- func (_c *RepositoryContract_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner catalog.Owner)) *RepositoryContract_FindAlbumsByOwner_Call
- func (_c *RepositoryContract_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, catalog.Owner) ([]*catalog.Album, error)) *RepositoryContract_FindAlbumsByOwner_Call
- type RepositoryContract_FindAlbums_Call
- func (_c *RepositoryContract_FindAlbums_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryContract_FindAlbums_Call
- func (_c *RepositoryContract_FindAlbums_Call) Run(run func(ctx context.Context, ids ...catalog.AlbumId)) *RepositoryContract_FindAlbums_Call
- func (_c *RepositoryContract_FindAlbums_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) ([]*catalog.Album, error)) *RepositoryContract_FindAlbums_Call
- type RepositoryContract_FindExistingSignatures_Call
- func (_c *RepositoryContract_FindExistingSignatures_Call) Return(_a0 []*catalog.MediaSignature, _a1 error) *RepositoryContract_FindExistingSignatures_Call
- func (_c *RepositoryContract_FindExistingSignatures_Call) Run(...) *RepositoryContract_FindExistingSignatures_Call
- func (_c *RepositoryContract_FindExistingSignatures_Call) RunAndReturn(...) *RepositoryContract_FindExistingSignatures_Call
- type RepositoryContract_FindMediaCurrentAlbum_Call
- func (_c *RepositoryContract_FindMediaCurrentAlbum_Call) Return(id *catalog.AlbumId, err error) *RepositoryContract_FindMediaCurrentAlbum_Call
- func (_c *RepositoryContract_FindMediaCurrentAlbum_Call) Run(run func(ctx context.Context, owner catalog.Owner, mediaId catalog.MediaId)) *RepositoryContract_FindMediaCurrentAlbum_Call
- func (_c *RepositoryContract_FindMediaCurrentAlbum_Call) RunAndReturn(...) *RepositoryContract_FindMediaCurrentAlbum_Call
- type RepositoryContract_FindMediaIds_Call
- func (_c *RepositoryContract_FindMediaIds_Call) Return(ids []catalog.MediaId, err error) *RepositoryContract_FindMediaIds_Call
- func (_c *RepositoryContract_FindMediaIds_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *RepositoryContract_FindMediaIds_Call
- func (_c *RepositoryContract_FindMediaIds_Call) RunAndReturn(...) *RepositoryContract_FindMediaIds_Call
- type RepositoryContract_FindMedias_Call
- func (_c *RepositoryContract_FindMedias_Call) Return(medias []*catalog.MediaMeta, err error) *RepositoryContract_FindMedias_Call
- func (_c *RepositoryContract_FindMedias_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *RepositoryContract_FindMedias_Call
- func (_c *RepositoryContract_FindMedias_Call) RunAndReturn(...) *RepositoryContract_FindMedias_Call
- type RepositoryContract_InsertAlbum_Call
- func (_c *RepositoryContract_InsertAlbum_Call) Return(_a0 error) *RepositoryContract_InsertAlbum_Call
- func (_c *RepositoryContract_InsertAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *RepositoryContract_InsertAlbum_Call
- func (_c *RepositoryContract_InsertAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *RepositoryContract_InsertAlbum_Call
- type RepositoryContract_InsertMedias_Call
- func (_c *RepositoryContract_InsertMedias_Call) Return(_a0 error) *RepositoryContract_InsertMedias_Call
- func (_c *RepositoryContract_InsertMedias_Call) Run(...) *RepositoryContract_InsertMedias_Call
- func (_c *RepositoryContract_InsertMedias_Call) RunAndReturn(run func(context.Context, catalog.Owner, []catalog.CreateMediaRequest) error) *RepositoryContract_InsertMedias_Call
- type RepositoryContract_TransferMediasFromRecords_Call
- func (_c *RepositoryContract_TransferMediasFromRecords_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *RepositoryContract_TransferMediasFromRecords_Call
- func (_c *RepositoryContract_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *RepositoryContract_TransferMediasFromRecords_Call
- func (_c *RepositoryContract_TransferMediasFromRecords_Call) RunAndReturn(...) *RepositoryContract_TransferMediasFromRecords_Call
- type RepositoryContract_TransferMedias_Call
- func (_c *RepositoryContract_TransferMedias_Call) Return(_a0 error) *RepositoryContract_TransferMedias_Call
- func (_c *RepositoryContract_TransferMedias_Call) Run(...) *RepositoryContract_TransferMedias_Call
- func (_c *RepositoryContract_TransferMedias_Call) RunAndReturn(...) *RepositoryContract_TransferMedias_Call
- type RepositoryContract_UpdateAlbum_Call
- func (_c *RepositoryContract_UpdateAlbum_Call) Return(_a0 error) *RepositoryContract_UpdateAlbum_Call
- func (_c *RepositoryContract_UpdateAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *RepositoryContract_UpdateAlbum_Call
- func (_c *RepositoryContract_UpdateAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *RepositoryContract_UpdateAlbum_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_ListOwnerScopes_Call
- func (_c *ReverseScopesReader_ListOwnerScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ReverseScopesReader_ListOwnerScopes_Call
- func (_c *ReverseScopesReader_ListOwnerScopes_Call) Run(run func(owner string, types ...aclcore.ScopeType)) *ReverseScopesReader_ListOwnerScopes_Call
- func (_c *ReverseScopesReader_ListOwnerScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ReverseScopesReader_ListOwnerScopes_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 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 ScopeRepository
- func (_m *ScopeRepository) EXPECT() *ScopeRepository_Expecter
- func (_m *ScopeRepository) FindScopesById(ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)
- func (_m *ScopeRepository) ListOwnerScopes(owner string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *ScopeRepository) ListUserScopes(email string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- type ScopeRepository_Expecter
- func (_e *ScopeRepository_Expecter) FindScopesById(ids ...interface{}) *ScopeRepository_FindScopesById_Call
- func (_e *ScopeRepository_Expecter) ListOwnerScopes(owner interface{}, types ...interface{}) *ScopeRepository_ListOwnerScopes_Call
- func (_e *ScopeRepository_Expecter) ListUserScopes(email interface{}, types ...interface{}) *ScopeRepository_ListUserScopes_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_ListOwnerScopes_Call
- func (_c *ScopeRepository_ListOwnerScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_ListOwnerScopes_Call
- func (_c *ScopeRepository_ListOwnerScopes_Call) Run(run func(owner string, types ...aclcore.ScopeType)) *ScopeRepository_ListOwnerScopes_Call
- func (_c *ScopeRepository_ListOwnerScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopeRepository_ListOwnerScopes_Call
- type ScopeRepository_ListUserScopes_Call
- func (_c *ScopeRepository_ListUserScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_ListUserScopes_Call
- func (_c *ScopeRepository_ListUserScopes_Call) Run(run func(email string, types ...aclcore.ScopeType)) *ScopeRepository_ListUserScopes_Call
- func (_c *ScopeRepository_ListUserScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopeRepository_ListUserScopes_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_ListUserScopes_Call
- func (_c *ScopesReader_ListUserScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_ListUserScopes_Call
- func (_c *ScopesReader_ListUserScopes_Call) Run(run func(email string, types ...aclcore.ScopeType)) *ScopesReader_ListUserScopes_Call
- func (_c *ScopesReader_ListUserScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopesReader_ListUserScopes_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 ShareAlbumCatalogPort
- type ShareAlbumCatalogPort_Expecter
- type ShareAlbumCatalogPort_FindAlbum_Call
- func (_c *ShareAlbumCatalogPort_FindAlbum_Call) Return(_a0 *catalog.Album, _a1 error) *ShareAlbumCatalogPort_FindAlbum_Call
- func (_c *ShareAlbumCatalogPort_FindAlbum_Call) Run(run func(owner string, folderName string)) *ShareAlbumCatalogPort_FindAlbum_Call
- func (_c *ShareAlbumCatalogPort_FindAlbum_Call) RunAndReturn(run func(string, string) (*catalog.Album, error)) *ShareAlbumCatalogPort_FindAlbum_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 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 TimelineMutationObserver_Expecter
- type TimelineMutationObserver_Observe_Call
- func (_c *TimelineMutationObserver_Observe_Call) Return(_a0 error) *TimelineMutationObserver_Observe_Call
- func (_c *TimelineMutationObserver_Observe_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserver_Observe_Call
- func (_c *TimelineMutationObserver_Observe_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserver_Observe_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 TransferMediasPort
- type TransferMediasPort_Expecter
- type TransferMediasPort_TransferMediasFromRecords_Call
- func (_c *TransferMediasPort_TransferMediasFromRecords_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *TransferMediasPort_TransferMediasFromRecords_Call
- func (_c *TransferMediasPort_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasPort_TransferMediasFromRecords_Call
- func (_c *TransferMediasPort_TransferMediasFromRecords_Call) RunAndReturn(...) *TransferMediasPort_TransferMediasFromRecords_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
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 string) ([]*catalog.Album, error)
FindAllAlbums provides a mock function with given fields: owner
func (*ACLViewCatalogAdapter) ListMedias ¶
func (_m *ACLViewCatalogAdapter) ListMedias(owner string, folderName string, request catalog.PageRequest) (*catalog.MediaPage, error)
ListMedias provides a mock function with given fields: owner, folderName, 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 string
func (*ACLViewCatalogAdapter_Expecter) ListMedias ¶ added in v1.5.41
func (_e *ACLViewCatalogAdapter_Expecter) ListMedias(owner interface{}, folderName interface{}, request interface{}) *ACLViewCatalogAdapter_ListMedias_Call
ListMedias is a helper method to define mock.On call
- owner string
- folderName string
- 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 string)) *ACLViewCatalogAdapter_FindAllAlbums_Call
func (*ACLViewCatalogAdapter_FindAllAlbums_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_FindAllAlbums_Call) RunAndReturn(run func(string) ([]*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(owner string, folderName string, request catalog.PageRequest)) *ACLViewCatalogAdapter_ListMedias_Call
func (*ACLViewCatalogAdapter_ListMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ACLViewCatalogAdapter_ListMedias_Call) RunAndReturn(run func(string, string, 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 AlbumCanBeDeletedObserver ¶ added in v1.5.41
AlbumCanBeDeletedObserver is an autogenerated mock type for the AlbumCanBeDeletedObserver type
func NewAlbumCanBeDeletedObserver ¶ added in v1.5.41
func NewAlbumCanBeDeletedObserver(t interface { mock.TestingT Cleanup(func()) }) *AlbumCanBeDeletedObserver
NewAlbumCanBeDeletedObserver creates a new instance of AlbumCanBeDeletedObserver. 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 (*AlbumCanBeDeletedObserver) EXPECT ¶ added in v1.5.41
func (_m *AlbumCanBeDeletedObserver) EXPECT() *AlbumCanBeDeletedObserver_Expecter
func (*AlbumCanBeDeletedObserver) Observe ¶ added in v1.5.41
func (_m *AlbumCanBeDeletedObserver) Observe(ctx context.Context, deletedAlbum catalog.AlbumId, transfers catalog.MediaTransferRecords) error
Observe provides a mock function with given fields: ctx, deletedAlbum, transfers
type AlbumCanBeDeletedObserver_Expecter ¶ added in v1.5.41
type AlbumCanBeDeletedObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumCanBeDeletedObserver_Expecter) Observe ¶ added in v1.5.41
func (_e *AlbumCanBeDeletedObserver_Expecter) Observe(ctx interface{}, deletedAlbum interface{}, transfers interface{}) *AlbumCanBeDeletedObserver_Observe_Call
Observe is a helper method to define mock.On call
- ctx context.Context
- deletedAlbum catalog.AlbumId
- transfers catalog.MediaTransferRecords
type AlbumCanBeDeletedObserver_Observe_Call ¶ added in v1.5.41
AlbumCanBeDeletedObserver_Observe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Observe'
func (*AlbumCanBeDeletedObserver_Observe_Call) Return ¶ added in v1.5.41
func (_c *AlbumCanBeDeletedObserver_Observe_Call) Return(_a0 error) *AlbumCanBeDeletedObserver_Observe_Call
func (*AlbumCanBeDeletedObserver_Observe_Call) Run ¶ added in v1.5.41
func (_c *AlbumCanBeDeletedObserver_Observe_Call) Run(run func(ctx context.Context, deletedAlbum catalog.AlbumId, transfers catalog.MediaTransferRecords)) *AlbumCanBeDeletedObserver_Observe_Call
func (*AlbumCanBeDeletedObserver_Observe_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AlbumCanBeDeletedObserver_Observe_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.MediaTransferRecords) error) *AlbumCanBeDeletedObserver_Observe_Call
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.RunnerAnalyser) backup.RunnerAnalyser
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.RunnerAnalyser) *AnalyserDecorator_Decorate_Call
func (*AnalyserDecorator_Decorate_Call) Run ¶ added in v1.5.41
func (_c *AnalyserDecorator_Decorate_Call) Run(run func(analyseFunc backup.RunnerAnalyser)) *AnalyserDecorator_Decorate_Call
func (*AnalyserDecorator_Decorate_Call) RunAndReturn ¶ added in v1.5.41
func (_c *AnalyserDecorator_Decorate_Call) RunAndReturn(run func(backup.RunnerAnalyser) backup.RunnerAnalyser) *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.RunnerAnalyser
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 CArchiveAdapter ¶
CArchiveAdapter is an autogenerated mock type for the CArchiveAdapter type
func NewCArchiveAdapter ¶
func NewCArchiveAdapter(t interface { mock.TestingT Cleanup(func()) }) *CArchiveAdapter
NewCArchiveAdapter creates a new instance of CArchiveAdapter. 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 (*CArchiveAdapter) EXPECT ¶ added in v1.5.41
func (_m *CArchiveAdapter) EXPECT() *CArchiveAdapter_Expecter
func (*CArchiveAdapter) MoveMedias ¶
func (_m *CArchiveAdapter) MoveMedias(owner catalog.Owner, ids []catalog.MediaId, name catalog.FolderName) error
MoveMedias provides a mock function with given fields: owner, ids, name
func (*CArchiveAdapter) Observe ¶ added in v1.5.33
func (_m *CArchiveAdapter) Observe(ctx context.Context, transfers catalog.TransferredMedias) error
Observe provides a mock function with given fields: ctx, transfers
type CArchiveAdapter_Expecter ¶ added in v1.5.41
type CArchiveAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*CArchiveAdapter_Expecter) MoveMedias ¶ added in v1.5.41
func (_e *CArchiveAdapter_Expecter) MoveMedias(owner interface{}, ids interface{}, name interface{}) *CArchiveAdapter_MoveMedias_Call
MoveMedias is a helper method to define mock.On call
- owner catalog.Owner
- ids []catalog.MediaId
- name catalog.FolderName
func (*CArchiveAdapter_Expecter) Observe ¶ added in v1.5.41
func (_e *CArchiveAdapter_Expecter) Observe(ctx interface{}, transfers interface{}) *CArchiveAdapter_Observe_Call
Observe is a helper method to define mock.On call
- ctx context.Context
- transfers catalog.TransferredMedias
type CArchiveAdapter_MoveMedias_Call ¶ added in v1.5.41
CArchiveAdapter_MoveMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MoveMedias'
func (*CArchiveAdapter_MoveMedias_Call) Return ¶ added in v1.5.41
func (_c *CArchiveAdapter_MoveMedias_Call) Return(_a0 error) *CArchiveAdapter_MoveMedias_Call
func (*CArchiveAdapter_MoveMedias_Call) Run ¶ added in v1.5.41
func (_c *CArchiveAdapter_MoveMedias_Call) Run(run func(owner catalog.Owner, ids []catalog.MediaId, name catalog.FolderName)) *CArchiveAdapter_MoveMedias_Call
func (*CArchiveAdapter_MoveMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CArchiveAdapter_MoveMedias_Call) RunAndReturn(run func(catalog.Owner, []catalog.MediaId, catalog.FolderName) error) *CArchiveAdapter_MoveMedias_Call
type CArchiveAdapter_Observe_Call ¶ added in v1.5.41
CArchiveAdapter_Observe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Observe'
func (*CArchiveAdapter_Observe_Call) Return ¶ added in v1.5.41
func (_c *CArchiveAdapter_Observe_Call) Return(_a0 error) *CArchiveAdapter_Observe_Call
func (*CArchiveAdapter_Observe_Call) Run ¶ added in v1.5.41
func (_c *CArchiveAdapter_Observe_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *CArchiveAdapter_Observe_Call
func (*CArchiveAdapter_Observe_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CArchiveAdapter_Observe_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *CArchiveAdapter_Observe_Call
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) AssignIdsToNewMedias ¶
func (_m *CatalogAdapter) AssignIdsToNewMedias(owner string, medias []*backup.AnalysedMedia) (map[*backup.AnalysedMedia]string, error)
AssignIdsToNewMedias provides a mock function with given fields: owner, medias
func (*CatalogAdapter) EXPECT ¶ added in v1.5.41
func (_m *CatalogAdapter) EXPECT() *CatalogAdapter_Expecter
func (*CatalogAdapter) GetAlbumsTimeline ¶
func (_m *CatalogAdapter) GetAlbumsTimeline(owner string) (backup.TimelineAdapter, error)
GetAlbumsTimeline provides a mock function with given fields: owner
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_AssignIdsToNewMedias_Call ¶ added in v1.5.41
CatalogAdapter_AssignIdsToNewMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AssignIdsToNewMedias'
func (*CatalogAdapter_AssignIdsToNewMedias_Call) Return ¶ added in v1.5.41
func (_c *CatalogAdapter_AssignIdsToNewMedias_Call) Return(_a0 map[*backup.AnalysedMedia]string, _a1 error) *CatalogAdapter_AssignIdsToNewMedias_Call
func (*CatalogAdapter_AssignIdsToNewMedias_Call) Run ¶ added in v1.5.41
func (_c *CatalogAdapter_AssignIdsToNewMedias_Call) Run(run func(owner string, medias []*backup.AnalysedMedia)) *CatalogAdapter_AssignIdsToNewMedias_Call
func (*CatalogAdapter_AssignIdsToNewMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogAdapter_AssignIdsToNewMedias_Call) RunAndReturn(run func(string, []*backup.AnalysedMedia) (map[*backup.AnalysedMedia]string, error)) *CatalogAdapter_AssignIdsToNewMedias_Call
type CatalogAdapter_Expecter ¶ added in v1.5.41
type CatalogAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogAdapter_Expecter) AssignIdsToNewMedias ¶ added in v1.5.41
func (_e *CatalogAdapter_Expecter) AssignIdsToNewMedias(owner interface{}, medias interface{}) *CatalogAdapter_AssignIdsToNewMedias_Call
AssignIdsToNewMedias is a helper method to define mock.On call
- owner string
- medias []*backup.AnalysedMedia
func (*CatalogAdapter_Expecter) GetAlbumsTimeline ¶ added in v1.5.41
func (_e *CatalogAdapter_Expecter) GetAlbumsTimeline(owner interface{}) *CatalogAdapter_GetAlbumsTimeline_Call
GetAlbumsTimeline is a helper method to define mock.On call
- owner string
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_GetAlbumsTimeline_Call ¶ added in v1.5.41
CatalogAdapter_GetAlbumsTimeline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlbumsTimeline'
func (*CatalogAdapter_GetAlbumsTimeline_Call) Return ¶ added in v1.5.41
func (_c *CatalogAdapter_GetAlbumsTimeline_Call) Return(_a0 backup.TimelineAdapter, _a1 error) *CatalogAdapter_GetAlbumsTimeline_Call
func (*CatalogAdapter_GetAlbumsTimeline_Call) Run ¶ added in v1.5.41
func (_c *CatalogAdapter_GetAlbumsTimeline_Call) Run(run func(owner string)) *CatalogAdapter_GetAlbumsTimeline_Call
func (*CatalogAdapter_GetAlbumsTimeline_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogAdapter_GetAlbumsTimeline_Call) RunAndReturn(run func(string) (backup.TimelineAdapter, error)) *CatalogAdapter_GetAlbumsTimeline_Call
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 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(owner string, folderName string) error
CanListMediasFromAlbum provides a mock function with given fields: owner, folderName
func (*CatalogRules) CanManageAlbum ¶
func (_m *CatalogRules) CanManageAlbum(owner string, folderName string) error
CanManageAlbum provides a mock function with given fields: owner, folderName
func (*CatalogRules) CanReadMedia ¶
func (_m *CatalogRules) CanReadMedia(owner string, id string) 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() (string, error)
Owner provides a mock function with given fields:
func (*CatalogRules) SharedByUserGrid ¶
func (_m *CatalogRules) SharedByUserGrid(owner string) (map[string]map[string]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(owner string, folderName string)) *CatalogRules_CanListMediasFromAlbum_Call
func (*CatalogRules_CanListMediasFromAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_CanListMediasFromAlbum_Call) RunAndReturn(run func(string, string) 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 'CanManageAlbum'
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(owner string, folderName string)) *CatalogRules_CanManageAlbum_Call
func (*CatalogRules_CanManageAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_CanManageAlbum_Call) RunAndReturn(run func(string, string) 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 string, id string)) *CatalogRules_CanReadMedia_Call
func (*CatalogRules_CanReadMedia_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_CanReadMedia_Call) RunAndReturn(run func(string, string) 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(owner interface{}, folderName interface{}) *CatalogRules_CanListMediasFromAlbum_Call
CanListMediasFromAlbum is a helper method to define mock.On call
- owner string
- folderName string
func (*CatalogRules_Expecter) CanManageAlbum ¶ added in v1.5.41
func (_e *CatalogRules_Expecter) CanManageAlbum(owner interface{}, folderName interface{}) *CatalogRules_CanManageAlbum_Call
CanManageAlbum is a helper method to define mock.On call
- owner string
- folderName string
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 string
- id string
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 string
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 string, _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() (string, 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[string]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 string)) *CatalogRules_SharedByUserGrid_Call
func (*CatalogRules_SharedByUserGrid_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CatalogRules_SharedByUserGrid_Call) RunAndReturn(run func(string) (map[string]map[string]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 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 'Close'
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.AWSFactory
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.AWSFactory) *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.AWSFactory) *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
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 catalog.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, catalog.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 catalog.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 catalog.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 catalog.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, catalog.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 catalog.Owner
- selectors []catalog.MediaSelector
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 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 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
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 catalog.Owner)) *FindAlbumsByOwnerFunc_Execute_Call
func (*FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.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 catalog.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 catalog.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 catalog.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 catalog.Owner)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
func (*FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, catalog.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_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 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) ListOwnerScopes ¶
func (_m *GrantRepository) ListOwnerScopes(owner string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListOwnerScopes provides a mock function with given fields: owner, types
func (*GrantRepository) ListScopesByOwners ¶ added in v1.5.0
func (_m *GrantRepository) ListScopesByOwners(owners []string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwners provides a mock function with given fields: owners, types
func (*GrantRepository) ListUserScopes ¶
func (_m *GrantRepository) ListUserScopes(email string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListUserScopes provides a mock function with given fields: 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) ListOwnerScopes ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) ListOwnerScopes(owner interface{}, types ...interface{}) *GrantRepository_ListOwnerScopes_Call
ListOwnerScopes is a helper method to define mock.On call
- owner string
- types ...aclcore.ScopeType
func (*GrantRepository_Expecter) ListScopesByOwners ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) ListScopesByOwners(owners interface{}, types ...interface{}) *GrantRepository_ListScopesByOwners_Call
ListScopesByOwners is a helper method to define mock.On call
- owners []string
- types ...aclcore.ScopeType
func (*GrantRepository_Expecter) ListUserScopes ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) ListUserScopes(email interface{}, types ...interface{}) *GrantRepository_ListUserScopes_Call
ListUserScopes is a helper method to define mock.On call
- email string
- 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_ListOwnerScopes_Call ¶ added in v1.5.41
GrantRepository_ListOwnerScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOwnerScopes'
func (*GrantRepository_ListOwnerScopes_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_ListOwnerScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListOwnerScopes_Call
func (*GrantRepository_ListOwnerScopes_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_ListOwnerScopes_Call) Run(run func(owner string, types ...aclcore.ScopeType)) *GrantRepository_ListOwnerScopes_Call
func (*GrantRepository_ListOwnerScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_ListOwnerScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListOwnerScopes_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(owners []string, types ...aclcore.ScopeType)) *GrantRepository_ListScopesByOwners_Call
func (*GrantRepository_ListScopesByOwners_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_ListScopesByOwners_Call) RunAndReturn(run func([]string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListScopesByOwners_Call
type GrantRepository_ListUserScopes_Call ¶ added in v1.5.41
GrantRepository_ListUserScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUserScopes'
func (*GrantRepository_ListUserScopes_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_ListUserScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListUserScopes_Call
func (*GrantRepository_ListUserScopes_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_ListUserScopes_Call) Run(run func(email string, types ...aclcore.ScopeType)) *GrantRepository_ListUserScopes_Call
func (*GrantRepository_ListUserScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_ListUserScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListUserScopes_Call
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 string) (*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 string
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 string)) *IAccessTokenGenerator_GenerateAccessToken_Call
func (*IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn(run func(string) (*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 ¶
func (_m *IdentityDetailsStore) FindIdentity(email string) (*aclcore.Identity, error)
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 string
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 string)) *IdentityDetailsStore_FindIdentity_Call
func (*IdentityDetailsStore_FindIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityDetailsStore_FindIdentity_Call) RunAndReturn(run func(string) (*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 []string) ([]*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 []string
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 []string)) *IdentityQueriesIdentityRepository_FindIdentities_Call
func (*IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn(run func([]string) ([]*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(owners []string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwners provides a mock function with given fields: 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(owners interface{}, types ...interface{}) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
ListScopesByOwners is a helper method to define mock.On call
- owners []string
- 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(owners []string, types ...aclcore.ScopeType)) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
func (*IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn(run func([]string, ...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 []string) ([]*aclcore.Identity, error)
FindIdentities provides a mock function with given fields: emails
func (*IdentityRepository) FindIdentity ¶ added in v1.5.0
func (_m *IdentityRepository) FindIdentity(email string) (*aclcore.Identity, error)
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 []string
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 string
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 []string)) *IdentityRepository_FindIdentities_Call
func (*IdentityRepository_FindIdentities_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentities_Call) RunAndReturn(run func([]string) ([]*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 string)) *IdentityRepository_FindIdentity_Call
func (*IdentityRepository_FindIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentity_Call) RunAndReturn(run func(string) (*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 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 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 string, mediaId string) (string, 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 string
- mediaId string
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 string, _a1 error) *MediaAlbumResolver_FindAlbumOfMedia_Call
func (*MediaAlbumResolver_FindAlbumOfMedia_Call) Run ¶ added in v1.5.41
func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) Run(run func(owner string, mediaId string)) *MediaAlbumResolver_FindAlbumOfMedia_Call
func (*MediaAlbumResolver_FindAlbumOfMedia_Call) RunAndReturn ¶ added in v1.5.41
func (_c *MediaAlbumResolver_FindAlbumOfMedia_Call) RunAndReturn(run func(string, string) (string, error)) *MediaAlbumResolver_FindAlbumOfMedia_Call
type MoveMediaPort ¶ added in v1.5.33
MoveMediaPort is an autogenerated mock type for the MoveMediaPort type
func NewMoveMediaPort ¶ added in v1.5.33
func NewMoveMediaPort(t interface { mock.TestingT Cleanup(func()) }) *MoveMediaPort
NewMoveMediaPort creates a new instance of MoveMediaPort. 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 (*MoveMediaPort) EXPECT ¶ added in v1.5.41
func (_m *MoveMediaPort) EXPECT() *MoveMediaPort_Expecter
type MoveMediaPortFunc ¶ added in v1.5.33
MoveMediaPortFunc is an autogenerated mock type for the MoveMediaPortFunc type
func NewMoveMediaPortFunc ¶ added in v1.5.33
func NewMoveMediaPortFunc(t interface { mock.TestingT Cleanup(func()) }) *MoveMediaPortFunc
NewMoveMediaPortFunc creates a new instance of MoveMediaPortFunc. 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 (*MoveMediaPortFunc) EXPECT ¶ added in v1.5.41
func (_m *MoveMediaPortFunc) EXPECT() *MoveMediaPortFunc_Expecter
type MoveMediaPortFunc_Execute_Call ¶ added in v1.5.41
MoveMediaPortFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MoveMediaPortFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *MoveMediaPortFunc_Execute_Call) Return(_a0 error) *MoveMediaPortFunc_Execute_Call
func (*MoveMediaPortFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *MoveMediaPortFunc_Execute_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, mediaIds []catalog.MediaId)) *MoveMediaPortFunc_Execute_Call
func (*MoveMediaPortFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *MoveMediaPortFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, []catalog.MediaId) error) *MoveMediaPortFunc_Execute_Call
type MoveMediaPortFunc_Expecter ¶ added in v1.5.41
type MoveMediaPortFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MoveMediaPortFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *MoveMediaPortFunc_Expecter) Execute(ctx interface{}, albumId interface{}, mediaIds interface{}) *MoveMediaPortFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
- mediaIds []catalog.MediaId
type MoveMediaPort_Expecter ¶ added in v1.5.41
type MoveMediaPort_Expecter struct {
// contains filtered or unexported fields
}
func (*MoveMediaPort_Expecter) MoveMedia ¶ added in v1.5.41
func (_e *MoveMediaPort_Expecter) MoveMedia(ctx interface{}, albumId interface{}, mediaIds interface{}) *MoveMediaPort_MoveMedia_Call
MoveMedia is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
- mediaIds []catalog.MediaId
type MoveMediaPort_MoveMedia_Call ¶ added in v1.5.41
MoveMediaPort_MoveMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MoveMedia'
func (*MoveMediaPort_MoveMedia_Call) Return ¶ added in v1.5.41
func (_c *MoveMediaPort_MoveMedia_Call) Return(_a0 error) *MoveMediaPort_MoveMedia_Call
func (*MoveMediaPort_MoveMedia_Call) Run ¶ added in v1.5.41
func (_c *MoveMediaPort_MoveMedia_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, mediaIds []catalog.MediaId)) *MoveMediaPort_MoveMedia_Call
func (*MoveMediaPort_MoveMedia_Call) RunAndReturn ¶ added in v1.5.41
func (_c *MoveMediaPort_MoveMedia_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, []catalog.MediaId) error) *MoveMediaPort_MoveMedia_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 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 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) DeleteEmptyAlbum ¶
DeleteEmptyAlbum provides a mock function with given fields: ctx, id
func (*RepositoryAdapter) EXPECT ¶ added in v1.5.41
func (_m *RepositoryAdapter) EXPECT() *RepositoryAdapter_Expecter
func (*RepositoryAdapter) FindAlbums ¶
func (_m *RepositoryAdapter) FindAlbums(ctx context.Context, ids ...catalog.AlbumId) ([]*catalog.Album, error)
FindAlbums provides a mock function with given fields: ctx, ids
func (*RepositoryAdapter) FindAlbumsByOwner ¶
func (_m *RepositoryAdapter) FindAlbumsByOwner(ctx context.Context, owner catalog.Owner) ([]*catalog.Album, error)
FindAlbumsByOwner provides a mock function with given fields: ctx, owner
func (*RepositoryAdapter) FindExistingSignatures ¶
func (_m *RepositoryAdapter) FindExistingSignatures(ctx context.Context, owner catalog.Owner, signatures []*catalog.MediaSignature) ([]*catalog.MediaSignature, error)
FindExistingSignatures provides a mock function with given fields: ctx, owner, signatures
func (*RepositoryAdapter) FindMediaCurrentAlbum ¶
func (_m *RepositoryAdapter) FindMediaCurrentAlbum(ctx context.Context, owner catalog.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)
FindMediaCurrentAlbum provides a mock function with given fields: ctx, owner, mediaId
func (*RepositoryAdapter) FindMediaIds ¶
func (_m *RepositoryAdapter) FindMediaIds(ctx context.Context, request *catalog.FindMediaRequest) ([]catalog.MediaId, error)
FindMediaIds provides a mock function with given fields: ctx, request
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
func (*RepositoryAdapter) InsertAlbum ¶
InsertAlbum provides a mock function with given fields: ctx, album
func (*RepositoryAdapter) InsertMedias ¶
func (_m *RepositoryAdapter) InsertMedias(ctx context.Context, owner catalog.Owner, media []catalog.CreateMediaRequest) error
InsertMedias provides a mock function with given fields: ctx, owner, media
func (*RepositoryAdapter) TransferMedias ¶
func (_m *RepositoryAdapter) TransferMedias(ctx context.Context, owner catalog.Owner, mediaIds []catalog.MediaId, newFolderName catalog.FolderName) error
TransferMedias provides a mock function with given fields: ctx, owner, mediaIds, newFolderName
func (*RepositoryAdapter) TransferMediasFromRecords ¶ added in v1.5.33
func (_m *RepositoryAdapter) TransferMediasFromRecords(ctx context.Context, records catalog.MediaTransferRecords) (catalog.TransferredMedias, error)
TransferMediasFromRecords provides a mock function with given fields: ctx, records
func (*RepositoryAdapter) UpdateAlbum ¶
UpdateAlbum provides a mock function with given fields: ctx, album
type RepositoryAdapter_DeleteEmptyAlbum_Call ¶ added in v1.5.41
RepositoryAdapter_DeleteEmptyAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEmptyAlbum'
func (*RepositoryAdapter_DeleteEmptyAlbum_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_DeleteEmptyAlbum_Call) Return(_a0 error) *RepositoryAdapter_DeleteEmptyAlbum_Call
func (*RepositoryAdapter_DeleteEmptyAlbum_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_DeleteEmptyAlbum_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *RepositoryAdapter_DeleteEmptyAlbum_Call
func (*RepositoryAdapter_DeleteEmptyAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_DeleteEmptyAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *RepositoryAdapter_DeleteEmptyAlbum_Call
type RepositoryAdapter_Expecter ¶ added in v1.5.41
type RepositoryAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*RepositoryAdapter_Expecter) DeleteEmptyAlbum ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) DeleteEmptyAlbum(ctx interface{}, id interface{}) *RepositoryAdapter_DeleteEmptyAlbum_Call
DeleteEmptyAlbum is a helper method to define mock.On call
- ctx context.Context
- id catalog.AlbumId
func (*RepositoryAdapter_Expecter) FindAlbums ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) FindAlbums(ctx interface{}, ids ...interface{}) *RepositoryAdapter_FindAlbums_Call
FindAlbums 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 catalog.Owner
func (*RepositoryAdapter_Expecter) FindExistingSignatures ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) FindExistingSignatures(ctx interface{}, owner interface{}, signatures interface{}) *RepositoryAdapter_FindExistingSignatures_Call
FindExistingSignatures is a helper method to define mock.On call
- ctx context.Context
- owner catalog.Owner
- signatures []*catalog.MediaSignature
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 catalog.Owner
- mediaId catalog.MediaId
func (*RepositoryAdapter_Expecter) FindMediaIds ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) FindMediaIds(ctx interface{}, request interface{}) *RepositoryAdapter_FindMediaIds_Call
FindMediaIds is a helper method to define mock.On call
- ctx context.Context
- request *catalog.FindMediaRequest
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
func (*RepositoryAdapter_Expecter) InsertAlbum ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) InsertAlbum(ctx interface{}, album interface{}) *RepositoryAdapter_InsertAlbum_Call
InsertAlbum is a helper method to define mock.On call
- ctx context.Context
- album catalog.Album
func (*RepositoryAdapter_Expecter) InsertMedias ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) InsertMedias(ctx interface{}, owner interface{}, media interface{}) *RepositoryAdapter_InsertMedias_Call
InsertMedias is a helper method to define mock.On call
- ctx context.Context
- owner catalog.Owner
- media []catalog.CreateMediaRequest
func (*RepositoryAdapter_Expecter) TransferMedias ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) TransferMedias(ctx interface{}, owner interface{}, mediaIds interface{}, newFolderName interface{}) *RepositoryAdapter_TransferMedias_Call
TransferMedias is a helper method to define mock.On call
- ctx context.Context
- owner catalog.Owner
- mediaIds []catalog.MediaId
- newFolderName catalog.FolderName
func (*RepositoryAdapter_Expecter) TransferMediasFromRecords ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) TransferMediasFromRecords(ctx interface{}, records interface{}) *RepositoryAdapter_TransferMediasFromRecords_Call
TransferMediasFromRecords is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
func (*RepositoryAdapter_Expecter) UpdateAlbum ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) UpdateAlbum(ctx interface{}, album interface{}) *RepositoryAdapter_UpdateAlbum_Call
UpdateAlbum is a helper method to define mock.On call
- ctx context.Context
- album catalog.Album
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 catalog.Owner)) *RepositoryAdapter_FindAlbumsByOwner_Call
func (*RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, catalog.Owner) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumsByOwner_Call
type RepositoryAdapter_FindAlbums_Call ¶ added in v1.5.41
RepositoryAdapter_FindAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbums'
func (*RepositoryAdapter_FindAlbums_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbums_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbums_Call
func (*RepositoryAdapter_FindAlbums_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbums_Call) Run(run func(ctx context.Context, ids ...catalog.AlbumId)) *RepositoryAdapter_FindAlbums_Call
func (*RepositoryAdapter_FindAlbums_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbums_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbums_Call
type RepositoryAdapter_FindExistingSignatures_Call ¶ added in v1.5.41
RepositoryAdapter_FindExistingSignatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindExistingSignatures'
func (*RepositoryAdapter_FindExistingSignatures_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindExistingSignatures_Call) Return(_a0 []*catalog.MediaSignature, _a1 error) *RepositoryAdapter_FindExistingSignatures_Call
func (*RepositoryAdapter_FindExistingSignatures_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindExistingSignatures_Call) Run(run func(ctx context.Context, owner catalog.Owner, signatures []*catalog.MediaSignature)) *RepositoryAdapter_FindExistingSignatures_Call
func (*RepositoryAdapter_FindExistingSignatures_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindExistingSignatures_Call) RunAndReturn(run func(context.Context, catalog.Owner, []*catalog.MediaSignature) ([]*catalog.MediaSignature, error)) *RepositoryAdapter_FindExistingSignatures_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 catalog.Owner, mediaId catalog.MediaId)) *RepositoryAdapter_FindMediaCurrentAlbum_Call
func (*RepositoryAdapter_FindMediaCurrentAlbum_Call) RunAndReturn ¶ added in v1.5.41
type RepositoryAdapter_FindMediaIds_Call ¶ added in v1.5.41
RepositoryAdapter_FindMediaIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaIds'
func (*RepositoryAdapter_FindMediaIds_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindMediaIds_Call) Return(ids []catalog.MediaId, err error) *RepositoryAdapter_FindMediaIds_Call
func (*RepositoryAdapter_FindMediaIds_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindMediaIds_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *RepositoryAdapter_FindMediaIds_Call
func (*RepositoryAdapter_FindMediaIds_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindMediaIds_Call) RunAndReturn(run func(context.Context, *catalog.FindMediaRequest) ([]catalog.MediaId, error)) *RepositoryAdapter_FindMediaIds_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 RepositoryAdapter_InsertAlbum_Call ¶ added in v1.5.41
RepositoryAdapter_InsertAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertAlbum'
func (*RepositoryAdapter_InsertAlbum_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_InsertAlbum_Call) Return(_a0 error) *RepositoryAdapter_InsertAlbum_Call
func (*RepositoryAdapter_InsertAlbum_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_InsertAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *RepositoryAdapter_InsertAlbum_Call
func (*RepositoryAdapter_InsertAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_InsertAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *RepositoryAdapter_InsertAlbum_Call
type RepositoryAdapter_InsertMedias_Call ¶ added in v1.5.41
RepositoryAdapter_InsertMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertMedias'
func (*RepositoryAdapter_InsertMedias_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_InsertMedias_Call) Return(_a0 error) *RepositoryAdapter_InsertMedias_Call
func (*RepositoryAdapter_InsertMedias_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_InsertMedias_Call) Run(run func(ctx context.Context, owner catalog.Owner, media []catalog.CreateMediaRequest)) *RepositoryAdapter_InsertMedias_Call
func (*RepositoryAdapter_InsertMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_InsertMedias_Call) RunAndReturn(run func(context.Context, catalog.Owner, []catalog.CreateMediaRequest) error) *RepositoryAdapter_InsertMedias_Call
type RepositoryAdapter_TransferMediasFromRecords_Call ¶ added in v1.5.41
RepositoryAdapter_TransferMediasFromRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferMediasFromRecords'
func (*RepositoryAdapter_TransferMediasFromRecords_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_TransferMediasFromRecords_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *RepositoryAdapter_TransferMediasFromRecords_Call
func (*RepositoryAdapter_TransferMediasFromRecords_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *RepositoryAdapter_TransferMediasFromRecords_Call
func (*RepositoryAdapter_TransferMediasFromRecords_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_TransferMediasFromRecords_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) (catalog.TransferredMedias, error)) *RepositoryAdapter_TransferMediasFromRecords_Call
type RepositoryAdapter_TransferMedias_Call ¶ added in v1.5.41
RepositoryAdapter_TransferMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferMedias'
func (*RepositoryAdapter_TransferMedias_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_TransferMedias_Call) Return(_a0 error) *RepositoryAdapter_TransferMedias_Call
func (*RepositoryAdapter_TransferMedias_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_TransferMedias_Call) Run(run func(ctx context.Context, owner catalog.Owner, mediaIds []catalog.MediaId, newFolderName catalog.FolderName)) *RepositoryAdapter_TransferMedias_Call
func (*RepositoryAdapter_TransferMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_TransferMedias_Call) RunAndReturn(run func(context.Context, catalog.Owner, []catalog.MediaId, catalog.FolderName) error) *RepositoryAdapter_TransferMedias_Call
type RepositoryAdapter_UpdateAlbum_Call ¶ added in v1.5.41
RepositoryAdapter_UpdateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbum'
func (*RepositoryAdapter_UpdateAlbum_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_UpdateAlbum_Call) Return(_a0 error) *RepositoryAdapter_UpdateAlbum_Call
func (*RepositoryAdapter_UpdateAlbum_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_UpdateAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *RepositoryAdapter_UpdateAlbum_Call
func (*RepositoryAdapter_UpdateAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_UpdateAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *RepositoryAdapter_UpdateAlbum_Call
type RepositoryContract ¶ added in v1.5.33
RepositoryContract is an autogenerated mock type for the RepositoryContract type
func NewRepositoryContract ¶ added in v1.5.33
func NewRepositoryContract(t interface { mock.TestingT Cleanup(func()) }) *RepositoryContract
NewRepositoryContract creates a new instance of RepositoryContract. 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 (*RepositoryContract) DeleteEmptyAlbum ¶ added in v1.5.33
DeleteEmptyAlbum provides a mock function with given fields: ctx, id
func (*RepositoryContract) EXPECT ¶ added in v1.5.41
func (_m *RepositoryContract) EXPECT() *RepositoryContract_Expecter
func (*RepositoryContract) FindAlbums ¶ added in v1.5.33
func (_m *RepositoryContract) FindAlbums(ctx context.Context, ids ...catalog.AlbumId) ([]*catalog.Album, error)
FindAlbums provides a mock function with given fields: ctx, ids
func (*RepositoryContract) FindAlbumsByOwner ¶ added in v1.5.33
func (_m *RepositoryContract) FindAlbumsByOwner(ctx context.Context, owner catalog.Owner) ([]*catalog.Album, error)
FindAlbumsByOwner provides a mock function with given fields: ctx, owner
func (*RepositoryContract) FindExistingSignatures ¶ added in v1.5.33
func (_m *RepositoryContract) FindExistingSignatures(ctx context.Context, owner catalog.Owner, signatures []*catalog.MediaSignature) ([]*catalog.MediaSignature, error)
FindExistingSignatures provides a mock function with given fields: ctx, owner, signatures
func (*RepositoryContract) FindMediaCurrentAlbum ¶ added in v1.5.33
func (_m *RepositoryContract) FindMediaCurrentAlbum(ctx context.Context, owner catalog.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)
FindMediaCurrentAlbum provides a mock function with given fields: ctx, owner, mediaId
func (*RepositoryContract) FindMediaIds ¶ added in v1.5.33
func (_m *RepositoryContract) FindMediaIds(ctx context.Context, request *catalog.FindMediaRequest) ([]catalog.MediaId, error)
FindMediaIds provides a mock function with given fields: ctx, request
func (*RepositoryContract) FindMedias ¶ added in v1.5.33
func (_m *RepositoryContract) FindMedias(ctx context.Context, request *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)
FindMedias provides a mock function with given fields: ctx, request
func (*RepositoryContract) InsertAlbum ¶ added in v1.5.33
InsertAlbum provides a mock function with given fields: ctx, album
func (*RepositoryContract) InsertMedias ¶ added in v1.5.33
func (_m *RepositoryContract) InsertMedias(ctx context.Context, owner catalog.Owner, media []catalog.CreateMediaRequest) error
InsertMedias provides a mock function with given fields: ctx, owner, media
func (*RepositoryContract) TransferMedias ¶ added in v1.5.33
func (_m *RepositoryContract) TransferMedias(ctx context.Context, owner catalog.Owner, mediaIds []catalog.MediaId, newFolderName catalog.FolderName) error
TransferMedias provides a mock function with given fields: ctx, owner, mediaIds, newFolderName
func (*RepositoryContract) TransferMediasFromRecords ¶ added in v1.5.33
func (_m *RepositoryContract) TransferMediasFromRecords(ctx context.Context, records catalog.MediaTransferRecords) (catalog.TransferredMedias, error)
TransferMediasFromRecords provides a mock function with given fields: ctx, records
func (*RepositoryContract) UpdateAlbum ¶ added in v1.5.33
UpdateAlbum provides a mock function with given fields: ctx, album
type RepositoryContract_DeleteEmptyAlbum_Call ¶ added in v1.5.41
RepositoryContract_DeleteEmptyAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteEmptyAlbum'
func (*RepositoryContract_DeleteEmptyAlbum_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_DeleteEmptyAlbum_Call) Return(_a0 error) *RepositoryContract_DeleteEmptyAlbum_Call
func (*RepositoryContract_DeleteEmptyAlbum_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_DeleteEmptyAlbum_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *RepositoryContract_DeleteEmptyAlbum_Call
func (*RepositoryContract_DeleteEmptyAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_DeleteEmptyAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *RepositoryContract_DeleteEmptyAlbum_Call
type RepositoryContract_Expecter ¶ added in v1.5.41
type RepositoryContract_Expecter struct {
// contains filtered or unexported fields
}
func (*RepositoryContract_Expecter) DeleteEmptyAlbum ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) DeleteEmptyAlbum(ctx interface{}, id interface{}) *RepositoryContract_DeleteEmptyAlbum_Call
DeleteEmptyAlbum is a helper method to define mock.On call
- ctx context.Context
- id catalog.AlbumId
func (*RepositoryContract_Expecter) FindAlbums ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) FindAlbums(ctx interface{}, ids ...interface{}) *RepositoryContract_FindAlbums_Call
FindAlbums is a helper method to define mock.On call
- ctx context.Context
- ids ...catalog.AlbumId
func (*RepositoryContract_Expecter) FindAlbumsByOwner ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *RepositoryContract_FindAlbumsByOwner_Call
FindAlbumsByOwner is a helper method to define mock.On call
- ctx context.Context
- owner catalog.Owner
func (*RepositoryContract_Expecter) FindExistingSignatures ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) FindExistingSignatures(ctx interface{}, owner interface{}, signatures interface{}) *RepositoryContract_FindExistingSignatures_Call
FindExistingSignatures is a helper method to define mock.On call
- ctx context.Context
- owner catalog.Owner
- signatures []*catalog.MediaSignature
func (*RepositoryContract_Expecter) FindMediaCurrentAlbum ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) FindMediaCurrentAlbum(ctx interface{}, owner interface{}, mediaId interface{}) *RepositoryContract_FindMediaCurrentAlbum_Call
FindMediaCurrentAlbum is a helper method to define mock.On call
- ctx context.Context
- owner catalog.Owner
- mediaId catalog.MediaId
func (*RepositoryContract_Expecter) FindMediaIds ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) FindMediaIds(ctx interface{}, request interface{}) *RepositoryContract_FindMediaIds_Call
FindMediaIds is a helper method to define mock.On call
- ctx context.Context
- request *catalog.FindMediaRequest
func (*RepositoryContract_Expecter) FindMedias ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) FindMedias(ctx interface{}, request interface{}) *RepositoryContract_FindMedias_Call
FindMedias is a helper method to define mock.On call
- ctx context.Context
- request *catalog.FindMediaRequest
func (*RepositoryContract_Expecter) InsertAlbum ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) InsertAlbum(ctx interface{}, album interface{}) *RepositoryContract_InsertAlbum_Call
InsertAlbum is a helper method to define mock.On call
- ctx context.Context
- album catalog.Album
func (*RepositoryContract_Expecter) InsertMedias ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) InsertMedias(ctx interface{}, owner interface{}, media interface{}) *RepositoryContract_InsertMedias_Call
InsertMedias is a helper method to define mock.On call
- ctx context.Context
- owner catalog.Owner
- media []catalog.CreateMediaRequest
func (*RepositoryContract_Expecter) TransferMedias ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) TransferMedias(ctx interface{}, owner interface{}, mediaIds interface{}, newFolderName interface{}) *RepositoryContract_TransferMedias_Call
TransferMedias is a helper method to define mock.On call
- ctx context.Context
- owner catalog.Owner
- mediaIds []catalog.MediaId
- newFolderName catalog.FolderName
func (*RepositoryContract_Expecter) TransferMediasFromRecords ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) TransferMediasFromRecords(ctx interface{}, records interface{}) *RepositoryContract_TransferMediasFromRecords_Call
TransferMediasFromRecords is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
func (*RepositoryContract_Expecter) UpdateAlbum ¶ added in v1.5.41
func (_e *RepositoryContract_Expecter) UpdateAlbum(ctx interface{}, album interface{}) *RepositoryContract_UpdateAlbum_Call
UpdateAlbum is a helper method to define mock.On call
- ctx context.Context
- album catalog.Album
type RepositoryContract_FindAlbumsByOwner_Call ¶ added in v1.5.41
RepositoryContract_FindAlbumsByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumsByOwner'
func (*RepositoryContract_FindAlbumsByOwner_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryContract_FindAlbumsByOwner_Call
func (*RepositoryContract_FindAlbumsByOwner_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner catalog.Owner)) *RepositoryContract_FindAlbumsByOwner_Call
func (*RepositoryContract_FindAlbumsByOwner_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, catalog.Owner) ([]*catalog.Album, error)) *RepositoryContract_FindAlbumsByOwner_Call
type RepositoryContract_FindAlbums_Call ¶ added in v1.5.41
RepositoryContract_FindAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbums'
func (*RepositoryContract_FindAlbums_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_FindAlbums_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryContract_FindAlbums_Call
func (*RepositoryContract_FindAlbums_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_FindAlbums_Call) Run(run func(ctx context.Context, ids ...catalog.AlbumId)) *RepositoryContract_FindAlbums_Call
func (*RepositoryContract_FindAlbums_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_FindAlbums_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) ([]*catalog.Album, error)) *RepositoryContract_FindAlbums_Call
type RepositoryContract_FindExistingSignatures_Call ¶ added in v1.5.41
RepositoryContract_FindExistingSignatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindExistingSignatures'
func (*RepositoryContract_FindExistingSignatures_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_FindExistingSignatures_Call) Return(_a0 []*catalog.MediaSignature, _a1 error) *RepositoryContract_FindExistingSignatures_Call
func (*RepositoryContract_FindExistingSignatures_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_FindExistingSignatures_Call) Run(run func(ctx context.Context, owner catalog.Owner, signatures []*catalog.MediaSignature)) *RepositoryContract_FindExistingSignatures_Call
func (*RepositoryContract_FindExistingSignatures_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_FindExistingSignatures_Call) RunAndReturn(run func(context.Context, catalog.Owner, []*catalog.MediaSignature) ([]*catalog.MediaSignature, error)) *RepositoryContract_FindExistingSignatures_Call
type RepositoryContract_FindMediaCurrentAlbum_Call ¶ added in v1.5.41
RepositoryContract_FindMediaCurrentAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaCurrentAlbum'
func (*RepositoryContract_FindMediaCurrentAlbum_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_FindMediaCurrentAlbum_Call) Return(id *catalog.AlbumId, err error) *RepositoryContract_FindMediaCurrentAlbum_Call
func (*RepositoryContract_FindMediaCurrentAlbum_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_FindMediaCurrentAlbum_Call) Run(run func(ctx context.Context, owner catalog.Owner, mediaId catalog.MediaId)) *RepositoryContract_FindMediaCurrentAlbum_Call
func (*RepositoryContract_FindMediaCurrentAlbum_Call) RunAndReturn ¶ added in v1.5.41
type RepositoryContract_FindMediaIds_Call ¶ added in v1.5.41
RepositoryContract_FindMediaIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaIds'
func (*RepositoryContract_FindMediaIds_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_FindMediaIds_Call) Return(ids []catalog.MediaId, err error) *RepositoryContract_FindMediaIds_Call
func (*RepositoryContract_FindMediaIds_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_FindMediaIds_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *RepositoryContract_FindMediaIds_Call
func (*RepositoryContract_FindMediaIds_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_FindMediaIds_Call) RunAndReturn(run func(context.Context, *catalog.FindMediaRequest) ([]catalog.MediaId, error)) *RepositoryContract_FindMediaIds_Call
type RepositoryContract_FindMedias_Call ¶ added in v1.5.41
RepositoryContract_FindMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMedias'
func (*RepositoryContract_FindMedias_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_FindMedias_Call) Return(medias []*catalog.MediaMeta, err error) *RepositoryContract_FindMedias_Call
func (*RepositoryContract_FindMedias_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_FindMedias_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *RepositoryContract_FindMedias_Call
func (*RepositoryContract_FindMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_FindMedias_Call) RunAndReturn(run func(context.Context, *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)) *RepositoryContract_FindMedias_Call
type RepositoryContract_InsertAlbum_Call ¶ added in v1.5.41
RepositoryContract_InsertAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertAlbum'
func (*RepositoryContract_InsertAlbum_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_InsertAlbum_Call) Return(_a0 error) *RepositoryContract_InsertAlbum_Call
func (*RepositoryContract_InsertAlbum_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_InsertAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *RepositoryContract_InsertAlbum_Call
func (*RepositoryContract_InsertAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_InsertAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *RepositoryContract_InsertAlbum_Call
type RepositoryContract_InsertMedias_Call ¶ added in v1.5.41
RepositoryContract_InsertMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertMedias'
func (*RepositoryContract_InsertMedias_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_InsertMedias_Call) Return(_a0 error) *RepositoryContract_InsertMedias_Call
func (*RepositoryContract_InsertMedias_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_InsertMedias_Call) Run(run func(ctx context.Context, owner catalog.Owner, media []catalog.CreateMediaRequest)) *RepositoryContract_InsertMedias_Call
func (*RepositoryContract_InsertMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_InsertMedias_Call) RunAndReturn(run func(context.Context, catalog.Owner, []catalog.CreateMediaRequest) error) *RepositoryContract_InsertMedias_Call
type RepositoryContract_TransferMediasFromRecords_Call ¶ added in v1.5.41
RepositoryContract_TransferMediasFromRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferMediasFromRecords'
func (*RepositoryContract_TransferMediasFromRecords_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_TransferMediasFromRecords_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *RepositoryContract_TransferMediasFromRecords_Call
func (*RepositoryContract_TransferMediasFromRecords_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *RepositoryContract_TransferMediasFromRecords_Call
func (*RepositoryContract_TransferMediasFromRecords_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_TransferMediasFromRecords_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) (catalog.TransferredMedias, error)) *RepositoryContract_TransferMediasFromRecords_Call
type RepositoryContract_TransferMedias_Call ¶ added in v1.5.41
RepositoryContract_TransferMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferMedias'
func (*RepositoryContract_TransferMedias_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_TransferMedias_Call) Return(_a0 error) *RepositoryContract_TransferMedias_Call
func (*RepositoryContract_TransferMedias_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_TransferMedias_Call) Run(run func(ctx context.Context, owner catalog.Owner, mediaIds []catalog.MediaId, newFolderName catalog.FolderName)) *RepositoryContract_TransferMedias_Call
func (*RepositoryContract_TransferMedias_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_TransferMedias_Call) RunAndReturn(run func(context.Context, catalog.Owner, []catalog.MediaId, catalog.FolderName) error) *RepositoryContract_TransferMedias_Call
type RepositoryContract_UpdateAlbum_Call ¶ added in v1.5.41
RepositoryContract_UpdateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbum'
func (*RepositoryContract_UpdateAlbum_Call) Return ¶ added in v1.5.41
func (_c *RepositoryContract_UpdateAlbum_Call) Return(_a0 error) *RepositoryContract_UpdateAlbum_Call
func (*RepositoryContract_UpdateAlbum_Call) Run ¶ added in v1.5.41
func (_c *RepositoryContract_UpdateAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *RepositoryContract_UpdateAlbum_Call
func (*RepositoryContract_UpdateAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryContract_UpdateAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *RepositoryContract_UpdateAlbum_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) ListOwnerScopes ¶
func (_m *ReverseScopesReader) ListOwnerScopes(owner string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListOwnerScopes provides a mock function with given fields: owner, types
type ReverseScopesReader_Expecter ¶ added in v1.5.41
type ReverseScopesReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ReverseScopesReader_Expecter) ListOwnerScopes ¶ added in v1.5.41
func (_e *ReverseScopesReader_Expecter) ListOwnerScopes(owner interface{}, types ...interface{}) *ReverseScopesReader_ListOwnerScopes_Call
ListOwnerScopes is a helper method to define mock.On call
- owner string
- types ...aclcore.ScopeType
type ReverseScopesReader_ListOwnerScopes_Call ¶ added in v1.5.41
ReverseScopesReader_ListOwnerScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOwnerScopes'
func (*ReverseScopesReader_ListOwnerScopes_Call) Return ¶ added in v1.5.41
func (_c *ReverseScopesReader_ListOwnerScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ReverseScopesReader_ListOwnerScopes_Call
func (*ReverseScopesReader_ListOwnerScopes_Call) Run ¶ added in v1.5.41
func (_c *ReverseScopesReader_ListOwnerScopes_Call) Run(run func(owner string, types ...aclcore.ScopeType)) *ReverseScopesReader_ListOwnerScopes_Call
func (*ReverseScopesReader_ListOwnerScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ReverseScopesReader_ListOwnerScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ReverseScopesReader_ListOwnerScopes_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 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 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) ListOwnerScopes ¶
func (_m *ScopeRepository) ListOwnerScopes(owner string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListOwnerScopes provides a mock function with given fields: owner, types
func (*ScopeRepository) ListUserScopes ¶
func (_m *ScopeRepository) ListUserScopes(email string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListUserScopes provides a mock function with given fields: email, 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) ListOwnerScopes ¶ added in v1.5.41
func (_e *ScopeRepository_Expecter) ListOwnerScopes(owner interface{}, types ...interface{}) *ScopeRepository_ListOwnerScopes_Call
ListOwnerScopes is a helper method to define mock.On call
- owner string
- types ...aclcore.ScopeType
func (*ScopeRepository_Expecter) ListUserScopes ¶ added in v1.5.41
func (_e *ScopeRepository_Expecter) ListUserScopes(email interface{}, types ...interface{}) *ScopeRepository_ListUserScopes_Call
ListUserScopes is a helper method to define mock.On call
- email string
- 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_ListOwnerScopes_Call ¶ added in v1.5.41
ScopeRepository_ListOwnerScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOwnerScopes'
func (*ScopeRepository_ListOwnerScopes_Call) Return ¶ added in v1.5.41
func (_c *ScopeRepository_ListOwnerScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_ListOwnerScopes_Call
func (*ScopeRepository_ListOwnerScopes_Call) Run ¶ added in v1.5.41
func (_c *ScopeRepository_ListOwnerScopes_Call) Run(run func(owner string, types ...aclcore.ScopeType)) *ScopeRepository_ListOwnerScopes_Call
func (*ScopeRepository_ListOwnerScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopeRepository_ListOwnerScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopeRepository_ListOwnerScopes_Call
type ScopeRepository_ListUserScopes_Call ¶ added in v1.5.41
ScopeRepository_ListUserScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUserScopes'
func (*ScopeRepository_ListUserScopes_Call) Return ¶ added in v1.5.41
func (_c *ScopeRepository_ListUserScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeRepository_ListUserScopes_Call
func (*ScopeRepository_ListUserScopes_Call) Run ¶ added in v1.5.41
func (_c *ScopeRepository_ListUserScopes_Call) Run(run func(email string, types ...aclcore.ScopeType)) *ScopeRepository_ListUserScopes_Call
func (*ScopeRepository_ListUserScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopeRepository_ListUserScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopeRepository_ListUserScopes_Call
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
func (*ScopesReader) ListUserScopes ¶
func (_m *ScopesReader) ListUserScopes(email string, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListUserScopes provides a mock function with given fields: email, types
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) ListUserScopes ¶ added in v1.5.41
func (_e *ScopesReader_Expecter) ListUserScopes(email interface{}, types ...interface{}) *ScopesReader_ListUserScopes_Call
ListUserScopes is a helper method to define mock.On call
- email string
- 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_ListUserScopes_Call ¶ added in v1.5.41
ScopesReader_ListUserScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUserScopes'
func (*ScopesReader_ListUserScopes_Call) Return ¶ added in v1.5.41
func (_c *ScopesReader_ListUserScopes_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_ListUserScopes_Call
func (*ScopesReader_ListUserScopes_Call) Run ¶ added in v1.5.41
func (_c *ScopesReader_ListUserScopes_Call) Run(run func(email string, types ...aclcore.ScopeType)) *ScopesReader_ListUserScopes_Call
func (*ScopesReader_ListUserScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopesReader_ListUserScopes_Call) RunAndReturn(run func(string, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopesReader_ListUserScopes_Call
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 ShareAlbumCatalogPort ¶
type ShareAlbumCatalogPort struct {
}ShareAlbumCatalogPort is an autogenerated mock type for the ShareAlbumCatalogPort type
func NewShareAlbumCatalogPort ¶
func NewShareAlbumCatalogPort(t interface { mock.TestingT Cleanup(func()) }) *ShareAlbumCatalogPort
NewShareAlbumCatalogPort creates a new instance of ShareAlbumCatalogPort. 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 (*ShareAlbumCatalogPort) EXPECT ¶ added in v1.5.41
func (_m *ShareAlbumCatalogPort) EXPECT() *ShareAlbumCatalogPort_Expecter
type ShareAlbumCatalogPort_Expecter ¶ added in v1.5.41
type ShareAlbumCatalogPort_Expecter struct {
// contains filtered or unexported fields
}
func (*ShareAlbumCatalogPort_Expecter) FindAlbum ¶ added in v1.5.41
func (_e *ShareAlbumCatalogPort_Expecter) FindAlbum(owner interface{}, folderName interface{}) *ShareAlbumCatalogPort_FindAlbum_Call
FindAlbum is a helper method to define mock.On call
- owner string
- folderName string
type ShareAlbumCatalogPort_FindAlbum_Call ¶ added in v1.5.41
type ShareAlbumCatalogPort_FindAlbum_Call struct {
}ShareAlbumCatalogPort_FindAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbum'
func (*ShareAlbumCatalogPort_FindAlbum_Call) Return ¶ added in v1.5.41
func (_c *ShareAlbumCatalogPort_FindAlbum_Call) Return(_a0 *catalog.Album, _a1 error) *ShareAlbumCatalogPort_FindAlbum_Call
func (*ShareAlbumCatalogPort_FindAlbum_Call) Run ¶ added in v1.5.41
func (_c *ShareAlbumCatalogPort_FindAlbum_Call) Run(run func(owner string, folderName string)) *ShareAlbumCatalogPort_FindAlbum_Call
func (*ShareAlbumCatalogPort_FindAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ShareAlbumCatalogPort_FindAlbum_Call) RunAndReturn(run func(string, string) (*catalog.Album, error)) *ShareAlbumCatalogPort_FindAlbum_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 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) Observe ¶ added in v1.5.33
func (_m *TimelineMutationObserver) Observe(ctx context.Context, transfers catalog.TransferredMedias) error
Observe provides a mock function with given fields: ctx, transfers
type TimelineMutationObserver_Expecter ¶ added in v1.5.41
type TimelineMutationObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*TimelineMutationObserver_Expecter) Observe ¶ added in v1.5.41
func (_e *TimelineMutationObserver_Expecter) Observe(ctx interface{}, transfers interface{}) *TimelineMutationObserver_Observe_Call
Observe is a helper method to define mock.On call
- ctx context.Context
- transfers catalog.TransferredMedias
type TimelineMutationObserver_Observe_Call ¶ added in v1.5.41
TimelineMutationObserver_Observe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Observe'
func (*TimelineMutationObserver_Observe_Call) Return ¶ added in v1.5.41
func (_c *TimelineMutationObserver_Observe_Call) Return(_a0 error) *TimelineMutationObserver_Observe_Call
func (*TimelineMutationObserver_Observe_Call) Run ¶ added in v1.5.41
func (_c *TimelineMutationObserver_Observe_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserver_Observe_Call
func (*TimelineMutationObserver_Observe_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TimelineMutationObserver_Observe_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserver_Observe_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 TransferMediasPort ¶ added in v1.5.33
TransferMediasPort is an autogenerated mock type for the TransferMediasPort type
func NewTransferMediasPort ¶ added in v1.5.33
func NewTransferMediasPort(t interface { mock.TestingT Cleanup(func()) }) *TransferMediasPort
NewTransferMediasPort creates a new instance of TransferMediasPort. 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 (*TransferMediasPort) EXPECT ¶ added in v1.5.41
func (_m *TransferMediasPort) EXPECT() *TransferMediasPort_Expecter
func (*TransferMediasPort) TransferMediasFromRecords ¶ added in v1.5.33
func (_m *TransferMediasPort) TransferMediasFromRecords(ctx context.Context, records catalog.MediaTransferRecords) (catalog.TransferredMedias, error)
TransferMediasFromRecords provides a mock function with given fields: ctx, records
type TransferMediasPort_Expecter ¶ added in v1.5.41
type TransferMediasPort_Expecter struct {
// contains filtered or unexported fields
}
func (*TransferMediasPort_Expecter) TransferMediasFromRecords ¶ added in v1.5.41
func (_e *TransferMediasPort_Expecter) TransferMediasFromRecords(ctx interface{}, records interface{}) *TransferMediasPort_TransferMediasFromRecords_Call
TransferMediasFromRecords is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
type TransferMediasPort_TransferMediasFromRecords_Call ¶ added in v1.5.41
TransferMediasPort_TransferMediasFromRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferMediasFromRecords'
func (*TransferMediasPort_TransferMediasFromRecords_Call) Return ¶ added in v1.5.41
func (_c *TransferMediasPort_TransferMediasFromRecords_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *TransferMediasPort_TransferMediasFromRecords_Call
func (*TransferMediasPort_TransferMediasFromRecords_Call) Run ¶ added in v1.5.41
func (_c *TransferMediasPort_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasPort_TransferMediasFromRecords_Call
func (*TransferMediasPort_TransferMediasFromRecords_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TransferMediasPort_TransferMediasFromRecords_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) (catalog.TransferredMedias, error)) *TransferMediasPort_TransferMediasFromRecords_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
Source Files
¶
- ACLViewCatalogAdapter.go
- ARepositoryAdapter.go
- AWSAdapterNames.go
- AlbumCanBeDeletedObserver.go
- AnalyserDecorator.go
- AsyncJobAdapter.go
- BArchiveAdapter.go
- BackupSuggestionPort.go
- CArchiveAdapter.go
- CacheAdapter.go
- CatalogAdapter.go
- CatalogRules.go
- CertificateAuthority.go
- CertificateManager.go
- ClosableFoundMedia.go
- CompletionReport.go
- Config.go
- ConfigFactory.go
- ConfigFactoryFunc.go
- CountMediasBySelectorsFunc.go
- CountMediasBySelectorsPort.go
- CreateAlbumPort.go
- DeleteAlbumPort.go
- DeleteAlbumRepositoryFunc.go
- DeleteAlbumRepositoryPort.go
- DetailsReaderAdapter.go
- DynamoBatchGetItem.go
- DynamoBatchWriteItem.go
- DynamoQuery.go
- ExistingRecordRepositoryPort.go
- FindAlbumsByOwnerFunc.go
- FindAlbumsByOwnerPort.go
- FoundMedia.go
- GetStreamAdapter.go
- GrantRepository.go
- IAccessTokenGenerator.go
- IRefreshTokenGenerator.go
- IdentityDetailsStore.go
- IdentityQueriesIdentityRepository.go
- IdentityQueriesScopeRepository.go
- IdentityRepository.go
- InsertAlbumPort.go
- InsertAlbumPortFunc.go
- InteractiveActionsPort.go
- InteractiveRendererPort.go
- Listener.go
- MediaAlbumResolver.go
- MoveMediaPort.go
- MoveMediaPortFunc.go
- Names.go
- PostAnalyseFilter.go
- PrintReadTerminalPort.go
- RefreshTokenRepository.go
- RenameAlbumPort.go
- RepositoryAdapter.go
- RepositoryContract.go
- ResizerAdapter.go
- ReverseScopesReader.go
- RevokeAccessTokenAdapter.go
- RunnerAnalyser.go
- RunnerAnalyserFunc.go
- ScanStreamExecutor.go
- ScopeRepository.go
- ScopeWriter.go
- ScopesReader.go
- SecretAccessKeyDecoder.go
- ShareAlbumCatalogPort.go
- SourceVolume.go
- StoreAdapter.go
- StoreAndCache.go
- Stream.go
- SuggestionRecordRepositoryPort.go
- TimelineAdapter.go
- TimelineMutationObserver.go
- TrackAnalysed.go
- TrackEvents.go
- TrackScanComplete.go
- TrackUploaded.go
- TransferMediasFunc.go
- TransferMediasPort.go
- UpdateAlbumPort.go
- UserInputPort.go
- runnerCataloger.go
- runnerPublisher.go
- runnerUniqueFilter.go
- runnerUploader.go