Documentation
¶
Index ¶
- 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 AWSFactory
- type AWSFactory_Expecter
- func (_e *AWSFactory_Expecter) GetCfg() *AWSFactory_GetCfg_Call
- func (_e *AWSFactory_Expecter) GetDynamoDBClient() *AWSFactory_GetDynamoDBClient_Call
- func (_e *AWSFactory_Expecter) GetS3Client() *AWSFactory_GetS3Client_Call
- func (_e *AWSFactory_Expecter) GetSNSClient() *AWSFactory_GetSNSClient_Call
- func (_e *AWSFactory_Expecter) GetSQSClient() *AWSFactory_GetSQSClient_Call
- type AWSFactory_GetCfg_Call
- type AWSFactory_GetDynamoDBClient_Call
- func (_c *AWSFactory_GetDynamoDBClient_Call) Return(_a0 *dynamodb.Client) *AWSFactory_GetDynamoDBClient_Call
- func (_c *AWSFactory_GetDynamoDBClient_Call) Run(run func()) *AWSFactory_GetDynamoDBClient_Call
- func (_c *AWSFactory_GetDynamoDBClient_Call) RunAndReturn(run func() *dynamodb.Client) *AWSFactory_GetDynamoDBClient_Call
- type AWSFactory_GetS3Client_Call
- type AWSFactory_GetSNSClient_Call
- type AWSFactory_GetSQSClient_Call
- type AlbumDatesAmendedObserver
- type AlbumDatesAmendedObserverFunc
- type AlbumDatesAmendedObserverFunc_Execute_Call
- func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) Return(_a0 error) *AlbumDatesAmendedObserverFunc_Execute_Call
- func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) Run(run func(ctx context.Context, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserverFunc_Execute_Call
- func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.DatesUpdate) error) *AlbumDatesAmendedObserverFunc_Execute_Call
- type AlbumDatesAmendedObserverFunc_Expecter
- type AlbumDatesAmendedObserverWithTimeline
- type AlbumDatesAmendedObserverWithTimeline_Expecter
- type AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
- func (_c *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Return(_a0 error) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
- func (_c *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, ...)) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
- func (_c *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) RunAndReturn(...) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
- type AlbumDatesAmendedObserver_Expecter
- type AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
- func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Return(_a0 error) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
- func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Run(run func(ctx context.Context, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
- func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) RunAndReturn(run func(context.Context, catalog.DatesUpdate) error) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
- type AlbumLookupStrategy
- type AlbumLookupStrategy_Expecter
- type AlbumLookupStrategy_LookupAlbum_Call
- func (_c *AlbumLookupStrategy_LookupAlbum_Call) Return(_a0 catalog.AlbumReference, _a1 error) *AlbumLookupStrategy_LookupAlbum_Call
- func (_c *AlbumLookupStrategy_LookupAlbum_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *AlbumLookupStrategy_LookupAlbum_Call
- func (_c *AlbumLookupStrategy_LookupAlbum_Call) RunAndReturn(...) *AlbumLookupStrategy_LookupAlbum_Call
- type AlbumSharedObserver
- type AlbumSharedObserver_AlbumShared_Call
- func (_c *AlbumSharedObserver_AlbumShared_Call) Return(_a0 error) *AlbumSharedObserver_AlbumShared_Call
- func (_c *AlbumSharedObserver_AlbumShared_Call) Run(...) *AlbumSharedObserver_AlbumShared_Call
- func (_c *AlbumSharedObserver_AlbumShared_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, usermodel.UserId) error) *AlbumSharedObserver_AlbumShared_Call
- type AlbumSharedObserver_Expecter
- type AlbumUnSharedObserver
- type AlbumUnSharedObserver_AlbumUnShared_Call
- func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) Return(_a0 error) *AlbumUnSharedObserver_AlbumUnShared_Call
- func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) Run(...) *AlbumUnSharedObserver_AlbumUnShared_Call
- func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, usermodel.UserId) error) *AlbumUnSharedObserver_AlbumUnShared_Call
- type AlbumUnSharedObserver_Expecter
- type AmendAlbumDateRepositoryPort
- type AmendAlbumDateRepositoryPort_AmendDates_Call
- func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) Return(_a0 error) *AmendAlbumDateRepositoryPort_AmendDates_Call
- func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) Run(...) *AmendAlbumDateRepositoryPort_AmendDates_Call
- func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, time.Time, time.Time) error) *AmendAlbumDateRepositoryPort_AmendDates_Call
- type AmendAlbumDateRepositoryPort_Expecter
- type AmendAlbumDatesWithTimeline
- type AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
- func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Return(_a0 error) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
- func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, ...)) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
- func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) RunAndReturn(...) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
- type AmendAlbumDatesWithTimeline_Expecter
- type ArchiveFactory
- type ArchiveFactory_ArchiveAsyncJobAdapter_Call
- func (_c *ArchiveFactory_ArchiveAsyncJobAdapter_Call) Return(_a0 archive.AsyncJobAdapter) *ArchiveFactory_ArchiveAsyncJobAdapter_Call
- func (_c *ArchiveFactory_ArchiveAsyncJobAdapter_Call) Run(run func(ctx context.Context)) *ArchiveFactory_ArchiveAsyncJobAdapter_Call
- func (_c *ArchiveFactory_ArchiveAsyncJobAdapter_Call) RunAndReturn(run func(context.Context) archive.AsyncJobAdapter) *ArchiveFactory_ArchiveAsyncJobAdapter_Call
- type ArchiveFactory_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 BackupSuggestionPort
- type BackupSuggestionPort_BackupSuggestion_Call
- func (_c *BackupSuggestionPort_BackupSuggestion_Call) Return(_a0 error) *BackupSuggestionPort_BackupSuggestion_Call
- func (_c *BackupSuggestionPort_BackupSuggestion_Call) Run(run func(record *ui.SuggestionRecord, existing *ui.ExistingRecord, ...)) *BackupSuggestionPort_BackupSuggestion_Call
- func (_c *BackupSuggestionPort_BackupSuggestion_Call) RunAndReturn(...) *BackupSuggestionPort_BackupSuggestion_Call
- type BackupSuggestionPort_Expecter
- type CacheAdapter
- func (_m *CacheAdapter) EXPECT() *CacheAdapter_Expecter
- func (_m *CacheAdapter) Get(key string) (io.ReadCloser, int, string, error)
- func (_m *CacheAdapter) Put(key string, mediaType string, content io.Reader) error
- func (_m *CacheAdapter) SignedURL(key string, duration time.Duration) (string, error)
- func (_m *CacheAdapter) WalkCacheByPrefix(prefix string, observer func(string)) error
- type CacheAdapter_Expecter
- func (_e *CacheAdapter_Expecter) Get(key interface{}) *CacheAdapter_Get_Call
- func (_e *CacheAdapter_Expecter) Put(key interface{}, mediaType interface{}, content interface{}) *CacheAdapter_Put_Call
- func (_e *CacheAdapter_Expecter) SignedURL(key interface{}, duration interface{}) *CacheAdapter_SignedURL_Call
- func (_e *CacheAdapter_Expecter) WalkCacheByPrefix(prefix interface{}, observer interface{}) *CacheAdapter_WalkCacheByPrefix_Call
- type CacheAdapter_Get_Call
- func (_c *CacheAdapter_Get_Call) Return(_a0 io.ReadCloser, _a1 int, _a2 string, _a3 error) *CacheAdapter_Get_Call
- func (_c *CacheAdapter_Get_Call) Run(run func(key string)) *CacheAdapter_Get_Call
- func (_c *CacheAdapter_Get_Call) RunAndReturn(run func(string) (io.ReadCloser, int, string, error)) *CacheAdapter_Get_Call
- type CacheAdapter_Put_Call
- func (_c *CacheAdapter_Put_Call) Return(_a0 error) *CacheAdapter_Put_Call
- func (_c *CacheAdapter_Put_Call) Run(run func(key string, mediaType string, content io.Reader)) *CacheAdapter_Put_Call
- func (_c *CacheAdapter_Put_Call) RunAndReturn(run func(string, string, io.Reader) error) *CacheAdapter_Put_Call
- type CacheAdapter_SignedURL_Call
- func (_c *CacheAdapter_SignedURL_Call) Return(_a0 string, _a1 error) *CacheAdapter_SignedURL_Call
- func (_c *CacheAdapter_SignedURL_Call) Run(run func(key string, duration time.Duration)) *CacheAdapter_SignedURL_Call
- func (_c *CacheAdapter_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *CacheAdapter_SignedURL_Call
- type CacheAdapter_WalkCacheByPrefix_Call
- func (_c *CacheAdapter_WalkCacheByPrefix_Call) Return(_a0 error) *CacheAdapter_WalkCacheByPrefix_Call
- func (_c *CacheAdapter_WalkCacheByPrefix_Call) Run(run func(prefix string, observer func(string))) *CacheAdapter_WalkCacheByPrefix_Call
- func (_c *CacheAdapter_WalkCacheByPrefix_Call) RunAndReturn(run func(string, func(string)) error) *CacheAdapter_WalkCacheByPrefix_Call
- type CatalogInsertMedia
- type CatalogInsertMedia_Expecter
- type CatalogInsertMedia_Insert_Call
- func (_c *CatalogInsertMedia_Insert_Call) Return(_a0 error) *CatalogInsertMedia_Insert_Call
- func (_c *CatalogInsertMedia_Insert_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *CatalogInsertMedia_Insert_Call
- func (_c *CatalogInsertMedia_Insert_Call) RunAndReturn(...) *CatalogInsertMedia_Insert_Call
- type CatalogQueriesPort
- type CatalogQueriesPort_Expecter
- type CatalogQueriesPort_FindMediaOwnership_Call
- func (_c *CatalogQueriesPort_FindMediaOwnership_Call) Return(_a0 *catalog.AlbumId, _a1 error) *CatalogQueriesPort_FindMediaOwnership_Call
- func (_c *CatalogQueriesPort_FindMediaOwnership_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId)) *CatalogQueriesPort_FindMediaOwnership_Call
- func (_c *CatalogQueriesPort_FindMediaOwnership_Call) RunAndReturn(...) *CatalogQueriesPort_FindMediaOwnership_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 Config
- func (_m *Config) EXPECT() *Config_Expecter
- func (_m *Config) Get(key string) interface{}
- 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 Config_Expecter
- func (_e *Config_Expecter) Get(key interface{}) *Config_Get_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_GetAWSV2Config_Call
- type Config_GetBool_Call
- type Config_GetIntOrDefault_Call
- func (_c *Config_GetIntOrDefault_Call) Return(_a0 int) *Config_GetIntOrDefault_Call
- func (_c *Config_GetIntOrDefault_Call) Run(run func(key string, defaultValue int)) *Config_GetIntOrDefault_Call
- func (_c *Config_GetIntOrDefault_Call) RunAndReturn(run func(string, int) int) *Config_GetIntOrDefault_Call
- type Config_GetInt_Call
- type Config_GetStringOrDefault_Call
- func (_c *Config_GetStringOrDefault_Call) Return(_a0 string) *Config_GetStringOrDefault_Call
- func (_c *Config_GetStringOrDefault_Call) Run(run func(key string, defaultValue string)) *Config_GetStringOrDefault_Call
- func (_c *Config_GetStringOrDefault_Call) RunAndReturn(run func(string, string) string) *Config_GetStringOrDefault_Call
- type Config_GetString_Call
- type Config_Get_Call
- type CountMediasBySelectorsFunc
- type CountMediasBySelectorsFunc_Execute_Call
- func (_c *CountMediasBySelectorsFunc_Execute_Call) Return(_a0 int, _a1 error) *CountMediasBySelectorsFunc_Execute_Call
- func (_c *CountMediasBySelectorsFunc_Execute_Call) Run(...) *CountMediasBySelectorsFunc_Execute_Call
- func (_c *CountMediasBySelectorsFunc_Execute_Call) RunAndReturn(...) *CountMediasBySelectorsFunc_Execute_Call
- type CountMediasBySelectorsFunc_Expecter
- type CountMediasBySelectorsPort
- type CountMediasBySelectorsPort_CountMediasBySelectors_Call
- func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) Return(_a0 int, _a1 error) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
- func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) Run(...) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
- func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) RunAndReturn(...) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
- type CountMediasBySelectorsPort_Expecter
- type CreateAlbumObserver
- type CreateAlbumObserverFunc
- type CreateAlbumObserverFunc_Execute_Call
- func (_c *CreateAlbumObserverFunc_Execute_Call) Return(_a0 error) *CreateAlbumObserverFunc_Execute_Call
- func (_c *CreateAlbumObserverFunc_Execute_Call) Run(run func(ctx context.Context, createdAlbum catalog.Album)) *CreateAlbumObserverFunc_Execute_Call
- func (_c *CreateAlbumObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *CreateAlbumObserverFunc_Execute_Call
- type CreateAlbumObserverFunc_Expecter
- type CreateAlbumObserverWithTimeline
- type CreateAlbumObserverWithTimeline_Expecter
- type CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Return(_a0 error) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, ...)) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) RunAndReturn(run func(context.Context, *catalog.TimelineAggregate, catalog.Album) error) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
- type CreateAlbumObserver_Expecter
- type CreateAlbumObserver_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) Return(_a0 error) *CreateAlbumObserver_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) Run(run func(ctx context.Context, createdAlbum catalog.Album)) *CreateAlbumObserver_ObserveCreateAlbum_Call
- func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *CreateAlbumObserver_ObserveCreateAlbum_Call
- type CreateAlbumPort
- type CreateAlbumPort_Create_Call
- func (_c *CreateAlbumPort_Create_Call) Return(_a0 error) *CreateAlbumPort_Create_Call
- func (_c *CreateAlbumPort_Create_Call) Run(run func(createRequest ui.RecordCreation)) *CreateAlbumPort_Create_Call
- func (_c *CreateAlbumPort_Create_Call) RunAndReturn(run func(ui.RecordCreation) error) *CreateAlbumPort_Create_Call
- type CreateAlbumPort_Expecter
- type CreateAlbumWithTimeline
- type CreateAlbumWithTimeline_Create_Call
- func (_c *CreateAlbumWithTimeline_Create_Call) Return(_a0 *catalog.AlbumId, _a1 error) *CreateAlbumWithTimeline_Create_Call
- func (_c *CreateAlbumWithTimeline_Create_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, ...)) *CreateAlbumWithTimeline_Create_Call
- func (_c *CreateAlbumWithTimeline_Create_Call) RunAndReturn(...) *CreateAlbumWithTimeline_Create_Call
- type CreateAlbumWithTimeline_Expecter
- type DeleteAlbumObserver
- type DeleteAlbumObserver_Expecter
- type DeleteAlbumObserver_OnDeleteAlbum_Call
- func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) Return(_a0 error) *DeleteAlbumObserver_OnDeleteAlbum_Call
- func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) Run(run func(ctx context.Context, deletedAlbum catalog.AlbumId, ...)) *DeleteAlbumObserver_OnDeleteAlbum_Call
- func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.MediaTransferRecords) error) *DeleteAlbumObserver_OnDeleteAlbum_Call
- type DeleteAlbumPort
- type DeleteAlbumPort_DeleteAlbum_Call
- func (_c *DeleteAlbumPort_DeleteAlbum_Call) Return(_a0 error) *DeleteAlbumPort_DeleteAlbum_Call
- func (_c *DeleteAlbumPort_DeleteAlbum_Call) Run(run func(folderName string)) *DeleteAlbumPort_DeleteAlbum_Call
- func (_c *DeleteAlbumPort_DeleteAlbum_Call) RunAndReturn(run func(string) error) *DeleteAlbumPort_DeleteAlbum_Call
- type DeleteAlbumPort_Expecter
- type DeleteAlbumRepositoryFunc
- type DeleteAlbumRepositoryFunc_Execute_Call
- func (_c *DeleteAlbumRepositoryFunc_Execute_Call) Return(_a0 error) *DeleteAlbumRepositoryFunc_Execute_Call
- func (_c *DeleteAlbumRepositoryFunc_Execute_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *DeleteAlbumRepositoryFunc_Execute_Call
- func (_c *DeleteAlbumRepositoryFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *DeleteAlbumRepositoryFunc_Execute_Call
- type DeleteAlbumRepositoryFunc_Expecter
- type DeleteAlbumRepositoryPort
- type DeleteAlbumRepositoryPort_DeleteAlbum_Call
- func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) Return(_a0 error) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
- func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
- func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
- type DeleteAlbumRepositoryPort_Expecter
- type DeleteAlbumSizePort
- type DeleteAlbumSizePort_DeleteAlbumSize_Call
- func (_c *DeleteAlbumSizePort_DeleteAlbumSize_Call) Return(_a0 error) *DeleteAlbumSizePort_DeleteAlbumSize_Call
- func (_c *DeleteAlbumSizePort_DeleteAlbumSize_Call) Run(run func(ctx context.Context, availability catalogviews.Availability, ...)) *DeleteAlbumSizePort_DeleteAlbumSize_Call
- func (_c *DeleteAlbumSizePort_DeleteAlbumSize_Call) RunAndReturn(run func(context.Context, catalogviews.Availability, catalog.AlbumId) error) *DeleteAlbumSizePort_DeleteAlbumSize_Call
- type DeleteAlbumSizePort_Expecter
- type DriftObserver
- type DriftObserver_Expecter
- type DriftObserver_OnDetectedDrifts_Call
- func (_c *DriftObserver_OnDetectedDrifts_Call) Return(_a0 error) *DriftObserver_OnDetectedDrifts_Call
- func (_c *DriftObserver_OnDetectedDrifts_Call) Run(run func(ctx context.Context, drifts []catalogviews.Drift)) *DriftObserver_OnDetectedDrifts_Call
- func (_c *DriftObserver_OnDetectedDrifts_Call) RunAndReturn(run func(context.Context, []catalogviews.Drift) error) *DriftObserver_OnDetectedDrifts_Call
- type DriftSynchronizerPort
- func (_m *DriftSynchronizerPort) DeleteAlbumSize(ctx context.Context, availability catalogviews.Availability, ...) error
- func (_m *DriftSynchronizerPort) EXPECT() *DriftSynchronizerPort_Expecter
- func (_m *DriftSynchronizerPort) InsertAlbumSize(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize) error
- type DriftSynchronizerPort_DeleteAlbumSize_Call
- func (_c *DriftSynchronizerPort_DeleteAlbumSize_Call) Return(_a0 error) *DriftSynchronizerPort_DeleteAlbumSize_Call
- func (_c *DriftSynchronizerPort_DeleteAlbumSize_Call) Run(run func(ctx context.Context, availability catalogviews.Availability, ...)) *DriftSynchronizerPort_DeleteAlbumSize_Call
- func (_c *DriftSynchronizerPort_DeleteAlbumSize_Call) RunAndReturn(run func(context.Context, catalogviews.Availability, catalog.AlbumId) error) *DriftSynchronizerPort_DeleteAlbumSize_Call
- type DriftSynchronizerPort_Expecter
- func (_e *DriftSynchronizerPort_Expecter) DeleteAlbumSize(ctx interface{}, availability interface{}, albumId interface{}) *DriftSynchronizerPort_DeleteAlbumSize_Call
- func (_e *DriftSynchronizerPort_Expecter) InsertAlbumSize(ctx interface{}, albumSize interface{}) *DriftSynchronizerPort_InsertAlbumSize_Call
- type DriftSynchronizerPort_InsertAlbumSize_Call
- func (_c *DriftSynchronizerPort_InsertAlbumSize_Call) Return(_a0 error) *DriftSynchronizerPort_InsertAlbumSize_Call
- func (_c *DriftSynchronizerPort_InsertAlbumSize_Call) Run(run func(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize)) *DriftSynchronizerPort_InsertAlbumSize_Call
- func (_c *DriftSynchronizerPort_InsertAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.MultiUserAlbumSize) error) *DriftSynchronizerPort_InsertAlbumSize_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 Factory
- type Factory_ArchiveAsyncJobAdapter_Call
- func (_c *Factory_ArchiveAsyncJobAdapter_Call) Return(_a0 archive.AsyncJobAdapter) *Factory_ArchiveAsyncJobAdapter_Call
- func (_c *Factory_ArchiveAsyncJobAdapter_Call) Run(run func(ctx context.Context)) *Factory_ArchiveAsyncJobAdapter_Call
- func (_c *Factory_ArchiveAsyncJobAdapter_Call) RunAndReturn(run func(context.Context) archive.AsyncJobAdapter) *Factory_ArchiveAsyncJobAdapter_Call
- type Factory_Expecter
- type Factory_InitArchive_Call
- type FindAlbumByIdFunc
- type FindAlbumByIdFunc_Execute_Call
- func (_c *FindAlbumByIdFunc_Execute_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumByIdFunc_Execute_Call
- func (_c *FindAlbumByIdFunc_Execute_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *FindAlbumByIdFunc_Execute_Call
- func (_c *FindAlbumByIdFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumByIdFunc_Execute_Call
- type FindAlbumByIdFunc_Expecter
- type FindAlbumByIdPort
- type FindAlbumByIdPort_Expecter
- type FindAlbumByIdPort_FindAlbumById_Call
- func (_c *FindAlbumByIdPort_FindAlbumById_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumByIdPort_FindAlbumById_Call
- func (_c *FindAlbumByIdPort_FindAlbumById_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *FindAlbumByIdPort_FindAlbumById_Call
- func (_c *FindAlbumByIdPort_FindAlbumById_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumByIdPort_FindAlbumById_Call
- type FindAlbumByOwnerFunc
- type FindAlbumByOwnerFunc_Execute_Call
- func (_c *FindAlbumByOwnerFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumByOwnerFunc_Execute_Call
- func (_c *FindAlbumByOwnerFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumByOwnerFunc_Execute_Call
- func (_c *FindAlbumByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumByOwnerFunc_Execute_Call
- type FindAlbumByOwnerFunc_Expecter
- type FindAlbumByOwnerPort
- type FindAlbumByOwnerPort_Expecter
- type FindAlbumByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
- type FindAlbumPort
- type FindAlbumPort_Expecter
- type FindAlbumPort_FindAlbum_Call
- func (_c *FindAlbumPort_FindAlbum_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumPort_FindAlbum_Call
- func (_c *FindAlbumPort_FindAlbum_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *FindAlbumPort_FindAlbum_Call
- func (_c *FindAlbumPort_FindAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumPort_FindAlbum_Call
- type FindAlbumsByIdsFunc
- type FindAlbumsByIdsFunc_Execute_Call
- func (_c *FindAlbumsByIdsFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByIdsFunc_Execute_Call
- func (_c *FindAlbumsByIdsFunc_Execute_Call) Run(run func(ctx context.Context, ids []catalog.AlbumId)) *FindAlbumsByIdsFunc_Execute_Call
- func (_c *FindAlbumsByIdsFunc_Execute_Call) RunAndReturn(run func(context.Context, []catalog.AlbumId) ([]*catalog.Album, error)) *FindAlbumsByIdsFunc_Execute_Call
- type FindAlbumsByIdsFunc_Expecter
- type FindAlbumsByIdsPort
- type FindAlbumsByIdsPort_Expecter
- type FindAlbumsByIdsPort_FindAlbumsById_Call
- func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByIdsPort_FindAlbumsById_Call
- func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) Run(run func(ctx context.Context, ids []catalog.AlbumId)) *FindAlbumsByIdsPort_FindAlbumsById_Call
- func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) RunAndReturn(run func(context.Context, []catalog.AlbumId) ([]*catalog.Album, error)) *FindAlbumsByIdsPort_FindAlbumsById_Call
- type FindAlbumsByOwnerFunc
- type FindAlbumsByOwnerFunc_Execute_Call
- func (_c *FindAlbumsByOwnerFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByOwnerFunc_Execute_Call
- func (_c *FindAlbumsByOwnerFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumsByOwnerFunc_Execute_Call
- func (_c *FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerFunc_Execute_Call
- type FindAlbumsByOwnerFunc_Expecter
- type FindAlbumsByOwnerPort
- type FindAlbumsByOwnerPort_Expecter
- type FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
- func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
- type FindExistingSignaturePort
- type FindExistingSignaturePort_Expecter
- type FindExistingSignaturePort_FindSignatures_Call
- func (_c *FindExistingSignaturePort_FindSignatures_Call) Return(_a0 map[catalog.MediaSignature]catalog.MediaId, _a1 error) *FindExistingSignaturePort_FindSignatures_Call
- func (_c *FindExistingSignaturePort_FindSignatures_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *FindExistingSignaturePort_FindSignatures_Call
- func (_c *FindExistingSignaturePort_FindSignatures_Call) RunAndReturn(...) *FindExistingSignaturePort_FindSignatures_Call
- type GetAlbumSharingGridFunc
- type GetAlbumSharingGridFunc_Execute_Call
- func (_c *GetAlbumSharingGridFunc_Execute_Call) Return(_a0 map[catalog.AlbumId][]usermodel.UserId, _a1 error) *GetAlbumSharingGridFunc_Execute_Call
- func (_c *GetAlbumSharingGridFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *GetAlbumSharingGridFunc_Execute_Call
- func (_c *GetAlbumSharingGridFunc_Execute_Call) RunAndReturn(...) *GetAlbumSharingGridFunc_Execute_Call
- type GetAlbumSharingGridFunc_Expecter
- type GetAlbumSharingGridPort
- type GetAlbumSharingGridPort_Expecter
- type GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
- func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Return(_a0 map[catalog.AlbumId][]usermodel.UserId, _a1 error) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
- func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
- func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) RunAndReturn(...) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
- type GetAvailabilitiesByUserPort
- type GetAvailabilitiesByUserPort_Expecter
- type GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
- func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Return(_a0 []catalogviews.UserAlbumSize, _a1 error) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
- func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
- func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) RunAndReturn(...) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
- type GetCurrentAlbumSizesPort
- type GetCurrentAlbumSizesPort_Expecter
- type GetCurrentAlbumSizesPort_GetAlbumSizes_Call
- func (_c *GetCurrentAlbumSizesPort_GetAlbumSizes_Call) Return(_a0 []catalogviews.UserAlbumSize, _a1 error) *GetCurrentAlbumSizesPort_GetAlbumSizes_Call
- func (_c *GetCurrentAlbumSizesPort_GetAlbumSizes_Call) Run(...) *GetCurrentAlbumSizesPort_GetAlbumSizes_Call
- func (_c *GetCurrentAlbumSizesPort_GetAlbumSizes_Call) RunAndReturn(...) *GetCurrentAlbumSizesPort_GetAlbumSizes_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) FindScopesByIdCtx(ctx context.Context, ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) ListScopesByOwners(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *GrantRepository) SaveIfNewScope(scope aclcore.Scope) error
- type GrantRepository_DeleteScopes_Call
- func (_c *GrantRepository_DeleteScopes_Call) Return(_a0 error) *GrantRepository_DeleteScopes_Call
- func (_c *GrantRepository_DeleteScopes_Call) Run(run func(id ...aclcore.ScopeId)) *GrantRepository_DeleteScopes_Call
- func (_c *GrantRepository_DeleteScopes_Call) RunAndReturn(run func(...aclcore.ScopeId) error) *GrantRepository_DeleteScopes_Call
- type GrantRepository_Expecter
- func (_e *GrantRepository_Expecter) DeleteScopes(id ...interface{}) *GrantRepository_DeleteScopes_Call
- func (_e *GrantRepository_Expecter) FindScopesById(ids ...interface{}) *GrantRepository_FindScopesById_Call
- func (_e *GrantRepository_Expecter) FindScopesByIdCtx(ctx interface{}, ids ...interface{}) *GrantRepository_FindScopesByIdCtx_Call
- func (_e *GrantRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *GrantRepository_ListScopesByOwner_Call
- func (_e *GrantRepository_Expecter) ListScopesByOwners(ctx interface{}, owners interface{}, types ...interface{}) *GrantRepository_ListScopesByOwners_Call
- func (_e *GrantRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *GrantRepository_ListScopesByUser_Call
- func (_e *GrantRepository_Expecter) SaveIfNewScope(scope interface{}) *GrantRepository_SaveIfNewScope_Call
- type GrantRepository_FindScopesByIdCtx_Call
- func (_c *GrantRepository_FindScopesByIdCtx_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_FindScopesByIdCtx_Call
- func (_c *GrantRepository_FindScopesByIdCtx_Call) Run(run func(ctx context.Context, ids ...aclcore.ScopeId)) *GrantRepository_FindScopesByIdCtx_Call
- func (_c *GrantRepository_FindScopesByIdCtx_Call) RunAndReturn(run func(context.Context, ...aclcore.ScopeId) ([]*aclcore.Scope, error)) *GrantRepository_FindScopesByIdCtx_Call
- type GrantRepository_FindScopesById_Call
- func (_c *GrantRepository_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_FindScopesById_Call
- func (_c *GrantRepository_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *GrantRepository_FindScopesById_Call
- func (_c *GrantRepository_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *GrantRepository_FindScopesById_Call
- type GrantRepository_ListScopesByOwner_Call
- func (_c *GrantRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByOwner_Call
- func (_c *GrantRepository_ListScopesByOwner_Call) Run(...) *GrantRepository_ListScopesByOwner_Call
- func (_c *GrantRepository_ListScopesByOwner_Call) RunAndReturn(...) *GrantRepository_ListScopesByOwner_Call
- type GrantRepository_ListScopesByOwners_Call
- func (_c *GrantRepository_ListScopesByOwners_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByOwners_Call
- func (_c *GrantRepository_ListScopesByOwners_Call) Run(...) *GrantRepository_ListScopesByOwners_Call
- func (_c *GrantRepository_ListScopesByOwners_Call) RunAndReturn(...) *GrantRepository_ListScopesByOwners_Call
- type GrantRepository_ListScopesByUser_Call
- func (_c *GrantRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByUser_Call
- func (_c *GrantRepository_ListScopesByUser_Call) Run(...) *GrantRepository_ListScopesByUser_Call
- func (_c *GrantRepository_ListScopesByUser_Call) RunAndReturn(...) *GrantRepository_ListScopesByUser_Call
- type GrantRepository_SaveIfNewScope_Call
- func (_c *GrantRepository_SaveIfNewScope_Call) Return(_a0 error) *GrantRepository_SaveIfNewScope_Call
- func (_c *GrantRepository_SaveIfNewScope_Call) Run(run func(scope aclcore.Scope)) *GrantRepository_SaveIfNewScope_Call
- func (_c *GrantRepository_SaveIfNewScope_Call) RunAndReturn(run func(aclcore.Scope) error) *GrantRepository_SaveIfNewScope_Call
- type HasPermissionPort
- type HasPermissionPort_Expecter
- type HasPermissionPort_FindScopesByIdCtx_Call
- func (_c *HasPermissionPort_FindScopesByIdCtx_Call) Return(_a0 []*aclcore.Scope, _a1 error) *HasPermissionPort_FindScopesByIdCtx_Call
- func (_c *HasPermissionPort_FindScopesByIdCtx_Call) Run(run func(ctx context.Context, ids ...aclcore.ScopeId)) *HasPermissionPort_FindScopesByIdCtx_Call
- func (_c *HasPermissionPort_FindScopesByIdCtx_Call) RunAndReturn(run func(context.Context, ...aclcore.ScopeId) ([]*aclcore.Scope, error)) *HasPermissionPort_FindScopesByIdCtx_Call
- type IAccessTokenGenerator
- type IAccessTokenGenerator_Expecter
- type IAccessTokenGenerator_GenerateAccessToken_Call
- func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) Return(_a0 *aclcore.Authentication, _a1 error) *IAccessTokenGenerator_GenerateAccessToken_Call
- func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) Run(run func(email usermodel.UserId)) *IAccessTokenGenerator_GenerateAccessToken_Call
- func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Authentication, error)) *IAccessTokenGenerator_GenerateAccessToken_Call
- type IRefreshTokenGenerator
- type IRefreshTokenGenerator_Expecter
- type IRefreshTokenGenerator_GenerateRefreshToken_Call
- func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) Return(_a0 string, _a1 error) *IRefreshTokenGenerator_GenerateRefreshToken_Call
- func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) Run(run func(spec aclcore.RefreshTokenSpec)) *IRefreshTokenGenerator_GenerateRefreshToken_Call
- func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) RunAndReturn(run func(aclcore.RefreshTokenSpec) (string, error)) *IRefreshTokenGenerator_GenerateRefreshToken_Call
- type IdentityDetailsStore
- type IdentityDetailsStore_Expecter
- type IdentityDetailsStore_FindIdentity_Call
- func (_c *IdentityDetailsStore_FindIdentity_Call) Return(_a0 *aclcore.Identity, _a1 error) *IdentityDetailsStore_FindIdentity_Call
- func (_c *IdentityDetailsStore_FindIdentity_Call) Run(run func(email usermodel.UserId)) *IdentityDetailsStore_FindIdentity_Call
- func (_c *IdentityDetailsStore_FindIdentity_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Identity, error)) *IdentityDetailsStore_FindIdentity_Call
- type IdentityDetailsStore_StoreIdentity_Call
- func (_c *IdentityDetailsStore_StoreIdentity_Call) Return(_a0 error) *IdentityDetailsStore_StoreIdentity_Call
- func (_c *IdentityDetailsStore_StoreIdentity_Call) Run(run func(identity aclcore.Identity)) *IdentityDetailsStore_StoreIdentity_Call
- func (_c *IdentityDetailsStore_StoreIdentity_Call) RunAndReturn(run func(aclcore.Identity) error) *IdentityDetailsStore_StoreIdentity_Call
- type IdentityQueriesIdentityRepository
- type IdentityQueriesIdentityRepository_Expecter
- type IdentityQueriesIdentityRepository_FindIdentities_Call
- func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) Return(_a0 []*aclcore.Identity, _a1 error) *IdentityQueriesIdentityRepository_FindIdentities_Call
- func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) Run(run func(emails []usermodel.UserId)) *IdentityQueriesIdentityRepository_FindIdentities_Call
- func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn(run func([]usermodel.UserId) ([]*aclcore.Identity, error)) *IdentityQueriesIdentityRepository_FindIdentities_Call
- type IdentityQueriesScopeRepository
- type IdentityQueriesScopeRepository_Expecter
- type IdentityQueriesScopeRepository_ListScopesByOwners_Call
- func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) Return(_a0 []*aclcore.Scope, _a1 error) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
- func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) Run(...) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
- func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn(...) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
- type IdentityRepository
- func (_m *IdentityRepository) EXPECT() *IdentityRepository_Expecter
- func (_m *IdentityRepository) FindIdentities(emails []usermodel.UserId) ([]*aclcore.Identity, error)
- func (_m *IdentityRepository) FindIdentity(email usermodel.UserId) (*aclcore.Identity, error)
- func (_m *IdentityRepository) StoreIdentity(identity aclcore.Identity) error
- type IdentityRepository_Expecter
- func (_e *IdentityRepository_Expecter) FindIdentities(emails interface{}) *IdentityRepository_FindIdentities_Call
- func (_e *IdentityRepository_Expecter) FindIdentity(email interface{}) *IdentityRepository_FindIdentity_Call
- func (_e *IdentityRepository_Expecter) StoreIdentity(identity interface{}) *IdentityRepository_StoreIdentity_Call
- type IdentityRepository_FindIdentities_Call
- func (_c *IdentityRepository_FindIdentities_Call) Return(_a0 []*aclcore.Identity, _a1 error) *IdentityRepository_FindIdentities_Call
- func (_c *IdentityRepository_FindIdentities_Call) Run(run func(emails []usermodel.UserId)) *IdentityRepository_FindIdentities_Call
- func (_c *IdentityRepository_FindIdentities_Call) RunAndReturn(run func([]usermodel.UserId) ([]*aclcore.Identity, error)) *IdentityRepository_FindIdentities_Call
- type IdentityRepository_FindIdentity_Call
- func (_c *IdentityRepository_FindIdentity_Call) Return(_a0 *aclcore.Identity, _a1 error) *IdentityRepository_FindIdentity_Call
- func (_c *IdentityRepository_FindIdentity_Call) Run(run func(email usermodel.UserId)) *IdentityRepository_FindIdentity_Call
- func (_c *IdentityRepository_FindIdentity_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Identity, error)) *IdentityRepository_FindIdentity_Call
- type IdentityRepository_StoreIdentity_Call
- func (_c *IdentityRepository_StoreIdentity_Call) Return(_a0 error) *IdentityRepository_StoreIdentity_Call
- func (_c *IdentityRepository_StoreIdentity_Call) Run(run func(identity aclcore.Identity)) *IdentityRepository_StoreIdentity_Call
- func (_c *IdentityRepository_StoreIdentity_Call) RunAndReturn(run func(aclcore.Identity) error) *IdentityRepository_StoreIdentity_Call
- type InsertAlbumPort
- type InsertAlbumPortFunc
- type InsertAlbumPortFunc_Execute_Call
- func (_c *InsertAlbumPortFunc_Execute_Call) Return(_a0 error) *InsertAlbumPortFunc_Execute_Call
- func (_c *InsertAlbumPortFunc_Execute_Call) Run(run func(ctx context.Context, album catalog.Album)) *InsertAlbumPortFunc_Execute_Call
- func (_c *InsertAlbumPortFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *InsertAlbumPortFunc_Execute_Call
- type InsertAlbumPortFunc_Expecter
- type InsertAlbumPort_Expecter
- type InsertAlbumPort_InsertAlbum_Call
- func (_c *InsertAlbumPort_InsertAlbum_Call) Return(_a0 error) *InsertAlbumPort_InsertAlbum_Call
- func (_c *InsertAlbumPort_InsertAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *InsertAlbumPort_InsertAlbum_Call
- func (_c *InsertAlbumPort_InsertAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *InsertAlbumPort_InsertAlbum_Call
- type InsertAlbumSizePort
- type InsertAlbumSizePort_Expecter
- type InsertAlbumSizePort_InsertAlbumSize_Call
- func (_c *InsertAlbumSizePort_InsertAlbumSize_Call) Return(_a0 error) *InsertAlbumSizePort_InsertAlbumSize_Call
- func (_c *InsertAlbumSizePort_InsertAlbumSize_Call) Run(run func(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize)) *InsertAlbumSizePort_InsertAlbumSize_Call
- func (_c *InsertAlbumSizePort_InsertAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.MultiUserAlbumSize) error) *InsertAlbumSizePort_InsertAlbumSize_Call
- type InsertMediaSimulator
- type InsertMediaSimulator_Expecter
- type InsertMediaSimulator_SimulateInsertingMedia_Call
- func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) Return(_a0 []catalog.MediaFutureReference, _a1 error) *InsertMediaSimulator_SimulateInsertingMedia_Call
- func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *InsertMediaSimulator_SimulateInsertingMedia_Call
- func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) RunAndReturn(...) *InsertMediaSimulator_SimulateInsertingMedia_Call
- type InsertMediasObserver
- type InsertMediasObserver_Expecter
- type InsertMediasObserver_OnMediasInserted_Call
- func (_c *InsertMediasObserver_OnMediasInserted_Call) Return(_a0 error) *InsertMediasObserver_OnMediasInserted_Call
- func (_c *InsertMediasObserver_OnMediasInserted_Call) Run(run func(_a0 context.Context, _a1 map[catalog.AlbumId][]catalog.MediaId)) *InsertMediasObserver_OnMediasInserted_Call
- func (_c *InsertMediasObserver_OnMediasInserted_Call) RunAndReturn(run func(context.Context, map[catalog.AlbumId][]catalog.MediaId) error) *InsertMediasObserver_OnMediasInserted_Call
- type InsertMediasRepositoryPort
- type InsertMediasRepositoryPort_Expecter
- type InsertMediasRepositoryPort_InsertMedias_Call
- func (_c *InsertMediasRepositoryPort_InsertMedias_Call) Return(_a0 error) *InsertMediasRepositoryPort_InsertMedias_Call
- func (_c *InsertMediasRepositoryPort_InsertMedias_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, ...)) *InsertMediasRepositoryPort_InsertMedias_Call
- func (_c *InsertMediasRepositoryPort_InsertMedias_Call) RunAndReturn(...) *InsertMediasRepositoryPort_InsertMedias_Call
- type InteractiveActionsPort
- func (_m *InteractiveActionsPort) BackupSuggestion(record *ui.SuggestionRecord, existing *ui.ExistingRecord, ...) error
- func (_m *InteractiveActionsPort) Create(createRequest ui.RecordCreation) error
- func (_m *InteractiveActionsPort) DeleteAlbum(folderName string) error
- func (_m *InteractiveActionsPort) EXPECT() *InteractiveActionsPort_Expecter
- func (_m *InteractiveActionsPort) RenameAlbum(folderName string, newName string, renameFolder bool) error
- func (_m *InteractiveActionsPort) UpdateAlbum(folderName string, start time.Time, end time.Time) error
- type InteractiveActionsPort_BackupSuggestion_Call
- func (_c *InteractiveActionsPort_BackupSuggestion_Call) Return(_a0 error) *InteractiveActionsPort_BackupSuggestion_Call
- func (_c *InteractiveActionsPort_BackupSuggestion_Call) Run(run func(record *ui.SuggestionRecord, existing *ui.ExistingRecord, ...)) *InteractiveActionsPort_BackupSuggestion_Call
- func (_c *InteractiveActionsPort_BackupSuggestion_Call) RunAndReturn(...) *InteractiveActionsPort_BackupSuggestion_Call
- type InteractiveActionsPort_Create_Call
- func (_c *InteractiveActionsPort_Create_Call) Return(_a0 error) *InteractiveActionsPort_Create_Call
- func (_c *InteractiveActionsPort_Create_Call) Run(run func(createRequest ui.RecordCreation)) *InteractiveActionsPort_Create_Call
- func (_c *InteractiveActionsPort_Create_Call) RunAndReturn(run func(ui.RecordCreation) error) *InteractiveActionsPort_Create_Call
- type InteractiveActionsPort_DeleteAlbum_Call
- func (_c *InteractiveActionsPort_DeleteAlbum_Call) Return(_a0 error) *InteractiveActionsPort_DeleteAlbum_Call
- func (_c *InteractiveActionsPort_DeleteAlbum_Call) Run(run func(folderName string)) *InteractiveActionsPort_DeleteAlbum_Call
- func (_c *InteractiveActionsPort_DeleteAlbum_Call) RunAndReturn(run func(string) error) *InteractiveActionsPort_DeleteAlbum_Call
- type InteractiveActionsPort_Expecter
- func (_e *InteractiveActionsPort_Expecter) BackupSuggestion(record interface{}, existing interface{}, listener interface{}) *InteractiveActionsPort_BackupSuggestion_Call
- func (_e *InteractiveActionsPort_Expecter) Create(createRequest interface{}) *InteractiveActionsPort_Create_Call
- func (_e *InteractiveActionsPort_Expecter) DeleteAlbum(folderName interface{}) *InteractiveActionsPort_DeleteAlbum_Call
- func (_e *InteractiveActionsPort_Expecter) RenameAlbum(folderName interface{}, newName interface{}, renameFolder interface{}) *InteractiveActionsPort_RenameAlbum_Call
- func (_e *InteractiveActionsPort_Expecter) UpdateAlbum(folderName interface{}, start interface{}, end interface{}) *InteractiveActionsPort_UpdateAlbum_Call
- type InteractiveActionsPort_RenameAlbum_Call
- func (_c *InteractiveActionsPort_RenameAlbum_Call) Return(_a0 error) *InteractiveActionsPort_RenameAlbum_Call
- func (_c *InteractiveActionsPort_RenameAlbum_Call) Run(run func(folderName string, newName string, renameFolder bool)) *InteractiveActionsPort_RenameAlbum_Call
- func (_c *InteractiveActionsPort_RenameAlbum_Call) RunAndReturn(run func(string, string, bool) error) *InteractiveActionsPort_RenameAlbum_Call
- type InteractiveActionsPort_UpdateAlbum_Call
- func (_c *InteractiveActionsPort_UpdateAlbum_Call) Return(_a0 error) *InteractiveActionsPort_UpdateAlbum_Call
- func (_c *InteractiveActionsPort_UpdateAlbum_Call) Run(run func(folderName string, start time.Time, end time.Time)) *InteractiveActionsPort_UpdateAlbum_Call
- func (_c *InteractiveActionsPort_UpdateAlbum_Call) RunAndReturn(run func(string, time.Time, time.Time) error) *InteractiveActionsPort_UpdateAlbum_Call
- type InteractiveRendererPort
- func (_m *InteractiveRendererPort) EXPECT() *InteractiveRendererPort_Expecter
- func (_m *InteractiveRendererPort) Height() int
- func (_m *InteractiveRendererPort) Print(question string)
- func (_m *InteractiveRendererPort) ReadAnswer() (string, error)
- func (_m *InteractiveRendererPort) Render(state *ui.InteractiveViewState) error
- func (_m *InteractiveRendererPort) TakeOverScreen()
- type InteractiveRendererPort_Expecter
- func (_e *InteractiveRendererPort_Expecter) Height() *InteractiveRendererPort_Height_Call
- func (_e *InteractiveRendererPort_Expecter) Print(question interface{}) *InteractiveRendererPort_Print_Call
- func (_e *InteractiveRendererPort_Expecter) ReadAnswer() *InteractiveRendererPort_ReadAnswer_Call
- func (_e *InteractiveRendererPort_Expecter) Render(state interface{}) *InteractiveRendererPort_Render_Call
- func (_e *InteractiveRendererPort_Expecter) TakeOverScreen() *InteractiveRendererPort_TakeOverScreen_Call
- type InteractiveRendererPort_Height_Call
- func (_c *InteractiveRendererPort_Height_Call) Return(_a0 int) *InteractiveRendererPort_Height_Call
- func (_c *InteractiveRendererPort_Height_Call) Run(run func()) *InteractiveRendererPort_Height_Call
- func (_c *InteractiveRendererPort_Height_Call) RunAndReturn(run func() int) *InteractiveRendererPort_Height_Call
- type InteractiveRendererPort_Print_Call
- func (_c *InteractiveRendererPort_Print_Call) Return() *InteractiveRendererPort_Print_Call
- func (_c *InteractiveRendererPort_Print_Call) Run(run func(question string)) *InteractiveRendererPort_Print_Call
- func (_c *InteractiveRendererPort_Print_Call) RunAndReturn(run func(string)) *InteractiveRendererPort_Print_Call
- type InteractiveRendererPort_ReadAnswer_Call
- func (_c *InteractiveRendererPort_ReadAnswer_Call) Return(_a0 string, _a1 error) *InteractiveRendererPort_ReadAnswer_Call
- func (_c *InteractiveRendererPort_ReadAnswer_Call) Run(run func()) *InteractiveRendererPort_ReadAnswer_Call
- func (_c *InteractiveRendererPort_ReadAnswer_Call) RunAndReturn(run func() (string, error)) *InteractiveRendererPort_ReadAnswer_Call
- type InteractiveRendererPort_Render_Call
- func (_c *InteractiveRendererPort_Render_Call) Return(_a0 error) *InteractiveRendererPort_Render_Call
- func (_c *InteractiveRendererPort_Render_Call) Run(run func(state *ui.InteractiveViewState)) *InteractiveRendererPort_Render_Call
- func (_c *InteractiveRendererPort_Render_Call) RunAndReturn(run func(*ui.InteractiveViewState) error) *InteractiveRendererPort_Render_Call
- type InteractiveRendererPort_TakeOverScreen_Call
- func (_c *InteractiveRendererPort_TakeOverScreen_Call) Return() *InteractiveRendererPort_TakeOverScreen_Call
- func (_c *InteractiveRendererPort_TakeOverScreen_Call) Run(run func()) *InteractiveRendererPort_TakeOverScreen_Call
- func (_c *InteractiveRendererPort_TakeOverScreen_Call) RunAndReturn(run func()) *InteractiveRendererPort_TakeOverScreen_Call
- type ListAlbumsProvider
- type ListAlbumsProviderFunc
- type ListAlbumsProviderFunc_Execute_Call
- func (_c *ListAlbumsProviderFunc_Execute_Call) Return(_a0 []*catalogviews.VisibleAlbum, _a1 error) *ListAlbumsProviderFunc_Execute_Call
- func (_c *ListAlbumsProviderFunc_Execute_Call) Run(run func(ctx context.Context, user usermodel.CurrentUser, ...)) *ListAlbumsProviderFunc_Execute_Call
- func (_c *ListAlbumsProviderFunc_Execute_Call) RunAndReturn(...) *ListAlbumsProviderFunc_Execute_Call
- type ListAlbumsProviderFunc_Expecter
- type ListAlbumsProvider_Expecter
- type ListAlbumsProvider_ListAlbums_Call
- func (_c *ListAlbumsProvider_ListAlbums_Call) Return(_a0 []*catalogviews.VisibleAlbum, _a1 error) *ListAlbumsProvider_ListAlbums_Call
- func (_c *ListAlbumsProvider_ListAlbums_Call) Run(run func(ctx context.Context, user usermodel.CurrentUser, ...)) *ListAlbumsProvider_ListAlbums_Call
- func (_c *ListAlbumsProvider_ListAlbums_Call) RunAndReturn(...) *ListAlbumsProvider_ListAlbums_Call
- type ListUserWhoCanAccessAlbumPort
- type ListUserWhoCanAccessAlbumPort_Expecter
- type ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
- func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Return(_a0 map[catalog.AlbumId][]catalogviews.Availability, _a1 error) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
- func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Run(run func(ctx context.Context, albumId ...catalog.AlbumId)) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
- func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) RunAndReturn(...) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
- type Listener
- type Listener_Execute_Call
- type Listener_Expecter
- type MediaCounterFunc
- type MediaCounterFunc_Execute_Call
- func (_c *MediaCounterFunc_Execute_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *MediaCounterFunc_Execute_Call
- func (_c *MediaCounterFunc_Execute_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *MediaCounterFunc_Execute_Call
- func (_c *MediaCounterFunc_Execute_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *MediaCounterFunc_Execute_Call
- type MediaCounterFunc_Expecter
- type MediaCounterPort
- type MediaCounterPort_CountMedia_Call
- func (_c *MediaCounterPort_CountMedia_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *MediaCounterPort_CountMedia_Call
- func (_c *MediaCounterPort_CountMedia_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *MediaCounterPort_CountMedia_Call
- func (_c *MediaCounterPort_CountMedia_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *MediaCounterPort_CountMedia_Call
- type MediaCounterPort_Expecter
- type MediaReadRepository
- func (_m *MediaReadRepository) EXPECT() *MediaReadRepository_Expecter
- func (_m *MediaReadRepository) FindMediaCurrentAlbum(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)
- func (_m *MediaReadRepository) FindMedias(ctx context.Context, request *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)
- type MediaReadRepository_Expecter
- type MediaReadRepository_FindMediaCurrentAlbum_Call
- func (_c *MediaReadRepository_FindMediaCurrentAlbum_Call) Return(id *catalog.AlbumId, err error) *MediaReadRepository_FindMediaCurrentAlbum_Call
- func (_c *MediaReadRepository_FindMediaCurrentAlbum_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId)) *MediaReadRepository_FindMediaCurrentAlbum_Call
- func (_c *MediaReadRepository_FindMediaCurrentAlbum_Call) RunAndReturn(...) *MediaReadRepository_FindMediaCurrentAlbum_Call
- type MediaReadRepository_FindMedias_Call
- func (_c *MediaReadRepository_FindMedias_Call) Return(medias []*catalog.MediaMeta, err error) *MediaReadRepository_FindMedias_Call
- func (_c *MediaReadRepository_FindMedias_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *MediaReadRepository_FindMedias_Call
- func (_c *MediaReadRepository_FindMedias_Call) RunAndReturn(...) *MediaReadRepository_FindMedias_Call
- type MediaTransfer
- type MediaTransferFunc
- type MediaTransferFunc_Execute_Call
- func (_c *MediaTransferFunc_Execute_Call) Return(_a0 error) *MediaTransferFunc_Execute_Call
- func (_c *MediaTransferFunc_Execute_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *MediaTransferFunc_Execute_Call
- func (_c *MediaTransferFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) error) *MediaTransferFunc_Execute_Call
- type MediaTransferFunc_Expecter
- type MediaTransfer_Expecter
- type MediaTransfer_Transfer_Call
- func (_c *MediaTransfer_Transfer_Call) Return(_a0 error) *MediaTransfer_Transfer_Call
- func (_c *MediaTransfer_Transfer_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *MediaTransfer_Transfer_Call
- func (_c *MediaTransfer_Transfer_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) error) *MediaTransfer_Transfer_Call
- type MultiFilesBackup
- type MultiFilesBackup_Execute_Call
- type MultiFilesBackup_Expecter
- type MultiFilesScanner
- type MultiFilesScanner_Execute_Call
- func (_c *MultiFilesScanner_Execute_Call) Return(_a0 []*backup.ScannedFolder, _a1 error) *MultiFilesScanner_Execute_Call
- func (_c *MultiFilesScanner_Execute_Call) Run(run func(ctx context.Context, owner string, volume backup.SourceVolume, ...)) *MultiFilesScanner_Execute_Call
- func (_c *MultiFilesScanner_Execute_Call) RunAndReturn(...) *MultiFilesScanner_Execute_Call
- type MultiFilesScanner_Expecter
- type PrintReadTerminalPort
- type PrintReadTerminalPort_Expecter
- type PrintReadTerminalPort_Print_Call
- func (_c *PrintReadTerminalPort_Print_Call) Return() *PrintReadTerminalPort_Print_Call
- func (_c *PrintReadTerminalPort_Print_Call) Run(run func(question string)) *PrintReadTerminalPort_Print_Call
- func (_c *PrintReadTerminalPort_Print_Call) RunAndReturn(run func(string)) *PrintReadTerminalPort_Print_Call
- type PrintReadTerminalPort_ReadAnswer_Call
- func (_c *PrintReadTerminalPort_ReadAnswer_Call) Return(_a0 string, _a1 error) *PrintReadTerminalPort_ReadAnswer_Call
- func (_c *PrintReadTerminalPort_ReadAnswer_Call) Run(run func()) *PrintReadTerminalPort_ReadAnswer_Call
- func (_c *PrintReadTerminalPort_ReadAnswer_Call) RunAndReturn(run func() (string, error)) *PrintReadTerminalPort_ReadAnswer_Call
- type ProviderFactory
- type ProviderFactoryFunc
- type ProviderFactoryFunc_Execute_Call
- func (_c *ProviderFactoryFunc_Execute_Call) Return(_a0 catalogviews.ListAlbumsProvider) *ProviderFactoryFunc_Execute_Call
- func (_c *ProviderFactoryFunc_Execute_Call) Run(run func(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort)) *ProviderFactoryFunc_Execute_Call
- func (_c *ProviderFactoryFunc_Execute_Call) RunAndReturn(...) *ProviderFactoryFunc_Execute_Call
- type ProviderFactoryFunc_Expecter
- type ProviderFactory_Expecter
- type ProviderFactory_NewProvider_Call
- func (_c *ProviderFactory_NewProvider_Call) Return(_a0 catalogviews.ListAlbumsProvider) *ProviderFactory_NewProvider_Call
- func (_c *ProviderFactory_NewProvider_Call) Run(run func(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort)) *ProviderFactory_NewProvider_Call
- func (_c *ProviderFactory_NewProvider_Call) RunAndReturn(...) *ProviderFactory_NewProvider_Call
- type RefreshTokenRepository
- func (_m *RefreshTokenRepository) DeleteRefreshToken(token string) error
- func (_m *RefreshTokenRepository) EXPECT() *RefreshTokenRepository_Expecter
- func (_m *RefreshTokenRepository) FindRefreshToken(token string) (*aclcore.RefreshTokenSpec, error)
- func (_m *RefreshTokenRepository) HouseKeepRefreshToken() (int, error)
- func (_m *RefreshTokenRepository) StoreRefreshToken(token string, spec aclcore.RefreshTokenSpec) error
- type RefreshTokenRepository_DeleteRefreshToken_Call
- func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) Return(_a0 error) *RefreshTokenRepository_DeleteRefreshToken_Call
- func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) Run(run func(token string)) *RefreshTokenRepository_DeleteRefreshToken_Call
- func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) RunAndReturn(run func(string) error) *RefreshTokenRepository_DeleteRefreshToken_Call
- type RefreshTokenRepository_Expecter
- func (_e *RefreshTokenRepository_Expecter) DeleteRefreshToken(token interface{}) *RefreshTokenRepository_DeleteRefreshToken_Call
- func (_e *RefreshTokenRepository_Expecter) FindRefreshToken(token interface{}) *RefreshTokenRepository_FindRefreshToken_Call
- func (_e *RefreshTokenRepository_Expecter) HouseKeepRefreshToken() *RefreshTokenRepository_HouseKeepRefreshToken_Call
- func (_e *RefreshTokenRepository_Expecter) StoreRefreshToken(token interface{}, spec interface{}) *RefreshTokenRepository_StoreRefreshToken_Call
- type RefreshTokenRepository_FindRefreshToken_Call
- func (_c *RefreshTokenRepository_FindRefreshToken_Call) Return(_a0 *aclcore.RefreshTokenSpec, _a1 error) *RefreshTokenRepository_FindRefreshToken_Call
- func (_c *RefreshTokenRepository_FindRefreshToken_Call) Run(run func(token string)) *RefreshTokenRepository_FindRefreshToken_Call
- func (_c *RefreshTokenRepository_FindRefreshToken_Call) RunAndReturn(run func(string) (*aclcore.RefreshTokenSpec, error)) *RefreshTokenRepository_FindRefreshToken_Call
- type RefreshTokenRepository_HouseKeepRefreshToken_Call
- func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) Return(_a0 int, _a1 error) *RefreshTokenRepository_HouseKeepRefreshToken_Call
- func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) Run(run func()) *RefreshTokenRepository_HouseKeepRefreshToken_Call
- func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) RunAndReturn(run func() (int, error)) *RefreshTokenRepository_HouseKeepRefreshToken_Call
- type RefreshTokenRepository_StoreRefreshToken_Call
- func (_c *RefreshTokenRepository_StoreRefreshToken_Call) Return(_a0 error) *RefreshTokenRepository_StoreRefreshToken_Call
- func (_c *RefreshTokenRepository_StoreRefreshToken_Call) Run(run func(token string, spec aclcore.RefreshTokenSpec)) *RefreshTokenRepository_StoreRefreshToken_Call
- func (_c *RefreshTokenRepository_StoreRefreshToken_Call) RunAndReturn(run func(string, aclcore.RefreshTokenSpec) error) *RefreshTokenRepository_StoreRefreshToken_Call
- type RenameAlbumObserver
- type RenameAlbumObserver_Expecter
- type RenameAlbumObserver_OnRenameAlbum_Call
- func (_c *RenameAlbumObserver_OnRenameAlbum_Call) Return(_a0 error) *RenameAlbumObserver_OnRenameAlbum_Call
- func (_c *RenameAlbumObserver_OnRenameAlbum_Call) Run(run func(ctx context.Context, current catalog.AlbumId, ...)) *RenameAlbumObserver_OnRenameAlbum_Call
- func (_c *RenameAlbumObserver_OnRenameAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.CreateAlbumRequest) error) *RenameAlbumObserver_OnRenameAlbum_Call
- type RenameAlbumPort
- type RenameAlbumPort_Expecter
- type RenameAlbumPort_RenameAlbum_Call
- func (_c *RenameAlbumPort_RenameAlbum_Call) Return(_a0 error) *RenameAlbumPort_RenameAlbum_Call
- func (_c *RenameAlbumPort_RenameAlbum_Call) Run(run func(folderName string, newName string, renameFolder bool)) *RenameAlbumPort_RenameAlbum_Call
- func (_c *RenameAlbumPort_RenameAlbum_Call) RunAndReturn(run func(string, string, bool) error) *RenameAlbumPort_RenameAlbum_Call
- type RepositoryAdapter
- func (_m *RepositoryAdapter) CountMedia(ctx context.Context, album ...catalog.AlbumId) (map[catalog.AlbumId]int, error)
- func (_m *RepositoryAdapter) EXPECT() *RepositoryAdapter_Expecter
- func (_m *RepositoryAdapter) FindAlbumByIds(ctx context.Context, ids ...catalog.AlbumId) ([]*catalog.Album, error)
- func (_m *RepositoryAdapter) FindAlbumsByOwner(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
- type RepositoryAdapter_CountMedia_Call
- func (_c *RepositoryAdapter_CountMedia_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *RepositoryAdapter_CountMedia_Call
- func (_c *RepositoryAdapter_CountMedia_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *RepositoryAdapter_CountMedia_Call
- func (_c *RepositoryAdapter_CountMedia_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *RepositoryAdapter_CountMedia_Call
- type RepositoryAdapter_Expecter
- func (_e *RepositoryAdapter_Expecter) CountMedia(ctx interface{}, album ...interface{}) *RepositoryAdapter_CountMedia_Call
- func (_e *RepositoryAdapter_Expecter) FindAlbumByIds(ctx interface{}, ids ...interface{}) *RepositoryAdapter_FindAlbumByIds_Call
- func (_e *RepositoryAdapter_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *RepositoryAdapter_FindAlbumsByOwner_Call
- type RepositoryAdapter_FindAlbumByIds_Call
- func (_c *RepositoryAdapter_FindAlbumByIds_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbumByIds_Call
- func (_c *RepositoryAdapter_FindAlbumByIds_Call) Run(run func(ctx context.Context, ids ...catalog.AlbumId)) *RepositoryAdapter_FindAlbumByIds_Call
- func (_c *RepositoryAdapter_FindAlbumByIds_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumByIds_Call
- type RepositoryAdapter_FindAlbumsByOwner_Call
- func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbumsByOwner_Call
- func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *RepositoryAdapter_FindAlbumsByOwner_Call
- func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumsByOwner_Call
- type ResizerAdapter
- type ResizerAdapter_Expecter
- type ResizerAdapter_ResizeImageAtDifferentWidths_Call
- func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) Return(_a0 map[int][]byte, _a1 string, _a2 error) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
- func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) Run(run func(reader io.Reader, width []int)) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
- func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) RunAndReturn(run func(io.Reader, []int) (map[int][]byte, string, error)) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
- type ResizerAdapter_ResizeImage_Call
- func (_c *ResizerAdapter_ResizeImage_Call) Return(_a0 []byte, _a1 string, _a2 error) *ResizerAdapter_ResizeImage_Call
- func (_c *ResizerAdapter_ResizeImage_Call) Run(run func(reader io.Reader, width int, fast bool)) *ResizerAdapter_ResizeImage_Call
- func (_c *ResizerAdapter_ResizeImage_Call) RunAndReturn(run func(io.Reader, int, bool) ([]byte, string, error)) *ResizerAdapter_ResizeImage_Call
- type ReverseScopesReader
- type ReverseScopesReader_Expecter
- type ReverseScopesReader_ListScopesByOwner_Call
- func (_c *ReverseScopesReader_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ReverseScopesReader_ListScopesByOwner_Call
- func (_c *ReverseScopesReader_ListScopesByOwner_Call) Run(...) *ReverseScopesReader_ListScopesByOwner_Call
- func (_c *ReverseScopesReader_ListScopesByOwner_Call) RunAndReturn(...) *ReverseScopesReader_ListScopesByOwner_Call
- type RevokeAccessTokenAdapter
- type RevokeAccessTokenAdapter_DeleteRefreshToken_Call
- func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Return(_a0 error) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
- func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Run(run func(token string)) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
- func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) RunAndReturn(run func(string) error) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
- type RevokeAccessTokenAdapter_Expecter
- type ScanStreamExecutor
- type ScanStreamExecutor_Expecter
- type ScanStreamExecutor_Scan_Call
- func (_c *ScanStreamExecutor_Scan_Call) Return(_a0 *dynamodb.ScanOutput, _a1 error) *ScanStreamExecutor_Scan_Call
- func (_c *ScanStreamExecutor_Scan_Call) Run(run func(ctx context.Context, params *dynamodb.ScanInput, ...)) *ScanStreamExecutor_Scan_Call
- func (_c *ScanStreamExecutor_Scan_Call) RunAndReturn(...) *ScanStreamExecutor_Scan_Call
- type ScopeReadRepository
- func (_m *ScopeReadRepository) EXPECT() *ScopeReadRepository_Expecter
- func (_m *ScopeReadRepository) FindScopesByIdCtx(ctx context.Context, ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)
- func (_m *ScopeReadRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *ScopeReadRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- type ScopeReadRepositoryPort
- func (_m *ScopeReadRepositoryPort) EXPECT() *ScopeReadRepositoryPort_Expecter
- func (_m *ScopeReadRepositoryPort) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- func (_m *ScopeReadRepositoryPort) ListScopesByUser(ctx context.Context, id usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
- type ScopeReadRepositoryPort_Expecter
- func (_e *ScopeReadRepositoryPort_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeReadRepositoryPort_ListScopesByOwner_Call
- func (_e *ScopeReadRepositoryPort_Expecter) ListScopesByUser(ctx interface{}, id interface{}, types ...interface{}) *ScopeReadRepositoryPort_ListScopesByUser_Call
- type ScopeReadRepositoryPort_ListScopesByOwner_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepositoryPort_ListScopesByOwner_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) Run(...) *ScopeReadRepositoryPort_ListScopesByOwner_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) RunAndReturn(...) *ScopeReadRepositoryPort_ListScopesByOwner_Call
- type ScopeReadRepositoryPort_ListScopesByUser_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepositoryPort_ListScopesByUser_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) Run(run func(ctx context.Context, id usermodel.UserId, types ...aclcore.ScopeType)) *ScopeReadRepositoryPort_ListScopesByUser_Call
- func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) RunAndReturn(...) *ScopeReadRepositoryPort_ListScopesByUser_Call
- type ScopeReadRepository_Expecter
- func (_e *ScopeReadRepository_Expecter) FindScopesByIdCtx(ctx interface{}, ids ...interface{}) *ScopeReadRepository_FindScopesByIdCtx_Call
- func (_e *ScopeReadRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByOwner_Call
- func (_e *ScopeReadRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByUser_Call
- type ScopeReadRepository_FindScopesByIdCtx_Call
- func (_c *ScopeReadRepository_FindScopesByIdCtx_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_FindScopesByIdCtx_Call
- func (_c *ScopeReadRepository_FindScopesByIdCtx_Call) Run(run func(ctx context.Context, ids ...aclcore.ScopeId)) *ScopeReadRepository_FindScopesByIdCtx_Call
- func (_c *ScopeReadRepository_FindScopesByIdCtx_Call) RunAndReturn(run func(context.Context, ...aclcore.ScopeId) ([]*aclcore.Scope, error)) *ScopeReadRepository_FindScopesByIdCtx_Call
- type ScopeReadRepository_ListScopesByOwner_Call
- func (_c *ScopeReadRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_ListScopesByOwner_Call
- func (_c *ScopeReadRepository_ListScopesByOwner_Call) Run(...) *ScopeReadRepository_ListScopesByOwner_Call
- func (_c *ScopeReadRepository_ListScopesByOwner_Call) RunAndReturn(...) *ScopeReadRepository_ListScopesByOwner_Call
- type ScopeReadRepository_ListScopesByUser_Call
- func (_c *ScopeReadRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_ListScopesByUser_Call
- func (_c *ScopeReadRepository_ListScopesByUser_Call) Run(...) *ScopeReadRepository_ListScopesByUser_Call
- func (_c *ScopeReadRepository_ListScopesByUser_Call) RunAndReturn(...) *ScopeReadRepository_ListScopesByUser_Call
- type ScopeWriter
- type ScopeWriter_DeleteScopes_Call
- func (_c *ScopeWriter_DeleteScopes_Call) Return(_a0 error) *ScopeWriter_DeleteScopes_Call
- func (_c *ScopeWriter_DeleteScopes_Call) Run(run func(id ...aclcore.ScopeId)) *ScopeWriter_DeleteScopes_Call
- func (_c *ScopeWriter_DeleteScopes_Call) RunAndReturn(run func(...aclcore.ScopeId) error) *ScopeWriter_DeleteScopes_Call
- type ScopeWriter_Expecter
- type ScopeWriter_SaveIfNewScope_Call
- func (_c *ScopeWriter_SaveIfNewScope_Call) Return(_a0 error) *ScopeWriter_SaveIfNewScope_Call
- func (_c *ScopeWriter_SaveIfNewScope_Call) Run(run func(scope aclcore.Scope)) *ScopeWriter_SaveIfNewScope_Call
- func (_c *ScopeWriter_SaveIfNewScope_Call) RunAndReturn(run func(aclcore.Scope) error) *ScopeWriter_SaveIfNewScope_Call
- type ScopesReader
- type ScopesReader_Expecter
- type ScopesReader_FindScopesById_Call
- func (_c *ScopesReader_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_FindScopesById_Call
- func (_c *ScopesReader_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *ScopesReader_FindScopesById_Call
- func (_c *ScopesReader_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *ScopesReader_FindScopesById_Call
- type ScopesReader_ListScopesByUser_Call
- func (_c *ScopesReader_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_ListScopesByUser_Call
- func (_c *ScopesReader_ListScopesByUser_Call) Run(...) *ScopesReader_ListScopesByUser_Call
- func (_c *ScopesReader_ListScopesByUser_Call) RunAndReturn(...) *ScopesReader_ListScopesByUser_Call
- type SecretAccessKeyDecoder
- type SecretAccessKeyDecoder_Execute_Call
- func (_c *SecretAccessKeyDecoder_Execute_Call) Return(_a0 string, _a1 error) *SecretAccessKeyDecoder_Execute_Call
- func (_c *SecretAccessKeyDecoder_Execute_Call) Run(run func(encodedValue string)) *SecretAccessKeyDecoder_Execute_Call
- func (_c *SecretAccessKeyDecoder_Execute_Call) RunAndReturn(run func(string) (string, error)) *SecretAccessKeyDecoder_Execute_Call
- type SecretAccessKeyDecoder_Expecter
- type SharedWithUserFunc
- type SharedWithUserFunc_Execute_Call
- func (_c *SharedWithUserFunc_Execute_Call) Return(_a0 []catalog.AlbumId, _a1 error) *SharedWithUserFunc_Execute_Call
- func (_c *SharedWithUserFunc_Execute_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *SharedWithUserFunc_Execute_Call
- func (_c *SharedWithUserFunc_Execute_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalog.AlbumId, error)) *SharedWithUserFunc_Execute_Call
- type SharedWithUserFunc_Expecter
- type SharedWithUserPort
- type SharedWithUserPort_Expecter
- type SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
- func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Return(_a0 []catalog.AlbumId, _a1 error) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
- func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
- func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalog.AlbumId, error)) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
- type StatefulAlbumReferencer
- type StatefulAlbumReferencer_Expecter
- type StatefulAlbumReferencer_FindReference_Call
- func (_c *StatefulAlbumReferencer_FindReference_Call) Return(_a0 catalog.AlbumReference, _a1 error) *StatefulAlbumReferencer_FindReference_Call
- func (_c *StatefulAlbumReferencer_FindReference_Call) Run(run func(ctx context.Context, mediaTime time.Time)) *StatefulAlbumReferencer_FindReference_Call
- func (_c *StatefulAlbumReferencer_FindReference_Call) RunAndReturn(run func(context.Context, time.Time) (catalog.AlbumReference, error)) *StatefulAlbumReferencer_FindReference_Call
- type StoreAdapter
- func (_m *StoreAdapter) Copy(origin string, destination archive.DestructuredKey) (string, error)
- func (_m *StoreAdapter) Delete(locations []string) error
- func (_m *StoreAdapter) Download(key string) (io.ReadCloser, error)
- func (_m *StoreAdapter) EXPECT() *StoreAdapter_Expecter
- func (_m *StoreAdapter) SignedURL(key string, duration time.Duration) (string, error)
- func (_m *StoreAdapter) Upload(values archive.DestructuredKey, content io.Reader) (string, error)
- type StoreAdapter_Copy_Call
- func (_c *StoreAdapter_Copy_Call) Return(_a0 string, _a1 error) *StoreAdapter_Copy_Call
- func (_c *StoreAdapter_Copy_Call) Run(run func(origin string, destination archive.DestructuredKey)) *StoreAdapter_Copy_Call
- func (_c *StoreAdapter_Copy_Call) RunAndReturn(run func(string, archive.DestructuredKey) (string, error)) *StoreAdapter_Copy_Call
- type StoreAdapter_Delete_Call
- type StoreAdapter_Download_Call
- func (_c *StoreAdapter_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *StoreAdapter_Download_Call
- func (_c *StoreAdapter_Download_Call) Run(run func(key string)) *StoreAdapter_Download_Call
- func (_c *StoreAdapter_Download_Call) RunAndReturn(run func(string) (io.ReadCloser, error)) *StoreAdapter_Download_Call
- type StoreAdapter_Expecter
- func (_e *StoreAdapter_Expecter) Copy(origin interface{}, destination interface{}) *StoreAdapter_Copy_Call
- func (_e *StoreAdapter_Expecter) Delete(locations interface{}) *StoreAdapter_Delete_Call
- func (_e *StoreAdapter_Expecter) Download(key interface{}) *StoreAdapter_Download_Call
- func (_e *StoreAdapter_Expecter) SignedURL(key interface{}, duration interface{}) *StoreAdapter_SignedURL_Call
- func (_e *StoreAdapter_Expecter) Upload(values interface{}, content interface{}) *StoreAdapter_Upload_Call
- type StoreAdapter_SignedURL_Call
- func (_c *StoreAdapter_SignedURL_Call) Return(_a0 string, _a1 error) *StoreAdapter_SignedURL_Call
- func (_c *StoreAdapter_SignedURL_Call) Run(run func(key string, duration time.Duration)) *StoreAdapter_SignedURL_Call
- func (_c *StoreAdapter_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *StoreAdapter_SignedURL_Call
- type StoreAdapter_Upload_Call
- func (_c *StoreAdapter_Upload_Call) Return(_a0 string, _a1 error) *StoreAdapter_Upload_Call
- func (_c *StoreAdapter_Upload_Call) Run(run func(values archive.DestructuredKey, content io.Reader)) *StoreAdapter_Upload_Call
- func (_c *StoreAdapter_Upload_Call) RunAndReturn(run func(archive.DestructuredKey, io.Reader) (string, error)) *StoreAdapter_Upload_Call
- type StoreAndCache
- func (_m *StoreAndCache) Copy(origin string, destination archive.DestructuredKey) (string, error)
- func (_m *StoreAndCache) Delete(locations []string) error
- func (_m *StoreAndCache) Download(key string) (io.ReadCloser, error)
- func (_m *StoreAndCache) EXPECT() *StoreAndCache_Expecter
- func (_m *StoreAndCache) Get(key string) (io.ReadCloser, int, string, error)
- func (_m *StoreAndCache) Put(key string, mediaType string, content io.Reader) error
- func (_m *StoreAndCache) SignedURL(key string, duration time.Duration) (string, error)
- func (_m *StoreAndCache) Upload(values archive.DestructuredKey, content io.Reader) (string, error)
- func (_m *StoreAndCache) WalkCacheByPrefix(prefix string, observer func(string)) error
- type StoreAndCache_Copy_Call
- func (_c *StoreAndCache_Copy_Call) Return(_a0 string, _a1 error) *StoreAndCache_Copy_Call
- func (_c *StoreAndCache_Copy_Call) Run(run func(origin string, destination archive.DestructuredKey)) *StoreAndCache_Copy_Call
- func (_c *StoreAndCache_Copy_Call) RunAndReturn(run func(string, archive.DestructuredKey) (string, error)) *StoreAndCache_Copy_Call
- type StoreAndCache_Delete_Call
- type StoreAndCache_Download_Call
- func (_c *StoreAndCache_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *StoreAndCache_Download_Call
- func (_c *StoreAndCache_Download_Call) Run(run func(key string)) *StoreAndCache_Download_Call
- func (_c *StoreAndCache_Download_Call) RunAndReturn(run func(string) (io.ReadCloser, error)) *StoreAndCache_Download_Call
- type StoreAndCache_Expecter
- func (_e *StoreAndCache_Expecter) Copy(origin interface{}, destination interface{}) *StoreAndCache_Copy_Call
- func (_e *StoreAndCache_Expecter) Delete(locations interface{}) *StoreAndCache_Delete_Call
- func (_e *StoreAndCache_Expecter) Download(key interface{}) *StoreAndCache_Download_Call
- func (_e *StoreAndCache_Expecter) Get(key interface{}) *StoreAndCache_Get_Call
- func (_e *StoreAndCache_Expecter) Put(key interface{}, mediaType interface{}, content interface{}) *StoreAndCache_Put_Call
- func (_e *StoreAndCache_Expecter) SignedURL(key interface{}, duration interface{}) *StoreAndCache_SignedURL_Call
- func (_e *StoreAndCache_Expecter) Upload(values interface{}, content interface{}) *StoreAndCache_Upload_Call
- func (_e *StoreAndCache_Expecter) WalkCacheByPrefix(prefix interface{}, observer interface{}) *StoreAndCache_WalkCacheByPrefix_Call
- type StoreAndCache_Get_Call
- func (_c *StoreAndCache_Get_Call) Return(_a0 io.ReadCloser, _a1 int, _a2 string, _a3 error) *StoreAndCache_Get_Call
- func (_c *StoreAndCache_Get_Call) Run(run func(key string)) *StoreAndCache_Get_Call
- func (_c *StoreAndCache_Get_Call) RunAndReturn(run func(string) (io.ReadCloser, int, string, error)) *StoreAndCache_Get_Call
- type StoreAndCache_Put_Call
- func (_c *StoreAndCache_Put_Call) Return(_a0 error) *StoreAndCache_Put_Call
- func (_c *StoreAndCache_Put_Call) Run(run func(key string, mediaType string, content io.Reader)) *StoreAndCache_Put_Call
- func (_c *StoreAndCache_Put_Call) RunAndReturn(run func(string, string, io.Reader) error) *StoreAndCache_Put_Call
- type StoreAndCache_SignedURL_Call
- func (_c *StoreAndCache_SignedURL_Call) Return(_a0 string, _a1 error) *StoreAndCache_SignedURL_Call
- func (_c *StoreAndCache_SignedURL_Call) Run(run func(key string, duration time.Duration)) *StoreAndCache_SignedURL_Call
- func (_c *StoreAndCache_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *StoreAndCache_SignedURL_Call
- type StoreAndCache_Upload_Call
- func (_c *StoreAndCache_Upload_Call) Return(_a0 string, _a1 error) *StoreAndCache_Upload_Call
- func (_c *StoreAndCache_Upload_Call) Run(run func(values archive.DestructuredKey, content io.Reader)) *StoreAndCache_Upload_Call
- func (_c *StoreAndCache_Upload_Call) RunAndReturn(run func(archive.DestructuredKey, io.Reader) (string, error)) *StoreAndCache_Upload_Call
- type StoreAndCache_WalkCacheByPrefix_Call
- func (_c *StoreAndCache_WalkCacheByPrefix_Call) Return(_a0 error) *StoreAndCache_WalkCacheByPrefix_Call
- func (_c *StoreAndCache_WalkCacheByPrefix_Call) Run(run func(prefix string, observer func(string))) *StoreAndCache_WalkCacheByPrefix_Call
- func (_c *StoreAndCache_WalkCacheByPrefix_Call) RunAndReturn(run func(string, func(string)) error) *StoreAndCache_WalkCacheByPrefix_Call
- type Stream
- type Stream_Count_Call
- type Stream_Error_Call
- type Stream_Expecter
- type Stream_HasNext_Call
- type Stream_Next_Call
- type SuggestionRecordRepositoryPort
- type SuggestionRecordRepositoryPort_Count_Call
- func (_c *SuggestionRecordRepositoryPort_Count_Call) Return(_a0 int) *SuggestionRecordRepositoryPort_Count_Call
- func (_c *SuggestionRecordRepositoryPort_Count_Call) Run(run func()) *SuggestionRecordRepositoryPort_Count_Call
- func (_c *SuggestionRecordRepositoryPort_Count_Call) RunAndReturn(run func() int) *SuggestionRecordRepositoryPort_Count_Call
- type SuggestionRecordRepositoryPort_Expecter
- func (_e *SuggestionRecordRepositoryPort_Expecter) Count() *SuggestionRecordRepositoryPort_Count_Call
- func (_e *SuggestionRecordRepositoryPort_Expecter) FindSuggestionRecords() *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- func (_e *SuggestionRecordRepositoryPort_Expecter) Rejects() *SuggestionRecordRepositoryPort_Rejects_Call
- type SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Return(_a0 []*ui.SuggestionRecord) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Run(run func()) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) RunAndReturn(run func() []*ui.SuggestionRecord) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
- type SuggestionRecordRepositoryPort_Rejects_Call
- func (_c *SuggestionRecordRepositoryPort_Rejects_Call) Return(_a0 int) *SuggestionRecordRepositoryPort_Rejects_Call
- func (_c *SuggestionRecordRepositoryPort_Rejects_Call) Run(run func()) *SuggestionRecordRepositoryPort_Rejects_Call
- func (_c *SuggestionRecordRepositoryPort_Rejects_Call) RunAndReturn(run func() int) *SuggestionRecordRepositoryPort_Rejects_Call
- type TimelineMutationObserver
- type TimelineMutationObserverFunc
- type TimelineMutationObserverFunc_Execute_Call
- func (_c *TimelineMutationObserverFunc_Execute_Call) Return(_a0 error) *TimelineMutationObserverFunc_Execute_Call
- func (_c *TimelineMutationObserverFunc_Execute_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserverFunc_Execute_Call
- func (_c *TimelineMutationObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserverFunc_Execute_Call
- type TimelineMutationObserverFunc_Expecter
- type TimelineMutationObserver_Expecter
- type TimelineMutationObserver_OnTransferredMedias_Call
- func (_c *TimelineMutationObserver_OnTransferredMedias_Call) Return(_a0 error) *TimelineMutationObserver_OnTransferredMedias_Call
- func (_c *TimelineMutationObserver_OnTransferredMedias_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserver_OnTransferredMedias_Call
- func (_c *TimelineMutationObserver_OnTransferredMedias_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserver_OnTransferredMedias_Call
- type TransferMediasFunc
- type TransferMediasFunc_Execute_Call
- func (_c *TransferMediasFunc_Execute_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *TransferMediasFunc_Execute_Call
- func (_c *TransferMediasFunc_Execute_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasFunc_Execute_Call
- func (_c *TransferMediasFunc_Execute_Call) RunAndReturn(...) *TransferMediasFunc_Execute_Call
- type TransferMediasFunc_Expecter
- type TransferMediasRepositoryPort
- type TransferMediasRepositoryPort_Expecter
- type TransferMediasRepositoryPort_TransferMediasFromRecords_Call
- func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
- func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
- func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) RunAndReturn(...) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
- type UpdateAlbumNamePort
- type UpdateAlbumNamePort_Expecter
- type UpdateAlbumNamePort_UpdateAlbumName_Call
- func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) Return(_a0 error) *UpdateAlbumNamePort_UpdateAlbumName_Call
- func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, newName string)) *UpdateAlbumNamePort_UpdateAlbumName_Call
- func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, string) error) *UpdateAlbumNamePort_UpdateAlbumName_Call
- type UpdateAlbumPort
- type UpdateAlbumPort_Expecter
- type UpdateAlbumPort_UpdateAlbum_Call
- func (_c *UpdateAlbumPort_UpdateAlbum_Call) Return(_a0 error) *UpdateAlbumPort_UpdateAlbum_Call
- func (_c *UpdateAlbumPort_UpdateAlbum_Call) Run(run func(folderName string, start time.Time, end time.Time)) *UpdateAlbumPort_UpdateAlbum_Call
- func (_c *UpdateAlbumPort_UpdateAlbum_Call) RunAndReturn(run func(string, time.Time, time.Time) error) *UpdateAlbumPort_UpdateAlbum_Call
- type UserInputPort
- type UserInputPort_Expecter
- type UserInputPort_StartListening_Call
- type ViewWriteRepository
- func (_m *ViewWriteRepository) DeleteAlbumSize(ctx context.Context, availability catalogviews.Availability, ...) error
- func (_m *ViewWriteRepository) EXPECT() *ViewWriteRepository_Expecter
- func (_m *ViewWriteRepository) InsertAlbumSize(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize) error
- func (_m *ViewWriteRepository) UpdateAlbumSize(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff) error
- type ViewWriteRepository_DeleteAlbumSize_Call
- func (_c *ViewWriteRepository_DeleteAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_DeleteAlbumSize_Call
- func (_c *ViewWriteRepository_DeleteAlbumSize_Call) Run(run func(ctx context.Context, availability catalogviews.Availability, ...)) *ViewWriteRepository_DeleteAlbumSize_Call
- func (_c *ViewWriteRepository_DeleteAlbumSize_Call) RunAndReturn(run func(context.Context, catalogviews.Availability, catalog.AlbumId) error) *ViewWriteRepository_DeleteAlbumSize_Call
- type ViewWriteRepository_Expecter
- func (_e *ViewWriteRepository_Expecter) DeleteAlbumSize(ctx interface{}, availability interface{}, albumId interface{}) *ViewWriteRepository_DeleteAlbumSize_Call
- func (_e *ViewWriteRepository_Expecter) InsertAlbumSize(ctx interface{}, albumSize interface{}) *ViewWriteRepository_InsertAlbumSize_Call
- func (_e *ViewWriteRepository_Expecter) UpdateAlbumSize(ctx interface{}, albumCountUpdates interface{}) *ViewWriteRepository_UpdateAlbumSize_Call
- type ViewWriteRepository_InsertAlbumSize_Call
- func (_c *ViewWriteRepository_InsertAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_InsertAlbumSize_Call
- func (_c *ViewWriteRepository_InsertAlbumSize_Call) Run(run func(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize)) *ViewWriteRepository_InsertAlbumSize_Call
- func (_c *ViewWriteRepository_InsertAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.MultiUserAlbumSize) error) *ViewWriteRepository_InsertAlbumSize_Call
- type ViewWriteRepository_UpdateAlbumSize_Call
- func (_c *ViewWriteRepository_UpdateAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_UpdateAlbumSize_Call
- func (_c *ViewWriteRepository_UpdateAlbumSize_Call) Run(run func(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff)) *ViewWriteRepository_UpdateAlbumSize_Call
- func (_c *ViewWriteRepository_UpdateAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.AlbumSizeDiff) error) *ViewWriteRepository_UpdateAlbumSize_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type 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 AWSFactory ¶ added in v1.6.27
AWSFactory is an autogenerated mock type for the AWSFactory type
func NewAWSFactory ¶ added in v1.6.27
func NewAWSFactory(t interface { mock.TestingT Cleanup(func()) }) *AWSFactory
NewAWSFactory creates a new instance of AWSFactory. 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 (*AWSFactory) EXPECT ¶ added in v1.6.27
func (_m *AWSFactory) EXPECT() *AWSFactory_Expecter
func (*AWSFactory) GetCfg ¶ added in v1.6.27
func (_m *AWSFactory) GetCfg() aws.Config
GetCfg provides a mock function with given fields:
func (*AWSFactory) GetDynamoDBClient ¶ added in v1.6.27
func (_m *AWSFactory) GetDynamoDBClient() *dynamodb.Client
GetDynamoDBClient provides a mock function with given fields:
func (*AWSFactory) GetS3Client ¶ added in v1.6.27
func (_m *AWSFactory) GetS3Client() *s3.Client
GetS3Client provides a mock function with given fields:
func (*AWSFactory) GetSNSClient ¶ added in v1.6.27
func (_m *AWSFactory) GetSNSClient() *sns.Client
GetSNSClient provides a mock function with given fields:
func (*AWSFactory) GetSQSClient ¶ added in v1.6.27
func (_m *AWSFactory) GetSQSClient() *sqs.Client
GetSQSClient provides a mock function with given fields:
type AWSFactory_Expecter ¶ added in v1.6.27
type AWSFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*AWSFactory_Expecter) GetCfg ¶ added in v1.6.27
func (_e *AWSFactory_Expecter) GetCfg() *AWSFactory_GetCfg_Call
GetCfg is a helper method to define mock.On call
func (*AWSFactory_Expecter) GetDynamoDBClient ¶ added in v1.6.27
func (_e *AWSFactory_Expecter) GetDynamoDBClient() *AWSFactory_GetDynamoDBClient_Call
GetDynamoDBClient is a helper method to define mock.On call
func (*AWSFactory_Expecter) GetS3Client ¶ added in v1.6.27
func (_e *AWSFactory_Expecter) GetS3Client() *AWSFactory_GetS3Client_Call
GetS3Client is a helper method to define mock.On call
func (*AWSFactory_Expecter) GetSNSClient ¶ added in v1.6.27
func (_e *AWSFactory_Expecter) GetSNSClient() *AWSFactory_GetSNSClient_Call
GetSNSClient is a helper method to define mock.On call
func (*AWSFactory_Expecter) GetSQSClient ¶ added in v1.6.27
func (_e *AWSFactory_Expecter) GetSQSClient() *AWSFactory_GetSQSClient_Call
GetSQSClient is a helper method to define mock.On call
type AWSFactory_GetCfg_Call ¶ added in v1.6.27
AWSFactory_GetCfg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCfg'
func (*AWSFactory_GetCfg_Call) Return ¶ added in v1.6.27
func (_c *AWSFactory_GetCfg_Call) Return(_a0 aws.Config) *AWSFactory_GetCfg_Call
func (*AWSFactory_GetCfg_Call) Run ¶ added in v1.6.27
func (_c *AWSFactory_GetCfg_Call) Run(run func()) *AWSFactory_GetCfg_Call
func (*AWSFactory_GetCfg_Call) RunAndReturn ¶ added in v1.6.27
func (_c *AWSFactory_GetCfg_Call) RunAndReturn(run func() aws.Config) *AWSFactory_GetCfg_Call
type AWSFactory_GetDynamoDBClient_Call ¶ added in v1.6.27
AWSFactory_GetDynamoDBClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDynamoDBClient'
func (*AWSFactory_GetDynamoDBClient_Call) Return ¶ added in v1.6.27
func (_c *AWSFactory_GetDynamoDBClient_Call) Return(_a0 *dynamodb.Client) *AWSFactory_GetDynamoDBClient_Call
func (*AWSFactory_GetDynamoDBClient_Call) Run ¶ added in v1.6.27
func (_c *AWSFactory_GetDynamoDBClient_Call) Run(run func()) *AWSFactory_GetDynamoDBClient_Call
func (*AWSFactory_GetDynamoDBClient_Call) RunAndReturn ¶ added in v1.6.27
func (_c *AWSFactory_GetDynamoDBClient_Call) RunAndReturn(run func() *dynamodb.Client) *AWSFactory_GetDynamoDBClient_Call
type AWSFactory_GetS3Client_Call ¶ added in v1.6.27
AWSFactory_GetS3Client_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetS3Client'
func (*AWSFactory_GetS3Client_Call) Return ¶ added in v1.6.27
func (_c *AWSFactory_GetS3Client_Call) Return(_a0 *s3.Client) *AWSFactory_GetS3Client_Call
func (*AWSFactory_GetS3Client_Call) Run ¶ added in v1.6.27
func (_c *AWSFactory_GetS3Client_Call) Run(run func()) *AWSFactory_GetS3Client_Call
func (*AWSFactory_GetS3Client_Call) RunAndReturn ¶ added in v1.6.27
func (_c *AWSFactory_GetS3Client_Call) RunAndReturn(run func() *s3.Client) *AWSFactory_GetS3Client_Call
type AWSFactory_GetSNSClient_Call ¶ added in v1.6.27
AWSFactory_GetSNSClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSNSClient'
func (*AWSFactory_GetSNSClient_Call) Return ¶ added in v1.6.27
func (_c *AWSFactory_GetSNSClient_Call) Return(_a0 *sns.Client) *AWSFactory_GetSNSClient_Call
func (*AWSFactory_GetSNSClient_Call) Run ¶ added in v1.6.27
func (_c *AWSFactory_GetSNSClient_Call) Run(run func()) *AWSFactory_GetSNSClient_Call
func (*AWSFactory_GetSNSClient_Call) RunAndReturn ¶ added in v1.6.27
func (_c *AWSFactory_GetSNSClient_Call) RunAndReturn(run func() *sns.Client) *AWSFactory_GetSNSClient_Call
type AWSFactory_GetSQSClient_Call ¶ added in v1.6.27
AWSFactory_GetSQSClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSQSClient'
func (*AWSFactory_GetSQSClient_Call) Return ¶ added in v1.6.27
func (_c *AWSFactory_GetSQSClient_Call) Return(_a0 *sqs.Client) *AWSFactory_GetSQSClient_Call
func (*AWSFactory_GetSQSClient_Call) Run ¶ added in v1.6.27
func (_c *AWSFactory_GetSQSClient_Call) Run(run func()) *AWSFactory_GetSQSClient_Call
func (*AWSFactory_GetSQSClient_Call) RunAndReturn ¶ added in v1.6.27
func (_c *AWSFactory_GetSQSClient_Call) RunAndReturn(run func() *sqs.Client) *AWSFactory_GetSQSClient_Call
type AlbumDatesAmendedObserver ¶ added in v1.6.4
AlbumDatesAmendedObserver is an autogenerated mock type for the AlbumDatesAmendedObserver type
func NewAlbumDatesAmendedObserver ¶ added in v1.6.4
func NewAlbumDatesAmendedObserver(t interface { mock.TestingT Cleanup(func()) }) *AlbumDatesAmendedObserver
NewAlbumDatesAmendedObserver creates a new instance of AlbumDatesAmendedObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumDatesAmendedObserver) EXPECT ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserver) EXPECT() *AlbumDatesAmendedObserver_Expecter
func (*AlbumDatesAmendedObserver) OnAlbumDatesAmended ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserver) OnAlbumDatesAmended(ctx context.Context, amendedAlbum catalog.DatesUpdate) error
OnAlbumDatesAmended provides a mock function with given fields: ctx, amendedAlbum
type AlbumDatesAmendedObserverFunc ¶ added in v1.6.4
AlbumDatesAmendedObserverFunc is an autogenerated mock type for the AlbumDatesAmendedObserverFunc type
func NewAlbumDatesAmendedObserverFunc ¶ added in v1.6.4
func NewAlbumDatesAmendedObserverFunc(t interface { mock.TestingT Cleanup(func()) }) *AlbumDatesAmendedObserverFunc
NewAlbumDatesAmendedObserverFunc creates a new instance of AlbumDatesAmendedObserverFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumDatesAmendedObserverFunc) EXPECT ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserverFunc) EXPECT() *AlbumDatesAmendedObserverFunc_Expecter
func (*AlbumDatesAmendedObserverFunc) Execute ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserverFunc) Execute(ctx context.Context, amendedAlbum catalog.DatesUpdate) error
Execute provides a mock function with given fields: ctx, amendedAlbum
type AlbumDatesAmendedObserverFunc_Execute_Call ¶ added in v1.6.4
AlbumDatesAmendedObserverFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*AlbumDatesAmendedObserverFunc_Execute_Call) Return ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) Return(_a0 error) *AlbumDatesAmendedObserverFunc_Execute_Call
func (*AlbumDatesAmendedObserverFunc_Execute_Call) Run ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) Run(run func(ctx context.Context, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserverFunc_Execute_Call
func (*AlbumDatesAmendedObserverFunc_Execute_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.DatesUpdate) error) *AlbumDatesAmendedObserverFunc_Execute_Call
type AlbumDatesAmendedObserverFunc_Expecter ¶ added in v1.6.4
type AlbumDatesAmendedObserverFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumDatesAmendedObserverFunc_Expecter) Execute ¶ added in v1.6.4
func (_e *AlbumDatesAmendedObserverFunc_Expecter) Execute(ctx interface{}, amendedAlbum interface{}) *AlbumDatesAmendedObserverFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- amendedAlbum catalog.DatesUpdate
type AlbumDatesAmendedObserverWithTimeline ¶ added in v1.6.4
AlbumDatesAmendedObserverWithTimeline is an autogenerated mock type for the AlbumDatesAmendedObserverWithTimeline type
func NewAlbumDatesAmendedObserverWithTimeline ¶ added in v1.6.4
func NewAlbumDatesAmendedObserverWithTimeline(t interface { mock.TestingT Cleanup(func()) }) *AlbumDatesAmendedObserverWithTimeline
NewAlbumDatesAmendedObserverWithTimeline creates a new instance of AlbumDatesAmendedObserverWithTimeline. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumDatesAmendedObserverWithTimeline) EXPECT ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserverWithTimeline) EXPECT() *AlbumDatesAmendedObserverWithTimeline_Expecter
func (*AlbumDatesAmendedObserverWithTimeline) OnAlbumDatesAmendedWithTimeline ¶ added in v1.6.4
func (_m *AlbumDatesAmendedObserverWithTimeline) OnAlbumDatesAmendedWithTimeline(ctx context.Context, timeline *catalog.TimelineAggregate, amendedAlbum catalog.DatesUpdate) error
OnAlbumDatesAmendedWithTimeline provides a mock function with given fields: ctx, timeline, amendedAlbum
type AlbumDatesAmendedObserverWithTimeline_Expecter ¶ added in v1.6.4
type AlbumDatesAmendedObserverWithTimeline_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumDatesAmendedObserverWithTimeline_Expecter) OnAlbumDatesAmendedWithTimeline ¶ added in v1.6.4
func (_e *AlbumDatesAmendedObserverWithTimeline_Expecter) OnAlbumDatesAmendedWithTimeline(ctx interface{}, timeline interface{}, amendedAlbum interface{}) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
OnAlbumDatesAmendedWithTimeline is a helper method to define mock.On call
- ctx context.Context
- timeline *catalog.TimelineAggregate
- amendedAlbum catalog.DatesUpdate
type AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call ¶ added in v1.6.4
type AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call struct {
*mock.Call
}
AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAlbumDatesAmendedWithTimeline'
func (*AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Return ¶ added in v1.6.4
func (*AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Run ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call
func (*AlbumDatesAmendedObserverWithTimeline_OnAlbumDatesAmendedWithTimeline_Call) RunAndReturn ¶ added in v1.6.4
type AlbumDatesAmendedObserver_Expecter ¶ added in v1.6.4
type AlbumDatesAmendedObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumDatesAmendedObserver_Expecter) OnAlbumDatesAmended ¶ added in v1.6.4
func (_e *AlbumDatesAmendedObserver_Expecter) OnAlbumDatesAmended(ctx interface{}, amendedAlbum interface{}) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
OnAlbumDatesAmended is a helper method to define mock.On call
- ctx context.Context
- amendedAlbum catalog.DatesUpdate
type AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call ¶ added in v1.6.4
AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAlbumDatesAmended'
func (*AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Run ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Run(run func(ctx context.Context, amendedAlbum catalog.DatesUpdate)) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
func (*AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) RunAndReturn(run func(context.Context, catalog.DatesUpdate) error) *AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call
type AlbumLookupStrategy ¶ added in v1.6.4
AlbumLookupStrategy is an autogenerated mock type for the AlbumLookupStrategy type
func NewAlbumLookupStrategy ¶ added in v1.6.4
func NewAlbumLookupStrategy(t interface { mock.TestingT Cleanup(func()) }) *AlbumLookupStrategy
NewAlbumLookupStrategy creates a new instance of AlbumLookupStrategy. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumLookupStrategy) EXPECT ¶ added in v1.6.4
func (_m *AlbumLookupStrategy) EXPECT() *AlbumLookupStrategy_Expecter
func (*AlbumLookupStrategy) LookupAlbum ¶ added in v1.6.4
func (_m *AlbumLookupStrategy) LookupAlbum(ctx context.Context, owner ownermodel.Owner, timeline *catalog.TimelineAggregate, mediaTime time.Time) (catalog.AlbumReference, error)
LookupAlbum provides a mock function with given fields: ctx, owner, timeline, mediaTime
type AlbumLookupStrategy_Expecter ¶ added in v1.6.4
type AlbumLookupStrategy_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumLookupStrategy_Expecter) LookupAlbum ¶ added in v1.6.4
func (_e *AlbumLookupStrategy_Expecter) LookupAlbum(ctx interface{}, owner interface{}, timeline interface{}, mediaTime interface{}) *AlbumLookupStrategy_LookupAlbum_Call
LookupAlbum is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- timeline *catalog.TimelineAggregate
- mediaTime time.Time
type AlbumLookupStrategy_LookupAlbum_Call ¶ added in v1.6.4
AlbumLookupStrategy_LookupAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LookupAlbum'
func (*AlbumLookupStrategy_LookupAlbum_Call) Return ¶ added in v1.6.4
func (_c *AlbumLookupStrategy_LookupAlbum_Call) Return(_a0 catalog.AlbumReference, _a1 error) *AlbumLookupStrategy_LookupAlbum_Call
func (*AlbumLookupStrategy_LookupAlbum_Call) Run ¶ added in v1.6.4
func (_c *AlbumLookupStrategy_LookupAlbum_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, timeline *catalog.TimelineAggregate, mediaTime time.Time)) *AlbumLookupStrategy_LookupAlbum_Call
func (*AlbumLookupStrategy_LookupAlbum_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumLookupStrategy_LookupAlbum_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, *catalog.TimelineAggregate, time.Time) (catalog.AlbumReference, error)) *AlbumLookupStrategy_LookupAlbum_Call
type AlbumSharedObserver ¶ added in v1.6.4
type AlbumSharedObserver struct {
}AlbumSharedObserver is an autogenerated mock type for the AlbumSharedObserver type
func NewAlbumSharedObserver ¶ added in v1.6.4
func NewAlbumSharedObserver(t interface { mock.TestingT Cleanup(func()) }) *AlbumSharedObserver
NewAlbumSharedObserver creates a new instance of AlbumSharedObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumSharedObserver) AlbumShared ¶ added in v1.6.4
func (_m *AlbumSharedObserver) AlbumShared(ctx context.Context, albumId catalog.AlbumId, userEmail usermodel.UserId) error
AlbumShared provides a mock function with given fields: ctx, albumId, userEmail
func (*AlbumSharedObserver) EXPECT ¶ added in v1.6.4
func (_m *AlbumSharedObserver) EXPECT() *AlbumSharedObserver_Expecter
type AlbumSharedObserver_AlbumShared_Call ¶ added in v1.6.4
type AlbumSharedObserver_AlbumShared_Call struct {
}AlbumSharedObserver_AlbumShared_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlbumShared'
func (*AlbumSharedObserver_AlbumShared_Call) Return ¶ added in v1.6.4
func (_c *AlbumSharedObserver_AlbumShared_Call) Return(_a0 error) *AlbumSharedObserver_AlbumShared_Call
func (*AlbumSharedObserver_AlbumShared_Call) Run ¶ added in v1.6.4
func (_c *AlbumSharedObserver_AlbumShared_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, userEmail usermodel.UserId)) *AlbumSharedObserver_AlbumShared_Call
func (*AlbumSharedObserver_AlbumShared_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumSharedObserver_AlbumShared_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, usermodel.UserId) error) *AlbumSharedObserver_AlbumShared_Call
type AlbumSharedObserver_Expecter ¶ added in v1.6.4
type AlbumSharedObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumSharedObserver_Expecter) AlbumShared ¶ added in v1.6.4
func (_e *AlbumSharedObserver_Expecter) AlbumShared(ctx interface{}, albumId interface{}, userEmail interface{}) *AlbumSharedObserver_AlbumShared_Call
AlbumShared is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
- userEmail usermodel.UserId
type AlbumUnSharedObserver ¶ added in v1.6.4
type AlbumUnSharedObserver struct {
}AlbumUnSharedObserver is an autogenerated mock type for the AlbumUnSharedObserver type
func NewAlbumUnSharedObserver ¶ added in v1.6.4
func NewAlbumUnSharedObserver(t interface { mock.TestingT Cleanup(func()) }) *AlbumUnSharedObserver
NewAlbumUnSharedObserver creates a new instance of AlbumUnSharedObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AlbumUnSharedObserver) AlbumUnShared ¶ added in v1.6.4
func (_m *AlbumUnSharedObserver) AlbumUnShared(ctx context.Context, albumId catalog.AlbumId, userEmail usermodel.UserId) error
AlbumUnShared provides a mock function with given fields: ctx, albumId, userEmail
func (*AlbumUnSharedObserver) EXPECT ¶ added in v1.6.4
func (_m *AlbumUnSharedObserver) EXPECT() *AlbumUnSharedObserver_Expecter
type AlbumUnSharedObserver_AlbumUnShared_Call ¶ added in v1.6.4
type AlbumUnSharedObserver_AlbumUnShared_Call struct {
}AlbumUnSharedObserver_AlbumUnShared_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlbumUnShared'
func (*AlbumUnSharedObserver_AlbumUnShared_Call) Return ¶ added in v1.6.4
func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) Return(_a0 error) *AlbumUnSharedObserver_AlbumUnShared_Call
func (*AlbumUnSharedObserver_AlbumUnShared_Call) Run ¶ added in v1.6.4
func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, userEmail usermodel.UserId)) *AlbumUnSharedObserver_AlbumUnShared_Call
func (*AlbumUnSharedObserver_AlbumUnShared_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AlbumUnSharedObserver_AlbumUnShared_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, usermodel.UserId) error) *AlbumUnSharedObserver_AlbumUnShared_Call
type AlbumUnSharedObserver_Expecter ¶ added in v1.6.4
type AlbumUnSharedObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*AlbumUnSharedObserver_Expecter) AlbumUnShared ¶ added in v1.6.4
func (_e *AlbumUnSharedObserver_Expecter) AlbumUnShared(ctx interface{}, albumId interface{}, userEmail interface{}) *AlbumUnSharedObserver_AlbumUnShared_Call
AlbumUnShared is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
- userEmail usermodel.UserId
type AmendAlbumDateRepositoryPort ¶ added in v1.5.45
AmendAlbumDateRepositoryPort is an autogenerated mock type for the AmendAlbumDateRepositoryPort type
func NewAmendAlbumDateRepositoryPort ¶ added in v1.5.45
func NewAmendAlbumDateRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *AmendAlbumDateRepositoryPort
NewAmendAlbumDateRepositoryPort creates a new instance of AmendAlbumDateRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AmendAlbumDateRepositoryPort) AmendDates ¶ added in v1.5.45
func (_m *AmendAlbumDateRepositoryPort) AmendDates(ctx context.Context, album catalog.AlbumId, start time.Time, end time.Time) error
AmendDates provides a mock function with given fields: ctx, album, start, end
func (*AmendAlbumDateRepositoryPort) EXPECT ¶ added in v1.5.45
func (_m *AmendAlbumDateRepositoryPort) EXPECT() *AmendAlbumDateRepositoryPort_Expecter
type AmendAlbumDateRepositoryPort_AmendDates_Call ¶ added in v1.5.45
AmendAlbumDateRepositoryPort_AmendDates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AmendDates'
func (*AmendAlbumDateRepositoryPort_AmendDates_Call) Return ¶ added in v1.5.45
func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) Return(_a0 error) *AmendAlbumDateRepositoryPort_AmendDates_Call
func (*AmendAlbumDateRepositoryPort_AmendDates_Call) Run ¶ added in v1.5.45
func (_c *AmendAlbumDateRepositoryPort_AmendDates_Call) Run(run func(ctx context.Context, album catalog.AlbumId, start time.Time, end time.Time)) *AmendAlbumDateRepositoryPort_AmendDates_Call
func (*AmendAlbumDateRepositoryPort_AmendDates_Call) RunAndReturn ¶ added in v1.5.45
type AmendAlbumDateRepositoryPort_Expecter ¶ added in v1.5.45
type AmendAlbumDateRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*AmendAlbumDateRepositoryPort_Expecter) AmendDates ¶ added in v1.5.45
func (_e *AmendAlbumDateRepositoryPort_Expecter) AmendDates(ctx interface{}, album interface{}, start interface{}, end interface{}) *AmendAlbumDateRepositoryPort_AmendDates_Call
AmendDates is a helper method to define mock.On call
- ctx context.Context
- album catalog.AlbumId
- start time.Time
- end time.Time
type AmendAlbumDatesWithTimeline ¶ added in v1.6.4
AmendAlbumDatesWithTimeline is an autogenerated mock type for the AmendAlbumDatesWithTimeline type
func NewAmendAlbumDatesWithTimeline ¶ added in v1.6.4
func NewAmendAlbumDatesWithTimeline(t interface { mock.TestingT Cleanup(func()) }) *AmendAlbumDatesWithTimeline
NewAmendAlbumDatesWithTimeline creates a new instance of AmendAlbumDatesWithTimeline. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*AmendAlbumDatesWithTimeline) AmendAlbumDates ¶ added in v1.6.4
func (_m *AmendAlbumDatesWithTimeline) AmendAlbumDates(ctx context.Context, timeline *catalog.TimelineAggregate, albumId catalog.AlbumId, start time.Time, end time.Time) error
AmendAlbumDates provides a mock function with given fields: ctx, timeline, albumId, start, end
func (*AmendAlbumDatesWithTimeline) EXPECT ¶ added in v1.6.4
func (_m *AmendAlbumDatesWithTimeline) EXPECT() *AmendAlbumDatesWithTimeline_Expecter
type AmendAlbumDatesWithTimeline_AmendAlbumDates_Call ¶ added in v1.6.4
AmendAlbumDatesWithTimeline_AmendAlbumDates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AmendAlbumDates'
func (*AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Return ¶ added in v1.6.4
func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Return(_a0 error) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
func (*AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Run ¶ added in v1.6.4
func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, albumId catalog.AlbumId, start time.Time, end time.Time)) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
func (*AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) RunAndReturn ¶ added in v1.6.4
func (_c *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) RunAndReturn(run func(context.Context, *catalog.TimelineAggregate, catalog.AlbumId, time.Time, time.Time) error) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
type AmendAlbumDatesWithTimeline_Expecter ¶ added in v1.6.4
type AmendAlbumDatesWithTimeline_Expecter struct {
// contains filtered or unexported fields
}
func (*AmendAlbumDatesWithTimeline_Expecter) AmendAlbumDates ¶ added in v1.6.4
func (_e *AmendAlbumDatesWithTimeline_Expecter) AmendAlbumDates(ctx interface{}, timeline interface{}, albumId interface{}, start interface{}, end interface{}) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call
AmendAlbumDates is a helper method to define mock.On call
- ctx context.Context
- timeline *catalog.TimelineAggregate
- albumId catalog.AlbumId
- start time.Time
- end time.Time
type ArchiveFactory ¶ added in v1.6.27
ArchiveFactory is an autogenerated mock type for the ArchiveFactory type
func NewArchiveFactory ¶ added in v1.6.27
func NewArchiveFactory(t interface { mock.TestingT Cleanup(func()) }) *ArchiveFactory
NewArchiveFactory creates a new instance of ArchiveFactory. 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 (*ArchiveFactory) ArchiveAsyncJobAdapter ¶ added in v1.6.27
func (_m *ArchiveFactory) ArchiveAsyncJobAdapter(ctx context.Context) archive.AsyncJobAdapter
ArchiveAsyncJobAdapter provides a mock function with given fields: ctx
func (*ArchiveFactory) EXPECT ¶ added in v1.6.27
func (_m *ArchiveFactory) EXPECT() *ArchiveFactory_Expecter
type ArchiveFactory_ArchiveAsyncJobAdapter_Call ¶ added in v1.6.27
ArchiveFactory_ArchiveAsyncJobAdapter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArchiveAsyncJobAdapter'
func (*ArchiveFactory_ArchiveAsyncJobAdapter_Call) Return ¶ added in v1.6.27
func (_c *ArchiveFactory_ArchiveAsyncJobAdapter_Call) Return(_a0 archive.AsyncJobAdapter) *ArchiveFactory_ArchiveAsyncJobAdapter_Call
func (*ArchiveFactory_ArchiveAsyncJobAdapter_Call) Run ¶ added in v1.6.27
func (_c *ArchiveFactory_ArchiveAsyncJobAdapter_Call) Run(run func(ctx context.Context)) *ArchiveFactory_ArchiveAsyncJobAdapter_Call
func (*ArchiveFactory_ArchiveAsyncJobAdapter_Call) RunAndReturn ¶ added in v1.6.27
func (_c *ArchiveFactory_ArchiveAsyncJobAdapter_Call) RunAndReturn(run func(context.Context) archive.AsyncJobAdapter) *ArchiveFactory_ArchiveAsyncJobAdapter_Call
type ArchiveFactory_Expecter ¶ added in v1.6.27
type ArchiveFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*ArchiveFactory_Expecter) ArchiveAsyncJobAdapter ¶ added in v1.6.27
func (_e *ArchiveFactory_Expecter) ArchiveAsyncJobAdapter(ctx interface{}) *ArchiveFactory_ArchiveAsyncJobAdapter_Call
ArchiveAsyncJobAdapter is a helper method to define mock.On call
- ctx context.Context
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 BackupSuggestionPort ¶
BackupSuggestionPort is an autogenerated mock type for the BackupSuggestionPort type
func NewBackupSuggestionPort ¶
func NewBackupSuggestionPort(t interface { mock.TestingT Cleanup(func()) }) *BackupSuggestionPort
NewBackupSuggestionPort creates a new instance of BackupSuggestionPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*BackupSuggestionPort) BackupSuggestion ¶
func (_m *BackupSuggestionPort) BackupSuggestion(record *ui.SuggestionRecord, existing *ui.ExistingRecord, listener ui.InteractiveRendererPort) error
BackupSuggestion provides a mock function with given fields: record, existing, listener
func (*BackupSuggestionPort) EXPECT ¶ added in v1.5.41
func (_m *BackupSuggestionPort) EXPECT() *BackupSuggestionPort_Expecter
type BackupSuggestionPort_BackupSuggestion_Call ¶ added in v1.5.41
BackupSuggestionPort_BackupSuggestion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BackupSuggestion'
func (*BackupSuggestionPort_BackupSuggestion_Call) Return ¶ added in v1.5.41
func (_c *BackupSuggestionPort_BackupSuggestion_Call) Return(_a0 error) *BackupSuggestionPort_BackupSuggestion_Call
func (*BackupSuggestionPort_BackupSuggestion_Call) Run ¶ added in v1.5.41
func (_c *BackupSuggestionPort_BackupSuggestion_Call) Run(run func(record *ui.SuggestionRecord, existing *ui.ExistingRecord, listener ui.InteractiveRendererPort)) *BackupSuggestionPort_BackupSuggestion_Call
func (*BackupSuggestionPort_BackupSuggestion_Call) RunAndReturn ¶ added in v1.5.41
func (_c *BackupSuggestionPort_BackupSuggestion_Call) RunAndReturn(run func(*ui.SuggestionRecord, *ui.ExistingRecord, ui.InteractiveRendererPort) error) *BackupSuggestionPort_BackupSuggestion_Call
type BackupSuggestionPort_Expecter ¶ added in v1.5.41
type BackupSuggestionPort_Expecter struct {
// contains filtered or unexported fields
}
func (*BackupSuggestionPort_Expecter) BackupSuggestion ¶ added in v1.5.41
func (_e *BackupSuggestionPort_Expecter) BackupSuggestion(record interface{}, existing interface{}, listener interface{}) *BackupSuggestionPort_BackupSuggestion_Call
BackupSuggestion is a helper method to define mock.On call
- record *ui.SuggestionRecord
- existing *ui.ExistingRecord
- listener ui.InteractiveRendererPort
type CacheAdapter ¶
CacheAdapter is an autogenerated mock type for the CacheAdapter type
func NewCacheAdapter ¶
func NewCacheAdapter(t interface { mock.TestingT Cleanup(func()) }) *CacheAdapter
NewCacheAdapter creates a new instance of CacheAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CacheAdapter) EXPECT ¶ added in v1.5.41
func (_m *CacheAdapter) EXPECT() *CacheAdapter_Expecter
func (*CacheAdapter) Get ¶
func (_m *CacheAdapter) Get(key string) (io.ReadCloser, int, string, error)
Get provides a mock function with given fields: key
func (*CacheAdapter) SignedURL ¶
SignedURL provides a mock function with given fields: key, duration
func (*CacheAdapter) WalkCacheByPrefix ¶
func (_m *CacheAdapter) WalkCacheByPrefix(prefix string, observer func(string)) error
WalkCacheByPrefix provides a mock function with given fields: prefix, observer
type CacheAdapter_Expecter ¶ added in v1.5.41
type CacheAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*CacheAdapter_Expecter) Get ¶ added in v1.5.41
func (_e *CacheAdapter_Expecter) Get(key interface{}) *CacheAdapter_Get_Call
Get is a helper method to define mock.On call
- key string
func (*CacheAdapter_Expecter) Put ¶ added in v1.5.41
func (_e *CacheAdapter_Expecter) Put(key interface{}, mediaType interface{}, content interface{}) *CacheAdapter_Put_Call
Put is a helper method to define mock.On call
- key string
- mediaType string
- content io.Reader
func (*CacheAdapter_Expecter) SignedURL ¶ added in v1.5.41
func (_e *CacheAdapter_Expecter) SignedURL(key interface{}, duration interface{}) *CacheAdapter_SignedURL_Call
SignedURL is a helper method to define mock.On call
- key string
- duration time.Duration
func (*CacheAdapter_Expecter) WalkCacheByPrefix ¶ added in v1.5.41
func (_e *CacheAdapter_Expecter) WalkCacheByPrefix(prefix interface{}, observer interface{}) *CacheAdapter_WalkCacheByPrefix_Call
WalkCacheByPrefix is a helper method to define mock.On call
- prefix string
- observer func(string)
type CacheAdapter_Get_Call ¶ added in v1.5.41
CacheAdapter_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*CacheAdapter_Get_Call) Return ¶ added in v1.5.41
func (_c *CacheAdapter_Get_Call) Return(_a0 io.ReadCloser, _a1 int, _a2 string, _a3 error) *CacheAdapter_Get_Call
func (*CacheAdapter_Get_Call) Run ¶ added in v1.5.41
func (_c *CacheAdapter_Get_Call) Run(run func(key string)) *CacheAdapter_Get_Call
func (*CacheAdapter_Get_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CacheAdapter_Get_Call) RunAndReturn(run func(string) (io.ReadCloser, int, string, error)) *CacheAdapter_Get_Call
type CacheAdapter_Put_Call ¶ added in v1.5.41
CacheAdapter_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*CacheAdapter_Put_Call) Return ¶ added in v1.5.41
func (_c *CacheAdapter_Put_Call) Return(_a0 error) *CacheAdapter_Put_Call
func (*CacheAdapter_Put_Call) Run ¶ added in v1.5.41
func (_c *CacheAdapter_Put_Call) Run(run func(key string, mediaType string, content io.Reader)) *CacheAdapter_Put_Call
func (*CacheAdapter_Put_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CacheAdapter_Put_Call) RunAndReturn(run func(string, string, io.Reader) error) *CacheAdapter_Put_Call
type CacheAdapter_SignedURL_Call ¶ added in v1.5.41
CacheAdapter_SignedURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignedURL'
func (*CacheAdapter_SignedURL_Call) Return ¶ added in v1.5.41
func (_c *CacheAdapter_SignedURL_Call) Return(_a0 string, _a1 error) *CacheAdapter_SignedURL_Call
func (*CacheAdapter_SignedURL_Call) Run ¶ added in v1.5.41
func (_c *CacheAdapter_SignedURL_Call) Run(run func(key string, duration time.Duration)) *CacheAdapter_SignedURL_Call
func (*CacheAdapter_SignedURL_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CacheAdapter_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *CacheAdapter_SignedURL_Call
type CacheAdapter_WalkCacheByPrefix_Call ¶ added in v1.5.41
CacheAdapter_WalkCacheByPrefix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WalkCacheByPrefix'
func (*CacheAdapter_WalkCacheByPrefix_Call) Return ¶ added in v1.5.41
func (_c *CacheAdapter_WalkCacheByPrefix_Call) Return(_a0 error) *CacheAdapter_WalkCacheByPrefix_Call
func (*CacheAdapter_WalkCacheByPrefix_Call) Run ¶ added in v1.5.41
func (_c *CacheAdapter_WalkCacheByPrefix_Call) Run(run func(prefix string, observer func(string))) *CacheAdapter_WalkCacheByPrefix_Call
func (*CacheAdapter_WalkCacheByPrefix_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CacheAdapter_WalkCacheByPrefix_Call) RunAndReturn(run func(string, func(string)) error) *CacheAdapter_WalkCacheByPrefix_Call
type CatalogInsertMedia ¶ added in v1.6.4
CatalogInsertMedia is an autogenerated mock type for the CatalogInsertMedia type
func NewCatalogInsertMedia ¶ added in v1.6.4
func NewCatalogInsertMedia(t interface { mock.TestingT Cleanup(func()) }) *CatalogInsertMedia
NewCatalogInsertMedia creates a new instance of CatalogInsertMedia. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CatalogInsertMedia) EXPECT ¶ added in v1.6.4
func (_m *CatalogInsertMedia) EXPECT() *CatalogInsertMedia_Expecter
func (*CatalogInsertMedia) Insert ¶ added in v1.6.4
func (_m *CatalogInsertMedia) Insert(ctx context.Context, owner ownermodel.Owner, medias []catalog.CreateMediaRequest) error
Insert provides a mock function with given fields: ctx, owner, medias
type CatalogInsertMedia_Expecter ¶ added in v1.6.4
type CatalogInsertMedia_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogInsertMedia_Expecter) Insert ¶ added in v1.6.4
func (_e *CatalogInsertMedia_Expecter) Insert(ctx interface{}, owner interface{}, medias interface{}) *CatalogInsertMedia_Insert_Call
Insert is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- medias []catalog.CreateMediaRequest
type CatalogInsertMedia_Insert_Call ¶ added in v1.6.4
CatalogInsertMedia_Insert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Insert'
func (*CatalogInsertMedia_Insert_Call) Return ¶ added in v1.6.4
func (_c *CatalogInsertMedia_Insert_Call) Return(_a0 error) *CatalogInsertMedia_Insert_Call
func (*CatalogInsertMedia_Insert_Call) Run ¶ added in v1.6.4
func (_c *CatalogInsertMedia_Insert_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, medias []catalog.CreateMediaRequest)) *CatalogInsertMedia_Insert_Call
func (*CatalogInsertMedia_Insert_Call) RunAndReturn ¶ added in v1.6.4
func (_c *CatalogInsertMedia_Insert_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.CreateMediaRequest) error) *CatalogInsertMedia_Insert_Call
type CatalogQueriesPort ¶ added in v1.6.27
CatalogQueriesPort is an autogenerated mock type for the CatalogQueriesPort type
func NewCatalogQueriesPort ¶ added in v1.6.27
func NewCatalogQueriesPort(t interface { mock.TestingT Cleanup(func()) }) *CatalogQueriesPort
NewCatalogQueriesPort creates a new instance of CatalogQueriesPort. 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 (*CatalogQueriesPort) EXPECT ¶ added in v1.6.27
func (_m *CatalogQueriesPort) EXPECT() *CatalogQueriesPort_Expecter
func (*CatalogQueriesPort) FindMediaOwnership ¶ added in v1.6.27
func (_m *CatalogQueriesPort) FindMediaOwnership(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)
FindMediaOwnership provides a mock function with given fields: ctx, owner, mediaId
type CatalogQueriesPort_Expecter ¶ added in v1.6.27
type CatalogQueriesPort_Expecter struct {
// contains filtered or unexported fields
}
func (*CatalogQueriesPort_Expecter) FindMediaOwnership ¶ added in v1.6.27
func (_e *CatalogQueriesPort_Expecter) FindMediaOwnership(ctx interface{}, owner interface{}, mediaId interface{}) *CatalogQueriesPort_FindMediaOwnership_Call
FindMediaOwnership is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- mediaId catalog.MediaId
type CatalogQueriesPort_FindMediaOwnership_Call ¶ added in v1.6.27
CatalogQueriesPort_FindMediaOwnership_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaOwnership'
func (*CatalogQueriesPort_FindMediaOwnership_Call) Return ¶ added in v1.6.27
func (_c *CatalogQueriesPort_FindMediaOwnership_Call) Return(_a0 *catalog.AlbumId, _a1 error) *CatalogQueriesPort_FindMediaOwnership_Call
func (*CatalogQueriesPort_FindMediaOwnership_Call) Run ¶ added in v1.6.27
func (_c *CatalogQueriesPort_FindMediaOwnership_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId)) *CatalogQueriesPort_FindMediaOwnership_Call
func (*CatalogQueriesPort_FindMediaOwnership_Call) RunAndReturn ¶ added in v1.6.27
func (_c *CatalogQueriesPort_FindMediaOwnership_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, catalog.MediaId) (*catalog.AlbumId, error)) *CatalogQueriesPort_FindMediaOwnership_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 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) 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 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) 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_GetAWSV2Config_Call ¶ added in v1.5.41
Config_GetAWSV2Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAWSV2Config'
func (*Config_GetAWSV2Config_Call) Return ¶ added in v1.5.41
func (_c *Config_GetAWSV2Config_Call) Return(_a0 aws.Config) *Config_GetAWSV2Config_Call
func (*Config_GetAWSV2Config_Call) Run ¶ added in v1.5.41
func (_c *Config_GetAWSV2Config_Call) Run(run func()) *Config_GetAWSV2Config_Call
func (*Config_GetAWSV2Config_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetAWSV2Config_Call) RunAndReturn(run func() aws.Config) *Config_GetAWSV2Config_Call
type Config_GetBool_Call ¶ added in v1.5.41
Config_GetBool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBool'
func (*Config_GetBool_Call) Return ¶ added in v1.5.41
func (_c *Config_GetBool_Call) Return(_a0 bool) *Config_GetBool_Call
func (*Config_GetBool_Call) Run ¶ added in v1.5.41
func (_c *Config_GetBool_Call) Run(run func(key string)) *Config_GetBool_Call
func (*Config_GetBool_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetBool_Call) RunAndReturn(run func(string) bool) *Config_GetBool_Call
type Config_GetIntOrDefault_Call ¶ added in v1.5.41
Config_GetIntOrDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetIntOrDefault'
func (*Config_GetIntOrDefault_Call) Return ¶ added in v1.5.41
func (_c *Config_GetIntOrDefault_Call) Return(_a0 int) *Config_GetIntOrDefault_Call
func (*Config_GetIntOrDefault_Call) Run ¶ added in v1.5.41
func (_c *Config_GetIntOrDefault_Call) Run(run func(key string, defaultValue int)) *Config_GetIntOrDefault_Call
func (*Config_GetIntOrDefault_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetIntOrDefault_Call) RunAndReturn(run func(string, int) int) *Config_GetIntOrDefault_Call
type Config_GetInt_Call ¶ added in v1.5.41
Config_GetInt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInt'
func (*Config_GetInt_Call) Return ¶ added in v1.5.41
func (_c *Config_GetInt_Call) Return(_a0 int) *Config_GetInt_Call
func (*Config_GetInt_Call) Run ¶ added in v1.5.41
func (_c *Config_GetInt_Call) Run(run func(key string)) *Config_GetInt_Call
func (*Config_GetInt_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetInt_Call) RunAndReturn(run func(string) int) *Config_GetInt_Call
type Config_GetStringOrDefault_Call ¶ added in v1.5.41
Config_GetStringOrDefault_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringOrDefault'
func (*Config_GetStringOrDefault_Call) Return ¶ added in v1.5.41
func (_c *Config_GetStringOrDefault_Call) Return(_a0 string) *Config_GetStringOrDefault_Call
func (*Config_GetStringOrDefault_Call) Run ¶ added in v1.5.41
func (_c *Config_GetStringOrDefault_Call) Run(run func(key string, defaultValue string)) *Config_GetStringOrDefault_Call
func (*Config_GetStringOrDefault_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetStringOrDefault_Call) RunAndReturn(run func(string, string) string) *Config_GetStringOrDefault_Call
type Config_GetString_Call ¶ added in v1.5.41
Config_GetString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetString'
func (*Config_GetString_Call) Return ¶ added in v1.5.41
func (_c *Config_GetString_Call) Return(_a0 string) *Config_GetString_Call
func (*Config_GetString_Call) Run ¶ added in v1.5.41
func (_c *Config_GetString_Call) Run(run func(key string)) *Config_GetString_Call
func (*Config_GetString_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_GetString_Call) RunAndReturn(run func(string) string) *Config_GetString_Call
type Config_Get_Call ¶ added in v1.5.41
Config_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*Config_Get_Call) Return ¶ added in v1.5.41
func (_c *Config_Get_Call) Return(_a0 interface{}) *Config_Get_Call
func (*Config_Get_Call) Run ¶ added in v1.5.41
func (_c *Config_Get_Call) Run(run func(key string)) *Config_Get_Call
func (*Config_Get_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Config_Get_Call) RunAndReturn(run func(string) interface{}) *Config_Get_Call
type CountMediasBySelectorsFunc ¶ added in v1.5.41
CountMediasBySelectorsFunc is an autogenerated mock type for the CountMediasBySelectorsFunc type
func NewCountMediasBySelectorsFunc ¶ added in v1.5.41
func NewCountMediasBySelectorsFunc(t interface { mock.TestingT Cleanup(func()) }) *CountMediasBySelectorsFunc
NewCountMediasBySelectorsFunc creates a new instance of CountMediasBySelectorsFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CountMediasBySelectorsFunc) EXPECT ¶ added in v1.5.41
func (_m *CountMediasBySelectorsFunc) EXPECT() *CountMediasBySelectorsFunc_Expecter
func (*CountMediasBySelectorsFunc) Execute ¶ added in v1.5.41
func (_m *CountMediasBySelectorsFunc) Execute(ctx context.Context, owner ownermodel.Owner, selectors []catalog.MediaSelector) (int, error)
Execute provides a mock function with given fields: ctx, owner, selectors
type CountMediasBySelectorsFunc_Execute_Call ¶ added in v1.5.41
CountMediasBySelectorsFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*CountMediasBySelectorsFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *CountMediasBySelectorsFunc_Execute_Call) Return(_a0 int, _a1 error) *CountMediasBySelectorsFunc_Execute_Call
func (*CountMediasBySelectorsFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *CountMediasBySelectorsFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, selectors []catalog.MediaSelector)) *CountMediasBySelectorsFunc_Execute_Call
func (*CountMediasBySelectorsFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CountMediasBySelectorsFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.MediaSelector) (int, error)) *CountMediasBySelectorsFunc_Execute_Call
type CountMediasBySelectorsFunc_Expecter ¶ added in v1.5.41
type CountMediasBySelectorsFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*CountMediasBySelectorsFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *CountMediasBySelectorsFunc_Expecter) Execute(ctx interface{}, owner interface{}, selectors interface{}) *CountMediasBySelectorsFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- selectors []catalog.MediaSelector
type CountMediasBySelectorsPort ¶ added in v1.5.41
CountMediasBySelectorsPort is an autogenerated mock type for the CountMediasBySelectorsPort type
func NewCountMediasBySelectorsPort ¶ added in v1.5.41
func NewCountMediasBySelectorsPort(t interface { mock.TestingT Cleanup(func()) }) *CountMediasBySelectorsPort
NewCountMediasBySelectorsPort creates a new instance of CountMediasBySelectorsPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CountMediasBySelectorsPort) CountMediasBySelectors ¶ added in v1.5.41
func (_m *CountMediasBySelectorsPort) CountMediasBySelectors(ctx context.Context, owner ownermodel.Owner, selectors []catalog.MediaSelector) (int, error)
CountMediasBySelectors provides a mock function with given fields: ctx, owner, selectors
func (*CountMediasBySelectorsPort) EXPECT ¶ added in v1.5.41
func (_m *CountMediasBySelectorsPort) EXPECT() *CountMediasBySelectorsPort_Expecter
type CountMediasBySelectorsPort_CountMediasBySelectors_Call ¶ added in v1.5.41
CountMediasBySelectorsPort_CountMediasBySelectors_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMediasBySelectors'
func (*CountMediasBySelectorsPort_CountMediasBySelectors_Call) Return ¶ added in v1.5.41
func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) Return(_a0 int, _a1 error) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
func (*CountMediasBySelectorsPort_CountMediasBySelectors_Call) Run ¶ added in v1.5.41
func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, selectors []catalog.MediaSelector)) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
func (*CountMediasBySelectorsPort_CountMediasBySelectors_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CountMediasBySelectorsPort_CountMediasBySelectors_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.MediaSelector) (int, error)) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
type CountMediasBySelectorsPort_Expecter ¶ added in v1.5.41
type CountMediasBySelectorsPort_Expecter struct {
// contains filtered or unexported fields
}
func (*CountMediasBySelectorsPort_Expecter) CountMediasBySelectors ¶ added in v1.5.41
func (_e *CountMediasBySelectorsPort_Expecter) CountMediasBySelectors(ctx interface{}, owner interface{}, selectors interface{}) *CountMediasBySelectorsPort_CountMediasBySelectors_Call
CountMediasBySelectors is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- selectors []catalog.MediaSelector
type CreateAlbumObserver ¶ added in v1.5.42
CreateAlbumObserver is an autogenerated mock type for the CreateAlbumObserver type
func NewCreateAlbumObserver ¶ added in v1.5.42
func NewCreateAlbumObserver(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumObserver
NewCreateAlbumObserver creates a new instance of CreateAlbumObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumObserver) EXPECT ¶ added in v1.5.42
func (_m *CreateAlbumObserver) EXPECT() *CreateAlbumObserver_Expecter
func (*CreateAlbumObserver) ObserveCreateAlbum ¶ added in v1.5.42
func (_m *CreateAlbumObserver) ObserveCreateAlbum(ctx context.Context, createdAlbum catalog.Album) error
ObserveCreateAlbum provides a mock function with given fields: ctx, createdAlbum
type CreateAlbumObserverFunc ¶ added in v1.5.42
CreateAlbumObserverFunc is an autogenerated mock type for the CreateAlbumObserverFunc type
func NewCreateAlbumObserverFunc ¶ added in v1.5.42
func NewCreateAlbumObserverFunc(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumObserverFunc
NewCreateAlbumObserverFunc creates a new instance of CreateAlbumObserverFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumObserverFunc) EXPECT ¶ added in v1.5.42
func (_m *CreateAlbumObserverFunc) EXPECT() *CreateAlbumObserverFunc_Expecter
type CreateAlbumObserverFunc_Execute_Call ¶ added in v1.5.42
CreateAlbumObserverFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*CreateAlbumObserverFunc_Execute_Call) Return ¶ added in v1.5.42
func (_c *CreateAlbumObserverFunc_Execute_Call) Return(_a0 error) *CreateAlbumObserverFunc_Execute_Call
func (*CreateAlbumObserverFunc_Execute_Call) Run ¶ added in v1.5.42
func (_c *CreateAlbumObserverFunc_Execute_Call) Run(run func(ctx context.Context, createdAlbum catalog.Album)) *CreateAlbumObserverFunc_Execute_Call
func (*CreateAlbumObserverFunc_Execute_Call) RunAndReturn ¶ added in v1.5.42
func (_c *CreateAlbumObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *CreateAlbumObserverFunc_Execute_Call
type CreateAlbumObserverFunc_Expecter ¶ added in v1.5.42
type CreateAlbumObserverFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumObserverFunc_Expecter) Execute ¶ added in v1.5.42
func (_e *CreateAlbumObserverFunc_Expecter) Execute(ctx interface{}, createdAlbum interface{}) *CreateAlbumObserverFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- createdAlbum catalog.Album
type CreateAlbumObserverWithTimeline ¶ added in v1.6.4
CreateAlbumObserverWithTimeline is an autogenerated mock type for the CreateAlbumObserverWithTimeline type
func NewCreateAlbumObserverWithTimeline ¶ added in v1.6.4
func NewCreateAlbumObserverWithTimeline(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumObserverWithTimeline
NewCreateAlbumObserverWithTimeline creates a new instance of CreateAlbumObserverWithTimeline. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumObserverWithTimeline) EXPECT ¶ added in v1.6.4
func (_m *CreateAlbumObserverWithTimeline) EXPECT() *CreateAlbumObserverWithTimeline_Expecter
func (*CreateAlbumObserverWithTimeline) ObserveCreateAlbum ¶ added in v1.6.4
func (_m *CreateAlbumObserverWithTimeline) ObserveCreateAlbum(ctx context.Context, timeline *catalog.TimelineAggregate, createdAlbum catalog.Album) error
ObserveCreateAlbum provides a mock function with given fields: ctx, timeline, createdAlbum
type CreateAlbumObserverWithTimeline_Expecter ¶ added in v1.6.4
type CreateAlbumObserverWithTimeline_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumObserverWithTimeline_Expecter) ObserveCreateAlbum ¶ added in v1.6.4
func (_e *CreateAlbumObserverWithTimeline_Expecter) ObserveCreateAlbum(ctx interface{}, timeline interface{}, createdAlbum interface{}) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
ObserveCreateAlbum is a helper method to define mock.On call
- ctx context.Context
- timeline *catalog.TimelineAggregate
- createdAlbum catalog.Album
type CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call ¶ added in v1.6.4
CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveCreateAlbum'
func (*CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Run ¶ added in v1.6.4
func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, createdAlbum catalog.Album)) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
func (*CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) RunAndReturn ¶ added in v1.6.4
func (_c *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) RunAndReturn(run func(context.Context, *catalog.TimelineAggregate, catalog.Album) error) *CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call
type CreateAlbumObserver_Expecter ¶ added in v1.5.42
type CreateAlbumObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumObserver_Expecter) ObserveCreateAlbum ¶ added in v1.5.42
func (_e *CreateAlbumObserver_Expecter) ObserveCreateAlbum(ctx interface{}, createdAlbum interface{}) *CreateAlbumObserver_ObserveCreateAlbum_Call
ObserveCreateAlbum is a helper method to define mock.On call
- ctx context.Context
- createdAlbum catalog.Album
type CreateAlbumObserver_ObserveCreateAlbum_Call ¶ added in v1.5.42
CreateAlbumObserver_ObserveCreateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveCreateAlbum'
func (*CreateAlbumObserver_ObserveCreateAlbum_Call) Return ¶ added in v1.5.42
func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) Return(_a0 error) *CreateAlbumObserver_ObserveCreateAlbum_Call
func (*CreateAlbumObserver_ObserveCreateAlbum_Call) Run ¶ added in v1.5.42
func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) Run(run func(ctx context.Context, createdAlbum catalog.Album)) *CreateAlbumObserver_ObserveCreateAlbum_Call
func (*CreateAlbumObserver_ObserveCreateAlbum_Call) RunAndReturn ¶ added in v1.5.42
func (_c *CreateAlbumObserver_ObserveCreateAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *CreateAlbumObserver_ObserveCreateAlbum_Call
type CreateAlbumPort ¶
CreateAlbumPort is an autogenerated mock type for the CreateAlbumPort type
func NewCreateAlbumPort ¶
func NewCreateAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumPort
NewCreateAlbumPort creates a new instance of CreateAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumPort) Create ¶
func (_m *CreateAlbumPort) Create(createRequest ui.RecordCreation) error
Create provides a mock function with given fields: createRequest
func (*CreateAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *CreateAlbumPort) EXPECT() *CreateAlbumPort_Expecter
type CreateAlbumPort_Create_Call ¶ added in v1.5.41
CreateAlbumPort_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*CreateAlbumPort_Create_Call) Return ¶ added in v1.5.41
func (_c *CreateAlbumPort_Create_Call) Return(_a0 error) *CreateAlbumPort_Create_Call
func (*CreateAlbumPort_Create_Call) Run ¶ added in v1.5.41
func (_c *CreateAlbumPort_Create_Call) Run(run func(createRequest ui.RecordCreation)) *CreateAlbumPort_Create_Call
func (*CreateAlbumPort_Create_Call) RunAndReturn ¶ added in v1.5.41
func (_c *CreateAlbumPort_Create_Call) RunAndReturn(run func(ui.RecordCreation) error) *CreateAlbumPort_Create_Call
type CreateAlbumPort_Expecter ¶ added in v1.5.41
type CreateAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumPort_Expecter) Create ¶ added in v1.5.41
func (_e *CreateAlbumPort_Expecter) Create(createRequest interface{}) *CreateAlbumPort_Create_Call
Create is a helper method to define mock.On call
- createRequest ui.RecordCreation
type CreateAlbumWithTimeline ¶ added in v1.6.4
CreateAlbumWithTimeline is an autogenerated mock type for the CreateAlbumWithTimeline type
func NewCreateAlbumWithTimeline ¶ added in v1.6.4
func NewCreateAlbumWithTimeline(t interface { mock.TestingT Cleanup(func()) }) *CreateAlbumWithTimeline
NewCreateAlbumWithTimeline creates a new instance of CreateAlbumWithTimeline. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CreateAlbumWithTimeline) Create ¶ added in v1.6.4
func (_m *CreateAlbumWithTimeline) Create(ctx context.Context, timeline *catalog.TimelineAggregate, request catalog.CreateAlbumRequest) (*catalog.AlbumId, error)
Create provides a mock function with given fields: ctx, timeline, request
func (*CreateAlbumWithTimeline) EXPECT ¶ added in v1.6.4
func (_m *CreateAlbumWithTimeline) EXPECT() *CreateAlbumWithTimeline_Expecter
type CreateAlbumWithTimeline_Create_Call ¶ added in v1.6.4
CreateAlbumWithTimeline_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*CreateAlbumWithTimeline_Create_Call) Return ¶ added in v1.6.4
func (_c *CreateAlbumWithTimeline_Create_Call) Return(_a0 *catalog.AlbumId, _a1 error) *CreateAlbumWithTimeline_Create_Call
func (*CreateAlbumWithTimeline_Create_Call) Run ¶ added in v1.6.4
func (_c *CreateAlbumWithTimeline_Create_Call) Run(run func(ctx context.Context, timeline *catalog.TimelineAggregate, request catalog.CreateAlbumRequest)) *CreateAlbumWithTimeline_Create_Call
func (*CreateAlbumWithTimeline_Create_Call) RunAndReturn ¶ added in v1.6.4
func (_c *CreateAlbumWithTimeline_Create_Call) RunAndReturn(run func(context.Context, *catalog.TimelineAggregate, catalog.CreateAlbumRequest) (*catalog.AlbumId, error)) *CreateAlbumWithTimeline_Create_Call
type CreateAlbumWithTimeline_Expecter ¶ added in v1.6.4
type CreateAlbumWithTimeline_Expecter struct {
// contains filtered or unexported fields
}
func (*CreateAlbumWithTimeline_Expecter) Create ¶ added in v1.6.4
func (_e *CreateAlbumWithTimeline_Expecter) Create(ctx interface{}, timeline interface{}, request interface{}) *CreateAlbumWithTimeline_Create_Call
Create is a helper method to define mock.On call
- ctx context.Context
- timeline *catalog.TimelineAggregate
- request catalog.CreateAlbumRequest
type DeleteAlbumObserver ¶ added in v1.5.42
DeleteAlbumObserver is an autogenerated mock type for the DeleteAlbumObserver type
func NewDeleteAlbumObserver ¶ added in v1.5.42
func NewDeleteAlbumObserver(t interface { mock.TestingT Cleanup(func()) }) *DeleteAlbumObserver
NewDeleteAlbumObserver creates a new instance of DeleteAlbumObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteAlbumObserver) EXPECT ¶ added in v1.5.42
func (_m *DeleteAlbumObserver) EXPECT() *DeleteAlbumObserver_Expecter
func (*DeleteAlbumObserver) OnDeleteAlbum ¶ added in v1.5.42
func (_m *DeleteAlbumObserver) OnDeleteAlbum(ctx context.Context, deletedAlbum catalog.AlbumId, transfers catalog.MediaTransferRecords) error
OnDeleteAlbum provides a mock function with given fields: ctx, deletedAlbum, transfers
type DeleteAlbumObserver_Expecter ¶ added in v1.5.42
type DeleteAlbumObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteAlbumObserver_Expecter) OnDeleteAlbum ¶ added in v1.5.42
func (_e *DeleteAlbumObserver_Expecter) OnDeleteAlbum(ctx interface{}, deletedAlbum interface{}, transfers interface{}) *DeleteAlbumObserver_OnDeleteAlbum_Call
OnDeleteAlbum is a helper method to define mock.On call
- ctx context.Context
- deletedAlbum catalog.AlbumId
- transfers catalog.MediaTransferRecords
type DeleteAlbumObserver_OnDeleteAlbum_Call ¶ added in v1.5.42
DeleteAlbumObserver_OnDeleteAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDeleteAlbum'
func (*DeleteAlbumObserver_OnDeleteAlbum_Call) Return ¶ added in v1.5.42
func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) Return(_a0 error) *DeleteAlbumObserver_OnDeleteAlbum_Call
func (*DeleteAlbumObserver_OnDeleteAlbum_Call) Run ¶ added in v1.5.42
func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) Run(run func(ctx context.Context, deletedAlbum catalog.AlbumId, transfers catalog.MediaTransferRecords)) *DeleteAlbumObserver_OnDeleteAlbum_Call
func (*DeleteAlbumObserver_OnDeleteAlbum_Call) RunAndReturn ¶ added in v1.5.42
func (_c *DeleteAlbumObserver_OnDeleteAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.MediaTransferRecords) error) *DeleteAlbumObserver_OnDeleteAlbum_Call
type DeleteAlbumPort ¶
DeleteAlbumPort is an autogenerated mock type for the DeleteAlbumPort type
func NewDeleteAlbumPort ¶
func NewDeleteAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *DeleteAlbumPort
NewDeleteAlbumPort creates a new instance of DeleteAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteAlbumPort) DeleteAlbum ¶
func (_m *DeleteAlbumPort) DeleteAlbum(folderName string) error
DeleteAlbum provides a mock function with given fields: folderName
func (*DeleteAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *DeleteAlbumPort) EXPECT() *DeleteAlbumPort_Expecter
type DeleteAlbumPort_DeleteAlbum_Call ¶ added in v1.5.41
DeleteAlbumPort_DeleteAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbum'
func (*DeleteAlbumPort_DeleteAlbum_Call) Return ¶ added in v1.5.41
func (_c *DeleteAlbumPort_DeleteAlbum_Call) Return(_a0 error) *DeleteAlbumPort_DeleteAlbum_Call
func (*DeleteAlbumPort_DeleteAlbum_Call) Run ¶ added in v1.5.41
func (_c *DeleteAlbumPort_DeleteAlbum_Call) Run(run func(folderName string)) *DeleteAlbumPort_DeleteAlbum_Call
func (*DeleteAlbumPort_DeleteAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DeleteAlbumPort_DeleteAlbum_Call) RunAndReturn(run func(string) error) *DeleteAlbumPort_DeleteAlbum_Call
type DeleteAlbumPort_Expecter ¶ added in v1.5.41
type DeleteAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteAlbumPort_Expecter) DeleteAlbum ¶ added in v1.5.41
func (_e *DeleteAlbumPort_Expecter) DeleteAlbum(folderName interface{}) *DeleteAlbumPort_DeleteAlbum_Call
DeleteAlbum is a helper method to define mock.On call
- folderName string
type DeleteAlbumRepositoryFunc ¶ added in v1.5.41
DeleteAlbumRepositoryFunc is an autogenerated mock type for the DeleteAlbumRepositoryFunc type
func NewDeleteAlbumRepositoryFunc ¶ added in v1.5.41
func NewDeleteAlbumRepositoryFunc(t interface { mock.TestingT Cleanup(func()) }) *DeleteAlbumRepositoryFunc
NewDeleteAlbumRepositoryFunc creates a new instance of DeleteAlbumRepositoryFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteAlbumRepositoryFunc) EXPECT ¶ added in v1.5.41
func (_m *DeleteAlbumRepositoryFunc) EXPECT() *DeleteAlbumRepositoryFunc_Expecter
type DeleteAlbumRepositoryFunc_Execute_Call ¶ added in v1.5.41
DeleteAlbumRepositoryFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*DeleteAlbumRepositoryFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryFunc_Execute_Call) Return(_a0 error) *DeleteAlbumRepositoryFunc_Execute_Call
func (*DeleteAlbumRepositoryFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryFunc_Execute_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *DeleteAlbumRepositoryFunc_Execute_Call
func (*DeleteAlbumRepositoryFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *DeleteAlbumRepositoryFunc_Execute_Call
type DeleteAlbumRepositoryFunc_Expecter ¶ added in v1.5.41
type DeleteAlbumRepositoryFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteAlbumRepositoryFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *DeleteAlbumRepositoryFunc_Expecter) Execute(ctx interface{}, albumId interface{}) *DeleteAlbumRepositoryFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
type DeleteAlbumRepositoryPort ¶ added in v1.5.41
DeleteAlbumRepositoryPort is an autogenerated mock type for the DeleteAlbumRepositoryPort type
func NewDeleteAlbumRepositoryPort ¶ added in v1.5.41
func NewDeleteAlbumRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *DeleteAlbumRepositoryPort
NewDeleteAlbumRepositoryPort creates a new instance of DeleteAlbumRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DeleteAlbumRepositoryPort) DeleteAlbum ¶ added in v1.5.41
func (_m *DeleteAlbumRepositoryPort) DeleteAlbum(ctx context.Context, albumId catalog.AlbumId) error
DeleteAlbum provides a mock function with given fields: ctx, albumId
func (*DeleteAlbumRepositoryPort) EXPECT ¶ added in v1.5.41
func (_m *DeleteAlbumRepositoryPort) EXPECT() *DeleteAlbumRepositoryPort_Expecter
type DeleteAlbumRepositoryPort_DeleteAlbum_Call ¶ added in v1.5.41
DeleteAlbumRepositoryPort_DeleteAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbum'
func (*DeleteAlbumRepositoryPort_DeleteAlbum_Call) Return ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) Return(_a0 error) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
func (*DeleteAlbumRepositoryPort_DeleteAlbum_Call) Run ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
func (*DeleteAlbumRepositoryPort_DeleteAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *DeleteAlbumRepositoryPort_DeleteAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) error) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
type DeleteAlbumRepositoryPort_Expecter ¶ added in v1.5.41
type DeleteAlbumRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteAlbumRepositoryPort_Expecter) DeleteAlbum ¶ added in v1.5.41
func (_e *DeleteAlbumRepositoryPort_Expecter) DeleteAlbum(ctx interface{}, albumId interface{}) *DeleteAlbumRepositoryPort_DeleteAlbum_Call
DeleteAlbum is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
type DeleteAlbumSizePort ¶ added in v1.6.27
DeleteAlbumSizePort is an autogenerated mock type for the DeleteAlbumSizePort type
func NewDeleteAlbumSizePort ¶ added in v1.6.27
func NewDeleteAlbumSizePort(t interface { mock.TestingT Cleanup(func()) }) *DeleteAlbumSizePort
NewDeleteAlbumSizePort creates a new instance of DeleteAlbumSizePort. 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 (*DeleteAlbumSizePort) DeleteAlbumSize ¶ added in v1.6.27
func (_m *DeleteAlbumSizePort) DeleteAlbumSize(ctx context.Context, availability catalogviews.Availability, albumId catalog.AlbumId) error
DeleteAlbumSize provides a mock function with given fields: ctx, availability, albumId
func (*DeleteAlbumSizePort) EXPECT ¶ added in v1.6.27
func (_m *DeleteAlbumSizePort) EXPECT() *DeleteAlbumSizePort_Expecter
type DeleteAlbumSizePort_DeleteAlbumSize_Call ¶ added in v1.6.27
DeleteAlbumSizePort_DeleteAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbumSize'
func (*DeleteAlbumSizePort_DeleteAlbumSize_Call) Return ¶ added in v1.6.27
func (_c *DeleteAlbumSizePort_DeleteAlbumSize_Call) Return(_a0 error) *DeleteAlbumSizePort_DeleteAlbumSize_Call
func (*DeleteAlbumSizePort_DeleteAlbumSize_Call) Run ¶ added in v1.6.27
func (_c *DeleteAlbumSizePort_DeleteAlbumSize_Call) Run(run func(ctx context.Context, availability catalogviews.Availability, albumId catalog.AlbumId)) *DeleteAlbumSizePort_DeleteAlbumSize_Call
func (*DeleteAlbumSizePort_DeleteAlbumSize_Call) RunAndReturn ¶ added in v1.6.27
func (_c *DeleteAlbumSizePort_DeleteAlbumSize_Call) RunAndReturn(run func(context.Context, catalogviews.Availability, catalog.AlbumId) error) *DeleteAlbumSizePort_DeleteAlbumSize_Call
type DeleteAlbumSizePort_Expecter ¶ added in v1.6.27
type DeleteAlbumSizePort_Expecter struct {
// contains filtered or unexported fields
}
func (*DeleteAlbumSizePort_Expecter) DeleteAlbumSize ¶ added in v1.6.27
func (_e *DeleteAlbumSizePort_Expecter) DeleteAlbumSize(ctx interface{}, availability interface{}, albumId interface{}) *DeleteAlbumSizePort_DeleteAlbumSize_Call
DeleteAlbumSize is a helper method to define mock.On call
- ctx context.Context
- availability catalogviews.Availability
- albumId catalog.AlbumId
type DriftObserver ¶ added in v1.6.27
DriftObserver is an autogenerated mock type for the DriftObserver type
func NewDriftObserver ¶ added in v1.6.27
func NewDriftObserver(t interface { mock.TestingT Cleanup(func()) }) *DriftObserver
NewDriftObserver creates a new instance of DriftObserver. 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 (*DriftObserver) EXPECT ¶ added in v1.6.27
func (_m *DriftObserver) EXPECT() *DriftObserver_Expecter
func (*DriftObserver) OnDetectedDrifts ¶ added in v1.6.27
func (_m *DriftObserver) OnDetectedDrifts(ctx context.Context, drifts []catalogviews.Drift) error
OnDetectedDrifts provides a mock function with given fields: ctx, drifts
type DriftObserver_Expecter ¶ added in v1.6.27
type DriftObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*DriftObserver_Expecter) OnDetectedDrifts ¶ added in v1.6.27
func (_e *DriftObserver_Expecter) OnDetectedDrifts(ctx interface{}, drifts interface{}) *DriftObserver_OnDetectedDrifts_Call
OnDetectedDrifts is a helper method to define mock.On call
- ctx context.Context
- drifts []catalogviews.Drift
type DriftObserver_OnDetectedDrifts_Call ¶ added in v1.6.27
DriftObserver_OnDetectedDrifts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnDetectedDrifts'
func (*DriftObserver_OnDetectedDrifts_Call) Return ¶ added in v1.6.27
func (_c *DriftObserver_OnDetectedDrifts_Call) Return(_a0 error) *DriftObserver_OnDetectedDrifts_Call
func (*DriftObserver_OnDetectedDrifts_Call) Run ¶ added in v1.6.27
func (_c *DriftObserver_OnDetectedDrifts_Call) Run(run func(ctx context.Context, drifts []catalogviews.Drift)) *DriftObserver_OnDetectedDrifts_Call
func (*DriftObserver_OnDetectedDrifts_Call) RunAndReturn ¶ added in v1.6.27
func (_c *DriftObserver_OnDetectedDrifts_Call) RunAndReturn(run func(context.Context, []catalogviews.Drift) error) *DriftObserver_OnDetectedDrifts_Call
type DriftSynchronizerPort ¶ added in v1.6.27
DriftSynchronizerPort is an autogenerated mock type for the DriftSynchronizerPort type
func NewDriftSynchronizerPort ¶ added in v1.6.27
func NewDriftSynchronizerPort(t interface { mock.TestingT Cleanup(func()) }) *DriftSynchronizerPort
NewDriftSynchronizerPort creates a new instance of DriftSynchronizerPort. 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 (*DriftSynchronizerPort) DeleteAlbumSize ¶ added in v1.6.27
func (_m *DriftSynchronizerPort) DeleteAlbumSize(ctx context.Context, availability catalogviews.Availability, albumId catalog.AlbumId) error
DeleteAlbumSize provides a mock function with given fields: ctx, availability, albumId
func (*DriftSynchronizerPort) EXPECT ¶ added in v1.6.27
func (_m *DriftSynchronizerPort) EXPECT() *DriftSynchronizerPort_Expecter
func (*DriftSynchronizerPort) InsertAlbumSize ¶ added in v1.6.27
func (_m *DriftSynchronizerPort) InsertAlbumSize(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize) error
InsertAlbumSize provides a mock function with given fields: ctx, albumSize
type DriftSynchronizerPort_DeleteAlbumSize_Call ¶ added in v1.6.27
DriftSynchronizerPort_DeleteAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbumSize'
func (*DriftSynchronizerPort_DeleteAlbumSize_Call) Return ¶ added in v1.6.27
func (_c *DriftSynchronizerPort_DeleteAlbumSize_Call) Return(_a0 error) *DriftSynchronizerPort_DeleteAlbumSize_Call
func (*DriftSynchronizerPort_DeleteAlbumSize_Call) Run ¶ added in v1.6.27
func (_c *DriftSynchronizerPort_DeleteAlbumSize_Call) Run(run func(ctx context.Context, availability catalogviews.Availability, albumId catalog.AlbumId)) *DriftSynchronizerPort_DeleteAlbumSize_Call
func (*DriftSynchronizerPort_DeleteAlbumSize_Call) RunAndReturn ¶ added in v1.6.27
func (_c *DriftSynchronizerPort_DeleteAlbumSize_Call) RunAndReturn(run func(context.Context, catalogviews.Availability, catalog.AlbumId) error) *DriftSynchronizerPort_DeleteAlbumSize_Call
type DriftSynchronizerPort_Expecter ¶ added in v1.6.27
type DriftSynchronizerPort_Expecter struct {
// contains filtered or unexported fields
}
func (*DriftSynchronizerPort_Expecter) DeleteAlbumSize ¶ added in v1.6.27
func (_e *DriftSynchronizerPort_Expecter) DeleteAlbumSize(ctx interface{}, availability interface{}, albumId interface{}) *DriftSynchronizerPort_DeleteAlbumSize_Call
DeleteAlbumSize is a helper method to define mock.On call
- ctx context.Context
- availability catalogviews.Availability
- albumId catalog.AlbumId
func (*DriftSynchronizerPort_Expecter) InsertAlbumSize ¶ added in v1.6.27
func (_e *DriftSynchronizerPort_Expecter) InsertAlbumSize(ctx interface{}, albumSize interface{}) *DriftSynchronizerPort_InsertAlbumSize_Call
InsertAlbumSize is a helper method to define mock.On call
- ctx context.Context
- albumSize []catalogviews.MultiUserAlbumSize
type DriftSynchronizerPort_InsertAlbumSize_Call ¶ added in v1.6.27
DriftSynchronizerPort_InsertAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertAlbumSize'
func (*DriftSynchronizerPort_InsertAlbumSize_Call) Return ¶ added in v1.6.27
func (_c *DriftSynchronizerPort_InsertAlbumSize_Call) Return(_a0 error) *DriftSynchronizerPort_InsertAlbumSize_Call
func (*DriftSynchronizerPort_InsertAlbumSize_Call) Run ¶ added in v1.6.27
func (_c *DriftSynchronizerPort_InsertAlbumSize_Call) Run(run func(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize)) *DriftSynchronizerPort_InsertAlbumSize_Call
func (*DriftSynchronizerPort_InsertAlbumSize_Call) RunAndReturn ¶ added in v1.6.27
func (_c *DriftSynchronizerPort_InsertAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.MultiUserAlbumSize) error) *DriftSynchronizerPort_InsertAlbumSize_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 Factory ¶ added in v1.6.27
Factory is an autogenerated mock type for the Factory type
func NewFactory ¶ added in v1.6.27
NewFactory creates a new instance of Factory. 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 (*Factory) ArchiveAsyncJobAdapter ¶ added in v1.6.27
func (_m *Factory) ArchiveAsyncJobAdapter(ctx context.Context) archive.AsyncJobAdapter
ArchiveAsyncJobAdapter provides a mock function with given fields: ctx
func (*Factory) EXPECT ¶ added in v1.6.27
func (_m *Factory) EXPECT() *Factory_Expecter
func (*Factory) InitArchive ¶ added in v1.6.27
InitArchive provides a mock function with given fields: ctx
type Factory_ArchiveAsyncJobAdapter_Call ¶ added in v1.6.27
Factory_ArchiveAsyncJobAdapter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArchiveAsyncJobAdapter'
func (*Factory_ArchiveAsyncJobAdapter_Call) Return ¶ added in v1.6.27
func (_c *Factory_ArchiveAsyncJobAdapter_Call) Return(_a0 archive.AsyncJobAdapter) *Factory_ArchiveAsyncJobAdapter_Call
func (*Factory_ArchiveAsyncJobAdapter_Call) Run ¶ added in v1.6.27
func (_c *Factory_ArchiveAsyncJobAdapter_Call) Run(run func(ctx context.Context)) *Factory_ArchiveAsyncJobAdapter_Call
func (*Factory_ArchiveAsyncJobAdapter_Call) RunAndReturn ¶ added in v1.6.27
func (_c *Factory_ArchiveAsyncJobAdapter_Call) RunAndReturn(run func(context.Context) archive.AsyncJobAdapter) *Factory_ArchiveAsyncJobAdapter_Call
type Factory_Expecter ¶ added in v1.6.27
type Factory_Expecter struct {
// contains filtered or unexported fields
}
func (*Factory_Expecter) ArchiveAsyncJobAdapter ¶ added in v1.6.27
func (_e *Factory_Expecter) ArchiveAsyncJobAdapter(ctx interface{}) *Factory_ArchiveAsyncJobAdapter_Call
ArchiveAsyncJobAdapter is a helper method to define mock.On call
- ctx context.Context
func (*Factory_Expecter) InitArchive ¶ added in v1.6.27
func (_e *Factory_Expecter) InitArchive(ctx interface{}) *Factory_InitArchive_Call
InitArchive is a helper method to define mock.On call
- ctx context.Context
type Factory_InitArchive_Call ¶ added in v1.6.27
Factory_InitArchive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitArchive'
func (*Factory_InitArchive_Call) Return ¶ added in v1.6.27
func (_c *Factory_InitArchive_Call) Return() *Factory_InitArchive_Call
func (*Factory_InitArchive_Call) Run ¶ added in v1.6.27
func (_c *Factory_InitArchive_Call) Run(run func(ctx context.Context)) *Factory_InitArchive_Call
func (*Factory_InitArchive_Call) RunAndReturn ¶ added in v1.6.27
func (_c *Factory_InitArchive_Call) RunAndReturn(run func(context.Context)) *Factory_InitArchive_Call
type FindAlbumByIdFunc ¶ added in v1.5.43
FindAlbumByIdFunc is an autogenerated mock type for the FindAlbumByIdFunc type
func NewFindAlbumByIdFunc ¶ added in v1.5.43
func NewFindAlbumByIdFunc(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumByIdFunc
NewFindAlbumByIdFunc creates a new instance of FindAlbumByIdFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumByIdFunc) EXPECT ¶ added in v1.5.43
func (_m *FindAlbumByIdFunc) EXPECT() *FindAlbumByIdFunc_Expecter
type FindAlbumByIdFunc_Execute_Call ¶ added in v1.5.43
FindAlbumByIdFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*FindAlbumByIdFunc_Execute_Call) Return ¶ added in v1.5.43
func (_c *FindAlbumByIdFunc_Execute_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumByIdFunc_Execute_Call
func (*FindAlbumByIdFunc_Execute_Call) Run ¶ added in v1.5.43
func (_c *FindAlbumByIdFunc_Execute_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *FindAlbumByIdFunc_Execute_Call
func (*FindAlbumByIdFunc_Execute_Call) RunAndReturn ¶ added in v1.5.43
func (_c *FindAlbumByIdFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumByIdFunc_Execute_Call
type FindAlbumByIdFunc_Expecter ¶ added in v1.5.43
type FindAlbumByIdFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumByIdFunc_Expecter) Execute ¶ added in v1.5.43
func (_e *FindAlbumByIdFunc_Expecter) Execute(ctx interface{}, id interface{}) *FindAlbumByIdFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- id catalog.AlbumId
type FindAlbumByIdPort ¶ added in v1.5.43
FindAlbumByIdPort is an autogenerated mock type for the FindAlbumByIdPort type
func NewFindAlbumByIdPort ¶ added in v1.5.43
func NewFindAlbumByIdPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumByIdPort
NewFindAlbumByIdPort creates a new instance of FindAlbumByIdPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumByIdPort) EXPECT ¶ added in v1.5.43
func (_m *FindAlbumByIdPort) EXPECT() *FindAlbumByIdPort_Expecter
func (*FindAlbumByIdPort) FindAlbumById ¶ added in v1.5.43
func (_m *FindAlbumByIdPort) FindAlbumById(ctx context.Context, id catalog.AlbumId) (*catalog.Album, error)
FindAlbumById provides a mock function with given fields: ctx, id
type FindAlbumByIdPort_Expecter ¶ added in v1.5.43
type FindAlbumByIdPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumByIdPort_Expecter) FindAlbumById ¶ added in v1.5.43
func (_e *FindAlbumByIdPort_Expecter) FindAlbumById(ctx interface{}, id interface{}) *FindAlbumByIdPort_FindAlbumById_Call
FindAlbumById is a helper method to define mock.On call
- ctx context.Context
- id catalog.AlbumId
type FindAlbumByIdPort_FindAlbumById_Call ¶ added in v1.5.43
FindAlbumByIdPort_FindAlbumById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumById'
func (*FindAlbumByIdPort_FindAlbumById_Call) Return ¶ added in v1.5.43
func (_c *FindAlbumByIdPort_FindAlbumById_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumByIdPort_FindAlbumById_Call
func (*FindAlbumByIdPort_FindAlbumById_Call) Run ¶ added in v1.5.43
func (_c *FindAlbumByIdPort_FindAlbumById_Call) Run(run func(ctx context.Context, id catalog.AlbumId)) *FindAlbumByIdPort_FindAlbumById_Call
func (*FindAlbumByIdPort_FindAlbumById_Call) RunAndReturn ¶ added in v1.5.43
func (_c *FindAlbumByIdPort_FindAlbumById_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumByIdPort_FindAlbumById_Call
type FindAlbumByOwnerFunc ¶ added in v1.5.49
FindAlbumByOwnerFunc is an autogenerated mock type for the FindAlbumByOwnerFunc type
func NewFindAlbumByOwnerFunc ¶ added in v1.5.49
func NewFindAlbumByOwnerFunc(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumByOwnerFunc
NewFindAlbumByOwnerFunc creates a new instance of FindAlbumByOwnerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumByOwnerFunc) EXPECT ¶ added in v1.5.49
func (_m *FindAlbumByOwnerFunc) EXPECT() *FindAlbumByOwnerFunc_Expecter
func (*FindAlbumByOwnerFunc) Execute ¶ added in v1.5.49
func (_m *FindAlbumByOwnerFunc) Execute(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
Execute provides a mock function with given fields: ctx, owner
type FindAlbumByOwnerFunc_Execute_Call ¶ added in v1.5.49
FindAlbumByOwnerFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*FindAlbumByOwnerFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *FindAlbumByOwnerFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumByOwnerFunc_Execute_Call
func (*FindAlbumByOwnerFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *FindAlbumByOwnerFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumByOwnerFunc_Execute_Call
func (*FindAlbumByOwnerFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *FindAlbumByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumByOwnerFunc_Execute_Call
type FindAlbumByOwnerFunc_Expecter ¶ added in v1.5.49
type FindAlbumByOwnerFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumByOwnerFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *FindAlbumByOwnerFunc_Expecter) Execute(ctx interface{}, owner interface{}) *FindAlbumByOwnerFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type FindAlbumByOwnerPort ¶ added in v1.5.48
FindAlbumByOwnerPort is an autogenerated mock type for the FindAlbumByOwnerPort type
func NewFindAlbumByOwnerPort ¶ added in v1.5.48
func NewFindAlbumByOwnerPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumByOwnerPort
NewFindAlbumByOwnerPort creates a new instance of FindAlbumByOwnerPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumByOwnerPort) EXPECT ¶ added in v1.5.48
func (_m *FindAlbumByOwnerPort) EXPECT() *FindAlbumByOwnerPort_Expecter
func (*FindAlbumByOwnerPort) FindAlbumsByOwner ¶ added in v1.5.48
func (_m *FindAlbumByOwnerPort) FindAlbumsByOwner(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
FindAlbumsByOwner provides a mock function with given fields: ctx, owner
type FindAlbumByOwnerPort_Expecter ¶ added in v1.5.48
type FindAlbumByOwnerPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumByOwnerPort_Expecter) FindAlbumsByOwner ¶ added in v1.5.48
func (_e *FindAlbumByOwnerPort_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
FindAlbumsByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type FindAlbumByOwnerPort_FindAlbumsByOwner_Call ¶ added in v1.5.48
FindAlbumByOwnerPort_FindAlbumsByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumsByOwner'
func (*FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Return ¶ added in v1.5.48
func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
func (*FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Run ¶ added in v1.5.48
func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
func (*FindAlbumByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn ¶ added in v1.5.48
func (_c *FindAlbumByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumByOwnerPort_FindAlbumsByOwner_Call
type FindAlbumPort ¶ added in v1.6.4
FindAlbumPort is an autogenerated mock type for the FindAlbumPort type
func NewFindAlbumPort ¶ added in v1.6.4
func NewFindAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumPort
NewFindAlbumPort creates a new instance of FindAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumPort) EXPECT ¶ added in v1.6.4
func (_m *FindAlbumPort) EXPECT() *FindAlbumPort_Expecter
type FindAlbumPort_Expecter ¶ added in v1.6.4
type FindAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumPort_Expecter) FindAlbum ¶ added in v1.6.4
func (_e *FindAlbumPort_Expecter) FindAlbum(ctx interface{}, albumId interface{}) *FindAlbumPort_FindAlbum_Call
FindAlbum is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
type FindAlbumPort_FindAlbum_Call ¶ added in v1.6.4
FindAlbumPort_FindAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbum'
func (*FindAlbumPort_FindAlbum_Call) Return ¶ added in v1.6.4
func (_c *FindAlbumPort_FindAlbum_Call) Return(_a0 *catalog.Album, _a1 error) *FindAlbumPort_FindAlbum_Call
func (*FindAlbumPort_FindAlbum_Call) Run ¶ added in v1.6.4
func (_c *FindAlbumPort_FindAlbum_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId)) *FindAlbumPort_FindAlbum_Call
func (*FindAlbumPort_FindAlbum_Call) RunAndReturn ¶ added in v1.6.4
func (_c *FindAlbumPort_FindAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId) (*catalog.Album, error)) *FindAlbumPort_FindAlbum_Call
type FindAlbumsByIdsFunc ¶ added in v1.5.49
FindAlbumsByIdsFunc is an autogenerated mock type for the FindAlbumsByIdsFunc type
func NewFindAlbumsByIdsFunc ¶ added in v1.5.49
func NewFindAlbumsByIdsFunc(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumsByIdsFunc
NewFindAlbumsByIdsFunc creates a new instance of FindAlbumsByIdsFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumsByIdsFunc) EXPECT ¶ added in v1.5.49
func (_m *FindAlbumsByIdsFunc) EXPECT() *FindAlbumsByIdsFunc_Expecter
type FindAlbumsByIdsFunc_Execute_Call ¶ added in v1.5.49
FindAlbumsByIdsFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*FindAlbumsByIdsFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *FindAlbumsByIdsFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByIdsFunc_Execute_Call
func (*FindAlbumsByIdsFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *FindAlbumsByIdsFunc_Execute_Call) Run(run func(ctx context.Context, ids []catalog.AlbumId)) *FindAlbumsByIdsFunc_Execute_Call
func (*FindAlbumsByIdsFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *FindAlbumsByIdsFunc_Execute_Call) RunAndReturn(run func(context.Context, []catalog.AlbumId) ([]*catalog.Album, error)) *FindAlbumsByIdsFunc_Execute_Call
type FindAlbumsByIdsFunc_Expecter ¶ added in v1.5.49
type FindAlbumsByIdsFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumsByIdsFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *FindAlbumsByIdsFunc_Expecter) Execute(ctx interface{}, ids interface{}) *FindAlbumsByIdsFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- ids []catalog.AlbumId
type FindAlbumsByIdsPort ¶ added in v1.5.48
FindAlbumsByIdsPort is an autogenerated mock type for the FindAlbumsByIdsPort type
func NewFindAlbumsByIdsPort ¶ added in v1.5.48
func NewFindAlbumsByIdsPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumsByIdsPort
NewFindAlbumsByIdsPort creates a new instance of FindAlbumsByIdsPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumsByIdsPort) EXPECT ¶ added in v1.5.48
func (_m *FindAlbumsByIdsPort) EXPECT() *FindAlbumsByIdsPort_Expecter
func (*FindAlbumsByIdsPort) FindAlbumsById ¶ added in v1.5.48
func (_m *FindAlbumsByIdsPort) FindAlbumsById(ctx context.Context, ids []catalog.AlbumId) ([]*catalog.Album, error)
FindAlbumsById provides a mock function with given fields: ctx, ids
type FindAlbumsByIdsPort_Expecter ¶ added in v1.5.48
type FindAlbumsByIdsPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumsByIdsPort_Expecter) FindAlbumsById ¶ added in v1.5.48
func (_e *FindAlbumsByIdsPort_Expecter) FindAlbumsById(ctx interface{}, ids interface{}) *FindAlbumsByIdsPort_FindAlbumsById_Call
FindAlbumsById is a helper method to define mock.On call
- ctx context.Context
- ids []catalog.AlbumId
type FindAlbumsByIdsPort_FindAlbumsById_Call ¶ added in v1.5.48
FindAlbumsByIdsPort_FindAlbumsById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumsById'
func (*FindAlbumsByIdsPort_FindAlbumsById_Call) Return ¶ added in v1.5.48
func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByIdsPort_FindAlbumsById_Call
func (*FindAlbumsByIdsPort_FindAlbumsById_Call) Run ¶ added in v1.5.48
func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) Run(run func(ctx context.Context, ids []catalog.AlbumId)) *FindAlbumsByIdsPort_FindAlbumsById_Call
func (*FindAlbumsByIdsPort_FindAlbumsById_Call) RunAndReturn ¶ added in v1.5.48
func (_c *FindAlbumsByIdsPort_FindAlbumsById_Call) RunAndReturn(run func(context.Context, []catalog.AlbumId) ([]*catalog.Album, error)) *FindAlbumsByIdsPort_FindAlbumsById_Call
type FindAlbumsByOwnerFunc ¶ added in v1.5.41
FindAlbumsByOwnerFunc is an autogenerated mock type for the FindAlbumsByOwnerFunc type
func NewFindAlbumsByOwnerFunc ¶ added in v1.5.41
func NewFindAlbumsByOwnerFunc(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumsByOwnerFunc
NewFindAlbumsByOwnerFunc creates a new instance of FindAlbumsByOwnerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumsByOwnerFunc) EXPECT ¶ added in v1.5.41
func (_m *FindAlbumsByOwnerFunc) EXPECT() *FindAlbumsByOwnerFunc_Expecter
func (*FindAlbumsByOwnerFunc) Execute ¶ added in v1.5.41
func (_m *FindAlbumsByOwnerFunc) Execute(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
Execute provides a mock function with given fields: ctx, owner
type FindAlbumsByOwnerFunc_Execute_Call ¶ added in v1.5.41
FindAlbumsByOwnerFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*FindAlbumsByOwnerFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerFunc_Execute_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByOwnerFunc_Execute_Call
func (*FindAlbumsByOwnerFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumsByOwnerFunc_Execute_Call
func (*FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerFunc_Execute_Call
type FindAlbumsByOwnerFunc_Expecter ¶ added in v1.5.41
type FindAlbumsByOwnerFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumsByOwnerFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *FindAlbumsByOwnerFunc_Expecter) Execute(ctx interface{}, owner interface{}) *FindAlbumsByOwnerFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type FindAlbumsByOwnerPort ¶ added in v1.5.33
FindAlbumsByOwnerPort is an autogenerated mock type for the FindAlbumsByOwnerPort type
func NewFindAlbumsByOwnerPort ¶ added in v1.5.33
func NewFindAlbumsByOwnerPort(t interface { mock.TestingT Cleanup(func()) }) *FindAlbumsByOwnerPort
NewFindAlbumsByOwnerPort creates a new instance of FindAlbumsByOwnerPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindAlbumsByOwnerPort) EXPECT ¶ added in v1.5.41
func (_m *FindAlbumsByOwnerPort) EXPECT() *FindAlbumsByOwnerPort_Expecter
func (*FindAlbumsByOwnerPort) FindAlbumsByOwner ¶ added in v1.5.33
func (_m *FindAlbumsByOwnerPort) FindAlbumsByOwner(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
FindAlbumsByOwner provides a mock function with given fields: ctx, owner
type FindAlbumsByOwnerPort_Expecter ¶ added in v1.5.41
type FindAlbumsByOwnerPort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindAlbumsByOwnerPort_Expecter) FindAlbumsByOwner ¶ added in v1.5.41
func (_e *FindAlbumsByOwnerPort_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
FindAlbumsByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type FindAlbumsByOwnerPort_FindAlbumsByOwner_Call ¶ added in v1.5.41
FindAlbumsByOwnerPort_FindAlbumsByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumsByOwner'
func (*FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Return ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
func (*FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Run ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
func (*FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn ¶ added in v1.5.41
func (_c *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *FindAlbumsByOwnerPort_FindAlbumsByOwner_Call
type FindExistingSignaturePort ¶ added in v1.5.54
FindExistingSignaturePort is an autogenerated mock type for the FindExistingSignaturePort type
func NewFindExistingSignaturePort ¶ added in v1.5.54
func NewFindExistingSignaturePort(t interface { mock.TestingT Cleanup(func()) }) *FindExistingSignaturePort
NewFindExistingSignaturePort creates a new instance of FindExistingSignaturePort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*FindExistingSignaturePort) EXPECT ¶ added in v1.5.54
func (_m *FindExistingSignaturePort) EXPECT() *FindExistingSignaturePort_Expecter
func (*FindExistingSignaturePort) FindSignatures ¶ added in v1.5.54
func (_m *FindExistingSignaturePort) FindSignatures(ctx context.Context, owner ownermodel.Owner, signatures []catalog.MediaSignature) (map[catalog.MediaSignature]catalog.MediaId, error)
FindSignatures provides a mock function with given fields: ctx, owner, signatures
type FindExistingSignaturePort_Expecter ¶ added in v1.5.54
type FindExistingSignaturePort_Expecter struct {
// contains filtered or unexported fields
}
func (*FindExistingSignaturePort_Expecter) FindSignatures ¶ added in v1.5.54
func (_e *FindExistingSignaturePort_Expecter) FindSignatures(ctx interface{}, owner interface{}, signatures interface{}) *FindExistingSignaturePort_FindSignatures_Call
FindSignatures is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- signatures []catalog.MediaSignature
type FindExistingSignaturePort_FindSignatures_Call ¶ added in v1.5.54
FindExistingSignaturePort_FindSignatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSignatures'
func (*FindExistingSignaturePort_FindSignatures_Call) Return ¶ added in v1.5.54
func (_c *FindExistingSignaturePort_FindSignatures_Call) Return(_a0 map[catalog.MediaSignature]catalog.MediaId, _a1 error) *FindExistingSignaturePort_FindSignatures_Call
func (*FindExistingSignaturePort_FindSignatures_Call) Run ¶ added in v1.5.54
func (_c *FindExistingSignaturePort_FindSignatures_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, signatures []catalog.MediaSignature)) *FindExistingSignaturePort_FindSignatures_Call
func (*FindExistingSignaturePort_FindSignatures_Call) RunAndReturn ¶ added in v1.5.54
func (_c *FindExistingSignaturePort_FindSignatures_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.MediaSignature) (map[catalog.MediaSignature]catalog.MediaId, error)) *FindExistingSignaturePort_FindSignatures_Call
type GetAlbumSharingGridFunc ¶ added in v1.5.49
GetAlbumSharingGridFunc is an autogenerated mock type for the GetAlbumSharingGridFunc type
func NewGetAlbumSharingGridFunc ¶ added in v1.5.49
func NewGetAlbumSharingGridFunc(t interface { mock.TestingT Cleanup(func()) }) *GetAlbumSharingGridFunc
NewGetAlbumSharingGridFunc creates a new instance of GetAlbumSharingGridFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GetAlbumSharingGridFunc) EXPECT ¶ added in v1.5.49
func (_m *GetAlbumSharingGridFunc) EXPECT() *GetAlbumSharingGridFunc_Expecter
type GetAlbumSharingGridFunc_Execute_Call ¶ added in v1.5.49
GetAlbumSharingGridFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*GetAlbumSharingGridFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *GetAlbumSharingGridFunc_Execute_Call) Return(_a0 map[catalog.AlbumId][]usermodel.UserId, _a1 error) *GetAlbumSharingGridFunc_Execute_Call
func (*GetAlbumSharingGridFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *GetAlbumSharingGridFunc_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *GetAlbumSharingGridFunc_Execute_Call
func (*GetAlbumSharingGridFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *GetAlbumSharingGridFunc_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) (map[catalog.AlbumId][]usermodel.UserId, error)) *GetAlbumSharingGridFunc_Execute_Call
type GetAlbumSharingGridFunc_Expecter ¶ added in v1.5.49
type GetAlbumSharingGridFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*GetAlbumSharingGridFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *GetAlbumSharingGridFunc_Expecter) Execute(ctx interface{}, owner interface{}) *GetAlbumSharingGridFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type GetAlbumSharingGridPort ¶ added in v1.5.49
GetAlbumSharingGridPort is an autogenerated mock type for the GetAlbumSharingGridPort type
func NewGetAlbumSharingGridPort ¶ added in v1.5.49
func NewGetAlbumSharingGridPort(t interface { mock.TestingT Cleanup(func()) }) *GetAlbumSharingGridPort
NewGetAlbumSharingGridPort creates a new instance of GetAlbumSharingGridPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GetAlbumSharingGridPort) EXPECT ¶ added in v1.5.49
func (_m *GetAlbumSharingGridPort) EXPECT() *GetAlbumSharingGridPort_Expecter
func (*GetAlbumSharingGridPort) GetAlbumSharingGrid ¶ added in v1.5.49
func (_m *GetAlbumSharingGridPort) GetAlbumSharingGrid(ctx context.Context, owner ownermodel.Owner) (map[catalog.AlbumId][]usermodel.UserId, error)
GetAlbumSharingGrid provides a mock function with given fields: ctx, owner
type GetAlbumSharingGridPort_Expecter ¶ added in v1.5.49
type GetAlbumSharingGridPort_Expecter struct {
// contains filtered or unexported fields
}
func (*GetAlbumSharingGridPort_Expecter) GetAlbumSharingGrid ¶ added in v1.5.49
func (_e *GetAlbumSharingGridPort_Expecter) GetAlbumSharingGrid(ctx interface{}, owner interface{}) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
GetAlbumSharingGrid is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type GetAlbumSharingGridPort_GetAlbumSharingGrid_Call ¶ added in v1.5.49
GetAlbumSharingGridPort_GetAlbumSharingGrid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlbumSharingGrid'
func (*GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Return ¶ added in v1.5.49
func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Return(_a0 map[catalog.AlbumId][]usermodel.UserId, _a1 error) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
func (*GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Run ¶ added in v1.5.49
func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
func (*GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) RunAndReturn ¶ added in v1.5.49
func (_c *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) (map[catalog.AlbumId][]usermodel.UserId, error)) *GetAlbumSharingGridPort_GetAlbumSharingGrid_Call
type GetAvailabilitiesByUserPort ¶ added in v1.6.4
GetAvailabilitiesByUserPort is an autogenerated mock type for the GetAvailabilitiesByUserPort type
func NewGetAvailabilitiesByUserPort ¶ added in v1.6.4
func NewGetAvailabilitiesByUserPort(t interface { mock.TestingT Cleanup(func()) }) *GetAvailabilitiesByUserPort
NewGetAvailabilitiesByUserPort creates a new instance of GetAvailabilitiesByUserPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GetAvailabilitiesByUserPort) EXPECT ¶ added in v1.6.4
func (_m *GetAvailabilitiesByUserPort) EXPECT() *GetAvailabilitiesByUserPort_Expecter
func (*GetAvailabilitiesByUserPort) GetAvailabilitiesByUser ¶ added in v1.6.4
func (_m *GetAvailabilitiesByUserPort) GetAvailabilitiesByUser(ctx context.Context, userId usermodel.UserId) ([]catalogviews.UserAlbumSize, error)
GetAvailabilitiesByUser provides a mock function with given fields: ctx, userId
type GetAvailabilitiesByUserPort_Expecter ¶ added in v1.6.4
type GetAvailabilitiesByUserPort_Expecter struct {
// contains filtered or unexported fields
}
func (*GetAvailabilitiesByUserPort_Expecter) GetAvailabilitiesByUser ¶ added in v1.6.4
func (_e *GetAvailabilitiesByUserPort_Expecter) GetAvailabilitiesByUser(ctx interface{}, userId interface{}) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
GetAvailabilitiesByUser is a helper method to define mock.On call
- ctx context.Context
- userId usermodel.UserId
type GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call ¶ added in v1.6.4
GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAvailabilitiesByUser'
func (*GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Run ¶ added in v1.6.4
func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
func (*GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) RunAndReturn ¶ added in v1.6.4
func (_c *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalogviews.UserAlbumSize, error)) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call
type GetCurrentAlbumSizesPort ¶ added in v1.6.27
GetCurrentAlbumSizesPort is an autogenerated mock type for the GetCurrentAlbumSizesPort type
func NewGetCurrentAlbumSizesPort ¶ added in v1.6.27
func NewGetCurrentAlbumSizesPort(t interface { mock.TestingT Cleanup(func()) }) *GetCurrentAlbumSizesPort
NewGetCurrentAlbumSizesPort creates a new instance of GetCurrentAlbumSizesPort. 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 (*GetCurrentAlbumSizesPort) EXPECT ¶ added in v1.6.27
func (_m *GetCurrentAlbumSizesPort) EXPECT() *GetCurrentAlbumSizesPort_Expecter
func (*GetCurrentAlbumSizesPort) GetAlbumSizes ¶ added in v1.6.27
func (_m *GetCurrentAlbumSizesPort) GetAlbumSizes(ctx context.Context, userId usermodel.UserId, owner ...ownermodel.Owner) ([]catalogviews.UserAlbumSize, error)
GetAlbumSizes provides a mock function with given fields: ctx, userId, owner
type GetCurrentAlbumSizesPort_Expecter ¶ added in v1.6.27
type GetCurrentAlbumSizesPort_Expecter struct {
// contains filtered or unexported fields
}
func (*GetCurrentAlbumSizesPort_Expecter) GetAlbumSizes ¶ added in v1.6.27
func (_e *GetCurrentAlbumSizesPort_Expecter) GetAlbumSizes(ctx interface{}, userId interface{}, owner ...interface{}) *GetCurrentAlbumSizesPort_GetAlbumSizes_Call
GetAlbumSizes is a helper method to define mock.On call
- ctx context.Context
- userId usermodel.UserId
- owner ...ownermodel.Owner
type GetCurrentAlbumSizesPort_GetAlbumSizes_Call ¶ added in v1.6.27
GetCurrentAlbumSizesPort_GetAlbumSizes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlbumSizes'
func (*GetCurrentAlbumSizesPort_GetAlbumSizes_Call) Return ¶ added in v1.6.27
func (_c *GetCurrentAlbumSizesPort_GetAlbumSizes_Call) Return(_a0 []catalogviews.UserAlbumSize, _a1 error) *GetCurrentAlbumSizesPort_GetAlbumSizes_Call
func (*GetCurrentAlbumSizesPort_GetAlbumSizes_Call) Run ¶ added in v1.6.27
func (_c *GetCurrentAlbumSizesPort_GetAlbumSizes_Call) Run(run func(ctx context.Context, userId usermodel.UserId, owner ...ownermodel.Owner)) *GetCurrentAlbumSizesPort_GetAlbumSizes_Call
func (*GetCurrentAlbumSizesPort_GetAlbumSizes_Call) RunAndReturn ¶ added in v1.6.27
func (_c *GetCurrentAlbumSizesPort_GetAlbumSizes_Call) RunAndReturn(run func(context.Context, usermodel.UserId, ...ownermodel.Owner) ([]catalogviews.UserAlbumSize, error)) *GetCurrentAlbumSizesPort_GetAlbumSizes_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) FindScopesByIdCtx ¶ added in v1.6.27
func (_m *GrantRepository) FindScopesByIdCtx(ctx context.Context, ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)
FindScopesByIdCtx provides a mock function with given fields: ctx, ids
func (*GrantRepository) ListScopesByOwner ¶ added in v1.5.49
func (_m *GrantRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwner provides a mock function with given fields: ctx, owner, types
func (*GrantRepository) ListScopesByOwners ¶ added in v1.5.0
func (_m *GrantRepository) ListScopesByOwners(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwners provides a mock function with given fields: ctx, owners, types
func (*GrantRepository) ListScopesByUser ¶ added in v1.5.49
func (_m *GrantRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByUser provides a mock function with given fields: ctx, email, types
func (*GrantRepository) SaveIfNewScope ¶
func (_m *GrantRepository) SaveIfNewScope(scope aclcore.Scope) error
SaveIfNewScope provides a mock function with given fields: scope
type GrantRepository_DeleteScopes_Call ¶ added in v1.5.41
GrantRepository_DeleteScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteScopes'
func (*GrantRepository_DeleteScopes_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_DeleteScopes_Call) Return(_a0 error) *GrantRepository_DeleteScopes_Call
func (*GrantRepository_DeleteScopes_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_DeleteScopes_Call) Run(run func(id ...aclcore.ScopeId)) *GrantRepository_DeleteScopes_Call
func (*GrantRepository_DeleteScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_DeleteScopes_Call) RunAndReturn(run func(...aclcore.ScopeId) error) *GrantRepository_DeleteScopes_Call
type GrantRepository_Expecter ¶ added in v1.5.41
type GrantRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*GrantRepository_Expecter) DeleteScopes ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) DeleteScopes(id ...interface{}) *GrantRepository_DeleteScopes_Call
DeleteScopes is a helper method to define mock.On call
- id ...aclcore.ScopeId
func (*GrantRepository_Expecter) FindScopesById ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) FindScopesById(ids ...interface{}) *GrantRepository_FindScopesById_Call
FindScopesById is a helper method to define mock.On call
- ids ...aclcore.ScopeId
func (*GrantRepository_Expecter) FindScopesByIdCtx ¶ added in v1.6.27
func (_e *GrantRepository_Expecter) FindScopesByIdCtx(ctx interface{}, ids ...interface{}) *GrantRepository_FindScopesByIdCtx_Call
FindScopesByIdCtx is a helper method to define mock.On call
- ctx context.Context
- ids ...aclcore.ScopeId
func (*GrantRepository_Expecter) ListScopesByOwner ¶ added in v1.5.49
func (_e *GrantRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *GrantRepository_ListScopesByOwner_Call
ListScopesByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- types ...aclcore.ScopeType
func (*GrantRepository_Expecter) ListScopesByOwners ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) ListScopesByOwners(ctx interface{}, owners interface{}, types ...interface{}) *GrantRepository_ListScopesByOwners_Call
ListScopesByOwners is a helper method to define mock.On call
- ctx context.Context
- owners []ownermodel.Owner
- types ...aclcore.ScopeType
func (*GrantRepository_Expecter) ListScopesByUser ¶ added in v1.5.49
func (_e *GrantRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *GrantRepository_ListScopesByUser_Call
ListScopesByUser is a helper method to define mock.On call
- ctx context.Context
- email usermodel.UserId
- types ...aclcore.ScopeType
func (*GrantRepository_Expecter) SaveIfNewScope ¶ added in v1.5.41
func (_e *GrantRepository_Expecter) SaveIfNewScope(scope interface{}) *GrantRepository_SaveIfNewScope_Call
SaveIfNewScope is a helper method to define mock.On call
- scope aclcore.Scope
type GrantRepository_FindScopesByIdCtx_Call ¶ added in v1.6.27
GrantRepository_FindScopesByIdCtx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindScopesByIdCtx'
func (*GrantRepository_FindScopesByIdCtx_Call) Return ¶ added in v1.6.27
func (_c *GrantRepository_FindScopesByIdCtx_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_FindScopesByIdCtx_Call
func (*GrantRepository_FindScopesByIdCtx_Call) Run ¶ added in v1.6.27
func (_c *GrantRepository_FindScopesByIdCtx_Call) Run(run func(ctx context.Context, ids ...aclcore.ScopeId)) *GrantRepository_FindScopesByIdCtx_Call
func (*GrantRepository_FindScopesByIdCtx_Call) RunAndReturn ¶ added in v1.6.27
func (_c *GrantRepository_FindScopesByIdCtx_Call) RunAndReturn(run func(context.Context, ...aclcore.ScopeId) ([]*aclcore.Scope, error)) *GrantRepository_FindScopesByIdCtx_Call
type GrantRepository_FindScopesById_Call ¶ added in v1.5.41
GrantRepository_FindScopesById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindScopesById'
func (*GrantRepository_FindScopesById_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_FindScopesById_Call
func (*GrantRepository_FindScopesById_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *GrantRepository_FindScopesById_Call
func (*GrantRepository_FindScopesById_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *GrantRepository_FindScopesById_Call
type GrantRepository_ListScopesByOwner_Call ¶ added in v1.5.49
GrantRepository_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'
func (*GrantRepository_ListScopesByOwner_Call) Return ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByOwner_Call
func (*GrantRepository_ListScopesByOwner_Call) Run ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType)) *GrantRepository_ListScopesByOwner_Call
func (*GrantRepository_ListScopesByOwner_Call) RunAndReturn ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListScopesByOwner_Call
type GrantRepository_ListScopesByOwners_Call ¶ added in v1.5.41
GrantRepository_ListScopesByOwners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwners'
func (*GrantRepository_ListScopesByOwners_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_ListScopesByOwners_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByOwners_Call
func (*GrantRepository_ListScopesByOwners_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_ListScopesByOwners_Call) Run(run func(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType)) *GrantRepository_ListScopesByOwners_Call
func (*GrantRepository_ListScopesByOwners_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_ListScopesByOwners_Call) RunAndReturn(run func(context.Context, []ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *GrantRepository_ListScopesByOwners_Call
type GrantRepository_ListScopesByUser_Call ¶ added in v1.5.49
GrantRepository_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'
func (*GrantRepository_ListScopesByUser_Call) Return ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *GrantRepository_ListScopesByUser_Call
func (*GrantRepository_ListScopesByUser_Call) Run ¶ added in v1.5.49
func (_c *GrantRepository_ListScopesByUser_Call) Run(run func(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType)) *GrantRepository_ListScopesByUser_Call
func (*GrantRepository_ListScopesByUser_Call) RunAndReturn ¶ added in v1.5.49
type GrantRepository_SaveIfNewScope_Call ¶ added in v1.5.41
GrantRepository_SaveIfNewScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveIfNewScope'
func (*GrantRepository_SaveIfNewScope_Call) Return ¶ added in v1.5.41
func (_c *GrantRepository_SaveIfNewScope_Call) Return(_a0 error) *GrantRepository_SaveIfNewScope_Call
func (*GrantRepository_SaveIfNewScope_Call) Run ¶ added in v1.5.41
func (_c *GrantRepository_SaveIfNewScope_Call) Run(run func(scope aclcore.Scope)) *GrantRepository_SaveIfNewScope_Call
func (*GrantRepository_SaveIfNewScope_Call) RunAndReturn ¶ added in v1.5.41
func (_c *GrantRepository_SaveIfNewScope_Call) RunAndReturn(run func(aclcore.Scope) error) *GrantRepository_SaveIfNewScope_Call
type HasPermissionPort ¶ added in v1.6.27
HasPermissionPort is an autogenerated mock type for the HasPermissionPort type
func NewHasPermissionPort ¶ added in v1.6.27
func NewHasPermissionPort(t interface { mock.TestingT Cleanup(func()) }) *HasPermissionPort
NewHasPermissionPort creates a new instance of HasPermissionPort. 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 (*HasPermissionPort) EXPECT ¶ added in v1.6.27
func (_m *HasPermissionPort) EXPECT() *HasPermissionPort_Expecter
func (*HasPermissionPort) FindScopesByIdCtx ¶ added in v1.6.27
func (_m *HasPermissionPort) FindScopesByIdCtx(ctx context.Context, ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)
FindScopesByIdCtx provides a mock function with given fields: ctx, ids
type HasPermissionPort_Expecter ¶ added in v1.6.27
type HasPermissionPort_Expecter struct {
// contains filtered or unexported fields
}
func (*HasPermissionPort_Expecter) FindScopesByIdCtx ¶ added in v1.6.27
func (_e *HasPermissionPort_Expecter) FindScopesByIdCtx(ctx interface{}, ids ...interface{}) *HasPermissionPort_FindScopesByIdCtx_Call
FindScopesByIdCtx is a helper method to define mock.On call
- ctx context.Context
- ids ...aclcore.ScopeId
type HasPermissionPort_FindScopesByIdCtx_Call ¶ added in v1.6.27
HasPermissionPort_FindScopesByIdCtx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindScopesByIdCtx'
func (*HasPermissionPort_FindScopesByIdCtx_Call) Return ¶ added in v1.6.27
func (_c *HasPermissionPort_FindScopesByIdCtx_Call) Return(_a0 []*aclcore.Scope, _a1 error) *HasPermissionPort_FindScopesByIdCtx_Call
func (*HasPermissionPort_FindScopesByIdCtx_Call) Run ¶ added in v1.6.27
func (_c *HasPermissionPort_FindScopesByIdCtx_Call) Run(run func(ctx context.Context, ids ...aclcore.ScopeId)) *HasPermissionPort_FindScopesByIdCtx_Call
func (*HasPermissionPort_FindScopesByIdCtx_Call) RunAndReturn ¶ added in v1.6.27
func (_c *HasPermissionPort_FindScopesByIdCtx_Call) RunAndReturn(run func(context.Context, ...aclcore.ScopeId) ([]*aclcore.Scope, error)) *HasPermissionPort_FindScopesByIdCtx_Call
type IAccessTokenGenerator ¶
IAccessTokenGenerator is an autogenerated mock type for the IAccessTokenGenerator type
func NewIAccessTokenGenerator ¶
func NewIAccessTokenGenerator(t interface { mock.TestingT Cleanup(func()) }) *IAccessTokenGenerator
NewIAccessTokenGenerator creates a new instance of IAccessTokenGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IAccessTokenGenerator) EXPECT ¶ added in v1.5.41
func (_m *IAccessTokenGenerator) EXPECT() *IAccessTokenGenerator_Expecter
func (*IAccessTokenGenerator) GenerateAccessToken ¶
func (_m *IAccessTokenGenerator) GenerateAccessToken(email usermodel.UserId) (*aclcore.Authentication, error)
GenerateAccessToken provides a mock function with given fields: email
type IAccessTokenGenerator_Expecter ¶ added in v1.5.41
type IAccessTokenGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*IAccessTokenGenerator_Expecter) GenerateAccessToken ¶ added in v1.5.41
func (_e *IAccessTokenGenerator_Expecter) GenerateAccessToken(email interface{}) *IAccessTokenGenerator_GenerateAccessToken_Call
GenerateAccessToken is a helper method to define mock.On call
- email usermodel.UserId
type IAccessTokenGenerator_GenerateAccessToken_Call ¶ added in v1.5.41
IAccessTokenGenerator_GenerateAccessToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAccessToken'
func (*IAccessTokenGenerator_GenerateAccessToken_Call) Return ¶ added in v1.5.41
func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) Return(_a0 *aclcore.Authentication, _a1 error) *IAccessTokenGenerator_GenerateAccessToken_Call
func (*IAccessTokenGenerator_GenerateAccessToken_Call) Run ¶ added in v1.5.41
func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) Run(run func(email usermodel.UserId)) *IAccessTokenGenerator_GenerateAccessToken_Call
func (*IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Authentication, error)) *IAccessTokenGenerator_GenerateAccessToken_Call
type IRefreshTokenGenerator ¶
IRefreshTokenGenerator is an autogenerated mock type for the IRefreshTokenGenerator type
func NewIRefreshTokenGenerator ¶
func NewIRefreshTokenGenerator(t interface { mock.TestingT Cleanup(func()) }) *IRefreshTokenGenerator
NewIRefreshTokenGenerator creates a new instance of IRefreshTokenGenerator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IRefreshTokenGenerator) EXPECT ¶ added in v1.5.41
func (_m *IRefreshTokenGenerator) EXPECT() *IRefreshTokenGenerator_Expecter
func (*IRefreshTokenGenerator) GenerateRefreshToken ¶
func (_m *IRefreshTokenGenerator) GenerateRefreshToken(spec aclcore.RefreshTokenSpec) (string, error)
GenerateRefreshToken provides a mock function with given fields: spec
type IRefreshTokenGenerator_Expecter ¶ added in v1.5.41
type IRefreshTokenGenerator_Expecter struct {
// contains filtered or unexported fields
}
func (*IRefreshTokenGenerator_Expecter) GenerateRefreshToken ¶ added in v1.5.41
func (_e *IRefreshTokenGenerator_Expecter) GenerateRefreshToken(spec interface{}) *IRefreshTokenGenerator_GenerateRefreshToken_Call
GenerateRefreshToken is a helper method to define mock.On call
- spec aclcore.RefreshTokenSpec
type IRefreshTokenGenerator_GenerateRefreshToken_Call ¶ added in v1.5.41
IRefreshTokenGenerator_GenerateRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateRefreshToken'
func (*IRefreshTokenGenerator_GenerateRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) Return(_a0 string, _a1 error) *IRefreshTokenGenerator_GenerateRefreshToken_Call
func (*IRefreshTokenGenerator_GenerateRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) Run(run func(spec aclcore.RefreshTokenSpec)) *IRefreshTokenGenerator_GenerateRefreshToken_Call
func (*IRefreshTokenGenerator_GenerateRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IRefreshTokenGenerator_GenerateRefreshToken_Call) RunAndReturn(run func(aclcore.RefreshTokenSpec) (string, error)) *IRefreshTokenGenerator_GenerateRefreshToken_Call
type IdentityDetailsStore ¶
IdentityDetailsStore is an autogenerated mock type for the IdentityDetailsStore type
func NewIdentityDetailsStore ¶
func NewIdentityDetailsStore(t interface { mock.TestingT Cleanup(func()) }) *IdentityDetailsStore
NewIdentityDetailsStore creates a new instance of IdentityDetailsStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IdentityDetailsStore) EXPECT ¶ added in v1.5.41
func (_m *IdentityDetailsStore) EXPECT() *IdentityDetailsStore_Expecter
func (*IdentityDetailsStore) FindIdentity ¶
FindIdentity provides a mock function with given fields: email
func (*IdentityDetailsStore) StoreIdentity ¶
func (_m *IdentityDetailsStore) StoreIdentity(identity aclcore.Identity) error
StoreIdentity provides a mock function with given fields: identity
type IdentityDetailsStore_Expecter ¶ added in v1.5.41
type IdentityDetailsStore_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityDetailsStore_Expecter) FindIdentity ¶ added in v1.5.41
func (_e *IdentityDetailsStore_Expecter) FindIdentity(email interface{}) *IdentityDetailsStore_FindIdentity_Call
FindIdentity is a helper method to define mock.On call
- email usermodel.UserId
func (*IdentityDetailsStore_Expecter) StoreIdentity ¶ added in v1.5.41
func (_e *IdentityDetailsStore_Expecter) StoreIdentity(identity interface{}) *IdentityDetailsStore_StoreIdentity_Call
StoreIdentity is a helper method to define mock.On call
- identity aclcore.Identity
type IdentityDetailsStore_FindIdentity_Call ¶ added in v1.5.41
IdentityDetailsStore_FindIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIdentity'
func (*IdentityDetailsStore_FindIdentity_Call) Return ¶ added in v1.5.41
func (_c *IdentityDetailsStore_FindIdentity_Call) Return(_a0 *aclcore.Identity, _a1 error) *IdentityDetailsStore_FindIdentity_Call
func (*IdentityDetailsStore_FindIdentity_Call) Run ¶ added in v1.5.41
func (_c *IdentityDetailsStore_FindIdentity_Call) Run(run func(email usermodel.UserId)) *IdentityDetailsStore_FindIdentity_Call
func (*IdentityDetailsStore_FindIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityDetailsStore_FindIdentity_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Identity, error)) *IdentityDetailsStore_FindIdentity_Call
type IdentityDetailsStore_StoreIdentity_Call ¶ added in v1.5.41
IdentityDetailsStore_StoreIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreIdentity'
func (*IdentityDetailsStore_StoreIdentity_Call) Return ¶ added in v1.5.41
func (_c *IdentityDetailsStore_StoreIdentity_Call) Return(_a0 error) *IdentityDetailsStore_StoreIdentity_Call
func (*IdentityDetailsStore_StoreIdentity_Call) Run ¶ added in v1.5.41
func (_c *IdentityDetailsStore_StoreIdentity_Call) Run(run func(identity aclcore.Identity)) *IdentityDetailsStore_StoreIdentity_Call
func (*IdentityDetailsStore_StoreIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityDetailsStore_StoreIdentity_Call) RunAndReturn(run func(aclcore.Identity) error) *IdentityDetailsStore_StoreIdentity_Call
type IdentityQueriesIdentityRepository ¶
IdentityQueriesIdentityRepository is an autogenerated mock type for the IdentityQueriesIdentityRepository type
func NewIdentityQueriesIdentityRepository ¶
func NewIdentityQueriesIdentityRepository(t interface { mock.TestingT Cleanup(func()) }) *IdentityQueriesIdentityRepository
NewIdentityQueriesIdentityRepository creates a new instance of IdentityQueriesIdentityRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IdentityQueriesIdentityRepository) EXPECT ¶ added in v1.5.41
func (_m *IdentityQueriesIdentityRepository) EXPECT() *IdentityQueriesIdentityRepository_Expecter
func (*IdentityQueriesIdentityRepository) FindIdentities ¶
func (_m *IdentityQueriesIdentityRepository) FindIdentities(emails []usermodel.UserId) ([]*aclcore.Identity, error)
FindIdentities provides a mock function with given fields: emails
type IdentityQueriesIdentityRepository_Expecter ¶ added in v1.5.41
type IdentityQueriesIdentityRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityQueriesIdentityRepository_Expecter) FindIdentities ¶ added in v1.5.41
func (_e *IdentityQueriesIdentityRepository_Expecter) FindIdentities(emails interface{}) *IdentityQueriesIdentityRepository_FindIdentities_Call
FindIdentities is a helper method to define mock.On call
- emails []usermodel.UserId
type IdentityQueriesIdentityRepository_FindIdentities_Call ¶ added in v1.5.41
IdentityQueriesIdentityRepository_FindIdentities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIdentities'
func (*IdentityQueriesIdentityRepository_FindIdentities_Call) Return ¶ added in v1.5.41
func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) Return(_a0 []*aclcore.Identity, _a1 error) *IdentityQueriesIdentityRepository_FindIdentities_Call
func (*IdentityQueriesIdentityRepository_FindIdentities_Call) Run ¶ added in v1.5.41
func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) Run(run func(emails []usermodel.UserId)) *IdentityQueriesIdentityRepository_FindIdentities_Call
func (*IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn(run func([]usermodel.UserId) ([]*aclcore.Identity, error)) *IdentityQueriesIdentityRepository_FindIdentities_Call
type IdentityQueriesScopeRepository ¶
IdentityQueriesScopeRepository is an autogenerated mock type for the IdentityQueriesScopeRepository type
func NewIdentityQueriesScopeRepository ¶
func NewIdentityQueriesScopeRepository(t interface { mock.TestingT Cleanup(func()) }) *IdentityQueriesScopeRepository
NewIdentityQueriesScopeRepository creates a new instance of IdentityQueriesScopeRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IdentityQueriesScopeRepository) EXPECT ¶ added in v1.5.41
func (_m *IdentityQueriesScopeRepository) EXPECT() *IdentityQueriesScopeRepository_Expecter
func (*IdentityQueriesScopeRepository) ListScopesByOwners ¶
func (_m *IdentityQueriesScopeRepository) ListScopesByOwners(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwners provides a mock function with given fields: ctx, owners, types
type IdentityQueriesScopeRepository_Expecter ¶ added in v1.5.41
type IdentityQueriesScopeRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityQueriesScopeRepository_Expecter) ListScopesByOwners ¶ added in v1.5.41
func (_e *IdentityQueriesScopeRepository_Expecter) ListScopesByOwners(ctx interface{}, owners interface{}, types ...interface{}) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
ListScopesByOwners is a helper method to define mock.On call
- ctx context.Context
- owners []ownermodel.Owner
- types ...aclcore.ScopeType
type IdentityQueriesScopeRepository_ListScopesByOwners_Call ¶ added in v1.5.41
IdentityQueriesScopeRepository_ListScopesByOwners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwners'
func (*IdentityQueriesScopeRepository_ListScopesByOwners_Call) Return ¶ added in v1.5.41
func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) Return(_a0 []*aclcore.Scope, _a1 error) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
func (*IdentityQueriesScopeRepository_ListScopesByOwners_Call) Run ¶ added in v1.5.41
func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) Run(run func(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType)) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
func (*IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn(run func(context.Context, []ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *IdentityQueriesScopeRepository_ListScopesByOwners_Call
type IdentityRepository ¶ added in v1.5.0
IdentityRepository is an autogenerated mock type for the IdentityRepository type
func NewIdentityRepository ¶ added in v1.5.0
func NewIdentityRepository(t interface { mock.TestingT Cleanup(func()) }) *IdentityRepository
NewIdentityRepository creates a new instance of IdentityRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*IdentityRepository) EXPECT ¶ added in v1.5.41
func (_m *IdentityRepository) EXPECT() *IdentityRepository_Expecter
func (*IdentityRepository) FindIdentities ¶ added in v1.5.0
func (_m *IdentityRepository) FindIdentities(emails []usermodel.UserId) ([]*aclcore.Identity, error)
FindIdentities provides a mock function with given fields: emails
func (*IdentityRepository) FindIdentity ¶ added in v1.5.0
FindIdentity provides a mock function with given fields: email
func (*IdentityRepository) StoreIdentity ¶ added in v1.5.0
func (_m *IdentityRepository) StoreIdentity(identity aclcore.Identity) error
StoreIdentity provides a mock function with given fields: identity
type IdentityRepository_Expecter ¶ added in v1.5.41
type IdentityRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*IdentityRepository_Expecter) FindIdentities ¶ added in v1.5.41
func (_e *IdentityRepository_Expecter) FindIdentities(emails interface{}) *IdentityRepository_FindIdentities_Call
FindIdentities is a helper method to define mock.On call
- emails []usermodel.UserId
func (*IdentityRepository_Expecter) FindIdentity ¶ added in v1.5.41
func (_e *IdentityRepository_Expecter) FindIdentity(email interface{}) *IdentityRepository_FindIdentity_Call
FindIdentity is a helper method to define mock.On call
- email usermodel.UserId
func (*IdentityRepository_Expecter) StoreIdentity ¶ added in v1.5.41
func (_e *IdentityRepository_Expecter) StoreIdentity(identity interface{}) *IdentityRepository_StoreIdentity_Call
StoreIdentity is a helper method to define mock.On call
- identity aclcore.Identity
type IdentityRepository_FindIdentities_Call ¶ added in v1.5.41
IdentityRepository_FindIdentities_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIdentities'
func (*IdentityRepository_FindIdentities_Call) Return ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentities_Call) Return(_a0 []*aclcore.Identity, _a1 error) *IdentityRepository_FindIdentities_Call
func (*IdentityRepository_FindIdentities_Call) Run ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentities_Call) Run(run func(emails []usermodel.UserId)) *IdentityRepository_FindIdentities_Call
func (*IdentityRepository_FindIdentities_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentities_Call) RunAndReturn(run func([]usermodel.UserId) ([]*aclcore.Identity, error)) *IdentityRepository_FindIdentities_Call
type IdentityRepository_FindIdentity_Call ¶ added in v1.5.41
IdentityRepository_FindIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindIdentity'
func (*IdentityRepository_FindIdentity_Call) Return ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentity_Call) Return(_a0 *aclcore.Identity, _a1 error) *IdentityRepository_FindIdentity_Call
func (*IdentityRepository_FindIdentity_Call) Run ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentity_Call) Run(run func(email usermodel.UserId)) *IdentityRepository_FindIdentity_Call
func (*IdentityRepository_FindIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityRepository_FindIdentity_Call) RunAndReturn(run func(usermodel.UserId) (*aclcore.Identity, error)) *IdentityRepository_FindIdentity_Call
type IdentityRepository_StoreIdentity_Call ¶ added in v1.5.41
IdentityRepository_StoreIdentity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreIdentity'
func (*IdentityRepository_StoreIdentity_Call) Return ¶ added in v1.5.41
func (_c *IdentityRepository_StoreIdentity_Call) Return(_a0 error) *IdentityRepository_StoreIdentity_Call
func (*IdentityRepository_StoreIdentity_Call) Run ¶ added in v1.5.41
func (_c *IdentityRepository_StoreIdentity_Call) Run(run func(identity aclcore.Identity)) *IdentityRepository_StoreIdentity_Call
func (*IdentityRepository_StoreIdentity_Call) RunAndReturn ¶ added in v1.5.41
func (_c *IdentityRepository_StoreIdentity_Call) RunAndReturn(run func(aclcore.Identity) error) *IdentityRepository_StoreIdentity_Call
type InsertAlbumPort ¶ added in v1.5.33
InsertAlbumPort is an autogenerated mock type for the InsertAlbumPort type
func NewInsertAlbumPort ¶ added in v1.5.33
func NewInsertAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *InsertAlbumPort
NewInsertAlbumPort creates a new instance of InsertAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *InsertAlbumPort) EXPECT() *InsertAlbumPort_Expecter
func (*InsertAlbumPort) InsertAlbum ¶ added in v1.5.33
InsertAlbum provides a mock function with given fields: ctx, album
type InsertAlbumPortFunc ¶ added in v1.5.33
InsertAlbumPortFunc is an autogenerated mock type for the InsertAlbumPortFunc type
func NewInsertAlbumPortFunc ¶ added in v1.5.33
func NewInsertAlbumPortFunc(t interface { mock.TestingT Cleanup(func()) }) *InsertAlbumPortFunc
NewInsertAlbumPortFunc creates a new instance of InsertAlbumPortFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertAlbumPortFunc) EXPECT ¶ added in v1.5.41
func (_m *InsertAlbumPortFunc) EXPECT() *InsertAlbumPortFunc_Expecter
type InsertAlbumPortFunc_Execute_Call ¶ added in v1.5.41
InsertAlbumPortFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*InsertAlbumPortFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *InsertAlbumPortFunc_Execute_Call) Return(_a0 error) *InsertAlbumPortFunc_Execute_Call
func (*InsertAlbumPortFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *InsertAlbumPortFunc_Execute_Call) Run(run func(ctx context.Context, album catalog.Album)) *InsertAlbumPortFunc_Execute_Call
func (*InsertAlbumPortFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InsertAlbumPortFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *InsertAlbumPortFunc_Execute_Call
type InsertAlbumPortFunc_Expecter ¶ added in v1.5.41
type InsertAlbumPortFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertAlbumPortFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *InsertAlbumPortFunc_Expecter) Execute(ctx interface{}, album interface{}) *InsertAlbumPortFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- album catalog.Album
type InsertAlbumPort_Expecter ¶ added in v1.5.41
type InsertAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertAlbumPort_Expecter) InsertAlbum ¶ added in v1.5.41
func (_e *InsertAlbumPort_Expecter) InsertAlbum(ctx interface{}, album interface{}) *InsertAlbumPort_InsertAlbum_Call
InsertAlbum is a helper method to define mock.On call
- ctx context.Context
- album catalog.Album
type InsertAlbumPort_InsertAlbum_Call ¶ added in v1.5.41
InsertAlbumPort_InsertAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertAlbum'
func (*InsertAlbumPort_InsertAlbum_Call) Return ¶ added in v1.5.41
func (_c *InsertAlbumPort_InsertAlbum_Call) Return(_a0 error) *InsertAlbumPort_InsertAlbum_Call
func (*InsertAlbumPort_InsertAlbum_Call) Run ¶ added in v1.5.41
func (_c *InsertAlbumPort_InsertAlbum_Call) Run(run func(ctx context.Context, album catalog.Album)) *InsertAlbumPort_InsertAlbum_Call
func (*InsertAlbumPort_InsertAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InsertAlbumPort_InsertAlbum_Call) RunAndReturn(run func(context.Context, catalog.Album) error) *InsertAlbumPort_InsertAlbum_Call
type InsertAlbumSizePort ¶ added in v1.6.27
InsertAlbumSizePort is an autogenerated mock type for the InsertAlbumSizePort type
func NewInsertAlbumSizePort ¶ added in v1.6.27
func NewInsertAlbumSizePort(t interface { mock.TestingT Cleanup(func()) }) *InsertAlbumSizePort
NewInsertAlbumSizePort creates a new instance of InsertAlbumSizePort. 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 (*InsertAlbumSizePort) EXPECT ¶ added in v1.6.27
func (_m *InsertAlbumSizePort) EXPECT() *InsertAlbumSizePort_Expecter
func (*InsertAlbumSizePort) InsertAlbumSize ¶ added in v1.6.27
func (_m *InsertAlbumSizePort) InsertAlbumSize(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize) error
InsertAlbumSize provides a mock function with given fields: ctx, albumSize
type InsertAlbumSizePort_Expecter ¶ added in v1.6.27
type InsertAlbumSizePort_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertAlbumSizePort_Expecter) InsertAlbumSize ¶ added in v1.6.27
func (_e *InsertAlbumSizePort_Expecter) InsertAlbumSize(ctx interface{}, albumSize interface{}) *InsertAlbumSizePort_InsertAlbumSize_Call
InsertAlbumSize is a helper method to define mock.On call
- ctx context.Context
- albumSize []catalogviews.MultiUserAlbumSize
type InsertAlbumSizePort_InsertAlbumSize_Call ¶ added in v1.6.27
InsertAlbumSizePort_InsertAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertAlbumSize'
func (*InsertAlbumSizePort_InsertAlbumSize_Call) Return ¶ added in v1.6.27
func (_c *InsertAlbumSizePort_InsertAlbumSize_Call) Return(_a0 error) *InsertAlbumSizePort_InsertAlbumSize_Call
func (*InsertAlbumSizePort_InsertAlbumSize_Call) Run ¶ added in v1.6.27
func (_c *InsertAlbumSizePort_InsertAlbumSize_Call) Run(run func(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize)) *InsertAlbumSizePort_InsertAlbumSize_Call
func (*InsertAlbumSizePort_InsertAlbumSize_Call) RunAndReturn ¶ added in v1.6.27
func (_c *InsertAlbumSizePort_InsertAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.MultiUserAlbumSize) error) *InsertAlbumSizePort_InsertAlbumSize_Call
type InsertMediaSimulator ¶ added in v1.5.54
InsertMediaSimulator is an autogenerated mock type for the InsertMediaSimulator type
func NewInsertMediaSimulator ¶ added in v1.5.54
func NewInsertMediaSimulator(t interface { mock.TestingT Cleanup(func()) }) *InsertMediaSimulator
NewInsertMediaSimulator creates a new instance of InsertMediaSimulator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertMediaSimulator) EXPECT ¶ added in v1.5.54
func (_m *InsertMediaSimulator) EXPECT() *InsertMediaSimulator_Expecter
func (*InsertMediaSimulator) SimulateInsertingMedia ¶ added in v1.5.54
func (_m *InsertMediaSimulator) SimulateInsertingMedia(ctx context.Context, owner ownermodel.Owner, signatures []catalog.MediaSignature) ([]catalog.MediaFutureReference, error)
SimulateInsertingMedia provides a mock function with given fields: ctx, owner, signatures
type InsertMediaSimulator_Expecter ¶ added in v1.5.54
type InsertMediaSimulator_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertMediaSimulator_Expecter) SimulateInsertingMedia ¶ added in v1.5.54
func (_e *InsertMediaSimulator_Expecter) SimulateInsertingMedia(ctx interface{}, owner interface{}, signatures interface{}) *InsertMediaSimulator_SimulateInsertingMedia_Call
SimulateInsertingMedia is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- signatures []catalog.MediaSignature
type InsertMediaSimulator_SimulateInsertingMedia_Call ¶ added in v1.5.54
InsertMediaSimulator_SimulateInsertingMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SimulateInsertingMedia'
func (*InsertMediaSimulator_SimulateInsertingMedia_Call) Return ¶ added in v1.5.54
func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) Return(_a0 []catalog.MediaFutureReference, _a1 error) *InsertMediaSimulator_SimulateInsertingMedia_Call
func (*InsertMediaSimulator_SimulateInsertingMedia_Call) Run ¶ added in v1.5.54
func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, signatures []catalog.MediaSignature)) *InsertMediaSimulator_SimulateInsertingMedia_Call
func (*InsertMediaSimulator_SimulateInsertingMedia_Call) RunAndReturn ¶ added in v1.5.54
func (_c *InsertMediaSimulator_SimulateInsertingMedia_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.MediaSignature) ([]catalog.MediaFutureReference, error)) *InsertMediaSimulator_SimulateInsertingMedia_Call
type InsertMediasObserver ¶ added in v1.5.48
InsertMediasObserver is an autogenerated mock type for the InsertMediasObserver type
func NewInsertMediasObserver ¶ added in v1.5.48
func NewInsertMediasObserver(t interface { mock.TestingT Cleanup(func()) }) *InsertMediasObserver
NewInsertMediasObserver creates a new instance of InsertMediasObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertMediasObserver) EXPECT ¶ added in v1.5.48
func (_m *InsertMediasObserver) EXPECT() *InsertMediasObserver_Expecter
func (*InsertMediasObserver) OnMediasInserted ¶ added in v1.5.48
func (_m *InsertMediasObserver) OnMediasInserted(_a0 context.Context, _a1 map[catalog.AlbumId][]catalog.MediaId) error
OnMediasInserted provides a mock function with given fields: _a0, _a1
type InsertMediasObserver_Expecter ¶ added in v1.5.48
type InsertMediasObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertMediasObserver_Expecter) OnMediasInserted ¶ added in v1.5.48
func (_e *InsertMediasObserver_Expecter) OnMediasInserted(_a0 interface{}, _a1 interface{}) *InsertMediasObserver_OnMediasInserted_Call
OnMediasInserted is a helper method to define mock.On call
- _a0 context.Context
- _a1 map[catalog.AlbumId][]catalog.MediaId
type InsertMediasObserver_OnMediasInserted_Call ¶ added in v1.5.48
InsertMediasObserver_OnMediasInserted_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnMediasInserted'
func (*InsertMediasObserver_OnMediasInserted_Call) Return ¶ added in v1.5.48
func (_c *InsertMediasObserver_OnMediasInserted_Call) Return(_a0 error) *InsertMediasObserver_OnMediasInserted_Call
func (*InsertMediasObserver_OnMediasInserted_Call) Run ¶ added in v1.5.48
func (_c *InsertMediasObserver_OnMediasInserted_Call) Run(run func(_a0 context.Context, _a1 map[catalog.AlbumId][]catalog.MediaId)) *InsertMediasObserver_OnMediasInserted_Call
func (*InsertMediasObserver_OnMediasInserted_Call) RunAndReturn ¶ added in v1.5.48
func (_c *InsertMediasObserver_OnMediasInserted_Call) RunAndReturn(run func(context.Context, map[catalog.AlbumId][]catalog.MediaId) error) *InsertMediasObserver_OnMediasInserted_Call
type InsertMediasRepositoryPort ¶ added in v1.5.48
InsertMediasRepositoryPort is an autogenerated mock type for the InsertMediasRepositoryPort type
func NewInsertMediasRepositoryPort ¶ added in v1.5.48
func NewInsertMediasRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *InsertMediasRepositoryPort
NewInsertMediasRepositoryPort creates a new instance of InsertMediasRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InsertMediasRepositoryPort) EXPECT ¶ added in v1.5.48
func (_m *InsertMediasRepositoryPort) EXPECT() *InsertMediasRepositoryPort_Expecter
func (*InsertMediasRepositoryPort) InsertMedias ¶ added in v1.5.48
func (_m *InsertMediasRepositoryPort) InsertMedias(ctx context.Context, owner ownermodel.Owner, media []catalog.CreateMediaRequest) error
InsertMedias provides a mock function with given fields: ctx, owner, media
type InsertMediasRepositoryPort_Expecter ¶ added in v1.5.48
type InsertMediasRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*InsertMediasRepositoryPort_Expecter) InsertMedias ¶ added in v1.5.48
func (_e *InsertMediasRepositoryPort_Expecter) InsertMedias(ctx interface{}, owner interface{}, media interface{}) *InsertMediasRepositoryPort_InsertMedias_Call
InsertMedias is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- media []catalog.CreateMediaRequest
type InsertMediasRepositoryPort_InsertMedias_Call ¶ added in v1.5.48
InsertMediasRepositoryPort_InsertMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertMedias'
func (*InsertMediasRepositoryPort_InsertMedias_Call) Return ¶ added in v1.5.48
func (_c *InsertMediasRepositoryPort_InsertMedias_Call) Return(_a0 error) *InsertMediasRepositoryPort_InsertMedias_Call
func (*InsertMediasRepositoryPort_InsertMedias_Call) Run ¶ added in v1.5.48
func (_c *InsertMediasRepositoryPort_InsertMedias_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, media []catalog.CreateMediaRequest)) *InsertMediasRepositoryPort_InsertMedias_Call
func (*InsertMediasRepositoryPort_InsertMedias_Call) RunAndReturn ¶ added in v1.5.48
func (_c *InsertMediasRepositoryPort_InsertMedias_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, []catalog.CreateMediaRequest) error) *InsertMediasRepositoryPort_InsertMedias_Call
type InteractiveActionsPort ¶
InteractiveActionsPort is an autogenerated mock type for the InteractiveActionsPort type
func NewInteractiveActionsPort ¶
func NewInteractiveActionsPort(t interface { mock.TestingT Cleanup(func()) }) *InteractiveActionsPort
NewInteractiveActionsPort creates a new instance of InteractiveActionsPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InteractiveActionsPort) BackupSuggestion ¶
func (_m *InteractiveActionsPort) BackupSuggestion(record *ui.SuggestionRecord, existing *ui.ExistingRecord, listener ui.InteractiveRendererPort) error
BackupSuggestion provides a mock function with given fields: record, existing, listener
func (*InteractiveActionsPort) Create ¶
func (_m *InteractiveActionsPort) Create(createRequest ui.RecordCreation) error
Create provides a mock function with given fields: createRequest
func (*InteractiveActionsPort) DeleteAlbum ¶
func (_m *InteractiveActionsPort) DeleteAlbum(folderName string) error
DeleteAlbum provides a mock function with given fields: folderName
func (*InteractiveActionsPort) EXPECT ¶ added in v1.5.41
func (_m *InteractiveActionsPort) EXPECT() *InteractiveActionsPort_Expecter
func (*InteractiveActionsPort) RenameAlbum ¶
func (_m *InteractiveActionsPort) RenameAlbum(folderName string, newName string, renameFolder bool) error
RenameAlbum provides a mock function with given fields: folderName, newName, renameFolder
func (*InteractiveActionsPort) UpdateAlbum ¶
func (_m *InteractiveActionsPort) UpdateAlbum(folderName string, start time.Time, end time.Time) error
UpdateAlbum provides a mock function with given fields: folderName, start, end
type InteractiveActionsPort_BackupSuggestion_Call ¶ added in v1.5.41
InteractiveActionsPort_BackupSuggestion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BackupSuggestion'
func (*InteractiveActionsPort_BackupSuggestion_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_BackupSuggestion_Call) Return(_a0 error) *InteractiveActionsPort_BackupSuggestion_Call
func (*InteractiveActionsPort_BackupSuggestion_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_BackupSuggestion_Call) Run(run func(record *ui.SuggestionRecord, existing *ui.ExistingRecord, listener ui.InteractiveRendererPort)) *InteractiveActionsPort_BackupSuggestion_Call
func (*InteractiveActionsPort_BackupSuggestion_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_BackupSuggestion_Call) RunAndReturn(run func(*ui.SuggestionRecord, *ui.ExistingRecord, ui.InteractiveRendererPort) error) *InteractiveActionsPort_BackupSuggestion_Call
type InteractiveActionsPort_Create_Call ¶ added in v1.5.41
InteractiveActionsPort_Create_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Create'
func (*InteractiveActionsPort_Create_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_Create_Call) Return(_a0 error) *InteractiveActionsPort_Create_Call
func (*InteractiveActionsPort_Create_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_Create_Call) Run(run func(createRequest ui.RecordCreation)) *InteractiveActionsPort_Create_Call
func (*InteractiveActionsPort_Create_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_Create_Call) RunAndReturn(run func(ui.RecordCreation) error) *InteractiveActionsPort_Create_Call
type InteractiveActionsPort_DeleteAlbum_Call ¶ added in v1.5.41
InteractiveActionsPort_DeleteAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbum'
func (*InteractiveActionsPort_DeleteAlbum_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_DeleteAlbum_Call) Return(_a0 error) *InteractiveActionsPort_DeleteAlbum_Call
func (*InteractiveActionsPort_DeleteAlbum_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_DeleteAlbum_Call) Run(run func(folderName string)) *InteractiveActionsPort_DeleteAlbum_Call
func (*InteractiveActionsPort_DeleteAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_DeleteAlbum_Call) RunAndReturn(run func(string) error) *InteractiveActionsPort_DeleteAlbum_Call
type InteractiveActionsPort_Expecter ¶ added in v1.5.41
type InteractiveActionsPort_Expecter struct {
// contains filtered or unexported fields
}
func (*InteractiveActionsPort_Expecter) BackupSuggestion ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) BackupSuggestion(record interface{}, existing interface{}, listener interface{}) *InteractiveActionsPort_BackupSuggestion_Call
BackupSuggestion is a helper method to define mock.On call
- record *ui.SuggestionRecord
- existing *ui.ExistingRecord
- listener ui.InteractiveRendererPort
func (*InteractiveActionsPort_Expecter) Create ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) Create(createRequest interface{}) *InteractiveActionsPort_Create_Call
Create is a helper method to define mock.On call
- createRequest ui.RecordCreation
func (*InteractiveActionsPort_Expecter) DeleteAlbum ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) DeleteAlbum(folderName interface{}) *InteractiveActionsPort_DeleteAlbum_Call
DeleteAlbum is a helper method to define mock.On call
- folderName string
func (*InteractiveActionsPort_Expecter) RenameAlbum ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) RenameAlbum(folderName interface{}, newName interface{}, renameFolder interface{}) *InteractiveActionsPort_RenameAlbum_Call
RenameAlbum is a helper method to define mock.On call
- folderName string
- newName string
- renameFolder bool
func (*InteractiveActionsPort_Expecter) UpdateAlbum ¶ added in v1.5.41
func (_e *InteractiveActionsPort_Expecter) UpdateAlbum(folderName interface{}, start interface{}, end interface{}) *InteractiveActionsPort_UpdateAlbum_Call
UpdateAlbum is a helper method to define mock.On call
- folderName string
- start time.Time
- end time.Time
type InteractiveActionsPort_RenameAlbum_Call ¶ added in v1.5.41
InteractiveActionsPort_RenameAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenameAlbum'
func (*InteractiveActionsPort_RenameAlbum_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_RenameAlbum_Call) Return(_a0 error) *InteractiveActionsPort_RenameAlbum_Call
func (*InteractiveActionsPort_RenameAlbum_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_RenameAlbum_Call) Run(run func(folderName string, newName string, renameFolder bool)) *InteractiveActionsPort_RenameAlbum_Call
func (*InteractiveActionsPort_RenameAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_RenameAlbum_Call) RunAndReturn(run func(string, string, bool) error) *InteractiveActionsPort_RenameAlbum_Call
type InteractiveActionsPort_UpdateAlbum_Call ¶ added in v1.5.41
InteractiveActionsPort_UpdateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbum'
func (*InteractiveActionsPort_UpdateAlbum_Call) Return ¶ added in v1.5.41
func (_c *InteractiveActionsPort_UpdateAlbum_Call) Return(_a0 error) *InteractiveActionsPort_UpdateAlbum_Call
func (*InteractiveActionsPort_UpdateAlbum_Call) Run ¶ added in v1.5.41
func (_c *InteractiveActionsPort_UpdateAlbum_Call) Run(run func(folderName string, start time.Time, end time.Time)) *InteractiveActionsPort_UpdateAlbum_Call
func (*InteractiveActionsPort_UpdateAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveActionsPort_UpdateAlbum_Call) RunAndReturn(run func(string, time.Time, time.Time) error) *InteractiveActionsPort_UpdateAlbum_Call
type InteractiveRendererPort ¶
InteractiveRendererPort is an autogenerated mock type for the InteractiveRendererPort type
func NewInteractiveRendererPort ¶
func NewInteractiveRendererPort(t interface { mock.TestingT Cleanup(func()) }) *InteractiveRendererPort
NewInteractiveRendererPort creates a new instance of InteractiveRendererPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InteractiveRendererPort) EXPECT ¶ added in v1.5.41
func (_m *InteractiveRendererPort) EXPECT() *InteractiveRendererPort_Expecter
func (*InteractiveRendererPort) Height ¶
func (_m *InteractiveRendererPort) Height() int
Height provides a mock function with given fields:
func (*InteractiveRendererPort) Print ¶
func (_m *InteractiveRendererPort) Print(question string)
Print provides a mock function with given fields: question
func (*InteractiveRendererPort) ReadAnswer ¶
func (_m *InteractiveRendererPort) ReadAnswer() (string, error)
ReadAnswer provides a mock function with given fields:
func (*InteractiveRendererPort) Render ¶
func (_m *InteractiveRendererPort) Render(state *ui.InteractiveViewState) error
Render provides a mock function with given fields: state
func (*InteractiveRendererPort) TakeOverScreen ¶
func (_m *InteractiveRendererPort) TakeOverScreen()
TakeOverScreen provides a mock function with given fields:
type InteractiveRendererPort_Expecter ¶ added in v1.5.41
type InteractiveRendererPort_Expecter struct {
// contains filtered or unexported fields
}
func (*InteractiveRendererPort_Expecter) Height ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) Height() *InteractiveRendererPort_Height_Call
Height is a helper method to define mock.On call
func (*InteractiveRendererPort_Expecter) Print ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) Print(question interface{}) *InteractiveRendererPort_Print_Call
Print is a helper method to define mock.On call
- question string
func (*InteractiveRendererPort_Expecter) ReadAnswer ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) ReadAnswer() *InteractiveRendererPort_ReadAnswer_Call
ReadAnswer is a helper method to define mock.On call
func (*InteractiveRendererPort_Expecter) Render ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) Render(state interface{}) *InteractiveRendererPort_Render_Call
Render is a helper method to define mock.On call
- state *ui.InteractiveViewState
func (*InteractiveRendererPort_Expecter) TakeOverScreen ¶ added in v1.5.41
func (_e *InteractiveRendererPort_Expecter) TakeOverScreen() *InteractiveRendererPort_TakeOverScreen_Call
TakeOverScreen is a helper method to define mock.On call
type InteractiveRendererPort_Height_Call ¶ added in v1.5.41
InteractiveRendererPort_Height_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Height'
func (*InteractiveRendererPort_Height_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Height_Call) Return(_a0 int) *InteractiveRendererPort_Height_Call
func (*InteractiveRendererPort_Height_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Height_Call) Run(run func()) *InteractiveRendererPort_Height_Call
func (*InteractiveRendererPort_Height_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Height_Call) RunAndReturn(run func() int) *InteractiveRendererPort_Height_Call
type InteractiveRendererPort_Print_Call ¶ added in v1.5.41
InteractiveRendererPort_Print_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Print'
func (*InteractiveRendererPort_Print_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Print_Call) Return() *InteractiveRendererPort_Print_Call
func (*InteractiveRendererPort_Print_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Print_Call) Run(run func(question string)) *InteractiveRendererPort_Print_Call
func (*InteractiveRendererPort_Print_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Print_Call) RunAndReturn(run func(string)) *InteractiveRendererPort_Print_Call
type InteractiveRendererPort_ReadAnswer_Call ¶ added in v1.5.41
InteractiveRendererPort_ReadAnswer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAnswer'
func (*InteractiveRendererPort_ReadAnswer_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_ReadAnswer_Call) Return(_a0 string, _a1 error) *InteractiveRendererPort_ReadAnswer_Call
func (*InteractiveRendererPort_ReadAnswer_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_ReadAnswer_Call) Run(run func()) *InteractiveRendererPort_ReadAnswer_Call
func (*InteractiveRendererPort_ReadAnswer_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_ReadAnswer_Call) RunAndReturn(run func() (string, error)) *InteractiveRendererPort_ReadAnswer_Call
type InteractiveRendererPort_Render_Call ¶ added in v1.5.41
InteractiveRendererPort_Render_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Render'
func (*InteractiveRendererPort_Render_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Render_Call) Return(_a0 error) *InteractiveRendererPort_Render_Call
func (*InteractiveRendererPort_Render_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Render_Call) Run(run func(state *ui.InteractiveViewState)) *InteractiveRendererPort_Render_Call
func (*InteractiveRendererPort_Render_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_Render_Call) RunAndReturn(run func(*ui.InteractiveViewState) error) *InteractiveRendererPort_Render_Call
type InteractiveRendererPort_TakeOverScreen_Call ¶ added in v1.5.41
InteractiveRendererPort_TakeOverScreen_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TakeOverScreen'
func (*InteractiveRendererPort_TakeOverScreen_Call) Return ¶ added in v1.5.41
func (_c *InteractiveRendererPort_TakeOverScreen_Call) Return() *InteractiveRendererPort_TakeOverScreen_Call
func (*InteractiveRendererPort_TakeOverScreen_Call) Run ¶ added in v1.5.41
func (_c *InteractiveRendererPort_TakeOverScreen_Call) Run(run func()) *InteractiveRendererPort_TakeOverScreen_Call
func (*InteractiveRendererPort_TakeOverScreen_Call) RunAndReturn ¶ added in v1.5.41
func (_c *InteractiveRendererPort_TakeOverScreen_Call) RunAndReturn(run func()) *InteractiveRendererPort_TakeOverScreen_Call
type ListAlbumsProvider ¶ added in v1.5.49
ListAlbumsProvider is an autogenerated mock type for the ListAlbumsProvider type
func NewListAlbumsProvider ¶ added in v1.5.49
func NewListAlbumsProvider(t interface { mock.TestingT Cleanup(func()) }) *ListAlbumsProvider
NewListAlbumsProvider creates a new instance of ListAlbumsProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ListAlbumsProvider) EXPECT ¶ added in v1.5.49
func (_m *ListAlbumsProvider) EXPECT() *ListAlbumsProvider_Expecter
func (*ListAlbumsProvider) ListAlbums ¶ added in v1.5.49
func (_m *ListAlbumsProvider) ListAlbums(ctx context.Context, user usermodel.CurrentUser, filter catalogviews.ListAlbumsFilter) ([]*catalogviews.VisibleAlbum, error)
ListAlbums provides a mock function with given fields: ctx, user, filter
type ListAlbumsProviderFunc ¶ added in v1.5.49
ListAlbumsProviderFunc is an autogenerated mock type for the ListAlbumsProviderFunc type
func NewListAlbumsProviderFunc ¶ added in v1.5.49
func NewListAlbumsProviderFunc(t interface { mock.TestingT Cleanup(func()) }) *ListAlbumsProviderFunc
NewListAlbumsProviderFunc creates a new instance of ListAlbumsProviderFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ListAlbumsProviderFunc) EXPECT ¶ added in v1.5.49
func (_m *ListAlbumsProviderFunc) EXPECT() *ListAlbumsProviderFunc_Expecter
func (*ListAlbumsProviderFunc) Execute ¶ added in v1.5.49
func (_m *ListAlbumsProviderFunc) Execute(ctx context.Context, user usermodel.CurrentUser, filter catalogviews.ListAlbumsFilter) ([]*catalogviews.VisibleAlbum, error)
Execute provides a mock function with given fields: ctx, user, filter
type ListAlbumsProviderFunc_Execute_Call ¶ added in v1.5.49
ListAlbumsProviderFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*ListAlbumsProviderFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *ListAlbumsProviderFunc_Execute_Call) Return(_a0 []*catalogviews.VisibleAlbum, _a1 error) *ListAlbumsProviderFunc_Execute_Call
func (*ListAlbumsProviderFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *ListAlbumsProviderFunc_Execute_Call) Run(run func(ctx context.Context, user usermodel.CurrentUser, filter catalogviews.ListAlbumsFilter)) *ListAlbumsProviderFunc_Execute_Call
func (*ListAlbumsProviderFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ListAlbumsProviderFunc_Execute_Call) RunAndReturn(run func(context.Context, usermodel.CurrentUser, catalogviews.ListAlbumsFilter) ([]*catalogviews.VisibleAlbum, error)) *ListAlbumsProviderFunc_Execute_Call
type ListAlbumsProviderFunc_Expecter ¶ added in v1.5.49
type ListAlbumsProviderFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*ListAlbumsProviderFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *ListAlbumsProviderFunc_Expecter) Execute(ctx interface{}, user interface{}, filter interface{}) *ListAlbumsProviderFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- user usermodel.CurrentUser
- filter catalogviews.ListAlbumsFilter
type ListAlbumsProvider_Expecter ¶ added in v1.5.49
type ListAlbumsProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*ListAlbumsProvider_Expecter) ListAlbums ¶ added in v1.5.49
func (_e *ListAlbumsProvider_Expecter) ListAlbums(ctx interface{}, user interface{}, filter interface{}) *ListAlbumsProvider_ListAlbums_Call
ListAlbums is a helper method to define mock.On call
- ctx context.Context
- user usermodel.CurrentUser
- filter catalogviews.ListAlbumsFilter
type ListAlbumsProvider_ListAlbums_Call ¶ added in v1.5.49
ListAlbumsProvider_ListAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlbums'
func (*ListAlbumsProvider_ListAlbums_Call) Return ¶ added in v1.5.49
func (_c *ListAlbumsProvider_ListAlbums_Call) Return(_a0 []*catalogviews.VisibleAlbum, _a1 error) *ListAlbumsProvider_ListAlbums_Call
func (*ListAlbumsProvider_ListAlbums_Call) Run ¶ added in v1.5.49
func (_c *ListAlbumsProvider_ListAlbums_Call) Run(run func(ctx context.Context, user usermodel.CurrentUser, filter catalogviews.ListAlbumsFilter)) *ListAlbumsProvider_ListAlbums_Call
func (*ListAlbumsProvider_ListAlbums_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ListAlbumsProvider_ListAlbums_Call) RunAndReturn(run func(context.Context, usermodel.CurrentUser, catalogviews.ListAlbumsFilter) ([]*catalogviews.VisibleAlbum, error)) *ListAlbumsProvider_ListAlbums_Call
type ListUserWhoCanAccessAlbumPort ¶ added in v1.6.4
ListUserWhoCanAccessAlbumPort is an autogenerated mock type for the ListUserWhoCanAccessAlbumPort type
func NewListUserWhoCanAccessAlbumPort ¶ added in v1.6.4
func NewListUserWhoCanAccessAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *ListUserWhoCanAccessAlbumPort
NewListUserWhoCanAccessAlbumPort creates a new instance of ListUserWhoCanAccessAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ListUserWhoCanAccessAlbumPort) EXPECT ¶ added in v1.6.4
func (_m *ListUserWhoCanAccessAlbumPort) EXPECT() *ListUserWhoCanAccessAlbumPort_Expecter
func (*ListUserWhoCanAccessAlbumPort) ListUsersWhoCanAccessAlbum ¶ added in v1.6.4
func (_m *ListUserWhoCanAccessAlbumPort) ListUsersWhoCanAccessAlbum(ctx context.Context, albumId ...catalog.AlbumId) (map[catalog.AlbumId][]catalogviews.Availability, error)
ListUsersWhoCanAccessAlbum provides a mock function with given fields: ctx, albumId
type ListUserWhoCanAccessAlbumPort_Expecter ¶ added in v1.6.4
type ListUserWhoCanAccessAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*ListUserWhoCanAccessAlbumPort_Expecter) ListUsersWhoCanAccessAlbum ¶ added in v1.6.4
func (_e *ListUserWhoCanAccessAlbumPort_Expecter) ListUsersWhoCanAccessAlbum(ctx interface{}, albumId ...interface{}) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
ListUsersWhoCanAccessAlbum is a helper method to define mock.On call
- ctx context.Context
- albumId ...catalog.AlbumId
type ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call ¶ added in v1.6.4
ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsersWhoCanAccessAlbum'
func (*ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Run ¶ added in v1.6.4
func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Run(run func(ctx context.Context, albumId ...catalog.AlbumId)) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
func (*ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId][]catalogviews.Availability, error)) *ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call
type Listener ¶
Listener is an autogenerated mock type for the Listener type
func NewListener ¶
NewListener creates a new instance of Listener. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Listener) EXPECT ¶ added in v1.5.41
func (_m *Listener) EXPECT() *Listener_Expecter
type Listener_Execute_Call ¶ added in v1.5.41
Listener_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*Listener_Execute_Call) Return ¶ added in v1.5.41
func (_c *Listener_Execute_Call) Return() *Listener_Execute_Call
func (*Listener_Execute_Call) Run ¶ added in v1.5.41
func (_c *Listener_Execute_Call) Run(run func(_a0 config.Config)) *Listener_Execute_Call
func (*Listener_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Listener_Execute_Call) RunAndReturn(run func(config.Config)) *Listener_Execute_Call
type Listener_Expecter ¶ added in v1.5.41
type Listener_Expecter struct {
// contains filtered or unexported fields
}
func (*Listener_Expecter) Execute ¶ added in v1.5.41
func (_e *Listener_Expecter) Execute(_a0 interface{}) *Listener_Execute_Call
Execute is a helper method to define mock.On call
- _a0 config.Config
type MediaCounterFunc ¶ added in v1.5.50
MediaCounterFunc is an autogenerated mock type for the MediaCounterFunc type
func NewMediaCounterFunc ¶ added in v1.5.50
func NewMediaCounterFunc(t interface { mock.TestingT Cleanup(func()) }) *MediaCounterFunc
NewMediaCounterFunc creates a new instance of MediaCounterFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MediaCounterFunc) EXPECT ¶ added in v1.5.50
func (_m *MediaCounterFunc) EXPECT() *MediaCounterFunc_Expecter
type MediaCounterFunc_Execute_Call ¶ added in v1.5.50
MediaCounterFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MediaCounterFunc_Execute_Call) Return ¶ added in v1.5.50
func (_c *MediaCounterFunc_Execute_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *MediaCounterFunc_Execute_Call
func (*MediaCounterFunc_Execute_Call) Run ¶ added in v1.5.50
func (_c *MediaCounterFunc_Execute_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *MediaCounterFunc_Execute_Call
func (*MediaCounterFunc_Execute_Call) RunAndReturn ¶ added in v1.5.50
func (_c *MediaCounterFunc_Execute_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *MediaCounterFunc_Execute_Call
type MediaCounterFunc_Expecter ¶ added in v1.5.50
type MediaCounterFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaCounterFunc_Expecter) Execute ¶ added in v1.5.50
func (_e *MediaCounterFunc_Expecter) Execute(ctx interface{}, album ...interface{}) *MediaCounterFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- album ...catalog.AlbumId
type MediaCounterPort ¶ added in v1.5.50
MediaCounterPort is an autogenerated mock type for the MediaCounterPort type
func NewMediaCounterPort ¶ added in v1.5.50
func NewMediaCounterPort(t interface { mock.TestingT Cleanup(func()) }) *MediaCounterPort
NewMediaCounterPort creates a new instance of MediaCounterPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MediaCounterPort) CountMedia ¶ added in v1.5.50
func (_m *MediaCounterPort) CountMedia(ctx context.Context, album ...catalog.AlbumId) (map[catalog.AlbumId]int, error)
CountMedia provides a mock function with given fields: ctx, album
func (*MediaCounterPort) EXPECT ¶ added in v1.5.50
func (_m *MediaCounterPort) EXPECT() *MediaCounterPort_Expecter
type MediaCounterPort_CountMedia_Call ¶ added in v1.5.50
MediaCounterPort_CountMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMedia'
func (*MediaCounterPort_CountMedia_Call) Return ¶ added in v1.5.50
func (_c *MediaCounterPort_CountMedia_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *MediaCounterPort_CountMedia_Call
func (*MediaCounterPort_CountMedia_Call) Run ¶ added in v1.5.50
func (_c *MediaCounterPort_CountMedia_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *MediaCounterPort_CountMedia_Call
func (*MediaCounterPort_CountMedia_Call) RunAndReturn ¶ added in v1.5.50
func (_c *MediaCounterPort_CountMedia_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *MediaCounterPort_CountMedia_Call
type MediaCounterPort_Expecter ¶ added in v1.5.50
type MediaCounterPort_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaCounterPort_Expecter) CountMedia ¶ added in v1.5.50
func (_e *MediaCounterPort_Expecter) CountMedia(ctx interface{}, album ...interface{}) *MediaCounterPort_CountMedia_Call
CountMedia is a helper method to define mock.On call
- ctx context.Context
- album ...catalog.AlbumId
type MediaReadRepository ¶ added in v1.6.27
MediaReadRepository is an autogenerated mock type for the MediaReadRepository type
func NewMediaReadRepository ¶ added in v1.6.27
func NewMediaReadRepository(t interface { mock.TestingT Cleanup(func()) }) *MediaReadRepository
NewMediaReadRepository creates a new instance of MediaReadRepository. 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 (*MediaReadRepository) EXPECT ¶ added in v1.6.27
func (_m *MediaReadRepository) EXPECT() *MediaReadRepository_Expecter
func (*MediaReadRepository) FindMediaCurrentAlbum ¶ added in v1.6.27
func (_m *MediaReadRepository) FindMediaCurrentAlbum(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)
FindMediaCurrentAlbum provides a mock function with given fields: ctx, owner, mediaId
func (*MediaReadRepository) FindMedias ¶ added in v1.6.27
func (_m *MediaReadRepository) FindMedias(ctx context.Context, request *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)
FindMedias provides a mock function with given fields: ctx, request
type MediaReadRepository_Expecter ¶ added in v1.6.27
type MediaReadRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaReadRepository_Expecter) FindMediaCurrentAlbum ¶ added in v1.6.27
func (_e *MediaReadRepository_Expecter) FindMediaCurrentAlbum(ctx interface{}, owner interface{}, mediaId interface{}) *MediaReadRepository_FindMediaCurrentAlbum_Call
FindMediaCurrentAlbum is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- mediaId catalog.MediaId
func (*MediaReadRepository_Expecter) FindMedias ¶ added in v1.6.27
func (_e *MediaReadRepository_Expecter) FindMedias(ctx interface{}, request interface{}) *MediaReadRepository_FindMedias_Call
FindMedias is a helper method to define mock.On call
- ctx context.Context
- request *catalog.FindMediaRequest
type MediaReadRepository_FindMediaCurrentAlbum_Call ¶ added in v1.6.27
MediaReadRepository_FindMediaCurrentAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaCurrentAlbum'
func (*MediaReadRepository_FindMediaCurrentAlbum_Call) Return ¶ added in v1.6.27
func (_c *MediaReadRepository_FindMediaCurrentAlbum_Call) Return(id *catalog.AlbumId, err error) *MediaReadRepository_FindMediaCurrentAlbum_Call
func (*MediaReadRepository_FindMediaCurrentAlbum_Call) Run ¶ added in v1.6.27
func (_c *MediaReadRepository_FindMediaCurrentAlbum_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId)) *MediaReadRepository_FindMediaCurrentAlbum_Call
func (*MediaReadRepository_FindMediaCurrentAlbum_Call) RunAndReturn ¶ added in v1.6.27
func (_c *MediaReadRepository_FindMediaCurrentAlbum_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, catalog.MediaId) (*catalog.AlbumId, error)) *MediaReadRepository_FindMediaCurrentAlbum_Call
type MediaReadRepository_FindMedias_Call ¶ added in v1.6.27
MediaReadRepository_FindMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMedias'
func (*MediaReadRepository_FindMedias_Call) Return ¶ added in v1.6.27
func (_c *MediaReadRepository_FindMedias_Call) Return(medias []*catalog.MediaMeta, err error) *MediaReadRepository_FindMedias_Call
func (*MediaReadRepository_FindMedias_Call) Run ¶ added in v1.6.27
func (_c *MediaReadRepository_FindMedias_Call) Run(run func(ctx context.Context, request *catalog.FindMediaRequest)) *MediaReadRepository_FindMedias_Call
func (*MediaReadRepository_FindMedias_Call) RunAndReturn ¶ added in v1.6.27
func (_c *MediaReadRepository_FindMedias_Call) RunAndReturn(run func(context.Context, *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)) *MediaReadRepository_FindMedias_Call
type MediaTransfer ¶ added in v1.5.43
MediaTransfer is an autogenerated mock type for the MediaTransfer type
func NewMediaTransfer ¶ added in v1.5.43
func NewMediaTransfer(t interface { mock.TestingT Cleanup(func()) }) *MediaTransfer
NewMediaTransfer creates a new instance of MediaTransfer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MediaTransfer) EXPECT ¶ added in v1.5.43
func (_m *MediaTransfer) EXPECT() *MediaTransfer_Expecter
func (*MediaTransfer) Transfer ¶ added in v1.5.43
func (_m *MediaTransfer) Transfer(ctx context.Context, records catalog.MediaTransferRecords) error
Transfer provides a mock function with given fields: ctx, records
type MediaTransferFunc ¶ added in v1.5.43
MediaTransferFunc is an autogenerated mock type for the MediaTransferFunc type
func NewMediaTransferFunc ¶ added in v1.5.43
func NewMediaTransferFunc(t interface { mock.TestingT Cleanup(func()) }) *MediaTransferFunc
NewMediaTransferFunc creates a new instance of MediaTransferFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MediaTransferFunc) EXPECT ¶ added in v1.5.43
func (_m *MediaTransferFunc) EXPECT() *MediaTransferFunc_Expecter
func (*MediaTransferFunc) Execute ¶ added in v1.5.43
func (_m *MediaTransferFunc) Execute(ctx context.Context, records catalog.MediaTransferRecords) error
Execute provides a mock function with given fields: ctx, records
type MediaTransferFunc_Execute_Call ¶ added in v1.5.43
MediaTransferFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MediaTransferFunc_Execute_Call) Return ¶ added in v1.5.43
func (_c *MediaTransferFunc_Execute_Call) Return(_a0 error) *MediaTransferFunc_Execute_Call
func (*MediaTransferFunc_Execute_Call) Run ¶ added in v1.5.43
func (_c *MediaTransferFunc_Execute_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *MediaTransferFunc_Execute_Call
func (*MediaTransferFunc_Execute_Call) RunAndReturn ¶ added in v1.5.43
func (_c *MediaTransferFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) error) *MediaTransferFunc_Execute_Call
type MediaTransferFunc_Expecter ¶ added in v1.5.43
type MediaTransferFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaTransferFunc_Expecter) Execute ¶ added in v1.5.43
func (_e *MediaTransferFunc_Expecter) Execute(ctx interface{}, records interface{}) *MediaTransferFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
type MediaTransfer_Expecter ¶ added in v1.5.43
type MediaTransfer_Expecter struct {
// contains filtered or unexported fields
}
func (*MediaTransfer_Expecter) Transfer ¶ added in v1.5.43
func (_e *MediaTransfer_Expecter) Transfer(ctx interface{}, records interface{}) *MediaTransfer_Transfer_Call
Transfer is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
type MediaTransfer_Transfer_Call ¶ added in v1.5.43
MediaTransfer_Transfer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transfer'
func (*MediaTransfer_Transfer_Call) Return ¶ added in v1.5.43
func (_c *MediaTransfer_Transfer_Call) Return(_a0 error) *MediaTransfer_Transfer_Call
func (*MediaTransfer_Transfer_Call) Run ¶ added in v1.5.43
func (_c *MediaTransfer_Transfer_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *MediaTransfer_Transfer_Call
func (*MediaTransfer_Transfer_Call) RunAndReturn ¶ added in v1.5.43
func (_c *MediaTransfer_Transfer_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) error) *MediaTransfer_Transfer_Call
type MultiFilesBackup ¶ added in v1.6.27
MultiFilesBackup is an autogenerated mock type for the MultiFilesBackup type
func NewMultiFilesBackup ¶ added in v1.6.27
func NewMultiFilesBackup(t interface { mock.TestingT Cleanup(func()) }) *MultiFilesBackup
NewMultiFilesBackup creates a new instance of MultiFilesBackup. 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 (*MultiFilesBackup) EXPECT ¶ added in v1.6.27
func (_m *MultiFilesBackup) EXPECT() *MultiFilesBackup_Expecter
func (*MultiFilesBackup) Execute ¶ added in v1.6.27
func (_m *MultiFilesBackup) Execute(ctx context.Context, owner ownermodel.Owner, volumeSource backup.SourceVolume, optionsSlice ...backup.Options) (backup.CompletionReport, error)
Execute provides a mock function with given fields: ctx, owner, volumeSource, optionsSlice
type MultiFilesBackup_Execute_Call ¶ added in v1.6.27
MultiFilesBackup_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MultiFilesBackup_Execute_Call) Return ¶ added in v1.6.27
func (_c *MultiFilesBackup_Execute_Call) Return(_a0 backup.CompletionReport, _a1 error) *MultiFilesBackup_Execute_Call
func (*MultiFilesBackup_Execute_Call) Run ¶ added in v1.6.27
func (_c *MultiFilesBackup_Execute_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, volumeSource backup.SourceVolume, optionsSlice ...backup.Options)) *MultiFilesBackup_Execute_Call
func (*MultiFilesBackup_Execute_Call) RunAndReturn ¶ added in v1.6.27
func (_c *MultiFilesBackup_Execute_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, backup.SourceVolume, ...backup.Options) (backup.CompletionReport, error)) *MultiFilesBackup_Execute_Call
type MultiFilesBackup_Expecter ¶ added in v1.6.27
type MultiFilesBackup_Expecter struct {
// contains filtered or unexported fields
}
func (*MultiFilesBackup_Expecter) Execute ¶ added in v1.6.27
func (_e *MultiFilesBackup_Expecter) Execute(ctx interface{}, owner interface{}, volumeSource interface{}, optionsSlice ...interface{}) *MultiFilesBackup_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- volumeSource backup.SourceVolume
- optionsSlice ...backup.Options
type MultiFilesScanner ¶ added in v1.6.27
MultiFilesScanner is an autogenerated mock type for the MultiFilesScanner type
func NewMultiFilesScanner ¶ added in v1.6.27
func NewMultiFilesScanner(t interface { mock.TestingT Cleanup(func()) }) *MultiFilesScanner
NewMultiFilesScanner creates a new instance of MultiFilesScanner. 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 (*MultiFilesScanner) EXPECT ¶ added in v1.6.27
func (_m *MultiFilesScanner) EXPECT() *MultiFilesScanner_Expecter
func (*MultiFilesScanner) Execute ¶ added in v1.6.27
func (_m *MultiFilesScanner) Execute(ctx context.Context, owner string, volume backup.SourceVolume, optionSlice ...backup.Options) ([]*backup.ScannedFolder, error)
Execute provides a mock function with given fields: ctx, owner, volume, optionSlice
type MultiFilesScanner_Execute_Call ¶ added in v1.6.27
MultiFilesScanner_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*MultiFilesScanner_Execute_Call) Return ¶ added in v1.6.27
func (_c *MultiFilesScanner_Execute_Call) Return(_a0 []*backup.ScannedFolder, _a1 error) *MultiFilesScanner_Execute_Call
func (*MultiFilesScanner_Execute_Call) Run ¶ added in v1.6.27
func (_c *MultiFilesScanner_Execute_Call) Run(run func(ctx context.Context, owner string, volume backup.SourceVolume, optionSlice ...backup.Options)) *MultiFilesScanner_Execute_Call
func (*MultiFilesScanner_Execute_Call) RunAndReturn ¶ added in v1.6.27
func (_c *MultiFilesScanner_Execute_Call) RunAndReturn(run func(context.Context, string, backup.SourceVolume, ...backup.Options) ([]*backup.ScannedFolder, error)) *MultiFilesScanner_Execute_Call
type MultiFilesScanner_Expecter ¶ added in v1.6.27
type MultiFilesScanner_Expecter struct {
// contains filtered or unexported fields
}
func (*MultiFilesScanner_Expecter) Execute ¶ added in v1.6.27
func (_e *MultiFilesScanner_Expecter) Execute(ctx interface{}, owner interface{}, volume interface{}, optionSlice ...interface{}) *MultiFilesScanner_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- owner string
- volume backup.SourceVolume
- optionSlice ...backup.Options
type PrintReadTerminalPort ¶
PrintReadTerminalPort is an autogenerated mock type for the PrintReadTerminalPort type
func NewPrintReadTerminalPort ¶
func NewPrintReadTerminalPort(t interface { mock.TestingT Cleanup(func()) }) *PrintReadTerminalPort
NewPrintReadTerminalPort creates a new instance of PrintReadTerminalPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*PrintReadTerminalPort) EXPECT ¶ added in v1.5.41
func (_m *PrintReadTerminalPort) EXPECT() *PrintReadTerminalPort_Expecter
func (*PrintReadTerminalPort) Print ¶
func (_m *PrintReadTerminalPort) Print(question string)
Print provides a mock function with given fields: question
func (*PrintReadTerminalPort) ReadAnswer ¶
func (_m *PrintReadTerminalPort) ReadAnswer() (string, error)
ReadAnswer provides a mock function with given fields:
type PrintReadTerminalPort_Expecter ¶ added in v1.5.41
type PrintReadTerminalPort_Expecter struct {
// contains filtered or unexported fields
}
func (*PrintReadTerminalPort_Expecter) Print ¶ added in v1.5.41
func (_e *PrintReadTerminalPort_Expecter) Print(question interface{}) *PrintReadTerminalPort_Print_Call
Print is a helper method to define mock.On call
- question string
func (*PrintReadTerminalPort_Expecter) ReadAnswer ¶ added in v1.5.41
func (_e *PrintReadTerminalPort_Expecter) ReadAnswer() *PrintReadTerminalPort_ReadAnswer_Call
ReadAnswer is a helper method to define mock.On call
type PrintReadTerminalPort_Print_Call ¶ added in v1.5.41
PrintReadTerminalPort_Print_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Print'
func (*PrintReadTerminalPort_Print_Call) Return ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_Print_Call) Return() *PrintReadTerminalPort_Print_Call
func (*PrintReadTerminalPort_Print_Call) Run ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_Print_Call) Run(run func(question string)) *PrintReadTerminalPort_Print_Call
func (*PrintReadTerminalPort_Print_Call) RunAndReturn ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_Print_Call) RunAndReturn(run func(string)) *PrintReadTerminalPort_Print_Call
type PrintReadTerminalPort_ReadAnswer_Call ¶ added in v1.5.41
PrintReadTerminalPort_ReadAnswer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadAnswer'
func (*PrintReadTerminalPort_ReadAnswer_Call) Return ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_ReadAnswer_Call) Return(_a0 string, _a1 error) *PrintReadTerminalPort_ReadAnswer_Call
func (*PrintReadTerminalPort_ReadAnswer_Call) Run ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_ReadAnswer_Call) Run(run func()) *PrintReadTerminalPort_ReadAnswer_Call
func (*PrintReadTerminalPort_ReadAnswer_Call) RunAndReturn ¶ added in v1.5.41
func (_c *PrintReadTerminalPort_ReadAnswer_Call) RunAndReturn(run func() (string, error)) *PrintReadTerminalPort_ReadAnswer_Call
type ProviderFactory ¶ added in v1.6.4
ProviderFactory is an autogenerated mock type for the ProviderFactory type
func NewProviderFactory ¶ added in v1.6.4
func NewProviderFactory(t interface { mock.TestingT Cleanup(func()) }) *ProviderFactory
NewProviderFactory creates a new instance of ProviderFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProviderFactory) EXPECT ¶ added in v1.6.4
func (_m *ProviderFactory) EXPECT() *ProviderFactory_Expecter
func (*ProviderFactory) NewProvider ¶ added in v1.6.4
func (_m *ProviderFactory) NewProvider(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort) catalogviews.ListAlbumsProvider
NewProvider provides a mock function with given fields: ctx, mediaCounterPort
type ProviderFactoryFunc ¶ added in v1.6.4
ProviderFactoryFunc is an autogenerated mock type for the ProviderFactoryFunc type
func NewProviderFactoryFunc ¶ added in v1.6.4
func NewProviderFactoryFunc(t interface { mock.TestingT Cleanup(func()) }) *ProviderFactoryFunc
NewProviderFactoryFunc creates a new instance of ProviderFactoryFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ProviderFactoryFunc) EXPECT ¶ added in v1.6.4
func (_m *ProviderFactoryFunc) EXPECT() *ProviderFactoryFunc_Expecter
func (*ProviderFactoryFunc) Execute ¶ added in v1.6.4
func (_m *ProviderFactoryFunc) Execute(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort) catalogviews.ListAlbumsProvider
Execute provides a mock function with given fields: ctx, mediaCounterPort
type ProviderFactoryFunc_Execute_Call ¶ added in v1.6.4
ProviderFactoryFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*ProviderFactoryFunc_Execute_Call) Return ¶ added in v1.6.4
func (_c *ProviderFactoryFunc_Execute_Call) Return(_a0 catalogviews.ListAlbumsProvider) *ProviderFactoryFunc_Execute_Call
func (*ProviderFactoryFunc_Execute_Call) Run ¶ added in v1.6.4
func (_c *ProviderFactoryFunc_Execute_Call) Run(run func(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort)) *ProviderFactoryFunc_Execute_Call
func (*ProviderFactoryFunc_Execute_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ProviderFactoryFunc_Execute_Call) RunAndReturn(run func(context.Context, catalogviews.MediaCounterPort) catalogviews.ListAlbumsProvider) *ProviderFactoryFunc_Execute_Call
type ProviderFactoryFunc_Expecter ¶ added in v1.6.4
type ProviderFactoryFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*ProviderFactoryFunc_Expecter) Execute ¶ added in v1.6.4
func (_e *ProviderFactoryFunc_Expecter) Execute(ctx interface{}, mediaCounterPort interface{}) *ProviderFactoryFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- mediaCounterPort catalogviews.MediaCounterPort
type ProviderFactory_Expecter ¶ added in v1.6.4
type ProviderFactory_Expecter struct {
// contains filtered or unexported fields
}
func (*ProviderFactory_Expecter) NewProvider ¶ added in v1.6.4
func (_e *ProviderFactory_Expecter) NewProvider(ctx interface{}, mediaCounterPort interface{}) *ProviderFactory_NewProvider_Call
NewProvider is a helper method to define mock.On call
- ctx context.Context
- mediaCounterPort catalogviews.MediaCounterPort
type ProviderFactory_NewProvider_Call ¶ added in v1.6.4
ProviderFactory_NewProvider_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewProvider'
func (*ProviderFactory_NewProvider_Call) Return ¶ added in v1.6.4
func (_c *ProviderFactory_NewProvider_Call) Return(_a0 catalogviews.ListAlbumsProvider) *ProviderFactory_NewProvider_Call
func (*ProviderFactory_NewProvider_Call) Run ¶ added in v1.6.4
func (_c *ProviderFactory_NewProvider_Call) Run(run func(ctx context.Context, mediaCounterPort catalogviews.MediaCounterPort)) *ProviderFactory_NewProvider_Call
func (*ProviderFactory_NewProvider_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ProviderFactory_NewProvider_Call) RunAndReturn(run func(context.Context, catalogviews.MediaCounterPort) catalogviews.ListAlbumsProvider) *ProviderFactory_NewProvider_Call
type RefreshTokenRepository ¶
RefreshTokenRepository is an autogenerated mock type for the RefreshTokenRepository type
func NewRefreshTokenRepository ¶
func NewRefreshTokenRepository(t interface { mock.TestingT Cleanup(func()) }) *RefreshTokenRepository
NewRefreshTokenRepository creates a new instance of RefreshTokenRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RefreshTokenRepository) DeleteRefreshToken ¶
func (_m *RefreshTokenRepository) DeleteRefreshToken(token string) error
DeleteRefreshToken provides a mock function with given fields: token
func (*RefreshTokenRepository) EXPECT ¶ added in v1.5.41
func (_m *RefreshTokenRepository) EXPECT() *RefreshTokenRepository_Expecter
func (*RefreshTokenRepository) FindRefreshToken ¶
func (_m *RefreshTokenRepository) FindRefreshToken(token string) (*aclcore.RefreshTokenSpec, error)
FindRefreshToken provides a mock function with given fields: token
func (*RefreshTokenRepository) HouseKeepRefreshToken ¶
func (_m *RefreshTokenRepository) HouseKeepRefreshToken() (int, error)
HouseKeepRefreshToken provides a mock function with given fields:
func (*RefreshTokenRepository) StoreRefreshToken ¶
func (_m *RefreshTokenRepository) StoreRefreshToken(token string, spec aclcore.RefreshTokenSpec) error
StoreRefreshToken provides a mock function with given fields: token, spec
type RefreshTokenRepository_DeleteRefreshToken_Call ¶ added in v1.5.41
RefreshTokenRepository_DeleteRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRefreshToken'
func (*RefreshTokenRepository_DeleteRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) Return(_a0 error) *RefreshTokenRepository_DeleteRefreshToken_Call
func (*RefreshTokenRepository_DeleteRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) Run(run func(token string)) *RefreshTokenRepository_DeleteRefreshToken_Call
func (*RefreshTokenRepository_DeleteRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RefreshTokenRepository_DeleteRefreshToken_Call) RunAndReturn(run func(string) error) *RefreshTokenRepository_DeleteRefreshToken_Call
type RefreshTokenRepository_Expecter ¶ added in v1.5.41
type RefreshTokenRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*RefreshTokenRepository_Expecter) DeleteRefreshToken ¶ added in v1.5.41
func (_e *RefreshTokenRepository_Expecter) DeleteRefreshToken(token interface{}) *RefreshTokenRepository_DeleteRefreshToken_Call
DeleteRefreshToken is a helper method to define mock.On call
- token string
func (*RefreshTokenRepository_Expecter) FindRefreshToken ¶ added in v1.5.41
func (_e *RefreshTokenRepository_Expecter) FindRefreshToken(token interface{}) *RefreshTokenRepository_FindRefreshToken_Call
FindRefreshToken is a helper method to define mock.On call
- token string
func (*RefreshTokenRepository_Expecter) HouseKeepRefreshToken ¶ added in v1.5.41
func (_e *RefreshTokenRepository_Expecter) HouseKeepRefreshToken() *RefreshTokenRepository_HouseKeepRefreshToken_Call
HouseKeepRefreshToken is a helper method to define mock.On call
func (*RefreshTokenRepository_Expecter) StoreRefreshToken ¶ added in v1.5.41
func (_e *RefreshTokenRepository_Expecter) StoreRefreshToken(token interface{}, spec interface{}) *RefreshTokenRepository_StoreRefreshToken_Call
StoreRefreshToken is a helper method to define mock.On call
- token string
- spec aclcore.RefreshTokenSpec
type RefreshTokenRepository_FindRefreshToken_Call ¶ added in v1.5.41
RefreshTokenRepository_FindRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindRefreshToken'
func (*RefreshTokenRepository_FindRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RefreshTokenRepository_FindRefreshToken_Call) Return(_a0 *aclcore.RefreshTokenSpec, _a1 error) *RefreshTokenRepository_FindRefreshToken_Call
func (*RefreshTokenRepository_FindRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RefreshTokenRepository_FindRefreshToken_Call) Run(run func(token string)) *RefreshTokenRepository_FindRefreshToken_Call
func (*RefreshTokenRepository_FindRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RefreshTokenRepository_FindRefreshToken_Call) RunAndReturn(run func(string) (*aclcore.RefreshTokenSpec, error)) *RefreshTokenRepository_FindRefreshToken_Call
type RefreshTokenRepository_HouseKeepRefreshToken_Call ¶ added in v1.5.41
RefreshTokenRepository_HouseKeepRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HouseKeepRefreshToken'
func (*RefreshTokenRepository_HouseKeepRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) Return(_a0 int, _a1 error) *RefreshTokenRepository_HouseKeepRefreshToken_Call
func (*RefreshTokenRepository_HouseKeepRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) Run(run func()) *RefreshTokenRepository_HouseKeepRefreshToken_Call
func (*RefreshTokenRepository_HouseKeepRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RefreshTokenRepository_HouseKeepRefreshToken_Call) RunAndReturn(run func() (int, error)) *RefreshTokenRepository_HouseKeepRefreshToken_Call
type RefreshTokenRepository_StoreRefreshToken_Call ¶ added in v1.5.41
RefreshTokenRepository_StoreRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreRefreshToken'
func (*RefreshTokenRepository_StoreRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RefreshTokenRepository_StoreRefreshToken_Call) Return(_a0 error) *RefreshTokenRepository_StoreRefreshToken_Call
func (*RefreshTokenRepository_StoreRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RefreshTokenRepository_StoreRefreshToken_Call) Run(run func(token string, spec aclcore.RefreshTokenSpec)) *RefreshTokenRepository_StoreRefreshToken_Call
func (*RefreshTokenRepository_StoreRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RefreshTokenRepository_StoreRefreshToken_Call) RunAndReturn(run func(string, aclcore.RefreshTokenSpec) error) *RefreshTokenRepository_StoreRefreshToken_Call
type RenameAlbumObserver ¶ added in v1.5.43
RenameAlbumObserver is an autogenerated mock type for the RenameAlbumObserver type
func NewRenameAlbumObserver ¶ added in v1.5.43
func NewRenameAlbumObserver(t interface { mock.TestingT Cleanup(func()) }) *RenameAlbumObserver
NewRenameAlbumObserver creates a new instance of RenameAlbumObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RenameAlbumObserver) EXPECT ¶ added in v1.5.43
func (_m *RenameAlbumObserver) EXPECT() *RenameAlbumObserver_Expecter
func (*RenameAlbumObserver) OnRenameAlbum ¶ added in v1.5.43
func (_m *RenameAlbumObserver) OnRenameAlbum(ctx context.Context, current catalog.AlbumId, creationRequest catalog.CreateAlbumRequest) error
OnRenameAlbum provides a mock function with given fields: ctx, current, creationRequest
type RenameAlbumObserver_Expecter ¶ added in v1.5.43
type RenameAlbumObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*RenameAlbumObserver_Expecter) OnRenameAlbum ¶ added in v1.5.43
func (_e *RenameAlbumObserver_Expecter) OnRenameAlbum(ctx interface{}, current interface{}, creationRequest interface{}) *RenameAlbumObserver_OnRenameAlbum_Call
OnRenameAlbum is a helper method to define mock.On call
- ctx context.Context
- current catalog.AlbumId
- creationRequest catalog.CreateAlbumRequest
type RenameAlbumObserver_OnRenameAlbum_Call ¶ added in v1.5.43
RenameAlbumObserver_OnRenameAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnRenameAlbum'
func (*RenameAlbumObserver_OnRenameAlbum_Call) Return ¶ added in v1.5.43
func (_c *RenameAlbumObserver_OnRenameAlbum_Call) Return(_a0 error) *RenameAlbumObserver_OnRenameAlbum_Call
func (*RenameAlbumObserver_OnRenameAlbum_Call) Run ¶ added in v1.5.43
func (_c *RenameAlbumObserver_OnRenameAlbum_Call) Run(run func(ctx context.Context, current catalog.AlbumId, creationRequest catalog.CreateAlbumRequest)) *RenameAlbumObserver_OnRenameAlbum_Call
func (*RenameAlbumObserver_OnRenameAlbum_Call) RunAndReturn ¶ added in v1.5.43
func (_c *RenameAlbumObserver_OnRenameAlbum_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, catalog.CreateAlbumRequest) error) *RenameAlbumObserver_OnRenameAlbum_Call
type RenameAlbumPort ¶
RenameAlbumPort is an autogenerated mock type for the RenameAlbumPort type
func NewRenameAlbumPort ¶
func NewRenameAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *RenameAlbumPort
NewRenameAlbumPort creates a new instance of RenameAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RenameAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *RenameAlbumPort) EXPECT() *RenameAlbumPort_Expecter
func (*RenameAlbumPort) RenameAlbum ¶
func (_m *RenameAlbumPort) RenameAlbum(folderName string, newName string, renameFolder bool) error
RenameAlbum provides a mock function with given fields: folderName, newName, renameFolder
type RenameAlbumPort_Expecter ¶ added in v1.5.41
type RenameAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*RenameAlbumPort_Expecter) RenameAlbum ¶ added in v1.5.41
func (_e *RenameAlbumPort_Expecter) RenameAlbum(folderName interface{}, newName interface{}, renameFolder interface{}) *RenameAlbumPort_RenameAlbum_Call
RenameAlbum is a helper method to define mock.On call
- folderName string
- newName string
- renameFolder bool
type RenameAlbumPort_RenameAlbum_Call ¶ added in v1.5.41
RenameAlbumPort_RenameAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RenameAlbum'
func (*RenameAlbumPort_RenameAlbum_Call) Return ¶ added in v1.5.41
func (_c *RenameAlbumPort_RenameAlbum_Call) Return(_a0 error) *RenameAlbumPort_RenameAlbum_Call
func (*RenameAlbumPort_RenameAlbum_Call) Run ¶ added in v1.5.41
func (_c *RenameAlbumPort_RenameAlbum_Call) Run(run func(folderName string, newName string, renameFolder bool)) *RenameAlbumPort_RenameAlbum_Call
func (*RenameAlbumPort_RenameAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RenameAlbumPort_RenameAlbum_Call) RunAndReturn(run func(string, string, bool) error) *RenameAlbumPort_RenameAlbum_Call
type RepositoryAdapter ¶
RepositoryAdapter is an autogenerated mock type for the RepositoryAdapter type
func NewRepositoryAdapter ¶
func NewRepositoryAdapter(t interface { mock.TestingT Cleanup(func()) }) *RepositoryAdapter
NewRepositoryAdapter creates a new instance of RepositoryAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RepositoryAdapter) CountMedia ¶ added in v1.5.50
func (_m *RepositoryAdapter) CountMedia(ctx context.Context, album ...catalog.AlbumId) (map[catalog.AlbumId]int, error)
CountMedia provides a mock function with given fields: ctx, album
func (*RepositoryAdapter) EXPECT ¶ added in v1.5.41
func (_m *RepositoryAdapter) EXPECT() *RepositoryAdapter_Expecter
func (*RepositoryAdapter) FindAlbumByIds ¶ added in v1.5.43
func (_m *RepositoryAdapter) FindAlbumByIds(ctx context.Context, ids ...catalog.AlbumId) ([]*catalog.Album, error)
FindAlbumByIds provides a mock function with given fields: ctx, ids
func (*RepositoryAdapter) FindAlbumsByOwner ¶
func (_m *RepositoryAdapter) FindAlbumsByOwner(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)
FindAlbumsByOwner provides a mock function with given fields: ctx, owner
type RepositoryAdapter_CountMedia_Call ¶ added in v1.5.50
RepositoryAdapter_CountMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountMedia'
func (*RepositoryAdapter_CountMedia_Call) Return ¶ added in v1.5.50
func (_c *RepositoryAdapter_CountMedia_Call) Return(_a0 map[catalog.AlbumId]int, _a1 error) *RepositoryAdapter_CountMedia_Call
func (*RepositoryAdapter_CountMedia_Call) Run ¶ added in v1.5.50
func (_c *RepositoryAdapter_CountMedia_Call) Run(run func(ctx context.Context, album ...catalog.AlbumId)) *RepositoryAdapter_CountMedia_Call
func (*RepositoryAdapter_CountMedia_Call) RunAndReturn ¶ added in v1.5.50
func (_c *RepositoryAdapter_CountMedia_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) (map[catalog.AlbumId]int, error)) *RepositoryAdapter_CountMedia_Call
type RepositoryAdapter_Expecter ¶ added in v1.5.41
type RepositoryAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*RepositoryAdapter_Expecter) CountMedia ¶ added in v1.5.50
func (_e *RepositoryAdapter_Expecter) CountMedia(ctx interface{}, album ...interface{}) *RepositoryAdapter_CountMedia_Call
CountMedia is a helper method to define mock.On call
- ctx context.Context
- album ...catalog.AlbumId
func (*RepositoryAdapter_Expecter) FindAlbumByIds ¶ added in v1.5.43
func (_e *RepositoryAdapter_Expecter) FindAlbumByIds(ctx interface{}, ids ...interface{}) *RepositoryAdapter_FindAlbumByIds_Call
FindAlbumByIds is a helper method to define mock.On call
- ctx context.Context
- ids ...catalog.AlbumId
func (*RepositoryAdapter_Expecter) FindAlbumsByOwner ¶ added in v1.5.41
func (_e *RepositoryAdapter_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *RepositoryAdapter_FindAlbumsByOwner_Call
FindAlbumsByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
type RepositoryAdapter_FindAlbumByIds_Call ¶ added in v1.5.43
RepositoryAdapter_FindAlbumByIds_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumByIds'
func (*RepositoryAdapter_FindAlbumByIds_Call) Return ¶ added in v1.5.43
func (_c *RepositoryAdapter_FindAlbumByIds_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbumByIds_Call
func (*RepositoryAdapter_FindAlbumByIds_Call) Run ¶ added in v1.5.43
func (_c *RepositoryAdapter_FindAlbumByIds_Call) Run(run func(ctx context.Context, ids ...catalog.AlbumId)) *RepositoryAdapter_FindAlbumByIds_Call
func (*RepositoryAdapter_FindAlbumByIds_Call) RunAndReturn ¶ added in v1.5.43
func (_c *RepositoryAdapter_FindAlbumByIds_Call) RunAndReturn(run func(context.Context, ...catalog.AlbumId) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumByIds_Call
type RepositoryAdapter_FindAlbumsByOwner_Call ¶ added in v1.5.41
RepositoryAdapter_FindAlbumsByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumsByOwner'
func (*RepositoryAdapter_FindAlbumsByOwner_Call) Return ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) Return(_a0 []*catalog.Album, _a1 error) *RepositoryAdapter_FindAlbumsByOwner_Call
func (*RepositoryAdapter_FindAlbumsByOwner_Call) Run ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner)) *RepositoryAdapter_FindAlbumsByOwner_Call
func (*RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner) ([]*catalog.Album, error)) *RepositoryAdapter_FindAlbumsByOwner_Call
type ResizerAdapter ¶
ResizerAdapter is an autogenerated mock type for the ResizerAdapter type
func NewResizerAdapter ¶
func NewResizerAdapter(t interface { mock.TestingT Cleanup(func()) }) *ResizerAdapter
NewResizerAdapter creates a new instance of ResizerAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ResizerAdapter) EXPECT ¶ added in v1.5.41
func (_m *ResizerAdapter) EXPECT() *ResizerAdapter_Expecter
func (*ResizerAdapter) ResizeImage ¶
func (_m *ResizerAdapter) ResizeImage(reader io.Reader, width int, fast bool) ([]byte, string, error)
ResizeImage provides a mock function with given fields: reader, width, fast
func (*ResizerAdapter) ResizeImageAtDifferentWidths ¶
func (_m *ResizerAdapter) ResizeImageAtDifferentWidths(reader io.Reader, width []int) (map[int][]byte, string, error)
ResizeImageAtDifferentWidths provides a mock function with given fields: reader, width
type ResizerAdapter_Expecter ¶ added in v1.5.41
type ResizerAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*ResizerAdapter_Expecter) ResizeImage ¶ added in v1.5.41
func (_e *ResizerAdapter_Expecter) ResizeImage(reader interface{}, width interface{}, fast interface{}) *ResizerAdapter_ResizeImage_Call
ResizeImage is a helper method to define mock.On call
- reader io.Reader
- width int
- fast bool
func (*ResizerAdapter_Expecter) ResizeImageAtDifferentWidths ¶ added in v1.5.41
func (_e *ResizerAdapter_Expecter) ResizeImageAtDifferentWidths(reader interface{}, width interface{}) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
ResizeImageAtDifferentWidths is a helper method to define mock.On call
- reader io.Reader
- width []int
type ResizerAdapter_ResizeImageAtDifferentWidths_Call ¶ added in v1.5.41
ResizerAdapter_ResizeImageAtDifferentWidths_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResizeImageAtDifferentWidths'
func (*ResizerAdapter_ResizeImageAtDifferentWidths_Call) Return ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) Return(_a0 map[int][]byte, _a1 string, _a2 error) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
func (*ResizerAdapter_ResizeImageAtDifferentWidths_Call) Run ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) Run(run func(reader io.Reader, width []int)) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
func (*ResizerAdapter_ResizeImageAtDifferentWidths_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImageAtDifferentWidths_Call) RunAndReturn(run func(io.Reader, []int) (map[int][]byte, string, error)) *ResizerAdapter_ResizeImageAtDifferentWidths_Call
type ResizerAdapter_ResizeImage_Call ¶ added in v1.5.41
ResizerAdapter_ResizeImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResizeImage'
func (*ResizerAdapter_ResizeImage_Call) Return ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImage_Call) Return(_a0 []byte, _a1 string, _a2 error) *ResizerAdapter_ResizeImage_Call
func (*ResizerAdapter_ResizeImage_Call) Run ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImage_Call) Run(run func(reader io.Reader, width int, fast bool)) *ResizerAdapter_ResizeImage_Call
func (*ResizerAdapter_ResizeImage_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ResizerAdapter_ResizeImage_Call) RunAndReturn(run func(io.Reader, int, bool) ([]byte, string, error)) *ResizerAdapter_ResizeImage_Call
type ReverseScopesReader ¶
ReverseScopesReader is an autogenerated mock type for the ReverseScopesReader type
func NewReverseScopesReader ¶
func NewReverseScopesReader(t interface { mock.TestingT Cleanup(func()) }) *ReverseScopesReader
NewReverseScopesReader creates a new instance of ReverseScopesReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ReverseScopesReader) EXPECT ¶ added in v1.5.41
func (_m *ReverseScopesReader) EXPECT() *ReverseScopesReader_Expecter
func (*ReverseScopesReader) ListScopesByOwner ¶ added in v1.5.49
func (_m *ReverseScopesReader) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwner provides a mock function with given fields: ctx, owner, types
type ReverseScopesReader_Expecter ¶ added in v1.5.41
type ReverseScopesReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ReverseScopesReader_Expecter) ListScopesByOwner ¶ added in v1.5.49
func (_e *ReverseScopesReader_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ReverseScopesReader_ListScopesByOwner_Call
ListScopesByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- types ...aclcore.ScopeType
type ReverseScopesReader_ListScopesByOwner_Call ¶ added in v1.5.49
ReverseScopesReader_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'
func (*ReverseScopesReader_ListScopesByOwner_Call) Return ¶ added in v1.5.49
func (_c *ReverseScopesReader_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ReverseScopesReader_ListScopesByOwner_Call
func (*ReverseScopesReader_ListScopesByOwner_Call) Run ¶ added in v1.5.49
func (_c *ReverseScopesReader_ListScopesByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType)) *ReverseScopesReader_ListScopesByOwner_Call
func (*ReverseScopesReader_ListScopesByOwner_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ReverseScopesReader_ListScopesByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ReverseScopesReader_ListScopesByOwner_Call
type RevokeAccessTokenAdapter ¶
RevokeAccessTokenAdapter is an autogenerated mock type for the RevokeAccessTokenAdapter type
func NewRevokeAccessTokenAdapter ¶
func NewRevokeAccessTokenAdapter(t interface { mock.TestingT Cleanup(func()) }) *RevokeAccessTokenAdapter
NewRevokeAccessTokenAdapter creates a new instance of RevokeAccessTokenAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RevokeAccessTokenAdapter) DeleteRefreshToken ¶
func (_m *RevokeAccessTokenAdapter) DeleteRefreshToken(token string) error
DeleteRefreshToken provides a mock function with given fields: token
func (*RevokeAccessTokenAdapter) EXPECT ¶ added in v1.5.41
func (_m *RevokeAccessTokenAdapter) EXPECT() *RevokeAccessTokenAdapter_Expecter
type RevokeAccessTokenAdapter_DeleteRefreshToken_Call ¶ added in v1.5.41
RevokeAccessTokenAdapter_DeleteRefreshToken_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteRefreshToken'
func (*RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Return ¶ added in v1.5.41
func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Return(_a0 error) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
func (*RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Run ¶ added in v1.5.41
func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Run(run func(token string)) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
func (*RevokeAccessTokenAdapter_DeleteRefreshToken_Call) RunAndReturn ¶ added in v1.5.41
func (_c *RevokeAccessTokenAdapter_DeleteRefreshToken_Call) RunAndReturn(run func(string) error) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
type RevokeAccessTokenAdapter_Expecter ¶ added in v1.5.41
type RevokeAccessTokenAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*RevokeAccessTokenAdapter_Expecter) DeleteRefreshToken ¶ added in v1.5.41
func (_e *RevokeAccessTokenAdapter_Expecter) DeleteRefreshToken(token interface{}) *RevokeAccessTokenAdapter_DeleteRefreshToken_Call
DeleteRefreshToken is a helper method to define mock.On call
- token string
type ScanStreamExecutor ¶
ScanStreamExecutor is an autogenerated mock type for the ScanStreamExecutor type
func NewScanStreamExecutor ¶
func NewScanStreamExecutor(t interface { mock.TestingT Cleanup(func()) }) *ScanStreamExecutor
NewScanStreamExecutor creates a new instance of ScanStreamExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScanStreamExecutor) EXPECT ¶ added in v1.5.41
func (_m *ScanStreamExecutor) EXPECT() *ScanStreamExecutor_Expecter
type ScanStreamExecutor_Expecter ¶ added in v1.5.41
type ScanStreamExecutor_Expecter struct {
// contains filtered or unexported fields
}
func (*ScanStreamExecutor_Expecter) Scan ¶ added in v1.5.41
func (_e *ScanStreamExecutor_Expecter) Scan(ctx interface{}, params interface{}, optFns ...interface{}) *ScanStreamExecutor_Scan_Call
Scan is a helper method to define mock.On call
- ctx context.Context
- params *dynamodb.ScanInput
- optFns ...func(*dynamodb.Options)
type ScanStreamExecutor_Scan_Call ¶ added in v1.5.41
ScanStreamExecutor_Scan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Scan'
func (*ScanStreamExecutor_Scan_Call) Return ¶ added in v1.5.41
func (_c *ScanStreamExecutor_Scan_Call) Return(_a0 *dynamodb.ScanOutput, _a1 error) *ScanStreamExecutor_Scan_Call
func (*ScanStreamExecutor_Scan_Call) Run ¶ added in v1.5.41
func (_c *ScanStreamExecutor_Scan_Call) Run(run func(ctx context.Context, params *dynamodb.ScanInput, optFns ...func(*dynamodb.Options))) *ScanStreamExecutor_Scan_Call
func (*ScanStreamExecutor_Scan_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScanStreamExecutor_Scan_Call) RunAndReturn(run func(context.Context, *dynamodb.ScanInput, ...func(*dynamodb.Options)) (*dynamodb.ScanOutput, error)) *ScanStreamExecutor_Scan_Call
type ScopeReadRepository ¶ added in v1.5.49
ScopeReadRepository is an autogenerated mock type for the ScopeReadRepository type
func NewScopeReadRepository ¶ added in v1.5.49
func NewScopeReadRepository(t interface { mock.TestingT Cleanup(func()) }) *ScopeReadRepository
NewScopeReadRepository creates a new instance of ScopeReadRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScopeReadRepository) EXPECT ¶ added in v1.5.49
func (_m *ScopeReadRepository) EXPECT() *ScopeReadRepository_Expecter
func (*ScopeReadRepository) FindScopesByIdCtx ¶ added in v1.6.27
func (_m *ScopeReadRepository) FindScopesByIdCtx(ctx context.Context, ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)
FindScopesByIdCtx provides a mock function with given fields: ctx, ids
func (*ScopeReadRepository) ListScopesByOwner ¶ added in v1.5.49
func (_m *ScopeReadRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwner provides a mock function with given fields: ctx, owner, types
type ScopeReadRepositoryPort ¶ added in v1.5.49
ScopeReadRepositoryPort is an autogenerated mock type for the ScopeReadRepositoryPort type
func NewScopeReadRepositoryPort ¶ added in v1.5.49
func NewScopeReadRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *ScopeReadRepositoryPort
NewScopeReadRepositoryPort creates a new instance of ScopeReadRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScopeReadRepositoryPort) EXPECT ¶ added in v1.5.49
func (_m *ScopeReadRepositoryPort) EXPECT() *ScopeReadRepositoryPort_Expecter
func (*ScopeReadRepositoryPort) ListScopesByOwner ¶ added in v1.5.49
func (_m *ScopeReadRepositoryPort) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)
ListScopesByOwner provides a mock function with given fields: ctx, owner, types
type ScopeReadRepositoryPort_Expecter ¶ added in v1.5.49
type ScopeReadRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*ScopeReadRepositoryPort_Expecter) ListScopesByOwner ¶ added in v1.5.49
func (_e *ScopeReadRepositoryPort_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeReadRepositoryPort_ListScopesByOwner_Call
ListScopesByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- types ...aclcore.ScopeType
func (*ScopeReadRepositoryPort_Expecter) ListScopesByUser ¶ added in v1.5.49
func (_e *ScopeReadRepositoryPort_Expecter) ListScopesByUser(ctx interface{}, id interface{}, types ...interface{}) *ScopeReadRepositoryPort_ListScopesByUser_Call
ListScopesByUser is a helper method to define mock.On call
- ctx context.Context
- id usermodel.UserId
- types ...aclcore.ScopeType
type ScopeReadRepositoryPort_ListScopesByOwner_Call ¶ added in v1.5.49
ScopeReadRepositoryPort_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'
func (*ScopeReadRepositoryPort_ListScopesByOwner_Call) Return ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepositoryPort_ListScopesByOwner_Call
func (*ScopeReadRepositoryPort_ListScopesByOwner_Call) Run ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType)) *ScopeReadRepositoryPort_ListScopesByOwner_Call
func (*ScopeReadRepositoryPort_ListScopesByOwner_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopeReadRepositoryPort_ListScopesByOwner_Call
type ScopeReadRepositoryPort_ListScopesByUser_Call ¶ added in v1.5.49
ScopeReadRepositoryPort_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'
func (*ScopeReadRepositoryPort_ListScopesByUser_Call) Return ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepositoryPort_ListScopesByUser_Call
func (*ScopeReadRepositoryPort_ListScopesByUser_Call) Run ¶ added in v1.5.49
func (_c *ScopeReadRepositoryPort_ListScopesByUser_Call) Run(run func(ctx context.Context, id usermodel.UserId, types ...aclcore.ScopeType)) *ScopeReadRepositoryPort_ListScopesByUser_Call
func (*ScopeReadRepositoryPort_ListScopesByUser_Call) RunAndReturn ¶ added in v1.5.49
type ScopeReadRepository_Expecter ¶ added in v1.5.49
type ScopeReadRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*ScopeReadRepository_Expecter) FindScopesByIdCtx ¶ added in v1.6.27
func (_e *ScopeReadRepository_Expecter) FindScopesByIdCtx(ctx interface{}, ids ...interface{}) *ScopeReadRepository_FindScopesByIdCtx_Call
FindScopesByIdCtx is a helper method to define mock.On call
- ctx context.Context
- ids ...aclcore.ScopeId
func (*ScopeReadRepository_Expecter) ListScopesByOwner ¶ added in v1.5.49
func (_e *ScopeReadRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByOwner_Call
ListScopesByOwner is a helper method to define mock.On call
- ctx context.Context
- owner ownermodel.Owner
- types ...aclcore.ScopeType
func (*ScopeReadRepository_Expecter) ListScopesByUser ¶ added in v1.5.49
func (_e *ScopeReadRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByUser_Call
ListScopesByUser is a helper method to define mock.On call
- ctx context.Context
- email usermodel.UserId
- types ...aclcore.ScopeType
type ScopeReadRepository_FindScopesByIdCtx_Call ¶ added in v1.6.27
ScopeReadRepository_FindScopesByIdCtx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindScopesByIdCtx'
func (*ScopeReadRepository_FindScopesByIdCtx_Call) Return ¶ added in v1.6.27
func (_c *ScopeReadRepository_FindScopesByIdCtx_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_FindScopesByIdCtx_Call
func (*ScopeReadRepository_FindScopesByIdCtx_Call) Run ¶ added in v1.6.27
func (_c *ScopeReadRepository_FindScopesByIdCtx_Call) Run(run func(ctx context.Context, ids ...aclcore.ScopeId)) *ScopeReadRepository_FindScopesByIdCtx_Call
func (*ScopeReadRepository_FindScopesByIdCtx_Call) RunAndReturn ¶ added in v1.6.27
func (_c *ScopeReadRepository_FindScopesByIdCtx_Call) RunAndReturn(run func(context.Context, ...aclcore.ScopeId) ([]*aclcore.Scope, error)) *ScopeReadRepository_FindScopesByIdCtx_Call
type ScopeReadRepository_ListScopesByOwner_Call ¶ added in v1.5.49
ScopeReadRepository_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'
func (*ScopeReadRepository_ListScopesByOwner_Call) Return ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByOwner_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_ListScopesByOwner_Call
func (*ScopeReadRepository_ListScopesByOwner_Call) Run ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByOwner_Call) Run(run func(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType)) *ScopeReadRepository_ListScopesByOwner_Call
func (*ScopeReadRepository_ListScopesByOwner_Call) RunAndReturn ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByOwner_Call) RunAndReturn(run func(context.Context, ownermodel.Owner, ...aclcore.ScopeType) ([]*aclcore.Scope, error)) *ScopeReadRepository_ListScopesByOwner_Call
type ScopeReadRepository_ListScopesByUser_Call ¶ added in v1.5.49
ScopeReadRepository_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'
func (*ScopeReadRepository_ListScopesByUser_Call) Return ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopeReadRepository_ListScopesByUser_Call
func (*ScopeReadRepository_ListScopesByUser_Call) Run ¶ added in v1.5.49
func (_c *ScopeReadRepository_ListScopesByUser_Call) Run(run func(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType)) *ScopeReadRepository_ListScopesByUser_Call
func (*ScopeReadRepository_ListScopesByUser_Call) RunAndReturn ¶ added in v1.5.49
type ScopeWriter ¶
ScopeWriter is an autogenerated mock type for the ScopeWriter type
func NewScopeWriter ¶
func NewScopeWriter(t interface { mock.TestingT Cleanup(func()) }) *ScopeWriter
NewScopeWriter creates a new instance of ScopeWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScopeWriter) DeleteScopes ¶
func (_m *ScopeWriter) DeleteScopes(id ...aclcore.ScopeId) error
DeleteScopes provides a mock function with given fields: id
func (*ScopeWriter) EXPECT ¶ added in v1.5.41
func (_m *ScopeWriter) EXPECT() *ScopeWriter_Expecter
func (*ScopeWriter) SaveIfNewScope ¶
func (_m *ScopeWriter) SaveIfNewScope(scope aclcore.Scope) error
SaveIfNewScope provides a mock function with given fields: scope
type ScopeWriter_DeleteScopes_Call ¶ added in v1.5.41
ScopeWriter_DeleteScopes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteScopes'
func (*ScopeWriter_DeleteScopes_Call) Return ¶ added in v1.5.41
func (_c *ScopeWriter_DeleteScopes_Call) Return(_a0 error) *ScopeWriter_DeleteScopes_Call
func (*ScopeWriter_DeleteScopes_Call) Run ¶ added in v1.5.41
func (_c *ScopeWriter_DeleteScopes_Call) Run(run func(id ...aclcore.ScopeId)) *ScopeWriter_DeleteScopes_Call
func (*ScopeWriter_DeleteScopes_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopeWriter_DeleteScopes_Call) RunAndReturn(run func(...aclcore.ScopeId) error) *ScopeWriter_DeleteScopes_Call
type ScopeWriter_Expecter ¶ added in v1.5.41
type ScopeWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*ScopeWriter_Expecter) DeleteScopes ¶ added in v1.5.41
func (_e *ScopeWriter_Expecter) DeleteScopes(id ...interface{}) *ScopeWriter_DeleteScopes_Call
DeleteScopes is a helper method to define mock.On call
- id ...aclcore.ScopeId
func (*ScopeWriter_Expecter) SaveIfNewScope ¶ added in v1.5.41
func (_e *ScopeWriter_Expecter) SaveIfNewScope(scope interface{}) *ScopeWriter_SaveIfNewScope_Call
SaveIfNewScope is a helper method to define mock.On call
- scope aclcore.Scope
type ScopeWriter_SaveIfNewScope_Call ¶ added in v1.5.41
ScopeWriter_SaveIfNewScope_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveIfNewScope'
func (*ScopeWriter_SaveIfNewScope_Call) Return ¶ added in v1.5.41
func (_c *ScopeWriter_SaveIfNewScope_Call) Return(_a0 error) *ScopeWriter_SaveIfNewScope_Call
func (*ScopeWriter_SaveIfNewScope_Call) Run ¶ added in v1.5.41
func (_c *ScopeWriter_SaveIfNewScope_Call) Run(run func(scope aclcore.Scope)) *ScopeWriter_SaveIfNewScope_Call
func (*ScopeWriter_SaveIfNewScope_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopeWriter_SaveIfNewScope_Call) RunAndReturn(run func(aclcore.Scope) error) *ScopeWriter_SaveIfNewScope_Call
type ScopesReader ¶
ScopesReader is an autogenerated mock type for the ScopesReader type
func NewScopesReader ¶
func NewScopesReader(t interface { mock.TestingT Cleanup(func()) }) *ScopesReader
NewScopesReader creates a new instance of ScopesReader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ScopesReader) EXPECT ¶ added in v1.5.41
func (_m *ScopesReader) EXPECT() *ScopesReader_Expecter
func (*ScopesReader) FindScopesById ¶
FindScopesById provides a mock function with given fields: ids
type ScopesReader_Expecter ¶ added in v1.5.41
type ScopesReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ScopesReader_Expecter) FindScopesById ¶ added in v1.5.41
func (_e *ScopesReader_Expecter) FindScopesById(ids ...interface{}) *ScopesReader_FindScopesById_Call
FindScopesById is a helper method to define mock.On call
- ids ...aclcore.ScopeId
func (*ScopesReader_Expecter) ListScopesByUser ¶ added in v1.5.49
func (_e *ScopesReader_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopesReader_ListScopesByUser_Call
ListScopesByUser is a helper method to define mock.On call
- ctx context.Context
- email usermodel.UserId
- types ...aclcore.ScopeType
type ScopesReader_FindScopesById_Call ¶ added in v1.5.41
ScopesReader_FindScopesById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindScopesById'
func (*ScopesReader_FindScopesById_Call) Return ¶ added in v1.5.41
func (_c *ScopesReader_FindScopesById_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_FindScopesById_Call
func (*ScopesReader_FindScopesById_Call) Run ¶ added in v1.5.41
func (_c *ScopesReader_FindScopesById_Call) Run(run func(ids ...aclcore.ScopeId)) *ScopesReader_FindScopesById_Call
func (*ScopesReader_FindScopesById_Call) RunAndReturn ¶ added in v1.5.41
func (_c *ScopesReader_FindScopesById_Call) RunAndReturn(run func(...aclcore.ScopeId) ([]*aclcore.Scope, error)) *ScopesReader_FindScopesById_Call
type ScopesReader_ListScopesByUser_Call ¶ added in v1.5.49
ScopesReader_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'
func (*ScopesReader_ListScopesByUser_Call) Return ¶ added in v1.5.49
func (_c *ScopesReader_ListScopesByUser_Call) Return(_a0 []*aclcore.Scope, _a1 error) *ScopesReader_ListScopesByUser_Call
func (*ScopesReader_ListScopesByUser_Call) Run ¶ added in v1.5.49
func (_c *ScopesReader_ListScopesByUser_Call) Run(run func(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType)) *ScopesReader_ListScopesByUser_Call
func (*ScopesReader_ListScopesByUser_Call) RunAndReturn ¶ added in v1.5.49
type SecretAccessKeyDecoder ¶ added in v1.5.33
SecretAccessKeyDecoder is an autogenerated mock type for the SecretAccessKeyDecoder type
func NewSecretAccessKeyDecoder ¶ added in v1.5.33
func NewSecretAccessKeyDecoder(t interface { mock.TestingT Cleanup(func()) }) *SecretAccessKeyDecoder
NewSecretAccessKeyDecoder creates a new instance of SecretAccessKeyDecoder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SecretAccessKeyDecoder) EXPECT ¶ added in v1.5.41
func (_m *SecretAccessKeyDecoder) EXPECT() *SecretAccessKeyDecoder_Expecter
type SecretAccessKeyDecoder_Execute_Call ¶ added in v1.5.41
SecretAccessKeyDecoder_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*SecretAccessKeyDecoder_Execute_Call) Return ¶ added in v1.5.41
func (_c *SecretAccessKeyDecoder_Execute_Call) Return(_a0 string, _a1 error) *SecretAccessKeyDecoder_Execute_Call
func (*SecretAccessKeyDecoder_Execute_Call) Run ¶ added in v1.5.41
func (_c *SecretAccessKeyDecoder_Execute_Call) Run(run func(encodedValue string)) *SecretAccessKeyDecoder_Execute_Call
func (*SecretAccessKeyDecoder_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SecretAccessKeyDecoder_Execute_Call) RunAndReturn(run func(string) (string, error)) *SecretAccessKeyDecoder_Execute_Call
type SecretAccessKeyDecoder_Expecter ¶ added in v1.5.41
type SecretAccessKeyDecoder_Expecter struct {
// contains filtered or unexported fields
}
func (*SecretAccessKeyDecoder_Expecter) Execute ¶ added in v1.5.41
func (_e *SecretAccessKeyDecoder_Expecter) Execute(encodedValue interface{}) *SecretAccessKeyDecoder_Execute_Call
Execute is a helper method to define mock.On call
- encodedValue string
type SharedWithUserFunc ¶ added in v1.5.49
type SharedWithUserFunc struct {
}SharedWithUserFunc is an autogenerated mock type for the SharedWithUserFunc type
func NewSharedWithUserFunc ¶ added in v1.5.49
func NewSharedWithUserFunc(t interface { mock.TestingT Cleanup(func()) }) *SharedWithUserFunc
NewSharedWithUserFunc creates a new instance of SharedWithUserFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SharedWithUserFunc) EXPECT ¶ added in v1.5.49
func (_m *SharedWithUserFunc) EXPECT() *SharedWithUserFunc_Expecter
type SharedWithUserFunc_Execute_Call ¶ added in v1.5.49
type SharedWithUserFunc_Execute_Call struct {
}SharedWithUserFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*SharedWithUserFunc_Execute_Call) Return ¶ added in v1.5.49
func (_c *SharedWithUserFunc_Execute_Call) Return(_a0 []catalog.AlbumId, _a1 error) *SharedWithUserFunc_Execute_Call
func (*SharedWithUserFunc_Execute_Call) Run ¶ added in v1.5.49
func (_c *SharedWithUserFunc_Execute_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *SharedWithUserFunc_Execute_Call
func (*SharedWithUserFunc_Execute_Call) RunAndReturn ¶ added in v1.5.49
func (_c *SharedWithUserFunc_Execute_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalog.AlbumId, error)) *SharedWithUserFunc_Execute_Call
type SharedWithUserFunc_Expecter ¶ added in v1.5.49
type SharedWithUserFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*SharedWithUserFunc_Expecter) Execute ¶ added in v1.5.49
func (_e *SharedWithUserFunc_Expecter) Execute(ctx interface{}, userId interface{}) *SharedWithUserFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- userId usermodel.UserId
type SharedWithUserPort ¶ added in v1.5.48
type SharedWithUserPort struct {
}SharedWithUserPort is an autogenerated mock type for the SharedWithUserPort type
func NewSharedWithUserPort ¶ added in v1.5.48
func NewSharedWithUserPort(t interface { mock.TestingT Cleanup(func()) }) *SharedWithUserPort
NewSharedWithUserPort creates a new instance of SharedWithUserPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SharedWithUserPort) EXPECT ¶ added in v1.5.48
func (_m *SharedWithUserPort) EXPECT() *SharedWithUserPort_Expecter
func (*SharedWithUserPort) ListAlbumIdsSharedWithUser ¶ added in v1.5.48
func (_m *SharedWithUserPort) ListAlbumIdsSharedWithUser(ctx context.Context, userId usermodel.UserId) ([]catalog.AlbumId, error)
ListAlbumIdsSharedWithUser provides a mock function with given fields: ctx, userId
type SharedWithUserPort_Expecter ¶ added in v1.5.48
type SharedWithUserPort_Expecter struct {
// contains filtered or unexported fields
}
func (*SharedWithUserPort_Expecter) ListAlbumIdsSharedWithUser ¶ added in v1.5.48
func (_e *SharedWithUserPort_Expecter) ListAlbumIdsSharedWithUser(ctx interface{}, userId interface{}) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
ListAlbumIdsSharedWithUser is a helper method to define mock.On call
- ctx context.Context
- userId usermodel.UserId
type SharedWithUserPort_ListAlbumIdsSharedWithUser_Call ¶ added in v1.5.48
type SharedWithUserPort_ListAlbumIdsSharedWithUser_Call struct {
}SharedWithUserPort_ListAlbumIdsSharedWithUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListAlbumIdsSharedWithUser'
func (*SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Return ¶ added in v1.5.48
func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Return(_a0 []catalog.AlbumId, _a1 error) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
func (*SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Run ¶ added in v1.5.48
func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Run(run func(ctx context.Context, userId usermodel.UserId)) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
func (*SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) RunAndReturn ¶ added in v1.5.48
func (_c *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) RunAndReturn(run func(context.Context, usermodel.UserId) ([]catalog.AlbumId, error)) *SharedWithUserPort_ListAlbumIdsSharedWithUser_Call
type StatefulAlbumReferencer ¶ added in v1.5.54
StatefulAlbumReferencer is an autogenerated mock type for the StatefulAlbumReferencer type
func NewStatefulAlbumReferencer ¶ added in v1.5.54
func NewStatefulAlbumReferencer(t interface { mock.TestingT Cleanup(func()) }) *StatefulAlbumReferencer
NewStatefulAlbumReferencer creates a new instance of StatefulAlbumReferencer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StatefulAlbumReferencer) EXPECT ¶ added in v1.5.54
func (_m *StatefulAlbumReferencer) EXPECT() *StatefulAlbumReferencer_Expecter
func (*StatefulAlbumReferencer) FindReference ¶ added in v1.5.54
func (_m *StatefulAlbumReferencer) FindReference(ctx context.Context, mediaTime time.Time) (catalog.AlbumReference, error)
FindReference provides a mock function with given fields: ctx, mediaTime
type StatefulAlbumReferencer_Expecter ¶ added in v1.5.54
type StatefulAlbumReferencer_Expecter struct {
// contains filtered or unexported fields
}
func (*StatefulAlbumReferencer_Expecter) FindReference ¶ added in v1.5.54
func (_e *StatefulAlbumReferencer_Expecter) FindReference(ctx interface{}, mediaTime interface{}) *StatefulAlbumReferencer_FindReference_Call
FindReference is a helper method to define mock.On call
- ctx context.Context
- mediaTime time.Time
type StatefulAlbumReferencer_FindReference_Call ¶ added in v1.5.54
StatefulAlbumReferencer_FindReference_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindReference'
func (*StatefulAlbumReferencer_FindReference_Call) Return ¶ added in v1.5.54
func (_c *StatefulAlbumReferencer_FindReference_Call) Return(_a0 catalog.AlbumReference, _a1 error) *StatefulAlbumReferencer_FindReference_Call
func (*StatefulAlbumReferencer_FindReference_Call) Run ¶ added in v1.5.54
func (_c *StatefulAlbumReferencer_FindReference_Call) Run(run func(ctx context.Context, mediaTime time.Time)) *StatefulAlbumReferencer_FindReference_Call
func (*StatefulAlbumReferencer_FindReference_Call) RunAndReturn ¶ added in v1.5.54
func (_c *StatefulAlbumReferencer_FindReference_Call) RunAndReturn(run func(context.Context, time.Time) (catalog.AlbumReference, error)) *StatefulAlbumReferencer_FindReference_Call
type StoreAdapter ¶
StoreAdapter is an autogenerated mock type for the StoreAdapter type
func NewStoreAdapter ¶
func NewStoreAdapter(t interface { mock.TestingT Cleanup(func()) }) *StoreAdapter
NewStoreAdapter creates a new instance of StoreAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StoreAdapter) Copy ¶
func (_m *StoreAdapter) Copy(origin string, destination archive.DestructuredKey) (string, error)
Copy provides a mock function with given fields: origin, destination
func (*StoreAdapter) Delete ¶
func (_m *StoreAdapter) Delete(locations []string) error
Delete provides a mock function with given fields: locations
func (*StoreAdapter) Download ¶
func (_m *StoreAdapter) Download(key string) (io.ReadCloser, error)
Download provides a mock function with given fields: key
func (*StoreAdapter) EXPECT ¶ added in v1.5.41
func (_m *StoreAdapter) EXPECT() *StoreAdapter_Expecter
func (*StoreAdapter) SignedURL ¶
SignedURL provides a mock function with given fields: key, duration
func (*StoreAdapter) Upload ¶
func (_m *StoreAdapter) Upload(values archive.DestructuredKey, content io.Reader) (string, error)
Upload provides a mock function with given fields: values, content
type StoreAdapter_Copy_Call ¶ added in v1.5.41
StoreAdapter_Copy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Copy'
func (*StoreAdapter_Copy_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_Copy_Call) Return(_a0 string, _a1 error) *StoreAdapter_Copy_Call
func (*StoreAdapter_Copy_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_Copy_Call) Run(run func(origin string, destination archive.DestructuredKey)) *StoreAdapter_Copy_Call
func (*StoreAdapter_Copy_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_Copy_Call) RunAndReturn(run func(string, archive.DestructuredKey) (string, error)) *StoreAdapter_Copy_Call
type StoreAdapter_Delete_Call ¶ added in v1.5.41
StoreAdapter_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*StoreAdapter_Delete_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_Delete_Call) Return(_a0 error) *StoreAdapter_Delete_Call
func (*StoreAdapter_Delete_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_Delete_Call) Run(run func(locations []string)) *StoreAdapter_Delete_Call
func (*StoreAdapter_Delete_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_Delete_Call) RunAndReturn(run func([]string) error) *StoreAdapter_Delete_Call
type StoreAdapter_Download_Call ¶ added in v1.5.41
StoreAdapter_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'
func (*StoreAdapter_Download_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *StoreAdapter_Download_Call
func (*StoreAdapter_Download_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_Download_Call) Run(run func(key string)) *StoreAdapter_Download_Call
func (*StoreAdapter_Download_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_Download_Call) RunAndReturn(run func(string) (io.ReadCloser, error)) *StoreAdapter_Download_Call
type StoreAdapter_Expecter ¶ added in v1.5.41
type StoreAdapter_Expecter struct {
// contains filtered or unexported fields
}
func (*StoreAdapter_Expecter) Copy ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) Copy(origin interface{}, destination interface{}) *StoreAdapter_Copy_Call
Copy is a helper method to define mock.On call
- origin string
- destination archive.DestructuredKey
func (*StoreAdapter_Expecter) Delete ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) Delete(locations interface{}) *StoreAdapter_Delete_Call
Delete is a helper method to define mock.On call
- locations []string
func (*StoreAdapter_Expecter) Download ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) Download(key interface{}) *StoreAdapter_Download_Call
Download is a helper method to define mock.On call
- key string
func (*StoreAdapter_Expecter) SignedURL ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) SignedURL(key interface{}, duration interface{}) *StoreAdapter_SignedURL_Call
SignedURL is a helper method to define mock.On call
- key string
- duration time.Duration
func (*StoreAdapter_Expecter) Upload ¶ added in v1.5.41
func (_e *StoreAdapter_Expecter) Upload(values interface{}, content interface{}) *StoreAdapter_Upload_Call
Upload is a helper method to define mock.On call
- values archive.DestructuredKey
- content io.Reader
type StoreAdapter_SignedURL_Call ¶ added in v1.5.41
StoreAdapter_SignedURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignedURL'
func (*StoreAdapter_SignedURL_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_SignedURL_Call) Return(_a0 string, _a1 error) *StoreAdapter_SignedURL_Call
func (*StoreAdapter_SignedURL_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_SignedURL_Call) Run(run func(key string, duration time.Duration)) *StoreAdapter_SignedURL_Call
func (*StoreAdapter_SignedURL_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *StoreAdapter_SignedURL_Call
type StoreAdapter_Upload_Call ¶ added in v1.5.41
StoreAdapter_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'
func (*StoreAdapter_Upload_Call) Return ¶ added in v1.5.41
func (_c *StoreAdapter_Upload_Call) Return(_a0 string, _a1 error) *StoreAdapter_Upload_Call
func (*StoreAdapter_Upload_Call) Run ¶ added in v1.5.41
func (_c *StoreAdapter_Upload_Call) Run(run func(values archive.DestructuredKey, content io.Reader)) *StoreAdapter_Upload_Call
func (*StoreAdapter_Upload_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAdapter_Upload_Call) RunAndReturn(run func(archive.DestructuredKey, io.Reader) (string, error)) *StoreAdapter_Upload_Call
type StoreAndCache ¶
StoreAndCache is an autogenerated mock type for the StoreAndCache type
func NewStoreAndCache ¶
func NewStoreAndCache(t interface { mock.TestingT Cleanup(func()) }) *StoreAndCache
NewStoreAndCache creates a new instance of StoreAndCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*StoreAndCache) Copy ¶
func (_m *StoreAndCache) Copy(origin string, destination archive.DestructuredKey) (string, error)
Copy provides a mock function with given fields: origin, destination
func (*StoreAndCache) Delete ¶
func (_m *StoreAndCache) Delete(locations []string) error
Delete provides a mock function with given fields: locations
func (*StoreAndCache) Download ¶
func (_m *StoreAndCache) Download(key string) (io.ReadCloser, error)
Download provides a mock function with given fields: key
func (*StoreAndCache) EXPECT ¶ added in v1.5.41
func (_m *StoreAndCache) EXPECT() *StoreAndCache_Expecter
func (*StoreAndCache) Get ¶
func (_m *StoreAndCache) Get(key string) (io.ReadCloser, int, string, error)
Get provides a mock function with given fields: key
func (*StoreAndCache) SignedURL ¶
SignedURL provides a mock function with given fields: key, duration
func (*StoreAndCache) Upload ¶
func (_m *StoreAndCache) Upload(values archive.DestructuredKey, content io.Reader) (string, error)
Upload provides a mock function with given fields: values, content
func (*StoreAndCache) WalkCacheByPrefix ¶
func (_m *StoreAndCache) WalkCacheByPrefix(prefix string, observer func(string)) error
WalkCacheByPrefix provides a mock function with given fields: prefix, observer
type StoreAndCache_Copy_Call ¶ added in v1.5.41
StoreAndCache_Copy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Copy'
func (*StoreAndCache_Copy_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Copy_Call) Return(_a0 string, _a1 error) *StoreAndCache_Copy_Call
func (*StoreAndCache_Copy_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Copy_Call) Run(run func(origin string, destination archive.DestructuredKey)) *StoreAndCache_Copy_Call
func (*StoreAndCache_Copy_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Copy_Call) RunAndReturn(run func(string, archive.DestructuredKey) (string, error)) *StoreAndCache_Copy_Call
type StoreAndCache_Delete_Call ¶ added in v1.5.41
StoreAndCache_Delete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Delete'
func (*StoreAndCache_Delete_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Delete_Call) Return(_a0 error) *StoreAndCache_Delete_Call
func (*StoreAndCache_Delete_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Delete_Call) Run(run func(locations []string)) *StoreAndCache_Delete_Call
func (*StoreAndCache_Delete_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Delete_Call) RunAndReturn(run func([]string) error) *StoreAndCache_Delete_Call
type StoreAndCache_Download_Call ¶ added in v1.5.41
StoreAndCache_Download_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Download'
func (*StoreAndCache_Download_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Download_Call) Return(_a0 io.ReadCloser, _a1 error) *StoreAndCache_Download_Call
func (*StoreAndCache_Download_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Download_Call) Run(run func(key string)) *StoreAndCache_Download_Call
func (*StoreAndCache_Download_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Download_Call) RunAndReturn(run func(string) (io.ReadCloser, error)) *StoreAndCache_Download_Call
type StoreAndCache_Expecter ¶ added in v1.5.41
type StoreAndCache_Expecter struct {
// contains filtered or unexported fields
}
func (*StoreAndCache_Expecter) Copy ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Copy(origin interface{}, destination interface{}) *StoreAndCache_Copy_Call
Copy is a helper method to define mock.On call
- origin string
- destination archive.DestructuredKey
func (*StoreAndCache_Expecter) Delete ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Delete(locations interface{}) *StoreAndCache_Delete_Call
Delete is a helper method to define mock.On call
- locations []string
func (*StoreAndCache_Expecter) Download ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Download(key interface{}) *StoreAndCache_Download_Call
Download is a helper method to define mock.On call
- key string
func (*StoreAndCache_Expecter) Get ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Get(key interface{}) *StoreAndCache_Get_Call
Get is a helper method to define mock.On call
- key string
func (*StoreAndCache_Expecter) Put ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Put(key interface{}, mediaType interface{}, content interface{}) *StoreAndCache_Put_Call
Put is a helper method to define mock.On call
- key string
- mediaType string
- content io.Reader
func (*StoreAndCache_Expecter) SignedURL ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) SignedURL(key interface{}, duration interface{}) *StoreAndCache_SignedURL_Call
SignedURL is a helper method to define mock.On call
- key string
- duration time.Duration
func (*StoreAndCache_Expecter) Upload ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) Upload(values interface{}, content interface{}) *StoreAndCache_Upload_Call
Upload is a helper method to define mock.On call
- values archive.DestructuredKey
- content io.Reader
func (*StoreAndCache_Expecter) WalkCacheByPrefix ¶ added in v1.5.41
func (_e *StoreAndCache_Expecter) WalkCacheByPrefix(prefix interface{}, observer interface{}) *StoreAndCache_WalkCacheByPrefix_Call
WalkCacheByPrefix is a helper method to define mock.On call
- prefix string
- observer func(string)
type StoreAndCache_Get_Call ¶ added in v1.5.41
StoreAndCache_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*StoreAndCache_Get_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Get_Call) Return(_a0 io.ReadCloser, _a1 int, _a2 string, _a3 error) *StoreAndCache_Get_Call
func (*StoreAndCache_Get_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Get_Call) Run(run func(key string)) *StoreAndCache_Get_Call
func (*StoreAndCache_Get_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Get_Call) RunAndReturn(run func(string) (io.ReadCloser, int, string, error)) *StoreAndCache_Get_Call
type StoreAndCache_Put_Call ¶ added in v1.5.41
StoreAndCache_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*StoreAndCache_Put_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Put_Call) Return(_a0 error) *StoreAndCache_Put_Call
func (*StoreAndCache_Put_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Put_Call) Run(run func(key string, mediaType string, content io.Reader)) *StoreAndCache_Put_Call
func (*StoreAndCache_Put_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Put_Call) RunAndReturn(run func(string, string, io.Reader) error) *StoreAndCache_Put_Call
type StoreAndCache_SignedURL_Call ¶ added in v1.5.41
StoreAndCache_SignedURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignedURL'
func (*StoreAndCache_SignedURL_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_SignedURL_Call) Return(_a0 string, _a1 error) *StoreAndCache_SignedURL_Call
func (*StoreAndCache_SignedURL_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_SignedURL_Call) Run(run func(key string, duration time.Duration)) *StoreAndCache_SignedURL_Call
func (*StoreAndCache_SignedURL_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_SignedURL_Call) RunAndReturn(run func(string, time.Duration) (string, error)) *StoreAndCache_SignedURL_Call
type StoreAndCache_Upload_Call ¶ added in v1.5.41
StoreAndCache_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'
func (*StoreAndCache_Upload_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_Upload_Call) Return(_a0 string, _a1 error) *StoreAndCache_Upload_Call
func (*StoreAndCache_Upload_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_Upload_Call) Run(run func(values archive.DestructuredKey, content io.Reader)) *StoreAndCache_Upload_Call
func (*StoreAndCache_Upload_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_Upload_Call) RunAndReturn(run func(archive.DestructuredKey, io.Reader) (string, error)) *StoreAndCache_Upload_Call
type StoreAndCache_WalkCacheByPrefix_Call ¶ added in v1.5.41
StoreAndCache_WalkCacheByPrefix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WalkCacheByPrefix'
func (*StoreAndCache_WalkCacheByPrefix_Call) Return ¶ added in v1.5.41
func (_c *StoreAndCache_WalkCacheByPrefix_Call) Return(_a0 error) *StoreAndCache_WalkCacheByPrefix_Call
func (*StoreAndCache_WalkCacheByPrefix_Call) Run ¶ added in v1.5.41
func (_c *StoreAndCache_WalkCacheByPrefix_Call) Run(run func(prefix string, observer func(string))) *StoreAndCache_WalkCacheByPrefix_Call
func (*StoreAndCache_WalkCacheByPrefix_Call) RunAndReturn ¶ added in v1.5.41
func (_c *StoreAndCache_WalkCacheByPrefix_Call) RunAndReturn(run func(string, func(string)) error) *StoreAndCache_WalkCacheByPrefix_Call
type Stream ¶
Stream is an autogenerated mock type for the Stream type
func NewStream ¶
NewStream creates a new instance of Stream. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Stream) EXPECT ¶ added in v1.5.41
func (_m *Stream) EXPECT() *Stream_Expecter
type Stream_Count_Call ¶ added in v1.5.41
Stream_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*Stream_Count_Call) Return ¶ added in v1.5.41
func (_c *Stream_Count_Call) Return(_a0 int64) *Stream_Count_Call
func (*Stream_Count_Call) Run ¶ added in v1.5.41
func (_c *Stream_Count_Call) Run(run func()) *Stream_Count_Call
func (*Stream_Count_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Stream_Count_Call) RunAndReturn(run func() int64) *Stream_Count_Call
type Stream_Error_Call ¶ added in v1.5.41
Stream_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Stream_Error_Call) Return ¶ added in v1.5.41
func (_c *Stream_Error_Call) Return(_a0 error) *Stream_Error_Call
func (*Stream_Error_Call) Run ¶ added in v1.5.41
func (_c *Stream_Error_Call) Run(run func()) *Stream_Error_Call
func (*Stream_Error_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Stream_Error_Call) RunAndReturn(run func() error) *Stream_Error_Call
type Stream_Expecter ¶ added in v1.5.41
type Stream_Expecter struct {
// contains filtered or unexported fields
}
func (*Stream_Expecter) Count ¶ added in v1.5.41
func (_e *Stream_Expecter) Count() *Stream_Count_Call
Count is a helper method to define mock.On call
func (*Stream_Expecter) Error ¶ added in v1.5.41
func (_e *Stream_Expecter) Error() *Stream_Error_Call
Error is a helper method to define mock.On call
func (*Stream_Expecter) HasNext ¶ added in v1.5.41
func (_e *Stream_Expecter) HasNext() *Stream_HasNext_Call
HasNext is a helper method to define mock.On call
func (*Stream_Expecter) Next ¶ added in v1.5.41
func (_e *Stream_Expecter) Next() *Stream_Next_Call
Next is a helper method to define mock.On call
type Stream_HasNext_Call ¶ added in v1.5.41
Stream_HasNext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasNext'
func (*Stream_HasNext_Call) Return ¶ added in v1.5.41
func (_c *Stream_HasNext_Call) Return(_a0 bool) *Stream_HasNext_Call
func (*Stream_HasNext_Call) Run ¶ added in v1.5.41
func (_c *Stream_HasNext_Call) Run(run func()) *Stream_HasNext_Call
func (*Stream_HasNext_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Stream_HasNext_Call) RunAndReturn(run func() bool) *Stream_HasNext_Call
type Stream_Next_Call ¶ added in v1.5.41
Stream_Next_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Next'
func (*Stream_Next_Call) Return ¶ added in v1.5.41
func (_c *Stream_Next_Call) Return(_a0 map[string]types.AttributeValue) *Stream_Next_Call
func (*Stream_Next_Call) Run ¶ added in v1.5.41
func (_c *Stream_Next_Call) Run(run func()) *Stream_Next_Call
func (*Stream_Next_Call) RunAndReturn ¶ added in v1.5.41
func (_c *Stream_Next_Call) RunAndReturn(run func() map[string]types.AttributeValue) *Stream_Next_Call
type SuggestionRecordRepositoryPort ¶
SuggestionRecordRepositoryPort is an autogenerated mock type for the SuggestionRecordRepositoryPort type
func NewSuggestionRecordRepositoryPort ¶
func NewSuggestionRecordRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *SuggestionRecordRepositoryPort
NewSuggestionRecordRepositoryPort creates a new instance of SuggestionRecordRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*SuggestionRecordRepositoryPort) Count ¶
func (_m *SuggestionRecordRepositoryPort) Count() int
Count provides a mock function with given fields:
func (*SuggestionRecordRepositoryPort) EXPECT ¶ added in v1.5.41
func (_m *SuggestionRecordRepositoryPort) EXPECT() *SuggestionRecordRepositoryPort_Expecter
func (*SuggestionRecordRepositoryPort) FindSuggestionRecords ¶
func (_m *SuggestionRecordRepositoryPort) FindSuggestionRecords() []*ui.SuggestionRecord
FindSuggestionRecords provides a mock function with given fields:
func (*SuggestionRecordRepositoryPort) Rejects ¶
func (_m *SuggestionRecordRepositoryPort) Rejects() int
Rejects provides a mock function with given fields:
type SuggestionRecordRepositoryPort_Count_Call ¶ added in v1.5.41
SuggestionRecordRepositoryPort_Count_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Count'
func (*SuggestionRecordRepositoryPort_Count_Call) Return ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Count_Call) Return(_a0 int) *SuggestionRecordRepositoryPort_Count_Call
func (*SuggestionRecordRepositoryPort_Count_Call) Run ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Count_Call) Run(run func()) *SuggestionRecordRepositoryPort_Count_Call
func (*SuggestionRecordRepositoryPort_Count_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Count_Call) RunAndReturn(run func() int) *SuggestionRecordRepositoryPort_Count_Call
type SuggestionRecordRepositoryPort_Expecter ¶ added in v1.5.41
type SuggestionRecordRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*SuggestionRecordRepositoryPort_Expecter) Count ¶ added in v1.5.41
func (_e *SuggestionRecordRepositoryPort_Expecter) Count() *SuggestionRecordRepositoryPort_Count_Call
Count is a helper method to define mock.On call
func (*SuggestionRecordRepositoryPort_Expecter) FindSuggestionRecords ¶ added in v1.5.41
func (_e *SuggestionRecordRepositoryPort_Expecter) FindSuggestionRecords() *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
FindSuggestionRecords is a helper method to define mock.On call
func (*SuggestionRecordRepositoryPort_Expecter) Rejects ¶ added in v1.5.41
func (_e *SuggestionRecordRepositoryPort_Expecter) Rejects() *SuggestionRecordRepositoryPort_Rejects_Call
Rejects is a helper method to define mock.On call
type SuggestionRecordRepositoryPort_FindSuggestionRecords_Call ¶ added in v1.5.41
SuggestionRecordRepositoryPort_FindSuggestionRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSuggestionRecords'
func (*SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Run ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Run(run func()) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
func (*SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) RunAndReturn(run func() []*ui.SuggestionRecord) *SuggestionRecordRepositoryPort_FindSuggestionRecords_Call
type SuggestionRecordRepositoryPort_Rejects_Call ¶ added in v1.5.41
SuggestionRecordRepositoryPort_Rejects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rejects'
func (*SuggestionRecordRepositoryPort_Rejects_Call) Return ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Rejects_Call) Return(_a0 int) *SuggestionRecordRepositoryPort_Rejects_Call
func (*SuggestionRecordRepositoryPort_Rejects_Call) Run ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Rejects_Call) Run(run func()) *SuggestionRecordRepositoryPort_Rejects_Call
func (*SuggestionRecordRepositoryPort_Rejects_Call) RunAndReturn ¶ added in v1.5.41
func (_c *SuggestionRecordRepositoryPort_Rejects_Call) RunAndReturn(run func() int) *SuggestionRecordRepositoryPort_Rejects_Call
type TimelineMutationObserver ¶ added in v1.5.33
TimelineMutationObserver is an autogenerated mock type for the TimelineMutationObserver type
func NewTimelineMutationObserver ¶ added in v1.5.33
func NewTimelineMutationObserver(t interface { mock.TestingT Cleanup(func()) }) *TimelineMutationObserver
NewTimelineMutationObserver creates a new instance of TimelineMutationObserver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TimelineMutationObserver) EXPECT ¶ added in v1.5.41
func (_m *TimelineMutationObserver) EXPECT() *TimelineMutationObserver_Expecter
func (*TimelineMutationObserver) OnTransferredMedias ¶ added in v1.6.4
func (_m *TimelineMutationObserver) OnTransferredMedias(ctx context.Context, transfers catalog.TransferredMedias) error
OnTransferredMedias provides a mock function with given fields: ctx, transfers
type TimelineMutationObserverFunc ¶ added in v1.5.42
TimelineMutationObserverFunc is an autogenerated mock type for the TimelineMutationObserverFunc type
func NewTimelineMutationObserverFunc ¶ added in v1.5.42
func NewTimelineMutationObserverFunc(t interface { mock.TestingT Cleanup(func()) }) *TimelineMutationObserverFunc
NewTimelineMutationObserverFunc creates a new instance of TimelineMutationObserverFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TimelineMutationObserverFunc) EXPECT ¶ added in v1.5.42
func (_m *TimelineMutationObserverFunc) EXPECT() *TimelineMutationObserverFunc_Expecter
func (*TimelineMutationObserverFunc) Execute ¶ added in v1.5.42
func (_m *TimelineMutationObserverFunc) Execute(ctx context.Context, transfers catalog.TransferredMedias) error
Execute provides a mock function with given fields: ctx, transfers
type TimelineMutationObserverFunc_Execute_Call ¶ added in v1.5.42
TimelineMutationObserverFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*TimelineMutationObserverFunc_Execute_Call) Return ¶ added in v1.5.42
func (_c *TimelineMutationObserverFunc_Execute_Call) Return(_a0 error) *TimelineMutationObserverFunc_Execute_Call
func (*TimelineMutationObserverFunc_Execute_Call) Run ¶ added in v1.5.42
func (_c *TimelineMutationObserverFunc_Execute_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserverFunc_Execute_Call
func (*TimelineMutationObserverFunc_Execute_Call) RunAndReturn ¶ added in v1.5.42
func (_c *TimelineMutationObserverFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserverFunc_Execute_Call
type TimelineMutationObserverFunc_Expecter ¶ added in v1.5.42
type TimelineMutationObserverFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*TimelineMutationObserverFunc_Expecter) Execute ¶ added in v1.5.42
func (_e *TimelineMutationObserverFunc_Expecter) Execute(ctx interface{}, transfers interface{}) *TimelineMutationObserverFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- transfers catalog.TransferredMedias
type TimelineMutationObserver_Expecter ¶ added in v1.5.41
type TimelineMutationObserver_Expecter struct {
// contains filtered or unexported fields
}
func (*TimelineMutationObserver_Expecter) OnTransferredMedias ¶ added in v1.6.4
func (_e *TimelineMutationObserver_Expecter) OnTransferredMedias(ctx interface{}, transfers interface{}) *TimelineMutationObserver_OnTransferredMedias_Call
OnTransferredMedias is a helper method to define mock.On call
- ctx context.Context
- transfers catalog.TransferredMedias
type TimelineMutationObserver_OnTransferredMedias_Call ¶ added in v1.6.4
TimelineMutationObserver_OnTransferredMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnTransferredMedias'
func (*TimelineMutationObserver_OnTransferredMedias_Call) Return ¶ added in v1.6.4
func (_c *TimelineMutationObserver_OnTransferredMedias_Call) Return(_a0 error) *TimelineMutationObserver_OnTransferredMedias_Call
func (*TimelineMutationObserver_OnTransferredMedias_Call) Run ¶ added in v1.6.4
func (_c *TimelineMutationObserver_OnTransferredMedias_Call) Run(run func(ctx context.Context, transfers catalog.TransferredMedias)) *TimelineMutationObserver_OnTransferredMedias_Call
func (*TimelineMutationObserver_OnTransferredMedias_Call) RunAndReturn ¶ added in v1.6.4
func (_c *TimelineMutationObserver_OnTransferredMedias_Call) RunAndReturn(run func(context.Context, catalog.TransferredMedias) error) *TimelineMutationObserver_OnTransferredMedias_Call
type TransferMediasFunc ¶ added in v1.5.41
TransferMediasFunc is an autogenerated mock type for the TransferMediasFunc type
func NewTransferMediasFunc ¶ added in v1.5.41
func NewTransferMediasFunc(t interface { mock.TestingT Cleanup(func()) }) *TransferMediasFunc
NewTransferMediasFunc creates a new instance of TransferMediasFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransferMediasFunc) EXPECT ¶ added in v1.5.41
func (_m *TransferMediasFunc) EXPECT() *TransferMediasFunc_Expecter
func (*TransferMediasFunc) Execute ¶ added in v1.5.41
func (_m *TransferMediasFunc) Execute(ctx context.Context, records catalog.MediaTransferRecords) (catalog.TransferredMedias, error)
Execute provides a mock function with given fields: ctx, records
type TransferMediasFunc_Execute_Call ¶ added in v1.5.41
TransferMediasFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*TransferMediasFunc_Execute_Call) Return ¶ added in v1.5.41
func (_c *TransferMediasFunc_Execute_Call) Return(_a0 catalog.TransferredMedias, _a1 error) *TransferMediasFunc_Execute_Call
func (*TransferMediasFunc_Execute_Call) Run ¶ added in v1.5.41
func (_c *TransferMediasFunc_Execute_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasFunc_Execute_Call
func (*TransferMediasFunc_Execute_Call) RunAndReturn ¶ added in v1.5.41
func (_c *TransferMediasFunc_Execute_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) (catalog.TransferredMedias, error)) *TransferMediasFunc_Execute_Call
type TransferMediasFunc_Expecter ¶ added in v1.5.41
type TransferMediasFunc_Expecter struct {
// contains filtered or unexported fields
}
func (*TransferMediasFunc_Expecter) Execute ¶ added in v1.5.41
func (_e *TransferMediasFunc_Expecter) Execute(ctx interface{}, records interface{}) *TransferMediasFunc_Execute_Call
Execute is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
type TransferMediasRepositoryPort ¶ added in v1.5.45
TransferMediasRepositoryPort is an autogenerated mock type for the TransferMediasRepositoryPort type
func NewTransferMediasRepositoryPort ¶ added in v1.5.45
func NewTransferMediasRepositoryPort(t interface { mock.TestingT Cleanup(func()) }) *TransferMediasRepositoryPort
NewTransferMediasRepositoryPort creates a new instance of TransferMediasRepositoryPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*TransferMediasRepositoryPort) EXPECT ¶ added in v1.5.45
func (_m *TransferMediasRepositoryPort) EXPECT() *TransferMediasRepositoryPort_Expecter
func (*TransferMediasRepositoryPort) TransferMediasFromRecords ¶ added in v1.5.45
func (_m *TransferMediasRepositoryPort) TransferMediasFromRecords(ctx context.Context, records catalog.MediaTransferRecords) (catalog.TransferredMedias, error)
TransferMediasFromRecords provides a mock function with given fields: ctx, records
type TransferMediasRepositoryPort_Expecter ¶ added in v1.5.45
type TransferMediasRepositoryPort_Expecter struct {
// contains filtered or unexported fields
}
func (*TransferMediasRepositoryPort_Expecter) TransferMediasFromRecords ¶ added in v1.5.45
func (_e *TransferMediasRepositoryPort_Expecter) TransferMediasFromRecords(ctx interface{}, records interface{}) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
TransferMediasFromRecords is a helper method to define mock.On call
- ctx context.Context
- records catalog.MediaTransferRecords
type TransferMediasRepositoryPort_TransferMediasFromRecords_Call ¶ added in v1.5.45
TransferMediasRepositoryPort_TransferMediasFromRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferMediasFromRecords'
func (*TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Run ¶ added in v1.5.45
func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Run(run func(ctx context.Context, records catalog.MediaTransferRecords)) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
func (*TransferMediasRepositoryPort_TransferMediasFromRecords_Call) RunAndReturn ¶ added in v1.5.45
func (_c *TransferMediasRepositoryPort_TransferMediasFromRecords_Call) RunAndReturn(run func(context.Context, catalog.MediaTransferRecords) (catalog.TransferredMedias, error)) *TransferMediasRepositoryPort_TransferMediasFromRecords_Call
type UpdateAlbumNamePort ¶ added in v1.5.43
UpdateAlbumNamePort is an autogenerated mock type for the UpdateAlbumNamePort type
func NewUpdateAlbumNamePort ¶ added in v1.5.43
func NewUpdateAlbumNamePort(t interface { mock.TestingT Cleanup(func()) }) *UpdateAlbumNamePort
NewUpdateAlbumNamePort creates a new instance of UpdateAlbumNamePort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UpdateAlbumNamePort) EXPECT ¶ added in v1.5.43
func (_m *UpdateAlbumNamePort) EXPECT() *UpdateAlbumNamePort_Expecter
func (*UpdateAlbumNamePort) UpdateAlbumName ¶ added in v1.5.43
func (_m *UpdateAlbumNamePort) UpdateAlbumName(ctx context.Context, albumId catalog.AlbumId, newName string) error
UpdateAlbumName provides a mock function with given fields: ctx, albumId, newName
type UpdateAlbumNamePort_Expecter ¶ added in v1.5.43
type UpdateAlbumNamePort_Expecter struct {
// contains filtered or unexported fields
}
func (*UpdateAlbumNamePort_Expecter) UpdateAlbumName ¶ added in v1.5.43
func (_e *UpdateAlbumNamePort_Expecter) UpdateAlbumName(ctx interface{}, albumId interface{}, newName interface{}) *UpdateAlbumNamePort_UpdateAlbumName_Call
UpdateAlbumName is a helper method to define mock.On call
- ctx context.Context
- albumId catalog.AlbumId
- newName string
type UpdateAlbumNamePort_UpdateAlbumName_Call ¶ added in v1.5.43
UpdateAlbumNamePort_UpdateAlbumName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbumName'
func (*UpdateAlbumNamePort_UpdateAlbumName_Call) Return ¶ added in v1.5.43
func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) Return(_a0 error) *UpdateAlbumNamePort_UpdateAlbumName_Call
func (*UpdateAlbumNamePort_UpdateAlbumName_Call) Run ¶ added in v1.5.43
func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) Run(run func(ctx context.Context, albumId catalog.AlbumId, newName string)) *UpdateAlbumNamePort_UpdateAlbumName_Call
func (*UpdateAlbumNamePort_UpdateAlbumName_Call) RunAndReturn ¶ added in v1.5.43
func (_c *UpdateAlbumNamePort_UpdateAlbumName_Call) RunAndReturn(run func(context.Context, catalog.AlbumId, string) error) *UpdateAlbumNamePort_UpdateAlbumName_Call
type UpdateAlbumPort ¶
UpdateAlbumPort is an autogenerated mock type for the UpdateAlbumPort type
func NewUpdateAlbumPort ¶
func NewUpdateAlbumPort(t interface { mock.TestingT Cleanup(func()) }) *UpdateAlbumPort
NewUpdateAlbumPort creates a new instance of UpdateAlbumPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UpdateAlbumPort) EXPECT ¶ added in v1.5.41
func (_m *UpdateAlbumPort) EXPECT() *UpdateAlbumPort_Expecter
func (*UpdateAlbumPort) UpdateAlbum ¶
UpdateAlbum provides a mock function with given fields: folderName, start, end
type UpdateAlbumPort_Expecter ¶ added in v1.5.41
type UpdateAlbumPort_Expecter struct {
// contains filtered or unexported fields
}
func (*UpdateAlbumPort_Expecter) UpdateAlbum ¶ added in v1.5.41
func (_e *UpdateAlbumPort_Expecter) UpdateAlbum(folderName interface{}, start interface{}, end interface{}) *UpdateAlbumPort_UpdateAlbum_Call
UpdateAlbum is a helper method to define mock.On call
- folderName string
- start time.Time
- end time.Time
type UpdateAlbumPort_UpdateAlbum_Call ¶ added in v1.5.41
UpdateAlbumPort_UpdateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbum'
func (*UpdateAlbumPort_UpdateAlbum_Call) Return ¶ added in v1.5.41
func (_c *UpdateAlbumPort_UpdateAlbum_Call) Return(_a0 error) *UpdateAlbumPort_UpdateAlbum_Call
func (*UpdateAlbumPort_UpdateAlbum_Call) Run ¶ added in v1.5.41
func (_c *UpdateAlbumPort_UpdateAlbum_Call) Run(run func(folderName string, start time.Time, end time.Time)) *UpdateAlbumPort_UpdateAlbum_Call
func (*UpdateAlbumPort_UpdateAlbum_Call) RunAndReturn ¶ added in v1.5.41
func (_c *UpdateAlbumPort_UpdateAlbum_Call) RunAndReturn(run func(string, time.Time, time.Time) error) *UpdateAlbumPort_UpdateAlbum_Call
type UserInputPort ¶
UserInputPort is an autogenerated mock type for the UserInputPort type
func NewUserInputPort ¶
func NewUserInputPort(t interface { mock.TestingT Cleanup(func()) }) *UserInputPort
NewUserInputPort creates a new instance of UserInputPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*UserInputPort) EXPECT ¶ added in v1.5.41
func (_m *UserInputPort) EXPECT() *UserInputPort_Expecter
func (*UserInputPort) StartListening ¶
func (_m *UserInputPort) StartListening()
StartListening provides a mock function with given fields:
type UserInputPort_Expecter ¶ added in v1.5.41
type UserInputPort_Expecter struct {
// contains filtered or unexported fields
}
func (*UserInputPort_Expecter) StartListening ¶ added in v1.5.41
func (_e *UserInputPort_Expecter) StartListening() *UserInputPort_StartListening_Call
StartListening is a helper method to define mock.On call
type UserInputPort_StartListening_Call ¶ added in v1.5.41
UserInputPort_StartListening_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartListening'
func (*UserInputPort_StartListening_Call) Return ¶ added in v1.5.41
func (_c *UserInputPort_StartListening_Call) Return() *UserInputPort_StartListening_Call
func (*UserInputPort_StartListening_Call) Run ¶ added in v1.5.41
func (_c *UserInputPort_StartListening_Call) Run(run func()) *UserInputPort_StartListening_Call
func (*UserInputPort_StartListening_Call) RunAndReturn ¶ added in v1.5.41
func (_c *UserInputPort_StartListening_Call) RunAndReturn(run func()) *UserInputPort_StartListening_Call
type ViewWriteRepository ¶ added in v1.6.4
ViewWriteRepository is an autogenerated mock type for the ViewWriteRepository type
func NewViewWriteRepository ¶ added in v1.6.4
func NewViewWriteRepository(t interface { mock.TestingT Cleanup(func()) }) *ViewWriteRepository
NewViewWriteRepository creates a new instance of ViewWriteRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*ViewWriteRepository) DeleteAlbumSize ¶ added in v1.6.4
func (_m *ViewWriteRepository) DeleteAlbumSize(ctx context.Context, availability catalogviews.Availability, albumId catalog.AlbumId) error
DeleteAlbumSize provides a mock function with given fields: ctx, availability, albumId
func (*ViewWriteRepository) EXPECT ¶ added in v1.6.4
func (_m *ViewWriteRepository) EXPECT() *ViewWriteRepository_Expecter
func (*ViewWriteRepository) InsertAlbumSize ¶ added in v1.6.4
func (_m *ViewWriteRepository) InsertAlbumSize(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize) error
InsertAlbumSize provides a mock function with given fields: ctx, albumSize
func (*ViewWriteRepository) UpdateAlbumSize ¶ added in v1.6.4
func (_m *ViewWriteRepository) UpdateAlbumSize(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff) error
UpdateAlbumSize provides a mock function with given fields: ctx, albumCountUpdates
type ViewWriteRepository_DeleteAlbumSize_Call ¶ added in v1.6.4
ViewWriteRepository_DeleteAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteAlbumSize'
func (*ViewWriteRepository_DeleteAlbumSize_Call) Return ¶ added in v1.6.4
func (_c *ViewWriteRepository_DeleteAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_DeleteAlbumSize_Call
func (*ViewWriteRepository_DeleteAlbumSize_Call) Run ¶ added in v1.6.4
func (_c *ViewWriteRepository_DeleteAlbumSize_Call) Run(run func(ctx context.Context, availability catalogviews.Availability, albumId catalog.AlbumId)) *ViewWriteRepository_DeleteAlbumSize_Call
func (*ViewWriteRepository_DeleteAlbumSize_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ViewWriteRepository_DeleteAlbumSize_Call) RunAndReturn(run func(context.Context, catalogviews.Availability, catalog.AlbumId) error) *ViewWriteRepository_DeleteAlbumSize_Call
type ViewWriteRepository_Expecter ¶ added in v1.6.4
type ViewWriteRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*ViewWriteRepository_Expecter) DeleteAlbumSize ¶ added in v1.6.4
func (_e *ViewWriteRepository_Expecter) DeleteAlbumSize(ctx interface{}, availability interface{}, albumId interface{}) *ViewWriteRepository_DeleteAlbumSize_Call
DeleteAlbumSize is a helper method to define mock.On call
- ctx context.Context
- availability catalogviews.Availability
- albumId catalog.AlbumId
func (*ViewWriteRepository_Expecter) InsertAlbumSize ¶ added in v1.6.4
func (_e *ViewWriteRepository_Expecter) InsertAlbumSize(ctx interface{}, albumSize interface{}) *ViewWriteRepository_InsertAlbumSize_Call
InsertAlbumSize is a helper method to define mock.On call
- ctx context.Context
- albumSize []catalogviews.MultiUserAlbumSize
func (*ViewWriteRepository_Expecter) UpdateAlbumSize ¶ added in v1.6.4
func (_e *ViewWriteRepository_Expecter) UpdateAlbumSize(ctx interface{}, albumCountUpdates interface{}) *ViewWriteRepository_UpdateAlbumSize_Call
UpdateAlbumSize is a helper method to define mock.On call
- ctx context.Context
- albumCountUpdates []catalogviews.AlbumSizeDiff
type ViewWriteRepository_InsertAlbumSize_Call ¶ added in v1.6.4
ViewWriteRepository_InsertAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertAlbumSize'
func (*ViewWriteRepository_InsertAlbumSize_Call) Return ¶ added in v1.6.4
func (_c *ViewWriteRepository_InsertAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_InsertAlbumSize_Call
func (*ViewWriteRepository_InsertAlbumSize_Call) Run ¶ added in v1.6.4
func (_c *ViewWriteRepository_InsertAlbumSize_Call) Run(run func(ctx context.Context, albumSize []catalogviews.MultiUserAlbumSize)) *ViewWriteRepository_InsertAlbumSize_Call
func (*ViewWriteRepository_InsertAlbumSize_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ViewWriteRepository_InsertAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.MultiUserAlbumSize) error) *ViewWriteRepository_InsertAlbumSize_Call
type ViewWriteRepository_UpdateAlbumSize_Call ¶ added in v1.6.4
ViewWriteRepository_UpdateAlbumSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAlbumSize'
func (*ViewWriteRepository_UpdateAlbumSize_Call) Return ¶ added in v1.6.4
func (_c *ViewWriteRepository_UpdateAlbumSize_Call) Return(_a0 error) *ViewWriteRepository_UpdateAlbumSize_Call
func (*ViewWriteRepository_UpdateAlbumSize_Call) Run ¶ added in v1.6.4
func (_c *ViewWriteRepository_UpdateAlbumSize_Call) Run(run func(ctx context.Context, albumCountUpdates []catalogviews.AlbumSizeDiff)) *ViewWriteRepository_UpdateAlbumSize_Call
func (*ViewWriteRepository_UpdateAlbumSize_Call) RunAndReturn ¶ added in v1.6.4
func (_c *ViewWriteRepository_UpdateAlbumSize_Call) RunAndReturn(run func(context.Context, []catalogviews.AlbumSizeDiff) error) *ViewWriteRepository_UpdateAlbumSize_Call
Source Files
¶
- ARepositoryAdapter.go
- AWSAdapterNames.go
- AWSFactory.go
- AlbumDatesAmendedObserver.go
- AlbumDatesAmendedObserverFunc.go
- AlbumDatesAmendedObserverWithTimeline.go
- AlbumLookupStrategy.go
- AlbumSharedObserver.go
- AlbumUnSharedObserver.go
- AmendAlbumDateRepositoryPort.go
- AmendAlbumDatesWithTimeline.go
- ArchiveFactory.go
- AsyncJobAdapter.go
- BackupSuggestionPort.go
- CacheAdapter.go
- CatalogInsertMedia.go
- CatalogQueriesPort.go
- CertificateAuthority.go
- CertificateManager.go
- Config.go
- CountMediasBySelectorsFunc.go
- CountMediasBySelectorsPort.go
- CreateAlbumObserver.go
- CreateAlbumObserverFunc.go
- CreateAlbumObserverWithTimeline.go
- CreateAlbumPort.go
- CreateAlbumWithTimeline.go
- DeleteAlbumObserver.go
- DeleteAlbumPort.go
- DeleteAlbumRepositoryFunc.go
- DeleteAlbumRepositoryPort.go
- DeleteAlbumSizePort.go
- DriftObserver.go
- DriftSynchronizerPort.go
- DynamoBatchGetItem.go
- DynamoBatchWriteItem.go
- DynamoQuery.go
- ExistingRecordRepositoryPort.go
- Factory.go
- FindAlbumByIdFunc.go
- FindAlbumByIdPort.go
- FindAlbumByOwnerFunc.go
- FindAlbumByOwnerPort.go
- FindAlbumPort.go
- FindAlbumsByIdsFunc.go
- FindAlbumsByIdsPort.go
- FindAlbumsByOwnerFunc.go
- FindAlbumsByOwnerPort.go
- FindExistingSignaturePort.go
- GetAlbumSharingGridFunc.go
- GetAlbumSharingGridPort.go
- GetAvailabilitiesByUserPort.go
- GetCurrentAlbumSizesPort.go
- GetStreamAdapter.go
- GrantRepository.go
- HasPermissionPort.go
- IAccessTokenGenerator.go
- IRefreshTokenGenerator.go
- IdentityDetailsStore.go
- IdentityQueriesIdentityRepository.go
- IdentityQueriesScopeRepository.go
- IdentityRepository.go
- InsertAlbumPort.go
- InsertAlbumPortFunc.go
- InsertAlbumSizePort.go
- InsertMediaSimulator.go
- InsertMediasObserver.go
- InsertMediasRepositoryPort.go
- InteractiveActionsPort.go
- InteractiveRendererPort.go
- ListAlbumsProvider.go
- ListAlbumsProviderFunc.go
- ListUserWhoCanAccessAlbumPort.go
- Listener.go
- MediaCounterFunc.go
- MediaCounterPort.go
- MediaReadRepository.go
- MediaTransfer.go
- MediaTransferFunc.go
- MultiFilesBackup.go
- MultiFilesScanner.go
- PrintReadTerminalPort.go
- ProviderFactory.go
- ProviderFactoryFunc.go
- RefreshTokenRepository.go
- RenameAlbumObserver.go
- RenameAlbumPort.go
- RepositoryAdapter.go
- ResizerAdapter.go
- ReverseScopesReader.go
- RevokeAccessTokenAdapter.go
- ScanStreamExecutor.go
- ScopeReadRepository.go
- ScopeReadRepositoryPort.go
- ScopeWriter.go
- ScopesReader.go
- SecretAccessKeyDecoder.go
- SharedWithUserFunc.go
- SharedWithUserPort.go
- StatefulAlbumReferencer.go
- StoreAdapter.go
- StoreAndCache.go
- Stream.go
- SuggestionRecordRepositoryPort.go
- TimelineMutationObserver.go
- TimelineMutationObserverFunc.go
- TransferMediasFunc.go
- TransferMediasRepositoryPort.go
- UpdateAlbumNamePort.go
- UpdateAlbumPort.go
- UserInputPort.go
- ViewWriteRepository.go