mocks

package
v1.6.26 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2024 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLViewCatalogAdapter

type ACLViewCatalogAdapter struct {
	mock.Mock
}

ACLViewCatalogAdapter is an autogenerated mock type for the ACLViewCatalogAdapter type

func NewACLViewCatalogAdapter

func NewACLViewCatalogAdapter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ACLViewCatalogAdapter

NewACLViewCatalogAdapter creates a new instance of ACLViewCatalogAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ACLViewCatalogAdapter) EXPECT added in v1.5.41

func (*ACLViewCatalogAdapter) FindAlbums

func (_m *ACLViewCatalogAdapter) FindAlbums(keys []catalog.AlbumId) ([]*catalog.Album, error)

FindAlbums provides a mock function with given fields: keys

func (*ACLViewCatalogAdapter) FindAllAlbums

func (_m *ACLViewCatalogAdapter) FindAllAlbums(owner ownermodel.Owner) ([]*catalog.Album, error)

FindAllAlbums provides a mock function with given fields: owner

func (*ACLViewCatalogAdapter) ListMedias

func (_m *ACLViewCatalogAdapter) ListMedias(albumId catalog.AlbumId, request catalog.PageRequest) (*catalog.MediaPage, error)

ListMedias provides a mock function with given fields: albumId, request

type ACLViewCatalogAdapter_Expecter added in v1.5.41

type ACLViewCatalogAdapter_Expecter struct {
	// contains filtered or unexported fields
}

func (*ACLViewCatalogAdapter_Expecter) FindAlbums added in v1.5.41

FindAlbums is a helper method to define mock.On call

  • keys []catalog.AlbumId

func (*ACLViewCatalogAdapter_Expecter) FindAllAlbums added in v1.5.41

func (_e *ACLViewCatalogAdapter_Expecter) FindAllAlbums(owner interface{}) *ACLViewCatalogAdapter_FindAllAlbums_Call

FindAllAlbums is a helper method to define mock.On call

  • owner ownermodel.Owner

func (*ACLViewCatalogAdapter_Expecter) ListMedias added in v1.5.41

func (_e *ACLViewCatalogAdapter_Expecter) ListMedias(albumId interface{}, request interface{}) *ACLViewCatalogAdapter_ListMedias_Call

ListMedias is a helper method to define mock.On call

  • albumId catalog.AlbumId
  • request catalog.PageRequest

type ACLViewCatalogAdapter_FindAlbums_Call added in v1.5.41

type ACLViewCatalogAdapter_FindAlbums_Call struct {
	*mock.Call
}

ACLViewCatalogAdapter_FindAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbums'

func (*ACLViewCatalogAdapter_FindAlbums_Call) Return added in v1.5.41

func (*ACLViewCatalogAdapter_FindAlbums_Call) Run added in v1.5.41

func (*ACLViewCatalogAdapter_FindAlbums_Call) RunAndReturn added in v1.5.41

type ACLViewCatalogAdapter_FindAllAlbums_Call added in v1.5.41

type ACLViewCatalogAdapter_FindAllAlbums_Call struct {
	*mock.Call
}

ACLViewCatalogAdapter_FindAllAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAllAlbums'

func (*ACLViewCatalogAdapter_FindAllAlbums_Call) Return added in v1.5.41

func (*ACLViewCatalogAdapter_FindAllAlbums_Call) Run added in v1.5.41

func (*ACLViewCatalogAdapter_FindAllAlbums_Call) RunAndReturn added in v1.5.41

type ACLViewCatalogAdapter_ListMedias_Call added in v1.5.41

type ACLViewCatalogAdapter_ListMedias_Call struct {
	*mock.Call
}

ACLViewCatalogAdapter_ListMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMedias'

func (*ACLViewCatalogAdapter_ListMedias_Call) Return added in v1.5.41

func (*ACLViewCatalogAdapter_ListMedias_Call) Run added in v1.5.41

func (*ACLViewCatalogAdapter_ListMedias_Call) RunAndReturn added in v1.5.41

type ARepositoryAdapter

type ARepositoryAdapter struct {
	mock.Mock
}

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 (*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

func (_m *ARepositoryAdapter) FindByIds(owner string, ids []string) (map[string]string, error)

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

type ARepositoryAdapter_AddLocation_Call struct {
	*mock.Call
}

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 (*ARepositoryAdapter_AddLocation_Call) Run added in v1.5.41

func (*ARepositoryAdapter_AddLocation_Call) RunAndReturn added in v1.5.41

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

type ARepositoryAdapter_FindById_Call struct {
	*mock.Call
}

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 (*ARepositoryAdapter_FindById_Call) Run added in v1.5.41

func (*ARepositoryAdapter_FindById_Call) RunAndReturn added in v1.5.41

type ARepositoryAdapter_FindByIds_Call added in v1.5.41

type ARepositoryAdapter_FindByIds_Call struct {
	*mock.Call
}

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 (*ARepositoryAdapter_FindByIds_Call) Run added in v1.5.41

func (*ARepositoryAdapter_FindByIds_Call) RunAndReturn added in v1.5.41

type ARepositoryAdapter_FindIdsFromKeyPrefix_Call added in v1.5.41

type ARepositoryAdapter_FindIdsFromKeyPrefix_Call struct {
	*mock.Call
}

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 (*ARepositoryAdapter_FindIdsFromKeyPrefix_Call) Run added in v1.5.41

func (*ARepositoryAdapter_FindIdsFromKeyPrefix_Call) RunAndReturn added in v1.5.41

type ARepositoryAdapter_UpdateLocations_Call added in v1.5.41

type ARepositoryAdapter_UpdateLocations_Call struct {
	*mock.Call
}

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 (*ARepositoryAdapter_UpdateLocations_Call) Run added in v1.5.41

func (*ARepositoryAdapter_UpdateLocations_Call) RunAndReturn added in v1.5.41

type AWSAdapterNames added in v1.5.39

type AWSAdapterNames struct {
	mock.Mock
}

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

type AWSAdapterNames_ArchiveCacheBucketName_Call added in v1.5.41

type AWSAdapterNames_ArchiveCacheBucketName_Call struct {
	*mock.Call
}

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 (*AWSAdapterNames_ArchiveCacheBucketName_Call) Run added in v1.5.41

func (*AWSAdapterNames_ArchiveCacheBucketName_Call) RunAndReturn added in v1.5.41

type AWSAdapterNames_ArchiveJobsSNSARN_Call added in v1.5.41

type AWSAdapterNames_ArchiveJobsSNSARN_Call struct {
	*mock.Call
}

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 (*AWSAdapterNames_ArchiveJobsSNSARN_Call) Run added in v1.5.41

func (*AWSAdapterNames_ArchiveJobsSNSARN_Call) RunAndReturn added in v1.5.41

type AWSAdapterNames_ArchiveJobsSQSURL_Call added in v1.5.41

type AWSAdapterNames_ArchiveJobsSQSURL_Call struct {
	*mock.Call
}

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 (*AWSAdapterNames_ArchiveJobsSQSURL_Call) Run added in v1.5.41

func (*AWSAdapterNames_ArchiveJobsSQSURL_Call) RunAndReturn added in v1.5.41

type AWSAdapterNames_ArchiveMainBucketName_Call added in v1.5.41

type AWSAdapterNames_ArchiveMainBucketName_Call struct {
	*mock.Call
}

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 (*AWSAdapterNames_ArchiveMainBucketName_Call) Run added in v1.5.41

func (*AWSAdapterNames_ArchiveMainBucketName_Call) RunAndReturn added in v1.5.41

type AWSAdapterNames_DynamoDBName_Call added in v1.5.41

type AWSAdapterNames_DynamoDBName_Call struct {
	*mock.Call
}

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 (*AWSAdapterNames_DynamoDBName_Call) Run added in v1.5.41

func (*AWSAdapterNames_DynamoDBName_Call) RunAndReturn added in v1.5.41

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

ArchiveCacheBucketName is a helper method to define mock.On call

func (*AWSAdapterNames_Expecter) ArchiveJobsSNSARN added in v1.5.41

ArchiveJobsSNSARN is a helper method to define mock.On call

func (*AWSAdapterNames_Expecter) ArchiveJobsSQSURL added in v1.5.41

ArchiveJobsSQSURL is a helper method to define mock.On call

func (*AWSAdapterNames_Expecter) ArchiveMainBucketName added in v1.5.41

ArchiveMainBucketName is a helper method to define mock.On call

func (*AWSAdapterNames_Expecter) DynamoDBName added in v1.5.41

DynamoDBName is a helper method to define mock.On call

type AlbumDatesAmendedObserver added in v1.6.4

type AlbumDatesAmendedObserver struct {
	mock.Mock
}

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 (*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

type AlbumDatesAmendedObserverFunc struct {
	mock.Mock
}

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 (*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

type AlbumDatesAmendedObserverFunc_Execute_Call struct {
	*mock.Call
}

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 (*AlbumDatesAmendedObserverFunc_Execute_Call) Run added in v1.6.4

func (*AlbumDatesAmendedObserverFunc_Execute_Call) RunAndReturn added in v1.6.4

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

type AlbumDatesAmendedObserverWithTimeline struct {
	mock.Mock
}

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 (*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 (*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

type AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call struct {
	*mock.Call
}

AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAlbumDatesAmended'

func (*AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Return added in v1.6.4

func (*AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) Run added in v1.6.4

func (*AlbumDatesAmendedObserver_OnAlbumDatesAmended_Call) RunAndReturn added in v1.6.4

type AlbumLookupPort added in v1.5.54

type AlbumLookupPort struct {
	mock.Mock
}

AlbumLookupPort is an autogenerated mock type for the AlbumLookupPort type

func NewAlbumLookupPort added in v1.5.54

func NewAlbumLookupPort(t interface {
	mock.TestingT
	Cleanup(func())
}) *AlbumLookupPort

NewAlbumLookupPort creates a new instance of AlbumLookupPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AlbumLookupPort) EXPECT added in v1.5.54

func (*AlbumLookupPort) FindOrCreateAlbum added in v1.5.54

func (_m *AlbumLookupPort) FindOrCreateAlbum(owner ownermodel.Owner, mediaTime time.Time) (string, bool, error)

FindOrCreateAlbum provides a mock function with given fields: owner, mediaTime

type AlbumLookupPort_Expecter added in v1.5.54

type AlbumLookupPort_Expecter struct {
	// contains filtered or unexported fields
}

func (*AlbumLookupPort_Expecter) FindOrCreateAlbum added in v1.5.54

func (_e *AlbumLookupPort_Expecter) FindOrCreateAlbum(owner interface{}, mediaTime interface{}) *AlbumLookupPort_FindOrCreateAlbum_Call

FindOrCreateAlbum is a helper method to define mock.On call

  • owner ownermodel.Owner
  • mediaTime time.Time

type AlbumLookupPort_FindOrCreateAlbum_Call added in v1.5.54

type AlbumLookupPort_FindOrCreateAlbum_Call struct {
	*mock.Call
}

AlbumLookupPort_FindOrCreateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOrCreateAlbum'

func (*AlbumLookupPort_FindOrCreateAlbum_Call) Return added in v1.5.54

func (*AlbumLookupPort_FindOrCreateAlbum_Call) Run added in v1.5.54

func (*AlbumLookupPort_FindOrCreateAlbum_Call) RunAndReturn added in v1.5.54

type AlbumLookupStrategy added in v1.6.4

type AlbumLookupStrategy struct {
	mock.Mock
}

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 (*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

type AlbumLookupStrategy_LookupAlbum_Call struct {
	*mock.Call
}

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 (*AlbumLookupStrategy_LookupAlbum_Call) Run added in v1.6.4

func (*AlbumLookupStrategy_LookupAlbum_Call) RunAndReturn added in v1.6.4

type AlbumSharedObserver added in v1.6.4

type AlbumSharedObserver struct {
	mock.Mock
}

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

type AlbumSharedObserver_AlbumShared_Call added in v1.6.4

type AlbumSharedObserver_AlbumShared_Call struct {
	*mock.Call
}

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 (*AlbumSharedObserver_AlbumShared_Call) Run added in v1.6.4

func (*AlbumSharedObserver_AlbumShared_Call) RunAndReturn added in v1.6.4

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 {
	mock.Mock
}

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

type AlbumUnSharedObserver_AlbumUnShared_Call added in v1.6.4

type AlbumUnSharedObserver_AlbumUnShared_Call struct {
	*mock.Call
}

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 (*AlbumUnSharedObserver_AlbumUnShared_Call) Run added in v1.6.4

func (*AlbumUnSharedObserver_AlbumUnShared_Call) RunAndReturn added in v1.6.4

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

type AmendAlbumDateRepositoryPort struct {
	mock.Mock
}

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

type AmendAlbumDateRepositoryPort_AmendDates_Call added in v1.5.45

type AmendAlbumDateRepositoryPort_AmendDates_Call struct {
	*mock.Call
}

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 (*AmendAlbumDateRepositoryPort_AmendDates_Call) Run added in v1.5.45

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

type AmendAlbumDatesWithTimeline struct {
	mock.Mock
}

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

type AmendAlbumDatesWithTimeline_AmendAlbumDates_Call added in v1.6.4

type AmendAlbumDatesWithTimeline_AmendAlbumDates_Call struct {
	*mock.Call
}

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 (*AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) Run added in v1.6.4

func (*AmendAlbumDatesWithTimeline_AmendAlbumDates_Call) RunAndReturn added in v1.6.4

type AmendAlbumDatesWithTimeline_Expecter added in v1.6.4

type AmendAlbumDatesWithTimeline_Expecter struct {
	// contains filtered or unexported fields
}

func (*AmendAlbumDatesWithTimeline_Expecter) AmendAlbumDates added in v1.6.4

func (_e *AmendAlbumDatesWithTimeline_Expecter) AmendAlbumDates(ctx interface{}, timeline interface{}, albumId interface{}, start interface{}, end interface{}) *AmendAlbumDatesWithTimeline_AmendAlbumDates_Call

AmendAlbumDates is a helper method to define mock.On call

  • ctx context.Context
  • timeline *catalog.TimelineAggregate
  • albumId catalog.AlbumId
  • start time.Time
  • end time.Time

type AnalyserDecorator added in v1.5.0

type AnalyserDecorator struct {
	mock.Mock
}

AnalyserDecorator is an autogenerated mock type for the AnalyserDecorator type

func NewAnalyserDecorator added in v1.5.0

func NewAnalyserDecorator(t interface {
	mock.TestingT
	Cleanup(func())
}) *AnalyserDecorator

NewAnalyserDecorator creates a new instance of AnalyserDecorator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AnalyserDecorator) Decorate added in v1.5.0

func (_m *AnalyserDecorator) Decorate(analyseFunc backup.Analyser) backup.Analyser

Decorate provides a mock function with given fields: analyseFunc

func (*AnalyserDecorator) EXPECT added in v1.5.41

type AnalyserDecorator_Decorate_Call added in v1.5.41

type AnalyserDecorator_Decorate_Call struct {
	*mock.Call
}

AnalyserDecorator_Decorate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Decorate'

func (*AnalyserDecorator_Decorate_Call) Return added in v1.5.41

func (*AnalyserDecorator_Decorate_Call) Run added in v1.5.41

func (*AnalyserDecorator_Decorate_Call) RunAndReturn added in v1.5.41

type AnalyserDecorator_Expecter added in v1.5.41

type AnalyserDecorator_Expecter struct {
	// contains filtered or unexported fields
}

func (*AnalyserDecorator_Expecter) Decorate added in v1.5.41

func (_e *AnalyserDecorator_Expecter) Decorate(analyseFunc interface{}) *AnalyserDecorator_Decorate_Call

Decorate is a helper method to define mock.On call

  • analyseFunc backup.Analyser

type AsyncJobAdapter

type AsyncJobAdapter struct {
	mock.Mock
}

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 (*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

type AsyncJobAdapter_LoadImagesInCache_Call struct {
	*mock.Call
}

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 (*AsyncJobAdapter_LoadImagesInCache_Call) Run added in v1.5.41

func (*AsyncJobAdapter_LoadImagesInCache_Call) RunAndReturn added in v1.5.41

type AsyncJobAdapter_WarmUpCacheByFolder_Call added in v1.5.41

type AsyncJobAdapter_WarmUpCacheByFolder_Call struct {
	*mock.Call
}

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 (*AsyncJobAdapter_WarmUpCacheByFolder_Call) Run added in v1.5.41

func (*AsyncJobAdapter_WarmUpCacheByFolder_Call) RunAndReturn added in v1.5.41

type BArchiveAdapter

type BArchiveAdapter struct {
	mock.Mock
}

BArchiveAdapter is an autogenerated mock type for the BArchiveAdapter type

func NewBArchiveAdapter

func NewBArchiveAdapter(t interface {
	mock.TestingT
	Cleanup(func())
}) *BArchiveAdapter

NewBArchiveAdapter creates a new instance of BArchiveAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*BArchiveAdapter) ArchiveMedia

func (_m *BArchiveAdapter) ArchiveMedia(owner string, media *backup.BackingUpMediaRequest) (string, error)

ArchiveMedia provides a mock function with given fields: owner, media

func (*BArchiveAdapter) EXPECT added in v1.5.41

type BArchiveAdapter_ArchiveMedia_Call added in v1.5.41

type BArchiveAdapter_ArchiveMedia_Call struct {
	*mock.Call
}

BArchiveAdapter_ArchiveMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArchiveMedia'

func (*BArchiveAdapter_ArchiveMedia_Call) Return added in v1.5.41

func (*BArchiveAdapter_ArchiveMedia_Call) Run added in v1.5.41

func (*BArchiveAdapter_ArchiveMedia_Call) RunAndReturn added in v1.5.41

type BArchiveAdapter_Expecter added in v1.5.41

type BArchiveAdapter_Expecter struct {
	// contains filtered or unexported fields
}

func (*BArchiveAdapter_Expecter) ArchiveMedia added in v1.5.41

func (_e *BArchiveAdapter_Expecter) ArchiveMedia(owner interface{}, media interface{}) *BArchiveAdapter_ArchiveMedia_Call

ArchiveMedia is a helper method to define mock.On call

  • owner string
  • media *backup.BackingUpMediaRequest

type BackupSuggestionPort

type BackupSuggestionPort struct {
	mock.Mock
}

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

type BackupSuggestionPort_BackupSuggestion_Call added in v1.5.41

type BackupSuggestionPort_BackupSuggestion_Call struct {
	*mock.Call
}

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 (*BackupSuggestionPort_BackupSuggestion_Call) Run added in v1.5.41

func (*BackupSuggestionPort_BackupSuggestion_Call) RunAndReturn added in v1.5.41

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

type CacheAdapter struct {
	mock.Mock
}

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) Put

func (_m *CacheAdapter) Put(key string, mediaType string, content io.Reader) error

Put provides a mock function with given fields: key, mediaType, content

func (*CacheAdapter) SignedURL

func (_m *CacheAdapter) SignedURL(key string, duration time.Duration) (string, error)

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

type CacheAdapter_Get_Call struct {
	*mock.Call
}

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

type CacheAdapter_Put_Call struct {
	*mock.Call
}

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 (*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

type CacheAdapter_SignedURL_Call struct {
	*mock.Call
}

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 (*CacheAdapter_SignedURL_Call) Run added in v1.5.41

func (*CacheAdapter_SignedURL_Call) RunAndReturn added in v1.5.41

type CacheAdapter_WalkCacheByPrefix_Call added in v1.5.41

type CacheAdapter_WalkCacheByPrefix_Call struct {
	*mock.Call
}

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 (*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

type CatalogAdapter

type CatalogAdapter struct {
	mock.Mock
}

CatalogAdapter is an autogenerated mock type for the CatalogAdapter type

func NewCatalogAdapter

func NewCatalogAdapter(t interface {
	mock.TestingT
	Cleanup(func())
}) *CatalogAdapter

NewCatalogAdapter creates a new instance of CatalogAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CatalogAdapter) EXPECT added in v1.5.41

func (*CatalogAdapter) IndexMedias

func (_m *CatalogAdapter) IndexMedias(owner string, requests []*backup.CatalogMediaRequest) error

IndexMedias provides a mock function with given fields: owner, requests

type CatalogAdapter_Expecter added in v1.5.41

type CatalogAdapter_Expecter struct {
	// contains filtered or unexported fields
}

func (*CatalogAdapter_Expecter) IndexMedias added in v1.5.41

func (_e *CatalogAdapter_Expecter) IndexMedias(owner interface{}, requests interface{}) *CatalogAdapter_IndexMedias_Call

IndexMedias is a helper method to define mock.On call

  • owner string
  • requests []*backup.CatalogMediaRequest

type CatalogAdapter_IndexMedias_Call added in v1.5.41

type CatalogAdapter_IndexMedias_Call struct {
	*mock.Call
}

CatalogAdapter_IndexMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexMedias'

func (*CatalogAdapter_IndexMedias_Call) Return added in v1.5.41

func (*CatalogAdapter_IndexMedias_Call) Run added in v1.5.41

func (*CatalogAdapter_IndexMedias_Call) RunAndReturn added in v1.5.41

type CatalogInsertMedia added in v1.6.4

type CatalogInsertMedia struct {
	mock.Mock
}

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 (*CatalogInsertMedia) Insert added in v1.6.4

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

type CatalogInsertMedia_Insert_Call struct {
	*mock.Call
}

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 (*CatalogInsertMedia_Insert_Call) Run added in v1.6.4

func (*CatalogInsertMedia_Insert_Call) RunAndReturn added in v1.6.4

type CatalogReference added in v1.5.54

type CatalogReference struct {
	mock.Mock
}

CatalogReference is an autogenerated mock type for the CatalogReference type

func NewCatalogReference added in v1.5.54

func NewCatalogReference(t interface {
	mock.TestingT
	Cleanup(func())
}) *CatalogReference

NewCatalogReference creates a new instance of CatalogReference. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CatalogReference) AlbumCreated added in v1.5.54

func (_m *CatalogReference) AlbumCreated() bool

AlbumCreated provides a mock function with given fields:

func (*CatalogReference) AlbumFolderName added in v1.5.54

func (_m *CatalogReference) AlbumFolderName() string

AlbumFolderName provides a mock function with given fields:

func (*CatalogReference) EXPECT added in v1.5.54

func (*CatalogReference) Exists added in v1.5.54

func (_m *CatalogReference) Exists() bool

Exists provides a mock function with given fields:

func (*CatalogReference) MediaId added in v1.5.54

func (_m *CatalogReference) MediaId() string

MediaId provides a mock function with given fields:

func (*CatalogReference) UniqueIdentifier added in v1.5.57

func (_m *CatalogReference) UniqueIdentifier() string

UniqueIdentifier provides a mock function with given fields:

type CatalogReference_AlbumCreated_Call added in v1.5.54

type CatalogReference_AlbumCreated_Call struct {
	*mock.Call
}

CatalogReference_AlbumCreated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlbumCreated'

func (*CatalogReference_AlbumCreated_Call) Return added in v1.5.54

func (*CatalogReference_AlbumCreated_Call) Run added in v1.5.54

func (*CatalogReference_AlbumCreated_Call) RunAndReturn added in v1.5.54

type CatalogReference_AlbumFolderName_Call added in v1.5.54

type CatalogReference_AlbumFolderName_Call struct {
	*mock.Call
}

CatalogReference_AlbumFolderName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AlbumFolderName'

func (*CatalogReference_AlbumFolderName_Call) Return added in v1.5.54

func (*CatalogReference_AlbumFolderName_Call) Run added in v1.5.54

func (*CatalogReference_AlbumFolderName_Call) RunAndReturn added in v1.5.54

type CatalogReference_Exists_Call added in v1.5.54

type CatalogReference_Exists_Call struct {
	*mock.Call
}

CatalogReference_Exists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exists'

func (*CatalogReference_Exists_Call) Return added in v1.5.54

func (*CatalogReference_Exists_Call) Run added in v1.5.54

func (*CatalogReference_Exists_Call) RunAndReturn added in v1.5.54

func (_c *CatalogReference_Exists_Call) RunAndReturn(run func() bool) *CatalogReference_Exists_Call

type CatalogReference_Expecter added in v1.5.54

type CatalogReference_Expecter struct {
	// contains filtered or unexported fields
}

func (*CatalogReference_Expecter) AlbumCreated added in v1.5.54

AlbumCreated is a helper method to define mock.On call

func (*CatalogReference_Expecter) AlbumFolderName added in v1.5.54

AlbumFolderName is a helper method to define mock.On call

func (*CatalogReference_Expecter) Exists added in v1.5.54

Exists is a helper method to define mock.On call

func (*CatalogReference_Expecter) MediaId added in v1.5.54

MediaId is a helper method to define mock.On call

func (*CatalogReference_Expecter) UniqueIdentifier added in v1.6.4

UniqueIdentifier is a helper method to define mock.On call

type CatalogReference_MediaId_Call added in v1.5.54

type CatalogReference_MediaId_Call struct {
	*mock.Call
}

CatalogReference_MediaId_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MediaId'

func (*CatalogReference_MediaId_Call) Return added in v1.5.54

func (*CatalogReference_MediaId_Call) Run added in v1.5.54

func (*CatalogReference_MediaId_Call) RunAndReturn added in v1.5.54

type CatalogReference_UniqueIdentifier_Call added in v1.6.4

type CatalogReference_UniqueIdentifier_Call struct {
	*mock.Call
}

CatalogReference_UniqueIdentifier_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UniqueIdentifier'

func (*CatalogReference_UniqueIdentifier_Call) Return added in v1.6.4

func (*CatalogReference_UniqueIdentifier_Call) Run added in v1.6.4

func (*CatalogReference_UniqueIdentifier_Call) RunAndReturn added in v1.6.4

type CatalogReferencer added in v1.5.54

type CatalogReferencer struct {
	mock.Mock
}

CatalogReferencer is an autogenerated mock type for the CatalogReferencer type

func NewCatalogReferencer added in v1.5.54

func NewCatalogReferencer(t interface {
	mock.TestingT
	Cleanup(func())
}) *CatalogReferencer

NewCatalogReferencer creates a new instance of CatalogReferencer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CatalogReferencer) EXPECT added in v1.5.54

func (*CatalogReferencer) Reference added in v1.5.54

Reference provides a mock function with given fields: ctx, medias

type CatalogReferencer_Expecter added in v1.5.54

type CatalogReferencer_Expecter struct {
	// contains filtered or unexported fields
}

func (*CatalogReferencer_Expecter) Reference added in v1.5.54

func (_e *CatalogReferencer_Expecter) Reference(ctx interface{}, medias interface{}) *CatalogReferencer_Reference_Call

Reference is a helper method to define mock.On call

  • ctx context.Context
  • medias []*backup.AnalysedMedia

type CatalogReferencer_Reference_Call added in v1.5.54

type CatalogReferencer_Reference_Call struct {
	*mock.Call
}

CatalogReferencer_Reference_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reference'

func (*CatalogReferencer_Reference_Call) Return added in v1.5.54

func (*CatalogReferencer_Reference_Call) Run added in v1.5.54

func (*CatalogReferencer_Reference_Call) RunAndReturn added in v1.5.54

type CatalogRules

type CatalogRules struct {
	mock.Mock
}

CatalogRules is an autogenerated mock type for the CatalogRules type

func NewCatalogRules

func NewCatalogRules(t interface {
	mock.TestingT
	Cleanup(func())
}) *CatalogRules

NewCatalogRules creates a new instance of CatalogRules. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CatalogRules) CanListMediasFromAlbum

func (_m *CatalogRules) CanListMediasFromAlbum(id catalog.AlbumId) error

CanListMediasFromAlbum provides a mock function with given fields: id

func (*CatalogRules) CanManageAlbum

func (_m *CatalogRules) CanManageAlbum(id catalog.AlbumId) error

CanManageAlbum provides a mock function with given fields: id

func (*CatalogRules) CanReadMedia

func (_m *CatalogRules) CanReadMedia(owner ownermodel.Owner, id catalog.MediaId) error

CanReadMedia provides a mock function with given fields: owner, id

func (*CatalogRules) EXPECT added in v1.5.41

func (_m *CatalogRules) EXPECT() *CatalogRules_Expecter

func (*CatalogRules) Owner

func (_m *CatalogRules) Owner() (*ownermodel.Owner, error)

Owner provides a mock function with given fields:

func (*CatalogRules) SharedByUserGrid

func (_m *CatalogRules) SharedByUserGrid(owner ownermodel.Owner) (map[string]map[usermodel.UserId]aclcore.ScopeType, error)

SharedByUserGrid provides a mock function with given fields: owner

func (*CatalogRules) SharedWithUserAlbum

func (_m *CatalogRules) SharedWithUserAlbum() ([]catalog.AlbumId, error)

SharedWithUserAlbum provides a mock function with given fields:

type CatalogRules_CanListMediasFromAlbum_Call added in v1.5.41

type CatalogRules_CanListMediasFromAlbum_Call struct {
	*mock.Call
}

CatalogRules_CanListMediasFromAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanListMediasFromAlbum'

func (*CatalogRules_CanListMediasFromAlbum_Call) Return added in v1.5.41

func (*CatalogRules_CanListMediasFromAlbum_Call) Run added in v1.5.41

func (*CatalogRules_CanListMediasFromAlbum_Call) RunAndReturn added in v1.5.41

type CatalogRules_CanManageAlbum_Call added in v1.5.41

type CatalogRules_CanManageAlbum_Call struct {
	*mock.Call
}

CatalogRules_CanManageAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanShareAlbum'

func (*CatalogRules_CanManageAlbum_Call) Return added in v1.5.41

func (*CatalogRules_CanManageAlbum_Call) Run added in v1.5.41

func (*CatalogRules_CanManageAlbum_Call) RunAndReturn added in v1.5.41

type CatalogRules_CanReadMedia_Call added in v1.5.41

type CatalogRules_CanReadMedia_Call struct {
	*mock.Call
}

CatalogRules_CanReadMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CanReadMedia'

func (*CatalogRules_CanReadMedia_Call) Return added in v1.5.41

func (*CatalogRules_CanReadMedia_Call) Run added in v1.5.41

func (*CatalogRules_CanReadMedia_Call) RunAndReturn added in v1.5.41

type CatalogRules_Expecter added in v1.5.41

type CatalogRules_Expecter struct {
	// contains filtered or unexported fields
}

func (*CatalogRules_Expecter) CanListMediasFromAlbum added in v1.5.41

func (_e *CatalogRules_Expecter) CanListMediasFromAlbum(id interface{}) *CatalogRules_CanListMediasFromAlbum_Call

CanListMediasFromAlbum is a helper method to define mock.On call

  • id catalog.AlbumId

func (*CatalogRules_Expecter) CanManageAlbum added in v1.5.41

func (_e *CatalogRules_Expecter) CanManageAlbum(id interface{}) *CatalogRules_CanManageAlbum_Call

CanManageAlbum is a helper method to define mock.On call

  • id catalog.AlbumId

func (*CatalogRules_Expecter) CanReadMedia added in v1.5.41

func (_e *CatalogRules_Expecter) CanReadMedia(owner interface{}, id interface{}) *CatalogRules_CanReadMedia_Call

CanReadMedia is a helper method to define mock.On call

  • owner ownermodel.Owner
  • id catalog.MediaId

func (*CatalogRules_Expecter) Owner added in v1.5.41

Owner is a helper method to define mock.On call

func (*CatalogRules_Expecter) SharedByUserGrid added in v1.5.41

func (_e *CatalogRules_Expecter) SharedByUserGrid(owner interface{}) *CatalogRules_SharedByUserGrid_Call

SharedByUserGrid is a helper method to define mock.On call

  • owner ownermodel.Owner

func (*CatalogRules_Expecter) SharedWithUserAlbum added in v1.5.41

SharedWithUserAlbum is a helper method to define mock.On call

type CatalogRules_Owner_Call added in v1.5.41

type CatalogRules_Owner_Call struct {
	*mock.Call
}

CatalogRules_Owner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Owner'

func (*CatalogRules_Owner_Call) Return added in v1.5.41

func (*CatalogRules_Owner_Call) Run added in v1.5.41

func (_c *CatalogRules_Owner_Call) Run(run func()) *CatalogRules_Owner_Call

func (*CatalogRules_Owner_Call) RunAndReturn added in v1.5.41

func (_c *CatalogRules_Owner_Call) RunAndReturn(run func() (*ownermodel.Owner, error)) *CatalogRules_Owner_Call

type CatalogRules_SharedByUserGrid_Call added in v1.5.41

type CatalogRules_SharedByUserGrid_Call struct {
	*mock.Call
}

CatalogRules_SharedByUserGrid_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SharedByUserGrid'

func (*CatalogRules_SharedByUserGrid_Call) Return added in v1.5.41

func (*CatalogRules_SharedByUserGrid_Call) Run added in v1.5.41

func (*CatalogRules_SharedByUserGrid_Call) RunAndReturn added in v1.5.41

type CatalogRules_SharedWithUserAlbum_Call added in v1.5.41

type CatalogRules_SharedWithUserAlbum_Call struct {
	*mock.Call
}

CatalogRules_SharedWithUserAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SharedWithUserAlbum'

func (*CatalogRules_SharedWithUserAlbum_Call) Return added in v1.5.41

func (*CatalogRules_SharedWithUserAlbum_Call) Run added in v1.5.41

func (*CatalogRules_SharedWithUserAlbum_Call) RunAndReturn added in v1.5.41

type CatalogerFilter added in v1.5.54

type CatalogerFilter struct {
	mock.Mock
}

CatalogerFilter is an autogenerated mock type for the CatalogerFilter type

func NewCatalogerFilter added in v1.5.54

func NewCatalogerFilter(t interface {
	mock.TestingT
	Cleanup(func())
}) *CatalogerFilter

NewCatalogerFilter creates a new instance of CatalogerFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CatalogerFilter) EXPECT added in v1.5.54

func (*CatalogerFilter) FilterOut added in v1.5.54

FilterOut provides a mock function with given fields: media, reference

type CatalogerFilterFunc added in v1.5.54

type CatalogerFilterFunc struct {
	mock.Mock
}

CatalogerFilterFunc is an autogenerated mock type for the CatalogerFilterFunc type

func NewCatalogerFilterFunc added in v1.5.54

func NewCatalogerFilterFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *CatalogerFilterFunc

NewCatalogerFilterFunc creates a new instance of CatalogerFilterFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CatalogerFilterFunc) EXPECT added in v1.5.54

func (*CatalogerFilterFunc) Execute added in v1.5.54

Execute provides a mock function with given fields: media, reference

type CatalogerFilterFunc_Execute_Call added in v1.5.54

type CatalogerFilterFunc_Execute_Call struct {
	*mock.Call
}

CatalogerFilterFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*CatalogerFilterFunc_Execute_Call) Return added in v1.5.54

func (*CatalogerFilterFunc_Execute_Call) Run added in v1.5.54

func (*CatalogerFilterFunc_Execute_Call) RunAndReturn added in v1.5.54

type CatalogerFilterFunc_Expecter added in v1.5.54

type CatalogerFilterFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*CatalogerFilterFunc_Expecter) Execute added in v1.5.54

func (_e *CatalogerFilterFunc_Expecter) Execute(media interface{}, reference interface{}) *CatalogerFilterFunc_Execute_Call

Execute is a helper method to define mock.On call

  • media backup.AnalysedMedia
  • reference backup.CatalogReference

type CatalogerFilter_Expecter added in v1.5.54

type CatalogerFilter_Expecter struct {
	// contains filtered or unexported fields
}

func (*CatalogerFilter_Expecter) FilterOut added in v1.5.54

func (_e *CatalogerFilter_Expecter) FilterOut(media interface{}, reference interface{}) *CatalogerFilter_FilterOut_Call

FilterOut is a helper method to define mock.On call

  • media backup.AnalysedMedia
  • reference backup.CatalogReference

type CatalogerFilter_FilterOut_Call added in v1.5.54

type CatalogerFilter_FilterOut_Call struct {
	*mock.Call
}

CatalogerFilter_FilterOut_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterOut'

func (*CatalogerFilter_FilterOut_Call) Return added in v1.5.54

func (*CatalogerFilter_FilterOut_Call) Run added in v1.5.54

func (*CatalogerFilter_FilterOut_Call) RunAndReturn added in v1.5.54

type CertificateAuthority

type CertificateAuthority struct {
	mock.Mock
}

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 (*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

type CertificateAuthority_RequestCertificate_Call struct {
	*mock.Call
}

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 (*CertificateAuthority_RequestCertificate_Call) Run added in v1.5.41

func (*CertificateAuthority_RequestCertificate_Call) RunAndReturn added in v1.5.41

type CertificateManager

type CertificateManager struct {
	mock.Mock
}

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 (*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

type CertificateManager_FindCertificate_Call struct {
	*mock.Call
}

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 (*CertificateManager_FindCertificate_Call) Run added in v1.5.41

func (*CertificateManager_FindCertificate_Call) RunAndReturn added in v1.5.41

type CertificateManager_InstallCertificate_Call added in v1.5.41

type CertificateManager_InstallCertificate_Call struct {
	*mock.Call
}

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 (*CertificateManager_InstallCertificate_Call) Run added in v1.5.41

func (*CertificateManager_InstallCertificate_Call) RunAndReturn added in v1.5.41

type ClosableFoundMedia

type ClosableFoundMedia struct {
	mock.Mock
}

ClosableFoundMedia is an autogenerated mock type for the ClosableFoundMedia type

func NewClosableFoundMedia

func NewClosableFoundMedia(t interface {
	mock.TestingT
	Cleanup(func())
}) *ClosableFoundMedia

NewClosableFoundMedia creates a new instance of ClosableFoundMedia. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ClosableFoundMedia) Close

func (_m *ClosableFoundMedia) Close() error

Close provides a mock function with given fields:

func (*ClosableFoundMedia) EXPECT added in v1.5.41

type ClosableFoundMedia_Close_Call added in v1.5.41

type ClosableFoundMedia_Close_Call struct {
	*mock.Call
}

ClosableFoundMedia_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AnalysedMediaChannelCloser'

func (*ClosableFoundMedia_Close_Call) Return added in v1.5.41

func (*ClosableFoundMedia_Close_Call) Run added in v1.5.41

func (*ClosableFoundMedia_Close_Call) RunAndReturn added in v1.5.41

type ClosableFoundMedia_Expecter added in v1.5.41

type ClosableFoundMedia_Expecter struct {
	// contains filtered or unexported fields
}

func (*ClosableFoundMedia_Expecter) Close added in v1.5.41

Close is a helper method to define mock.On call

type CompletionReport

type CompletionReport struct {
	mock.Mock
}

CompletionReport is an autogenerated mock type for the CompletionReport type

func NewCompletionReport

func NewCompletionReport(t interface {
	mock.TestingT
	Cleanup(func())
}) *CompletionReport

NewCompletionReport creates a new instance of CompletionReport. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CompletionReport) CountPerAlbum

func (_m *CompletionReport) CountPerAlbum() map[string]*backup.TypeCounter

CountPerAlbum provides a mock function with given fields:

func (*CompletionReport) EXPECT added in v1.5.41

func (*CompletionReport) NewAlbums

func (_m *CompletionReport) NewAlbums() []string

NewAlbums provides a mock function with given fields:

func (*CompletionReport) Skipped

func (_m *CompletionReport) Skipped() backup.MediaCounter

Skipped provides a mock function with given fields:

type CompletionReport_CountPerAlbum_Call added in v1.5.41

type CompletionReport_CountPerAlbum_Call struct {
	*mock.Call
}

CompletionReport_CountPerAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountPerAlbum'

func (*CompletionReport_CountPerAlbum_Call) Return added in v1.5.41

func (*CompletionReport_CountPerAlbum_Call) Run added in v1.5.41

func (*CompletionReport_CountPerAlbum_Call) RunAndReturn added in v1.5.41

type CompletionReport_Expecter added in v1.5.41

type CompletionReport_Expecter struct {
	// contains filtered or unexported fields
}

func (*CompletionReport_Expecter) CountPerAlbum added in v1.5.41

CountPerAlbum is a helper method to define mock.On call

func (*CompletionReport_Expecter) NewAlbums added in v1.5.41

NewAlbums is a helper method to define mock.On call

func (*CompletionReport_Expecter) Skipped added in v1.5.41

Skipped is a helper method to define mock.On call

type CompletionReport_NewAlbums_Call added in v1.5.41

type CompletionReport_NewAlbums_Call struct {
	*mock.Call
}

CompletionReport_NewAlbums_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewAlbums'

func (*CompletionReport_NewAlbums_Call) Return added in v1.5.41

func (*CompletionReport_NewAlbums_Call) Run added in v1.5.41

func (*CompletionReport_NewAlbums_Call) RunAndReturn added in v1.5.41

type CompletionReport_Skipped_Call added in v1.5.41

type CompletionReport_Skipped_Call struct {
	*mock.Call
}

CompletionReport_Skipped_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Skipped'

func (*CompletionReport_Skipped_Call) Return added in v1.5.41

func (*CompletionReport_Skipped_Call) Run added in v1.5.41

func (*CompletionReport_Skipped_Call) RunAndReturn added in v1.5.41

type Config

type Config struct {
	mock.Mock
}

Config is an autogenerated mock type for the Config type

func NewConfig

func NewConfig(t interface {
	mock.TestingT
	Cleanup(func())
}) *Config

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) Get

func (_m *Config) Get(key string) interface{}

Get provides a mock function with given fields: key

func (*Config) GetAWSFactory added in v1.5.33

func (_m *Config) GetAWSFactory() *awsfactory.ClientsFactory

GetAWSFactory provides a mock function with given fields:

func (*Config) GetAWSV2Config added in v1.5.20

func (_m *Config) GetAWSV2Config() aws.Config

GetAWSV2Config provides a mock function with given fields:

func (*Config) GetBool

func (_m *Config) GetBool(key string) bool

GetBool provides a mock function with given fields: key

func (*Config) GetInt

func (_m *Config) GetInt(key string) int

GetInt provides a mock function with given fields: key

func (*Config) GetIntOrDefault

func (_m *Config) GetIntOrDefault(key string, defaultValue int) int

GetIntOrDefault provides a mock function with given fields: key, defaultValue

func (*Config) GetString

func (_m *Config) GetString(key string) string

GetString provides a mock function with given fields: key

func (*Config) GetStringOrDefault

func (_m *Config) GetStringOrDefault(key string, defaultValue string) string

GetStringOrDefault provides a mock function with given fields: key, defaultValue

type ConfigFactory added in v1.5.33

type ConfigFactory struct {
	mock.Mock
}

ConfigFactory is an autogenerated mock type for the ConfigFactory type

func NewConfigFactory added in v1.5.33

func NewConfigFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConfigFactory

NewConfigFactory creates a new instance of ConfigFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ConfigFactory) EXPECT added in v1.5.41

func (_m *ConfigFactory) EXPECT() *ConfigFactory_Expecter

func (*ConfigFactory) NewConfig added in v1.5.33

func (_m *ConfigFactory) NewConfig(ctx context.Context) (aws.Config, error)

NewConfig provides a mock function with given fields: ctx

type ConfigFactoryFunc added in v1.5.33

type ConfigFactoryFunc struct {
	mock.Mock
}

ConfigFactoryFunc is an autogenerated mock type for the ConfigFactoryFunc type

func NewConfigFactoryFunc added in v1.5.33

func NewConfigFactoryFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *ConfigFactoryFunc

NewConfigFactoryFunc creates a new instance of ConfigFactoryFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ConfigFactoryFunc) EXPECT added in v1.5.41

func (*ConfigFactoryFunc) Execute added in v1.5.33

func (_m *ConfigFactoryFunc) Execute(ctx context.Context) (aws.Config, error)

Execute provides a mock function with given fields: ctx

type ConfigFactoryFunc_Execute_Call added in v1.5.41

type ConfigFactoryFunc_Execute_Call struct {
	*mock.Call
}

ConfigFactoryFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*ConfigFactoryFunc_Execute_Call) Return added in v1.5.41

func (*ConfigFactoryFunc_Execute_Call) Run added in v1.5.41

func (*ConfigFactoryFunc_Execute_Call) RunAndReturn added in v1.5.41

type ConfigFactoryFunc_Expecter added in v1.5.41

type ConfigFactoryFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*ConfigFactoryFunc_Expecter) Execute added in v1.5.41

func (_e *ConfigFactoryFunc_Expecter) Execute(ctx interface{}) *ConfigFactoryFunc_Execute_Call

Execute is a helper method to define mock.On call

  • ctx context.Context

type ConfigFactory_Expecter added in v1.5.41

type ConfigFactory_Expecter struct {
	// contains filtered or unexported fields
}

func (*ConfigFactory_Expecter) NewConfig added in v1.5.41

func (_e *ConfigFactory_Expecter) NewConfig(ctx interface{}) *ConfigFactory_NewConfig_Call

NewConfig is a helper method to define mock.On call

  • ctx context.Context

type ConfigFactory_NewConfig_Call added in v1.5.41

type ConfigFactory_NewConfig_Call struct {
	*mock.Call
}

ConfigFactory_NewConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewConfig'

func (*ConfigFactory_NewConfig_Call) Return added in v1.5.41

func (*ConfigFactory_NewConfig_Call) Run added in v1.5.41

func (*ConfigFactory_NewConfig_Call) RunAndReturn added in v1.5.41

type Config_Expecter added in v1.5.41

type Config_Expecter struct {
	// contains filtered or unexported fields
}

func (*Config_Expecter) Get added in v1.5.41

func (_e *Config_Expecter) Get(key interface{}) *Config_Get_Call

Get is a helper method to define mock.On call

  • key string

func (*Config_Expecter) GetAWSFactory added in v1.5.41

func (_e *Config_Expecter) GetAWSFactory() *Config_GetAWSFactory_Call

GetAWSFactory is a helper method to define mock.On call

func (*Config_Expecter) GetAWSV2Config added in v1.5.41

func (_e *Config_Expecter) GetAWSV2Config() *Config_GetAWSV2Config_Call

GetAWSV2Config is a helper method to define mock.On call

func (*Config_Expecter) GetBool added in v1.5.41

func (_e *Config_Expecter) GetBool(key interface{}) *Config_GetBool_Call

GetBool is a helper method to define mock.On call

  • key string

func (*Config_Expecter) GetInt added in v1.5.41

func (_e *Config_Expecter) GetInt(key interface{}) *Config_GetInt_Call

GetInt is a helper method to define mock.On call

  • key string

func (*Config_Expecter) GetIntOrDefault added in v1.5.41

func (_e *Config_Expecter) GetIntOrDefault(key interface{}, defaultValue interface{}) *Config_GetIntOrDefault_Call

GetIntOrDefault is a helper method to define mock.On call

  • key string
  • defaultValue int

func (*Config_Expecter) GetString added in v1.5.41

func (_e *Config_Expecter) GetString(key interface{}) *Config_GetString_Call

GetString is a helper method to define mock.On call

  • key string

func (*Config_Expecter) GetStringOrDefault added in v1.5.41

func (_e *Config_Expecter) GetStringOrDefault(key interface{}, defaultValue interface{}) *Config_GetStringOrDefault_Call

GetStringOrDefault is a helper method to define mock.On call

  • key string
  • defaultValue string

type Config_GetAWSFactory_Call added in v1.5.41

type Config_GetAWSFactory_Call struct {
	*mock.Call
}

Config_GetAWSFactory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAWSFactory'

func (*Config_GetAWSFactory_Call) Return added in v1.5.41

func (*Config_GetAWSFactory_Call) Run added in v1.5.41

func (*Config_GetAWSFactory_Call) RunAndReturn added in v1.5.41

type Config_GetAWSV2Config_Call added in v1.5.41

type Config_GetAWSV2Config_Call struct {
	*mock.Call
}

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 (*Config_GetAWSV2Config_Call) Run added in v1.5.41

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

type Config_GetBool_Call struct {
	*mock.Call
}

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

type Config_GetIntOrDefault_Call struct {
	*mock.Call
}

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 (*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

type Config_GetInt_Call added in v1.5.41

type Config_GetInt_Call struct {
	*mock.Call
}

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

type Config_GetStringOrDefault_Call struct {
	*mock.Call
}

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 (*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

type Config_GetString_Call added in v1.5.41

type Config_GetString_Call struct {
	*mock.Call
}

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 (*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

type Config_Get_Call struct {
	*mock.Call
}

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

type CountMediasBySelectorsFunc struct {
	mock.Mock
}

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 (*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

type CountMediasBySelectorsFunc_Execute_Call struct {
	*mock.Call
}

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 (*CountMediasBySelectorsFunc_Execute_Call) Run added in v1.5.41

func (*CountMediasBySelectorsFunc_Execute_Call) RunAndReturn added in v1.5.41

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

type CountMediasBySelectorsPort struct {
	mock.Mock
}

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

type CountMediasBySelectorsPort_CountMediasBySelectors_Call added in v1.5.41

type CountMediasBySelectorsPort_CountMediasBySelectors_Call struct {
	*mock.Call
}

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 (*CountMediasBySelectorsPort_CountMediasBySelectors_Call) Run added in v1.5.41

func (*CountMediasBySelectorsPort_CountMediasBySelectors_Call) RunAndReturn added in v1.5.41

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

type CreateAlbumObserver struct {
	mock.Mock
}

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 (*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

type CreateAlbumObserverFunc struct {
	mock.Mock
}

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 (*CreateAlbumObserverFunc) Execute added in v1.5.42

func (_m *CreateAlbumObserverFunc) Execute(ctx context.Context, createdAlbum catalog.Album) error

Execute provides a mock function with given fields: ctx, createdAlbum

type CreateAlbumObserverFunc_Execute_Call added in v1.5.42

type CreateAlbumObserverFunc_Execute_Call struct {
	*mock.Call
}

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 (*CreateAlbumObserverFunc_Execute_Call) Run added in v1.5.42

func (*CreateAlbumObserverFunc_Execute_Call) RunAndReturn added in v1.5.42

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

type CreateAlbumObserverWithTimeline struct {
	mock.Mock
}

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 (*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

type CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call struct {
	*mock.Call
}

CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ObserveCreateAlbum'

func (*CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Return added in v1.6.4

func (*CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) Run added in v1.6.4

func (*CreateAlbumObserverWithTimeline_ObserveCreateAlbum_Call) RunAndReturn added in v1.6.4

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

type CreateAlbumObserver_ObserveCreateAlbum_Call struct {
	*mock.Call
}

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 (*CreateAlbumObserver_ObserveCreateAlbum_Call) Run added in v1.5.42

func (*CreateAlbumObserver_ObserveCreateAlbum_Call) RunAndReturn added in v1.5.42

type CreateAlbumPort

type CreateAlbumPort struct {
	mock.Mock
}

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

type CreateAlbumPort_Create_Call added in v1.5.41

type CreateAlbumPort_Create_Call struct {
	*mock.Call
}

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 (*CreateAlbumPort_Create_Call) Run added in v1.5.41

func (*CreateAlbumPort_Create_Call) RunAndReturn added in v1.5.41

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

type CreateAlbumWithTimeline struct {
	mock.Mock
}

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

Create provides a mock function with given fields: ctx, timeline, request

func (*CreateAlbumWithTimeline) EXPECT added in v1.6.4

type CreateAlbumWithTimeline_Create_Call added in v1.6.4

type CreateAlbumWithTimeline_Create_Call struct {
	*mock.Call
}

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 (*CreateAlbumWithTimeline_Create_Call) Run added in v1.6.4

func (*CreateAlbumWithTimeline_Create_Call) RunAndReturn added in v1.6.4

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

type DeleteAlbumObserver struct {
	mock.Mock
}

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 (*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

type DeleteAlbumObserver_OnDeleteAlbum_Call struct {
	*mock.Call
}

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 (*DeleteAlbumObserver_OnDeleteAlbum_Call) Run added in v1.5.42

func (*DeleteAlbumObserver_OnDeleteAlbum_Call) RunAndReturn added in v1.5.42

type DeleteAlbumPort

type DeleteAlbumPort struct {
	mock.Mock
}

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

type DeleteAlbumPort_DeleteAlbum_Call added in v1.5.41

type DeleteAlbumPort_DeleteAlbum_Call struct {
	*mock.Call
}

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 (*DeleteAlbumPort_DeleteAlbum_Call) Run added in v1.5.41

func (*DeleteAlbumPort_DeleteAlbum_Call) RunAndReturn added in v1.5.41

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

type DeleteAlbumRepositoryFunc struct {
	mock.Mock
}

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 (*DeleteAlbumRepositoryFunc) Execute added in v1.5.41

func (_m *DeleteAlbumRepositoryFunc) Execute(ctx context.Context, albumId catalog.AlbumId) error

Execute provides a mock function with given fields: ctx, albumId

type DeleteAlbumRepositoryFunc_Execute_Call added in v1.5.41

type DeleteAlbumRepositoryFunc_Execute_Call struct {
	*mock.Call
}

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 (*DeleteAlbumRepositoryFunc_Execute_Call) Run added in v1.5.41

func (*DeleteAlbumRepositoryFunc_Execute_Call) RunAndReturn added in v1.5.41

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

type DeleteAlbumRepositoryPort struct {
	mock.Mock
}

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

type DeleteAlbumRepositoryPort_DeleteAlbum_Call added in v1.5.41

type DeleteAlbumRepositoryPort_DeleteAlbum_Call struct {
	*mock.Call
}

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 (*DeleteAlbumRepositoryPort_DeleteAlbum_Call) Run added in v1.5.41

func (*DeleteAlbumRepositoryPort_DeleteAlbum_Call) RunAndReturn added in v1.5.41

type DeleteAlbumRepositoryPort_Expecter added in v1.5.41

type DeleteAlbumRepositoryPort_Expecter struct {
	// contains filtered or unexported fields
}

func (*DeleteAlbumRepositoryPort_Expecter) DeleteAlbum added in v1.5.41

func (_e *DeleteAlbumRepositoryPort_Expecter) DeleteAlbum(ctx interface{}, albumId interface{}) *DeleteAlbumRepositoryPort_DeleteAlbum_Call

DeleteAlbum is a helper method to define mock.On call

  • ctx context.Context
  • albumId catalog.AlbumId

type DetailsReaderAdapter

type DetailsReaderAdapter struct {
	mock.Mock
}

DetailsReaderAdapter is an autogenerated mock type for the DetailsReaderAdapter type

func NewDetailsReaderAdapter

func NewDetailsReaderAdapter(t interface {
	mock.TestingT
	Cleanup(func())
}) *DetailsReaderAdapter

NewDetailsReaderAdapter creates a new instance of DetailsReaderAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*DetailsReaderAdapter) EXPECT added in v1.5.41

func (*DetailsReaderAdapter) ReadDetails

func (_m *DetailsReaderAdapter) ReadDetails(reader io.Reader, options backup.DetailsReaderOptions) (*backup.MediaDetails, error)

ReadDetails provides a mock function with given fields: reader, options

func (*DetailsReaderAdapter) Supports

func (_m *DetailsReaderAdapter) Supports(media backup.FoundMedia, mediaType backup.MediaType) bool

Supports provides a mock function with given fields: media, mediaType

type DetailsReaderAdapter_Expecter added in v1.5.41

type DetailsReaderAdapter_Expecter struct {
	// contains filtered or unexported fields
}

func (*DetailsReaderAdapter_Expecter) ReadDetails added in v1.5.41

func (_e *DetailsReaderAdapter_Expecter) ReadDetails(reader interface{}, options interface{}) *DetailsReaderAdapter_ReadDetails_Call

ReadDetails is a helper method to define mock.On call

  • reader io.Reader
  • options backup.DetailsReaderOptions

func (*DetailsReaderAdapter_Expecter) Supports added in v1.5.41

func (_e *DetailsReaderAdapter_Expecter) Supports(media interface{}, mediaType interface{}) *DetailsReaderAdapter_Supports_Call

Supports is a helper method to define mock.On call

  • media backup.FoundMedia
  • mediaType backup.MediaType

type DetailsReaderAdapter_ReadDetails_Call added in v1.5.41

type DetailsReaderAdapter_ReadDetails_Call struct {
	*mock.Call
}

DetailsReaderAdapter_ReadDetails_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadDetails'

func (*DetailsReaderAdapter_ReadDetails_Call) Return added in v1.5.41

func (*DetailsReaderAdapter_ReadDetails_Call) Run added in v1.5.41

func (*DetailsReaderAdapter_ReadDetails_Call) RunAndReturn added in v1.5.41

type DetailsReaderAdapter_Supports_Call added in v1.5.41

type DetailsReaderAdapter_Supports_Call struct {
	*mock.Call
}

DetailsReaderAdapter_Supports_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Supports'

func (*DetailsReaderAdapter_Supports_Call) Return added in v1.5.41

func (*DetailsReaderAdapter_Supports_Call) Run added in v1.5.41

func (*DetailsReaderAdapter_Supports_Call) RunAndReturn added in v1.5.41

type DynamoBatchGetItem

type DynamoBatchGetItem struct {
	mock.Mock
}

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

type DynamoBatchGetItem_BatchGetItem_Call added in v1.5.41

type DynamoBatchGetItem_BatchGetItem_Call struct {
	*mock.Call
}

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 (*DynamoBatchGetItem_BatchGetItem_Call) Run added in v1.5.41

func (*DynamoBatchGetItem_BatchGetItem_Call) RunAndReturn added in v1.5.41

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

type DynamoBatchWriteItem struct {
	mock.Mock
}

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

type DynamoBatchWriteItem_BatchWriteItem_Call added in v1.5.41

type DynamoBatchWriteItem_BatchWriteItem_Call struct {
	*mock.Call
}

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 (*DynamoBatchWriteItem_BatchWriteItem_Call) Run added in v1.5.41

func (*DynamoBatchWriteItem_BatchWriteItem_Call) RunAndReturn added in v1.5.41

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

type DynamoQuery struct {
	mock.Mock
}

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

type DynamoQuery_Query_Call struct {
	*mock.Call
}

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 (*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

type ExistingRecordRepositoryPort

type ExistingRecordRepositoryPort struct {
	mock.Mock
}

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 (*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

FindExistingRecords is a helper method to define mock.On call

type ExistingRecordRepositoryPort_FindExistingRecords_Call added in v1.5.41

type ExistingRecordRepositoryPort_FindExistingRecords_Call struct {
	*mock.Call
}

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 (*ExistingRecordRepositoryPort_FindExistingRecords_Call) Run added in v1.5.41

func (*ExistingRecordRepositoryPort_FindExistingRecords_Call) RunAndReturn added in v1.5.41

type FindAlbumByIdFunc added in v1.5.43

type FindAlbumByIdFunc struct {
	mock.Mock
}

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 (*FindAlbumByIdFunc) Execute added in v1.5.43

Execute provides a mock function with given fields: ctx, id

type FindAlbumByIdFunc_Execute_Call added in v1.5.43

type FindAlbumByIdFunc_Execute_Call struct {
	*mock.Call
}

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 (*FindAlbumByIdFunc_Execute_Call) Run added in v1.5.43

func (*FindAlbumByIdFunc_Execute_Call) RunAndReturn added in v1.5.43

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

type FindAlbumByIdPort struct {
	mock.Mock
}

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 (*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

type FindAlbumByIdPort_FindAlbumById_Call struct {
	*mock.Call
}

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 (*FindAlbumByIdPort_FindAlbumById_Call) Run added in v1.5.43

func (*FindAlbumByIdPort_FindAlbumById_Call) RunAndReturn added in v1.5.43

type FindAlbumByOwnerFunc added in v1.5.49

type FindAlbumByOwnerFunc struct {
	mock.Mock
}

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 (*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

type FindAlbumByOwnerFunc_Execute_Call struct {
	*mock.Call
}

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 (*FindAlbumByOwnerFunc_Execute_Call) Run added in v1.5.49

func (*FindAlbumByOwnerFunc_Execute_Call) RunAndReturn added in v1.5.49

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

type FindAlbumByOwnerPort struct {
	mock.Mock
}

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 (*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

type FindAlbumByOwnerPort_FindAlbumsByOwner_Call struct {
	*mock.Call
}

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 (*FindAlbumByOwnerPort_FindAlbumsByOwner_Call) Run added in v1.5.48

func (*FindAlbumByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn added in v1.5.48

type FindAlbumPort added in v1.6.4

type FindAlbumPort struct {
	mock.Mock
}

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

func (*FindAlbumPort) FindAlbum added in v1.6.4

func (_m *FindAlbumPort) FindAlbum(ctx context.Context, albumId catalog.AlbumId) (*catalog.Album, error)

FindAlbum provides a mock function with given fields: ctx, albumId

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

type FindAlbumPort_FindAlbum_Call struct {
	*mock.Call
}

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 (*FindAlbumPort_FindAlbum_Call) Run added in v1.6.4

func (*FindAlbumPort_FindAlbum_Call) RunAndReturn added in v1.6.4

type FindAlbumsByIdsFunc added in v1.5.49

type FindAlbumsByIdsFunc struct {
	mock.Mock
}

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 (*FindAlbumsByIdsFunc) Execute added in v1.5.49

func (_m *FindAlbumsByIdsFunc) Execute(ctx context.Context, ids []catalog.AlbumId) ([]*catalog.Album, error)

Execute provides a mock function with given fields: ctx, ids

type FindAlbumsByIdsFunc_Execute_Call added in v1.5.49

type FindAlbumsByIdsFunc_Execute_Call struct {
	*mock.Call
}

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 (*FindAlbumsByIdsFunc_Execute_Call) Run added in v1.5.49

func (*FindAlbumsByIdsFunc_Execute_Call) RunAndReturn added in v1.5.49

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

type FindAlbumsByIdsPort struct {
	mock.Mock
}

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 (*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

type FindAlbumsByIdsPort_FindAlbumsById_Call struct {
	*mock.Call
}

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 (*FindAlbumsByIdsPort_FindAlbumsById_Call) Run added in v1.5.48

func (*FindAlbumsByIdsPort_FindAlbumsById_Call) RunAndReturn added in v1.5.48

type FindAlbumsByOwnerFunc added in v1.5.41

type FindAlbumsByOwnerFunc struct {
	mock.Mock
}

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 (*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

type FindAlbumsByOwnerFunc_Execute_Call struct {
	*mock.Call
}

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 (*FindAlbumsByOwnerFunc_Execute_Call) Run added in v1.5.41

func (*FindAlbumsByOwnerFunc_Execute_Call) RunAndReturn added in v1.5.41

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

type FindAlbumsByOwnerPort struct {
	mock.Mock
}

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 (*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

type FindAlbumsByOwnerPort_FindAlbumsByOwner_Call struct {
	*mock.Call
}

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 (*FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) Run added in v1.5.41

func (*FindAlbumsByOwnerPort_FindAlbumsByOwner_Call) RunAndReturn added in v1.5.41

type FindExistingSignaturePort added in v1.5.54

type FindExistingSignaturePort struct {
	mock.Mock
}

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 (*FindExistingSignaturePort) FindSignatures added in v1.5.54

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

type FindExistingSignaturePort_FindSignatures_Call struct {
	*mock.Call
}

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 (*FindExistingSignaturePort_FindSignatures_Call) Run added in v1.5.54

func (*FindExistingSignaturePort_FindSignatures_Call) RunAndReturn added in v1.5.54

type FoundMedia

type FoundMedia struct {
	mock.Mock
}

FoundMedia is an autogenerated mock type for the FoundMedia type

func NewFoundMedia

func NewFoundMedia(t interface {
	mock.TestingT
	Cleanup(func())
}) *FoundMedia

NewFoundMedia creates a new instance of FoundMedia. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*FoundMedia) EXPECT added in v1.5.41

func (_m *FoundMedia) EXPECT() *FoundMedia_Expecter

func (*FoundMedia) LastModification added in v1.5.0

func (_m *FoundMedia) LastModification() time.Time

LastModification provides a mock function with given fields:

func (*FoundMedia) MediaPath

func (_m *FoundMedia) MediaPath() backup.MediaPath

MediaPath provides a mock function with given fields:

func (*FoundMedia) ReadMedia

func (_m *FoundMedia) ReadMedia() (io.ReadCloser, error)

ReadMedia provides a mock function with given fields:

func (*FoundMedia) Size

func (_m *FoundMedia) Size() int

Size provides a mock function with given fields:

func (*FoundMedia) String

func (_m *FoundMedia) String() string

String provides a mock function with given fields:

type FoundMedia_Expecter added in v1.5.41

type FoundMedia_Expecter struct {
	// contains filtered or unexported fields
}

func (*FoundMedia_Expecter) LastModification added in v1.5.41

func (_e *FoundMedia_Expecter) LastModification() *FoundMedia_LastModification_Call

LastModification is a helper method to define mock.On call

func (*FoundMedia_Expecter) MediaPath added in v1.5.41

MediaPath is a helper method to define mock.On call

func (*FoundMedia_Expecter) ReadMedia added in v1.5.41

ReadMedia is a helper method to define mock.On call

func (*FoundMedia_Expecter) Size added in v1.5.41

Size is a helper method to define mock.On call

func (*FoundMedia_Expecter) String added in v1.5.41

String is a helper method to define mock.On call

type FoundMedia_LastModification_Call added in v1.5.41

type FoundMedia_LastModification_Call struct {
	*mock.Call
}

FoundMedia_LastModification_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LastModification'

func (*FoundMedia_LastModification_Call) Return added in v1.5.41

func (*FoundMedia_LastModification_Call) Run added in v1.5.41

func (*FoundMedia_LastModification_Call) RunAndReturn added in v1.5.41

type FoundMedia_MediaPath_Call added in v1.5.41

type FoundMedia_MediaPath_Call struct {
	*mock.Call
}

FoundMedia_MediaPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MediaPath'

func (*FoundMedia_MediaPath_Call) Return added in v1.5.41

func (*FoundMedia_MediaPath_Call) Run added in v1.5.41

func (*FoundMedia_MediaPath_Call) RunAndReturn added in v1.5.41

type FoundMedia_ReadMedia_Call added in v1.5.41

type FoundMedia_ReadMedia_Call struct {
	*mock.Call
}

FoundMedia_ReadMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReadMedia'

func (*FoundMedia_ReadMedia_Call) Return added in v1.5.41

func (*FoundMedia_ReadMedia_Call) Run added in v1.5.41

func (*FoundMedia_ReadMedia_Call) RunAndReturn added in v1.5.41

func (_c *FoundMedia_ReadMedia_Call) RunAndReturn(run func() (io.ReadCloser, error)) *FoundMedia_ReadMedia_Call

type FoundMedia_Size_Call added in v1.5.41

type FoundMedia_Size_Call struct {
	*mock.Call
}

FoundMedia_Size_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Size'

func (*FoundMedia_Size_Call) Return added in v1.5.41

func (*FoundMedia_Size_Call) Run added in v1.5.41

func (_c *FoundMedia_Size_Call) Run(run func()) *FoundMedia_Size_Call

func (*FoundMedia_Size_Call) RunAndReturn added in v1.5.41

func (_c *FoundMedia_Size_Call) RunAndReturn(run func() int) *FoundMedia_Size_Call

type FoundMedia_String_Call added in v1.5.41

type FoundMedia_String_Call struct {
	*mock.Call
}

FoundMedia_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'

func (*FoundMedia_String_Call) Return added in v1.5.41

func (*FoundMedia_String_Call) Run added in v1.5.41

func (_c *FoundMedia_String_Call) Run(run func()) *FoundMedia_String_Call

func (*FoundMedia_String_Call) RunAndReturn added in v1.5.41

func (_c *FoundMedia_String_Call) RunAndReturn(run func() string) *FoundMedia_String_Call

type GetAlbumSharingGridFunc added in v1.5.49

type GetAlbumSharingGridFunc struct {
	mock.Mock
}

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 (*GetAlbumSharingGridFunc) Execute added in v1.5.49

Execute provides a mock function with given fields: ctx, owner

type GetAlbumSharingGridFunc_Execute_Call added in v1.5.49

type GetAlbumSharingGridFunc_Execute_Call struct {
	*mock.Call
}

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 (*GetAlbumSharingGridFunc_Execute_Call) Run added in v1.5.49

func (*GetAlbumSharingGridFunc_Execute_Call) RunAndReturn added in v1.5.49

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

type GetAlbumSharingGridPort struct {
	mock.Mock
}

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 (*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

type GetAlbumSharingGridPort_GetAlbumSharingGrid_Call struct {
	*mock.Call
}

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 (*GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) Run added in v1.5.49

func (*GetAlbumSharingGridPort_GetAlbumSharingGrid_Call) RunAndReturn added in v1.5.49

type GetAvailabilitiesByUserFunc added in v1.6.4

type GetAvailabilitiesByUserFunc struct {
	mock.Mock
}

GetAvailabilitiesByUserFunc is an autogenerated mock type for the GetAvailabilitiesByUserFunc type

func NewGetAvailabilitiesByUserFunc added in v1.6.4

func NewGetAvailabilitiesByUserFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *GetAvailabilitiesByUserFunc

NewGetAvailabilitiesByUserFunc creates a new instance of GetAvailabilitiesByUserFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*GetAvailabilitiesByUserFunc) EXPECT added in v1.6.4

func (*GetAvailabilitiesByUserFunc) Execute added in v1.6.4

Execute provides a mock function with given fields: ctx, user

type GetAvailabilitiesByUserFunc_Execute_Call added in v1.6.4

type GetAvailabilitiesByUserFunc_Execute_Call struct {
	*mock.Call
}

GetAvailabilitiesByUserFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*GetAvailabilitiesByUserFunc_Execute_Call) Return added in v1.6.4

func (*GetAvailabilitiesByUserFunc_Execute_Call) Run added in v1.6.4

func (*GetAvailabilitiesByUserFunc_Execute_Call) RunAndReturn added in v1.6.4

type GetAvailabilitiesByUserFunc_Expecter added in v1.6.4

type GetAvailabilitiesByUserFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*GetAvailabilitiesByUserFunc_Expecter) Execute added in v1.6.4

func (_e *GetAvailabilitiesByUserFunc_Expecter) Execute(ctx interface{}, user interface{}) *GetAvailabilitiesByUserFunc_Execute_Call

Execute is a helper method to define mock.On call

  • ctx context.Context
  • user usermodel.UserId

type GetAvailabilitiesByUserPort added in v1.6.4

type GetAvailabilitiesByUserPort struct {
	mock.Mock
}

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 (*GetAvailabilitiesByUserPort) GetAvailabilitiesByUser added in v1.6.4

GetAvailabilitiesByUser provides a mock function with given fields: ctx, user

type GetAvailabilitiesByUserPort_Expecter added in v1.6.4

type GetAvailabilitiesByUserPort_Expecter struct {
	// contains filtered or unexported fields
}

func (*GetAvailabilitiesByUserPort_Expecter) GetAvailabilitiesByUser added in v1.6.4

func (_e *GetAvailabilitiesByUserPort_Expecter) GetAvailabilitiesByUser(ctx interface{}, user interface{}) *GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call

GetAvailabilitiesByUser is a helper method to define mock.On call

  • ctx context.Context
  • user usermodel.UserId

type GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call added in v1.6.4

type GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call struct {
	*mock.Call
}

GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAvailabilitiesByUser'

func (*GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Return added in v1.6.4

func (*GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) Run added in v1.6.4

func (*GetAvailabilitiesByUserPort_GetAvailabilitiesByUser_Call) RunAndReturn added in v1.6.4

type GetStreamAdapter

type GetStreamAdapter struct {
	mock.Mock
}

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

BatchGet provides a mock function with given fields: ctx, key

func (*GetStreamAdapter) EXPECT added in v1.5.41

type GetStreamAdapter_BatchGet_Call added in v1.5.41

type GetStreamAdapter_BatchGet_Call struct {
	*mock.Call
}

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 (*GetStreamAdapter_BatchGet_Call) Run added in v1.5.41

func (*GetStreamAdapter_BatchGet_Call) RunAndReturn added in v1.5.41

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

type GrantRepository struct {
	mock.Mock
}

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 (*GrantRepository) FindScopesById

func (_m *GrantRepository) FindScopesById(ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)

FindScopesById provides a mock function with given fields: ids

func (*GrantRepository) ListScopesByOwner added in v1.5.49

func (_m *GrantRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)

ListScopesByOwner provides a mock function with given fields: ctx, owner, types

func (*GrantRepository) ListScopesByOwners added in v1.5.0

func (_m *GrantRepository) ListScopesByOwners(ctx context.Context, owners []ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)

ListScopesByOwners provides a mock function with given fields: ctx, owners, types

func (*GrantRepository) ListScopesByUser added in v1.5.49

func (_m *GrantRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)

ListScopesByUser provides a mock function with given fields: ctx, email, types

func (*GrantRepository) SaveIfNewScope

func (_m *GrantRepository) SaveIfNewScope(scope aclcore.Scope) error

SaveIfNewScope provides a mock function with given fields: scope

type GrantRepository_DeleteScopes_Call added in v1.5.41

type GrantRepository_DeleteScopes_Call struct {
	*mock.Call
}

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 (*GrantRepository_DeleteScopes_Call) Run added in v1.5.41

func (*GrantRepository_DeleteScopes_Call) RunAndReturn added in v1.5.41

type GrantRepository_Expecter added in v1.5.41

type GrantRepository_Expecter struct {
	// contains filtered or unexported fields
}

func (*GrantRepository_Expecter) DeleteScopes added in v1.5.41

func (_e *GrantRepository_Expecter) DeleteScopes(id ...interface{}) *GrantRepository_DeleteScopes_Call

DeleteScopes is a helper method to define mock.On call

  • id ...aclcore.ScopeId

func (*GrantRepository_Expecter) FindScopesById added in v1.5.41

func (_e *GrantRepository_Expecter) FindScopesById(ids ...interface{}) *GrantRepository_FindScopesById_Call

FindScopesById is a helper method to define mock.On call

  • ids ...aclcore.ScopeId

func (*GrantRepository_Expecter) ListScopesByOwner added in v1.5.49

func (_e *GrantRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *GrantRepository_ListScopesByOwner_Call

ListScopesByOwner is a helper method to define mock.On call

  • ctx context.Context
  • owner ownermodel.Owner
  • types ...aclcore.ScopeType

func (*GrantRepository_Expecter) ListScopesByOwners added in v1.5.41

func (_e *GrantRepository_Expecter) ListScopesByOwners(ctx interface{}, owners interface{}, types ...interface{}) *GrantRepository_ListScopesByOwners_Call

ListScopesByOwners is a helper method to define mock.On call

  • ctx context.Context
  • owners []ownermodel.Owner
  • types ...aclcore.ScopeType

func (*GrantRepository_Expecter) ListScopesByUser added in v1.5.49

func (_e *GrantRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *GrantRepository_ListScopesByUser_Call

ListScopesByUser is a helper method to define mock.On call

  • ctx context.Context
  • email usermodel.UserId
  • types ...aclcore.ScopeType

func (*GrantRepository_Expecter) SaveIfNewScope added in v1.5.41

func (_e *GrantRepository_Expecter) SaveIfNewScope(scope interface{}) *GrantRepository_SaveIfNewScope_Call

SaveIfNewScope is a helper method to define mock.On call

  • scope aclcore.Scope

type GrantRepository_FindScopesById_Call added in v1.5.41

type GrantRepository_FindScopesById_Call struct {
	*mock.Call
}

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 (*GrantRepository_FindScopesById_Call) Run added in v1.5.41

func (*GrantRepository_FindScopesById_Call) RunAndReturn added in v1.5.41

type GrantRepository_ListScopesByOwner_Call added in v1.5.49

type GrantRepository_ListScopesByOwner_Call struct {
	*mock.Call
}

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 (*GrantRepository_ListScopesByOwner_Call) Run added in v1.5.49

func (*GrantRepository_ListScopesByOwner_Call) RunAndReturn added in v1.5.49

type GrantRepository_ListScopesByOwners_Call added in v1.5.41

type GrantRepository_ListScopesByOwners_Call struct {
	*mock.Call
}

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 (*GrantRepository_ListScopesByOwners_Call) Run added in v1.5.41

func (*GrantRepository_ListScopesByOwners_Call) RunAndReturn added in v1.5.41

type GrantRepository_ListScopesByUser_Call added in v1.5.49

type GrantRepository_ListScopesByUser_Call struct {
	*mock.Call
}

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 (*GrantRepository_ListScopesByUser_Call) Run added in v1.5.49

func (*GrantRepository_ListScopesByUser_Call) RunAndReturn added in v1.5.49

type GrantRepository_SaveIfNewScope_Call added in v1.5.41

type GrantRepository_SaveIfNewScope_Call struct {
	*mock.Call
}

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 (*GrantRepository_SaveIfNewScope_Call) Run added in v1.5.41

func (*GrantRepository_SaveIfNewScope_Call) RunAndReturn added in v1.5.41

type IAccessTokenGenerator

type IAccessTokenGenerator struct {
	mock.Mock
}

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 (*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

type IAccessTokenGenerator_GenerateAccessToken_Call struct {
	*mock.Call
}

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 (*IAccessTokenGenerator_GenerateAccessToken_Call) Run added in v1.5.41

func (*IAccessTokenGenerator_GenerateAccessToken_Call) RunAndReturn added in v1.5.41

type IRefreshTokenGenerator

type IRefreshTokenGenerator struct {
	mock.Mock
}

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 (*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

type IRefreshTokenGenerator_GenerateRefreshToken_Call struct {
	*mock.Call
}

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 (*IRefreshTokenGenerator_GenerateRefreshToken_Call) Run added in v1.5.41

func (*IRefreshTokenGenerator_GenerateRefreshToken_Call) RunAndReturn added in v1.5.41

type IdentityDetailsStore

type IdentityDetailsStore struct {
	mock.Mock
}

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 (*IdentityDetailsStore) FindIdentity

func (_m *IdentityDetailsStore) FindIdentity(email usermodel.UserId) (*aclcore.Identity, error)

FindIdentity provides a mock function with given fields: email

func (*IdentityDetailsStore) StoreIdentity

func (_m *IdentityDetailsStore) StoreIdentity(identity aclcore.Identity) error

StoreIdentity provides a mock function with given fields: identity

type IdentityDetailsStore_Expecter added in v1.5.41

type IdentityDetailsStore_Expecter struct {
	// contains filtered or unexported fields
}

func (*IdentityDetailsStore_Expecter) FindIdentity added in v1.5.41

func (_e *IdentityDetailsStore_Expecter) FindIdentity(email interface{}) *IdentityDetailsStore_FindIdentity_Call

FindIdentity is a helper method to define mock.On call

  • email 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

type IdentityDetailsStore_FindIdentity_Call struct {
	*mock.Call
}

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 (*IdentityDetailsStore_FindIdentity_Call) Run added in v1.5.41

func (*IdentityDetailsStore_FindIdentity_Call) RunAndReturn added in v1.5.41

type IdentityDetailsStore_StoreIdentity_Call added in v1.5.41

type IdentityDetailsStore_StoreIdentity_Call struct {
	*mock.Call
}

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 (*IdentityDetailsStore_StoreIdentity_Call) Run added in v1.5.41

func (*IdentityDetailsStore_StoreIdentity_Call) RunAndReturn added in v1.5.41

type IdentityQueriesIdentityRepository

type IdentityQueriesIdentityRepository struct {
	mock.Mock
}

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 (*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

FindIdentities is a helper method to define mock.On call

  • emails []usermodel.UserId

type IdentityQueriesIdentityRepository_FindIdentities_Call added in v1.5.41

type IdentityQueriesIdentityRepository_FindIdentities_Call struct {
	*mock.Call
}

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 (*IdentityQueriesIdentityRepository_FindIdentities_Call) Run added in v1.5.41

func (*IdentityQueriesIdentityRepository_FindIdentities_Call) RunAndReturn added in v1.5.41

type IdentityQueriesScopeRepository

type IdentityQueriesScopeRepository struct {
	mock.Mock
}

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 (*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

type IdentityQueriesScopeRepository_ListScopesByOwners_Call struct {
	*mock.Call
}

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 (*IdentityQueriesScopeRepository_ListScopesByOwners_Call) Run added in v1.5.41

func (*IdentityQueriesScopeRepository_ListScopesByOwners_Call) RunAndReturn added in v1.5.41

type IdentityRepository added in v1.5.0

type IdentityRepository struct {
	mock.Mock
}

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 (*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

func (_m *IdentityRepository) FindIdentity(email usermodel.UserId) (*aclcore.Identity, error)

FindIdentity provides a mock function with given fields: email

func (*IdentityRepository) StoreIdentity added in v1.5.0

func (_m *IdentityRepository) StoreIdentity(identity aclcore.Identity) error

StoreIdentity provides a mock function with given fields: identity

type IdentityRepository_Expecter added in v1.5.41

type IdentityRepository_Expecter struct {
	// contains filtered or unexported fields
}

func (*IdentityRepository_Expecter) FindIdentities added in v1.5.41

func (_e *IdentityRepository_Expecter) FindIdentities(emails interface{}) *IdentityRepository_FindIdentities_Call

FindIdentities is a helper method to define mock.On call

  • emails []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

type IdentityRepository_FindIdentities_Call struct {
	*mock.Call
}

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 (*IdentityRepository_FindIdentities_Call) Run added in v1.5.41

func (*IdentityRepository_FindIdentities_Call) RunAndReturn added in v1.5.41

type IdentityRepository_FindIdentity_Call added in v1.5.41

type IdentityRepository_FindIdentity_Call struct {
	*mock.Call
}

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 (*IdentityRepository_FindIdentity_Call) Run added in v1.5.41

func (*IdentityRepository_FindIdentity_Call) RunAndReturn added in v1.5.41

type IdentityRepository_StoreIdentity_Call added in v1.5.41

type IdentityRepository_StoreIdentity_Call struct {
	*mock.Call
}

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 (*IdentityRepository_StoreIdentity_Call) Run added in v1.5.41

func (*IdentityRepository_StoreIdentity_Call) RunAndReturn added in v1.5.41

type InsertAlbumPort added in v1.5.33

type InsertAlbumPort struct {
	mock.Mock
}

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 (*InsertAlbumPort) InsertAlbum added in v1.5.33

func (_m *InsertAlbumPort) InsertAlbum(ctx context.Context, album catalog.Album) error

InsertAlbum provides a mock function with given fields: ctx, album

type InsertAlbumPortFunc added in v1.5.33

type InsertAlbumPortFunc struct {
	mock.Mock
}

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 (*InsertAlbumPortFunc) Execute added in v1.5.33

func (_m *InsertAlbumPortFunc) Execute(ctx context.Context, album catalog.Album) error

Execute provides a mock function with given fields: ctx, album

type InsertAlbumPortFunc_Execute_Call added in v1.5.41

type InsertAlbumPortFunc_Execute_Call struct {
	*mock.Call
}

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 (*InsertAlbumPortFunc_Execute_Call) Run added in v1.5.41

func (*InsertAlbumPortFunc_Execute_Call) RunAndReturn added in v1.5.41

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

type InsertAlbumPort_InsertAlbum_Call struct {
	*mock.Call
}

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 (*InsertAlbumPort_InsertAlbum_Call) Run added in v1.5.41

func (*InsertAlbumPort_InsertAlbum_Call) RunAndReturn added in v1.5.41

type InsertMediaPort added in v1.6.4

type InsertMediaPort struct {
	mock.Mock
}

InsertMediaPort is an autogenerated mock type for the InsertMediaPort type

func NewInsertMediaPort added in v1.6.4

func NewInsertMediaPort(t interface {
	mock.TestingT
	Cleanup(func())
}) *InsertMediaPort

NewInsertMediaPort creates a new instance of InsertMediaPort. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*InsertMediaPort) EXPECT added in v1.6.4

func (*InsertMediaPort) IndexMedias added in v1.6.4

func (_m *InsertMediaPort) IndexMedias(ctx context.Context, owner ownermodel.Owner, requests []*backup.CatalogMediaRequest) error

IndexMedias provides a mock function with given fields: ctx, owner, requests

type InsertMediaPort_Expecter added in v1.6.4

type InsertMediaPort_Expecter struct {
	// contains filtered or unexported fields
}

func (*InsertMediaPort_Expecter) IndexMedias added in v1.6.4

func (_e *InsertMediaPort_Expecter) IndexMedias(ctx interface{}, owner interface{}, requests interface{}) *InsertMediaPort_IndexMedias_Call

IndexMedias is a helper method to define mock.On call

  • ctx context.Context
  • owner ownermodel.Owner
  • requests []*backup.CatalogMediaRequest

type InsertMediaPort_IndexMedias_Call added in v1.6.4

type InsertMediaPort_IndexMedias_Call struct {
	*mock.Call
}

InsertMediaPort_IndexMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IndexMedias'

func (*InsertMediaPort_IndexMedias_Call) Return added in v1.6.4

func (*InsertMediaPort_IndexMedias_Call) Run added in v1.6.4

func (*InsertMediaPort_IndexMedias_Call) RunAndReturn added in v1.6.4

type InsertMediaSimulator added in v1.5.54

type InsertMediaSimulator struct {
	mock.Mock
}

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 (*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

type InsertMediaSimulator_SimulateInsertingMedia_Call struct {
	*mock.Call
}

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 (*InsertMediaSimulator_SimulateInsertingMedia_Call) Run added in v1.5.54

func (*InsertMediaSimulator_SimulateInsertingMedia_Call) RunAndReturn added in v1.5.54

type InsertMediasObserver added in v1.5.48

type InsertMediasObserver struct {
	mock.Mock
}

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 (*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

type InsertMediasObserver_OnMediasInserted_Call struct {
	*mock.Call
}

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 (*InsertMediasObserver_OnMediasInserted_Call) Run added in v1.5.48

func (*InsertMediasObserver_OnMediasInserted_Call) RunAndReturn added in v1.5.48

type InsertMediasRepositoryPort added in v1.5.48

type InsertMediasRepositoryPort struct {
	mock.Mock
}

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 (*InsertMediasRepositoryPort) InsertMedias added in v1.5.48

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

type InsertMediasRepositoryPort_InsertMedias_Call struct {
	*mock.Call
}

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 (*InsertMediasRepositoryPort_InsertMedias_Call) Run added in v1.5.48

func (*InsertMediasRepositoryPort_InsertMedias_Call) RunAndReturn added in v1.5.48

type InteractiveActionsPort

type InteractiveActionsPort struct {
	mock.Mock
}

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 (*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

type InteractiveActionsPort_BackupSuggestion_Call struct {
	*mock.Call
}

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 (*InteractiveActionsPort_BackupSuggestion_Call) Run added in v1.5.41

func (*InteractiveActionsPort_BackupSuggestion_Call) RunAndReturn added in v1.5.41

type InteractiveActionsPort_Create_Call added in v1.5.41

type InteractiveActionsPort_Create_Call struct {
	*mock.Call
}

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 (*InteractiveActionsPort_Create_Call) Run added in v1.5.41

func (*InteractiveActionsPort_Create_Call) RunAndReturn added in v1.5.41

type InteractiveActionsPort_DeleteAlbum_Call added in v1.5.41

type InteractiveActionsPort_DeleteAlbum_Call struct {
	*mock.Call
}

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 (*InteractiveActionsPort_DeleteAlbum_Call) Run added in v1.5.41

func (*InteractiveActionsPort_DeleteAlbum_Call) RunAndReturn added in v1.5.41

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

type InteractiveActionsPort_RenameAlbum_Call struct {
	*mock.Call
}

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 (*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

type InteractiveActionsPort_UpdateAlbum_Call added in v1.5.41

type InteractiveActionsPort_UpdateAlbum_Call struct {
	*mock.Call
}

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 (*InteractiveActionsPort_UpdateAlbum_Call) Run added in v1.5.41

func (*InteractiveActionsPort_UpdateAlbum_Call) RunAndReturn added in v1.5.41

type InteractiveRendererPort

type InteractiveRendererPort struct {
	mock.Mock
}

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 (*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

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

Height is a helper method to define mock.On call

func (*InteractiveRendererPort_Expecter) Print added in v1.5.41

Print is a helper method to define mock.On call

  • question string

func (*InteractiveRendererPort_Expecter) ReadAnswer added in v1.5.41

ReadAnswer is a helper method to define mock.On call

func (*InteractiveRendererPort_Expecter) Render added in v1.5.41

Render is a helper method to define mock.On call

  • state *ui.InteractiveViewState

func (*InteractiveRendererPort_Expecter) TakeOverScreen added in v1.5.41

TakeOverScreen is a helper method to define mock.On call

type InteractiveRendererPort_Height_Call added in v1.5.41

type InteractiveRendererPort_Height_Call struct {
	*mock.Call
}

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 (*InteractiveRendererPort_Height_Call) Run added in v1.5.41

func (*InteractiveRendererPort_Height_Call) RunAndReturn added in v1.5.41

type InteractiveRendererPort_Print_Call added in v1.5.41

type InteractiveRendererPort_Print_Call struct {
	*mock.Call
}

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 (*InteractiveRendererPort_Print_Call) Run added in v1.5.41

func (*InteractiveRendererPort_Print_Call) RunAndReturn added in v1.5.41

type InteractiveRendererPort_ReadAnswer_Call added in v1.5.41

type InteractiveRendererPort_ReadAnswer_Call struct {
	*mock.Call
}

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 (*InteractiveRendererPort_ReadAnswer_Call) Run added in v1.5.41

func (*InteractiveRendererPort_ReadAnswer_Call) RunAndReturn added in v1.5.41

type InteractiveRendererPort_Render_Call added in v1.5.41

type InteractiveRendererPort_Render_Call struct {
	*mock.Call
}

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 (*InteractiveRendererPort_Render_Call) Run added in v1.5.41

func (*InteractiveRendererPort_Render_Call) RunAndReturn added in v1.5.41

type InteractiveRendererPort_TakeOverScreen_Call added in v1.5.41

type InteractiveRendererPort_TakeOverScreen_Call struct {
	*mock.Call
}

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 (*InteractiveRendererPort_TakeOverScreen_Call) Run added in v1.5.41

func (*InteractiveRendererPort_TakeOverScreen_Call) RunAndReturn added in v1.5.41

type ListAlbumsProvider added in v1.5.49

type ListAlbumsProvider struct {
	mock.Mock
}

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 (*ListAlbumsProvider) ListAlbums added in v1.5.49

ListAlbums provides a mock function with given fields: ctx, user, filter

type ListAlbumsProviderFunc added in v1.5.49

type ListAlbumsProviderFunc struct {
	mock.Mock
}

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 (*ListAlbumsProviderFunc) Execute added in v1.5.49

Execute provides a mock function with given fields: ctx, user, filter

type ListAlbumsProviderFunc_Execute_Call added in v1.5.49

type ListAlbumsProviderFunc_Execute_Call struct {
	*mock.Call
}

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 (*ListAlbumsProviderFunc_Execute_Call) Run added in v1.5.49

func (*ListAlbumsProviderFunc_Execute_Call) RunAndReturn added in v1.5.49

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

type ListAlbumsProvider_ListAlbums_Call struct {
	*mock.Call
}

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 (*ListAlbumsProvider_ListAlbums_Call) Run added in v1.5.49

func (*ListAlbumsProvider_ListAlbums_Call) RunAndReturn added in v1.5.49

type ListUserWhoCanAccessAlbumPort added in v1.6.4

type ListUserWhoCanAccessAlbumPort struct {
	mock.Mock
}

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 (*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

type ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call struct {
	*mock.Call
}

ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListUsersWhoCanAccessAlbum'

func (*ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Return added in v1.6.4

func (*ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) Run added in v1.6.4

func (*ListUserWhoCanAccessAlbumPort_ListUsersWhoCanAccessAlbum_Call) RunAndReturn added in v1.6.4

type Listener

type Listener struct {
	mock.Mock
}

Listener is an autogenerated mock type for the Listener type

func NewListener

func NewListener(t interface {
	mock.TestingT
	Cleanup(func())
}) *Listener

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

func (*Listener) Execute

func (_m *Listener) Execute(_a0 config.Config)

Execute provides a mock function with given fields: _a0

type Listener_Execute_Call added in v1.5.41

type Listener_Execute_Call struct {
	*mock.Call
}

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 (*Listener_Execute_Call) Run added in v1.5.41

func (_c *Listener_Execute_Call) Run(run func(_a0 config.Config)) *Listener_Execute_Call

func (*Listener_Execute_Call) RunAndReturn added in v1.5.41

func (_c *Listener_Execute_Call) RunAndReturn(run func(config.Config)) *Listener_Execute_Call

type Listener_Expecter added in v1.5.41

type Listener_Expecter struct {
	// contains filtered or unexported fields
}

func (*Listener_Expecter) Execute added in v1.5.41

func (_e *Listener_Expecter) Execute(_a0 interface{}) *Listener_Execute_Call

Execute is a helper method to define mock.On call

  • _a0 config.Config

type MediaAlbumResolver

type MediaAlbumResolver struct {
	mock.Mock
}

MediaAlbumResolver is an autogenerated mock type for the MediaAlbumResolver type

func NewMediaAlbumResolver

func NewMediaAlbumResolver(t interface {
	mock.TestingT
	Cleanup(func())
}) *MediaAlbumResolver

NewMediaAlbumResolver creates a new instance of MediaAlbumResolver. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MediaAlbumResolver) EXPECT added in v1.5.41

func (*MediaAlbumResolver) FindAlbumOfMedia

func (_m *MediaAlbumResolver) FindAlbumOfMedia(owner ownermodel.Owner, mediaId catalog.MediaId) (catalog.AlbumId, error)

FindAlbumOfMedia provides a mock function with given fields: owner, mediaId

type MediaAlbumResolver_Expecter added in v1.5.41

type MediaAlbumResolver_Expecter struct {
	// contains filtered or unexported fields
}

func (*MediaAlbumResolver_Expecter) FindAlbumOfMedia added in v1.5.41

func (_e *MediaAlbumResolver_Expecter) FindAlbumOfMedia(owner interface{}, mediaId interface{}) *MediaAlbumResolver_FindAlbumOfMedia_Call

FindAlbumOfMedia is a helper method to define mock.On call

  • owner ownermodel.Owner
  • mediaId catalog.MediaId

type MediaAlbumResolver_FindAlbumOfMedia_Call added in v1.5.41

type MediaAlbumResolver_FindAlbumOfMedia_Call struct {
	*mock.Call
}

MediaAlbumResolver_FindAlbumOfMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbumOfMedia'

func (*MediaAlbumResolver_FindAlbumOfMedia_Call) Return added in v1.5.41

func (*MediaAlbumResolver_FindAlbumOfMedia_Call) Run added in v1.5.41

func (*MediaAlbumResolver_FindAlbumOfMedia_Call) RunAndReturn added in v1.5.41

type MediaCounterFunc added in v1.5.50

type MediaCounterFunc struct {
	mock.Mock
}

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 (*MediaCounterFunc) Execute added in v1.5.50

func (_m *MediaCounterFunc) Execute(ctx context.Context, album ...catalog.AlbumId) (map[catalog.AlbumId]int, error)

Execute provides a mock function with given fields: ctx, album

type MediaCounterFunc_Execute_Call added in v1.5.50

type MediaCounterFunc_Execute_Call struct {
	*mock.Call
}

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 (*MediaCounterFunc_Execute_Call) Run added in v1.5.50

func (*MediaCounterFunc_Execute_Call) RunAndReturn added in v1.5.50

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

type MediaCounterPort struct {
	mock.Mock
}

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

type MediaCounterPort_CountMedia_Call added in v1.5.50

type MediaCounterPort_CountMedia_Call struct {
	*mock.Call
}

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 (*MediaCounterPort_CountMedia_Call) Run added in v1.5.50

func (*MediaCounterPort_CountMedia_Call) RunAndReturn added in v1.5.50

type MediaCounterPort_Expecter added in v1.5.50

type MediaCounterPort_Expecter struct {
	// contains filtered or unexported fields
}

func (*MediaCounterPort_Expecter) CountMedia added in v1.5.50

func (_e *MediaCounterPort_Expecter) CountMedia(ctx interface{}, album ...interface{}) *MediaCounterPort_CountMedia_Call

CountMedia is a helper method to define mock.On call

  • ctx context.Context
  • album ...catalog.AlbumId

type MediaTransfer added in v1.5.43

type MediaTransfer struct {
	mock.Mock
}

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

type MediaTransferFunc struct {
	mock.Mock
}

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 (*MediaTransferFunc) Execute added in v1.5.43

Execute provides a mock function with given fields: ctx, records

type MediaTransferFunc_Execute_Call added in v1.5.43

type MediaTransferFunc_Execute_Call struct {
	*mock.Call
}

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 (*MediaTransferFunc_Execute_Call) Run added in v1.5.43

func (*MediaTransferFunc_Execute_Call) RunAndReturn added in v1.5.43

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

type MediaTransfer_Transfer_Call struct {
	*mock.Call
}

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 (*MediaTransfer_Transfer_Call) Run added in v1.5.43

func (*MediaTransfer_Transfer_Call) RunAndReturn added in v1.5.43

type Names added in v1.5.33

type Names struct {
	mock.Mock
}

Names is an autogenerated mock type for the Names type

func NewNames added in v1.5.33

func NewNames(t interface {
	mock.TestingT
	Cleanup(func())
}) *Names

NewNames creates a new instance of Names. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Names) DynamoDBMainTable added in v1.5.33

func (_m *Names) DynamoDBMainTable() string

DynamoDBMainTable provides a mock function with given fields:

func (*Names) EXPECT added in v1.5.41

func (_m *Names) EXPECT() *Names_Expecter

type Names_DynamoDBMainTable_Call added in v1.5.41

type Names_DynamoDBMainTable_Call struct {
	*mock.Call
}

Names_DynamoDBMainTable_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DynamoDBMainTable'

func (*Names_DynamoDBMainTable_Call) Return added in v1.5.41

func (*Names_DynamoDBMainTable_Call) Run added in v1.5.41

func (*Names_DynamoDBMainTable_Call) RunAndReturn added in v1.5.41

type Names_Expecter added in v1.5.41

type Names_Expecter struct {
	// contains filtered or unexported fields
}

func (*Names_Expecter) DynamoDBMainTable added in v1.5.41

func (_e *Names_Expecter) DynamoDBMainTable() *Names_DynamoDBMainTable_Call

DynamoDBMainTable is a helper method to define mock.On call

type PostAnalyseFilter

type PostAnalyseFilter struct {
	mock.Mock
}

PostAnalyseFilter is an autogenerated mock type for the PostAnalyseFilter type

func NewPostAnalyseFilter

func NewPostAnalyseFilter(t interface {
	mock.TestingT
	Cleanup(func())
}) *PostAnalyseFilter

NewPostAnalyseFilter creates a new instance of PostAnalyseFilter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PostAnalyseFilter) AcceptAnalysedMedia

func (_m *PostAnalyseFilter) AcceptAnalysedMedia(media *backup.AnalysedMedia, folderName string) bool

AcceptAnalysedMedia provides a mock function with given fields: media, folderName

func (*PostAnalyseFilter) EXPECT added in v1.5.41

type PostAnalyseFilter_AcceptAnalysedMedia_Call added in v1.5.41

type PostAnalyseFilter_AcceptAnalysedMedia_Call struct {
	*mock.Call
}

PostAnalyseFilter_AcceptAnalysedMedia_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AcceptAnalysedMedia'

func (*PostAnalyseFilter_AcceptAnalysedMedia_Call) Return added in v1.5.41

func (*PostAnalyseFilter_AcceptAnalysedMedia_Call) Run added in v1.5.41

func (*PostAnalyseFilter_AcceptAnalysedMedia_Call) RunAndReturn added in v1.5.41

type PostAnalyseFilter_Expecter added in v1.5.41

type PostAnalyseFilter_Expecter struct {
	// contains filtered or unexported fields
}

func (*PostAnalyseFilter_Expecter) AcceptAnalysedMedia added in v1.5.41

func (_e *PostAnalyseFilter_Expecter) AcceptAnalysedMedia(media interface{}, folderName interface{}) *PostAnalyseFilter_AcceptAnalysedMedia_Call

AcceptAnalysedMedia is a helper method to define mock.On call

  • media *backup.AnalysedMedia
  • folderName string

type PrintReadTerminalPort

type PrintReadTerminalPort struct {
	mock.Mock
}

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 (*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

ReadAnswer is a helper method to define mock.On call

type PrintReadTerminalPort_Print_Call added in v1.5.41

type PrintReadTerminalPort_Print_Call struct {
	*mock.Call
}

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 (*PrintReadTerminalPort_Print_Call) Run added in v1.5.41

func (*PrintReadTerminalPort_Print_Call) RunAndReturn added in v1.5.41

type PrintReadTerminalPort_ReadAnswer_Call added in v1.5.41

type PrintReadTerminalPort_ReadAnswer_Call struct {
	*mock.Call
}

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 (*PrintReadTerminalPort_ReadAnswer_Call) Run added in v1.5.41

func (*PrintReadTerminalPort_ReadAnswer_Call) RunAndReturn added in v1.5.41

type ProviderFactory added in v1.6.4

type ProviderFactory struct {
	mock.Mock
}

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 (*ProviderFactory) NewProvider added in v1.6.4

NewProvider provides a mock function with given fields: ctx, mediaCounterPort

type ProviderFactoryFunc added in v1.6.4

type ProviderFactoryFunc struct {
	mock.Mock
}

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 (*ProviderFactoryFunc) Execute added in v1.6.4

Execute provides a mock function with given fields: ctx, mediaCounterPort

type ProviderFactoryFunc_Execute_Call added in v1.6.4

type ProviderFactoryFunc_Execute_Call struct {
	*mock.Call
}

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 (*ProviderFactoryFunc_Execute_Call) Run added in v1.6.4

func (*ProviderFactoryFunc_Execute_Call) RunAndReturn added in v1.6.4

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

type ProviderFactory_NewProvider_Call struct {
	*mock.Call
}

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 (*ProviderFactory_NewProvider_Call) Run added in v1.6.4

func (*ProviderFactory_NewProvider_Call) RunAndReturn added in v1.6.4

type ReferencerFactory added in v1.5.54

type ReferencerFactory struct {
	mock.Mock
}

ReferencerFactory is an autogenerated mock type for the ReferencerFactory type

func NewReferencerFactory added in v1.5.54

func NewReferencerFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *ReferencerFactory

NewReferencerFactory creates a new instance of ReferencerFactory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ReferencerFactory) EXPECT added in v1.5.54

func (*ReferencerFactory) NewCreatorReferencer added in v1.5.54

func (_m *ReferencerFactory) NewCreatorReferencer(ctx context.Context, owner ownermodel.Owner) (backup.CatalogReferencer, error)

NewCreatorReferencer provides a mock function with given fields: ctx, owner

func (*ReferencerFactory) NewDryRunReferencer added in v1.5.54

func (_m *ReferencerFactory) NewDryRunReferencer(ctx context.Context, owner ownermodel.Owner) (backup.CatalogReferencer, error)

NewDryRunReferencer provides a mock function with given fields: ctx, owner

type ReferencerFactory_Expecter added in v1.5.54

type ReferencerFactory_Expecter struct {
	// contains filtered or unexported fields
}

func (*ReferencerFactory_Expecter) NewCreatorReferencer added in v1.5.54

func (_e *ReferencerFactory_Expecter) NewCreatorReferencer(ctx interface{}, owner interface{}) *ReferencerFactory_NewCreatorReferencer_Call

NewCreatorReferencer is a helper method to define mock.On call

  • ctx context.Context
  • owner ownermodel.Owner

func (*ReferencerFactory_Expecter) NewDryRunReferencer added in v1.5.54

func (_e *ReferencerFactory_Expecter) NewDryRunReferencer(ctx interface{}, owner interface{}) *ReferencerFactory_NewDryRunReferencer_Call

NewDryRunReferencer is a helper method to define mock.On call

  • ctx context.Context
  • owner ownermodel.Owner

type ReferencerFactory_NewCreatorReferencer_Call added in v1.5.54

type ReferencerFactory_NewCreatorReferencer_Call struct {
	*mock.Call
}

ReferencerFactory_NewCreatorReferencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewCreatorReferencer'

func (*ReferencerFactory_NewCreatorReferencer_Call) Return added in v1.5.54

func (*ReferencerFactory_NewCreatorReferencer_Call) Run added in v1.5.54

func (*ReferencerFactory_NewCreatorReferencer_Call) RunAndReturn added in v1.5.54

type ReferencerFactory_NewDryRunReferencer_Call added in v1.5.54

type ReferencerFactory_NewDryRunReferencer_Call struct {
	*mock.Call
}

ReferencerFactory_NewDryRunReferencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NewDryRunReferencer'

func (*ReferencerFactory_NewDryRunReferencer_Call) Return added in v1.5.54

func (*ReferencerFactory_NewDryRunReferencer_Call) Run added in v1.5.54

func (*ReferencerFactory_NewDryRunReferencer_Call) RunAndReturn added in v1.5.54

type RefreshTokenRepository

type RefreshTokenRepository struct {
	mock.Mock
}

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 (*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

type RefreshTokenRepository_DeleteRefreshToken_Call struct {
	*mock.Call
}

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 (*RefreshTokenRepository_DeleteRefreshToken_Call) Run added in v1.5.41

func (*RefreshTokenRepository_DeleteRefreshToken_Call) RunAndReturn added in v1.5.41

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

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

type RefreshTokenRepository_FindRefreshToken_Call struct {
	*mock.Call
}

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 (*RefreshTokenRepository_FindRefreshToken_Call) Run added in v1.5.41

func (*RefreshTokenRepository_FindRefreshToken_Call) RunAndReturn added in v1.5.41

type RefreshTokenRepository_HouseKeepRefreshToken_Call added in v1.5.41

type RefreshTokenRepository_HouseKeepRefreshToken_Call struct {
	*mock.Call
}

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 (*RefreshTokenRepository_HouseKeepRefreshToken_Call) Run added in v1.5.41

func (*RefreshTokenRepository_HouseKeepRefreshToken_Call) RunAndReturn added in v1.5.41

type RefreshTokenRepository_StoreRefreshToken_Call added in v1.5.41

type RefreshTokenRepository_StoreRefreshToken_Call struct {
	*mock.Call
}

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 (*RefreshTokenRepository_StoreRefreshToken_Call) Run added in v1.5.41

func (*RefreshTokenRepository_StoreRefreshToken_Call) RunAndReturn added in v1.5.41

type RenameAlbumObserver added in v1.5.43

type RenameAlbumObserver struct {
	mock.Mock
}

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 (*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

type RenameAlbumObserver_OnRenameAlbum_Call struct {
	*mock.Call
}

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 (*RenameAlbumObserver_OnRenameAlbum_Call) Run added in v1.5.43

func (*RenameAlbumObserver_OnRenameAlbum_Call) RunAndReturn added in v1.5.43

type RenameAlbumPort

type RenameAlbumPort struct {
	mock.Mock
}

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 (*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

type RenameAlbumPort_RenameAlbum_Call struct {
	*mock.Call
}

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 (*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

type RepositoryAdapter

type RepositoryAdapter struct {
	mock.Mock
}

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 (*RepositoryAdapter) FindAlbumByIds added in v1.5.43

func (_m *RepositoryAdapter) FindAlbumByIds(ctx context.Context, ids ...catalog.AlbumId) ([]*catalog.Album, error)

FindAlbumByIds provides a mock function with given fields: ctx, ids

func (*RepositoryAdapter) FindAlbumsByOwner

func (_m *RepositoryAdapter) FindAlbumsByOwner(ctx context.Context, owner ownermodel.Owner) ([]*catalog.Album, error)

FindAlbumsByOwner provides a mock function with given fields: ctx, owner

func (*RepositoryAdapter) FindMediaCurrentAlbum

func (_m *RepositoryAdapter) FindMediaCurrentAlbum(ctx context.Context, owner ownermodel.Owner, mediaId catalog.MediaId) (*catalog.AlbumId, error)

FindMediaCurrentAlbum provides a mock function with given fields: ctx, owner, mediaId

func (*RepositoryAdapter) FindMedias

func (_m *RepositoryAdapter) FindMedias(ctx context.Context, request *catalog.FindMediaRequest) ([]*catalog.MediaMeta, error)

FindMedias provides a mock function with given fields: ctx, request

type RepositoryAdapter_CountMedia_Call added in v1.5.50

type RepositoryAdapter_CountMedia_Call struct {
	*mock.Call
}

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 (*RepositoryAdapter_CountMedia_Call) Run added in v1.5.50

func (*RepositoryAdapter_CountMedia_Call) RunAndReturn added in v1.5.50

type RepositoryAdapter_Expecter added in v1.5.41

type RepositoryAdapter_Expecter struct {
	// contains filtered or unexported fields
}

func (*RepositoryAdapter_Expecter) CountMedia added in v1.5.50

func (_e *RepositoryAdapter_Expecter) CountMedia(ctx interface{}, album ...interface{}) *RepositoryAdapter_CountMedia_Call

CountMedia is a helper method to define mock.On call

  • ctx context.Context
  • album ...catalog.AlbumId

func (*RepositoryAdapter_Expecter) FindAlbumByIds added in v1.5.43

func (_e *RepositoryAdapter_Expecter) FindAlbumByIds(ctx interface{}, ids ...interface{}) *RepositoryAdapter_FindAlbumByIds_Call

FindAlbumByIds is a helper method to define mock.On call

  • ctx context.Context
  • ids ...catalog.AlbumId

func (*RepositoryAdapter_Expecter) FindAlbumsByOwner added in v1.5.41

func (_e *RepositoryAdapter_Expecter) FindAlbumsByOwner(ctx interface{}, owner interface{}) *RepositoryAdapter_FindAlbumsByOwner_Call

FindAlbumsByOwner is a helper method to define mock.On call

  • ctx context.Context
  • owner ownermodel.Owner

func (*RepositoryAdapter_Expecter) FindMediaCurrentAlbum added in v1.5.41

func (_e *RepositoryAdapter_Expecter) FindMediaCurrentAlbum(ctx interface{}, owner interface{}, mediaId interface{}) *RepositoryAdapter_FindMediaCurrentAlbum_Call

FindMediaCurrentAlbum is a helper method to define mock.On call

  • ctx context.Context
  • owner ownermodel.Owner
  • mediaId catalog.MediaId

func (*RepositoryAdapter_Expecter) FindMedias added in v1.5.41

func (_e *RepositoryAdapter_Expecter) FindMedias(ctx interface{}, request interface{}) *RepositoryAdapter_FindMedias_Call

FindMedias is a helper method to define mock.On call

  • ctx context.Context
  • request *catalog.FindMediaRequest

type RepositoryAdapter_FindAlbumByIds_Call added in v1.5.43

type RepositoryAdapter_FindAlbumByIds_Call struct {
	*mock.Call
}

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 (*RepositoryAdapter_FindAlbumByIds_Call) Run added in v1.5.43

func (*RepositoryAdapter_FindAlbumByIds_Call) RunAndReturn added in v1.5.43

type RepositoryAdapter_FindAlbumsByOwner_Call added in v1.5.41

type RepositoryAdapter_FindAlbumsByOwner_Call struct {
	*mock.Call
}

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 (*RepositoryAdapter_FindAlbumsByOwner_Call) Run added in v1.5.41

func (*RepositoryAdapter_FindAlbumsByOwner_Call) RunAndReturn added in v1.5.41

type RepositoryAdapter_FindMediaCurrentAlbum_Call added in v1.5.41

type RepositoryAdapter_FindMediaCurrentAlbum_Call struct {
	*mock.Call
}

RepositoryAdapter_FindMediaCurrentAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMediaCurrentAlbum'

func (*RepositoryAdapter_FindMediaCurrentAlbum_Call) Return added in v1.5.41

func (*RepositoryAdapter_FindMediaCurrentAlbum_Call) Run added in v1.5.41

func (*RepositoryAdapter_FindMediaCurrentAlbum_Call) RunAndReturn added in v1.5.41

type RepositoryAdapter_FindMedias_Call added in v1.5.41

type RepositoryAdapter_FindMedias_Call struct {
	*mock.Call
}

RepositoryAdapter_FindMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMedias'

func (*RepositoryAdapter_FindMedias_Call) Return added in v1.5.41

func (*RepositoryAdapter_FindMedias_Call) Run added in v1.5.41

func (*RepositoryAdapter_FindMedias_Call) RunAndReturn added in v1.5.41

type ResizerAdapter

type ResizerAdapter struct {
	mock.Mock
}

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 (*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

type ResizerAdapter_ResizeImageAtDifferentWidths_Call struct {
	*mock.Call
}

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 (*ResizerAdapter_ResizeImageAtDifferentWidths_Call) Run added in v1.5.41

func (*ResizerAdapter_ResizeImageAtDifferentWidths_Call) RunAndReturn added in v1.5.41

type ResizerAdapter_ResizeImage_Call added in v1.5.41

type ResizerAdapter_ResizeImage_Call struct {
	*mock.Call
}

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 (*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

type ReverseScopesReader

type ReverseScopesReader struct {
	mock.Mock
}

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 (*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

type ReverseScopesReader_ListScopesByOwner_Call struct {
	*mock.Call
}

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 (*ReverseScopesReader_ListScopesByOwner_Call) Run added in v1.5.49

func (*ReverseScopesReader_ListScopesByOwner_Call) RunAndReturn added in v1.5.49

type RevokeAccessTokenAdapter

type RevokeAccessTokenAdapter struct {
	mock.Mock
}

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

type RevokeAccessTokenAdapter_DeleteRefreshToken_Call added in v1.5.41

type RevokeAccessTokenAdapter_DeleteRefreshToken_Call struct {
	*mock.Call
}

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 (*RevokeAccessTokenAdapter_DeleteRefreshToken_Call) Run added in v1.5.41

func (*RevokeAccessTokenAdapter_DeleteRefreshToken_Call) RunAndReturn added in v1.5.41

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

DeleteRefreshToken is a helper method to define mock.On call

  • token string

type RunnerAnalyser added in v1.5.20

type RunnerAnalyser struct {
	mock.Mock
}

RunnerAnalyser is an autogenerated mock type for the RunnerAnalyser type

func NewRunnerAnalyser added in v1.5.20

func NewRunnerAnalyser(t interface {
	mock.TestingT
	Cleanup(func())
}) *RunnerAnalyser

NewRunnerAnalyser creates a new instance of RunnerAnalyser. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RunnerAnalyser) Analyse added in v1.5.20

func (_m *RunnerAnalyser) Analyse(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent) (*backup.AnalysedMedia, error)

Analyse provides a mock function with given fields: found, progressChannel

func (*RunnerAnalyser) EXPECT added in v1.5.41

type RunnerAnalyserFunc added in v1.5.0

type RunnerAnalyserFunc struct {
	mock.Mock
}

RunnerAnalyserFunc is an autogenerated mock type for the RunnerAnalyserFunc type

func NewRunnerAnalyserFunc added in v1.5.0

func NewRunnerAnalyserFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *RunnerAnalyserFunc

NewRunnerAnalyserFunc creates a new instance of RunnerAnalyserFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RunnerAnalyserFunc) EXPECT added in v1.5.41

func (*RunnerAnalyserFunc) Execute added in v1.5.0

func (_m *RunnerAnalyserFunc) Execute(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent) (*backup.AnalysedMedia, error)

Execute provides a mock function with given fields: found, progressChannel

type RunnerAnalyserFunc_Execute_Call added in v1.5.41

type RunnerAnalyserFunc_Execute_Call struct {
	*mock.Call
}

RunnerAnalyserFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*RunnerAnalyserFunc_Execute_Call) Return added in v1.5.41

func (*RunnerAnalyserFunc_Execute_Call) Run added in v1.5.41

func (*RunnerAnalyserFunc_Execute_Call) RunAndReturn added in v1.5.41

type RunnerAnalyserFunc_Expecter added in v1.5.41

type RunnerAnalyserFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*RunnerAnalyserFunc_Expecter) Execute added in v1.5.41

func (_e *RunnerAnalyserFunc_Expecter) Execute(found interface{}, progressChannel interface{}) *RunnerAnalyserFunc_Execute_Call

Execute is a helper method to define mock.On call

  • found backup.FoundMedia
  • progressChannel chan *backup.ProgressEvent

type RunnerAnalyser_Analyse_Call added in v1.5.41

type RunnerAnalyser_Analyse_Call struct {
	*mock.Call
}

RunnerAnalyser_Analyse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Analyse'

func (*RunnerAnalyser_Analyse_Call) Return added in v1.5.41

func (*RunnerAnalyser_Analyse_Call) Run added in v1.5.41

func (_c *RunnerAnalyser_Analyse_Call) Run(run func(found backup.FoundMedia, progressChannel chan *backup.ProgressEvent)) *RunnerAnalyser_Analyse_Call

func (*RunnerAnalyser_Analyse_Call) RunAndReturn added in v1.5.41

type RunnerAnalyser_Expecter added in v1.5.41

type RunnerAnalyser_Expecter struct {
	// contains filtered or unexported fields
}

func (*RunnerAnalyser_Expecter) Analyse added in v1.5.41

func (_e *RunnerAnalyser_Expecter) Analyse(found interface{}, progressChannel interface{}) *RunnerAnalyser_Analyse_Call

Analyse is a helper method to define mock.On call

  • found backup.FoundMedia
  • progressChannel chan *backup.ProgressEvent

type RunnerCataloger added in v1.5.54

type RunnerCataloger struct {
	mock.Mock
}

RunnerCataloger is an autogenerated mock type for the RunnerCataloger type

func NewRunnerCataloger added in v1.5.54

func NewRunnerCataloger(t interface {
	mock.TestingT
	Cleanup(func())
}) *RunnerCataloger

NewRunnerCataloger creates a new instance of RunnerCataloger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RunnerCataloger) Catalog added in v1.5.54

func (_m *RunnerCataloger) Catalog(ctx context.Context, medias []*backup.AnalysedMedia, progressChannel chan *backup.ProgressEvent) ([]*backup.BackingUpMediaRequest, error)

Catalog provides a mock function with given fields: ctx, medias, progressChannel

func (*RunnerCataloger) EXPECT added in v1.5.54

type RunnerCatalogerFunc added in v1.5.54

type RunnerCatalogerFunc struct {
	mock.Mock
}

RunnerCatalogerFunc is an autogenerated mock type for the RunnerCatalogerFunc type

func NewRunnerCatalogerFunc added in v1.5.54

func NewRunnerCatalogerFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *RunnerCatalogerFunc

NewRunnerCatalogerFunc creates a new instance of RunnerCatalogerFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RunnerCatalogerFunc) EXPECT added in v1.5.54

func (*RunnerCatalogerFunc) Execute added in v1.5.54

func (_m *RunnerCatalogerFunc) Execute(ctx context.Context, medias []*backup.AnalysedMedia, progressChannel chan *backup.ProgressEvent) ([]*backup.BackingUpMediaRequest, error)

Execute provides a mock function with given fields: ctx, medias, progressChannel

type RunnerCatalogerFunc_Execute_Call added in v1.5.54

type RunnerCatalogerFunc_Execute_Call struct {
	*mock.Call
}

RunnerCatalogerFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*RunnerCatalogerFunc_Execute_Call) Return added in v1.5.54

func (*RunnerCatalogerFunc_Execute_Call) Run added in v1.5.54

func (*RunnerCatalogerFunc_Execute_Call) RunAndReturn added in v1.5.54

type RunnerCatalogerFunc_Expecter added in v1.5.54

type RunnerCatalogerFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*RunnerCatalogerFunc_Expecter) Execute added in v1.5.54

func (_e *RunnerCatalogerFunc_Expecter) Execute(ctx interface{}, medias interface{}, progressChannel interface{}) *RunnerCatalogerFunc_Execute_Call

Execute is a helper method to define mock.On call

  • ctx context.Context
  • medias []*backup.AnalysedMedia
  • progressChannel chan *backup.ProgressEvent

type RunnerCataloger_Catalog_Call added in v1.5.54

type RunnerCataloger_Catalog_Call struct {
	*mock.Call
}

RunnerCataloger_Catalog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Catalog'

func (*RunnerCataloger_Catalog_Call) Return added in v1.5.54

func (*RunnerCataloger_Catalog_Call) Run added in v1.5.54

func (_c *RunnerCataloger_Catalog_Call) Run(run func(ctx context.Context, medias []*backup.AnalysedMedia, progressChannel chan *backup.ProgressEvent)) *RunnerCataloger_Catalog_Call

func (*RunnerCataloger_Catalog_Call) RunAndReturn added in v1.5.54

type RunnerCataloger_Expecter added in v1.5.54

type RunnerCataloger_Expecter struct {
	// contains filtered or unexported fields
}

func (*RunnerCataloger_Expecter) Catalog added in v1.5.54

func (_e *RunnerCataloger_Expecter) Catalog(ctx interface{}, medias interface{}, progressChannel interface{}) *RunnerCataloger_Catalog_Call

Catalog is a helper method to define mock.On call

  • ctx context.Context
  • medias []*backup.AnalysedMedia
  • progressChannel chan *backup.ProgressEvent

type RunnerUploader added in v1.6.4

type RunnerUploader struct {
	mock.Mock
}

RunnerUploader is an autogenerated mock type for the RunnerUploader type

func NewRunnerUploader added in v1.6.4

func NewRunnerUploader(t interface {
	mock.TestingT
	Cleanup(func())
}) *RunnerUploader

NewRunnerUploader creates a new instance of RunnerUploader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RunnerUploader) EXPECT added in v1.6.4

func (*RunnerUploader) Upload added in v1.6.4

func (_m *RunnerUploader) Upload(buffer []*backup.BackingUpMediaRequest, progressChannel chan *backup.ProgressEvent) error

Upload provides a mock function with given fields: buffer, progressChannel

type RunnerUploaderFunc added in v1.6.4

type RunnerUploaderFunc struct {
	mock.Mock
}

RunnerUploaderFunc is an autogenerated mock type for the RunnerUploaderFunc type

func NewRunnerUploaderFunc added in v1.6.4

func NewRunnerUploaderFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *RunnerUploaderFunc

NewRunnerUploaderFunc creates a new instance of RunnerUploaderFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RunnerUploaderFunc) EXPECT added in v1.6.4

func (*RunnerUploaderFunc) Execute added in v1.6.4

func (_m *RunnerUploaderFunc) Execute(buffer []*backup.BackingUpMediaRequest, progressChannel chan *backup.ProgressEvent) error

Execute provides a mock function with given fields: buffer, progressChannel

type RunnerUploaderFunc_Execute_Call added in v1.6.4

type RunnerUploaderFunc_Execute_Call struct {
	*mock.Call
}

RunnerUploaderFunc_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'

func (*RunnerUploaderFunc_Execute_Call) Return added in v1.6.4

func (*RunnerUploaderFunc_Execute_Call) Run added in v1.6.4

func (*RunnerUploaderFunc_Execute_Call) RunAndReturn added in v1.6.4

type RunnerUploaderFunc_Expecter added in v1.6.4

type RunnerUploaderFunc_Expecter struct {
	// contains filtered or unexported fields
}

func (*RunnerUploaderFunc_Expecter) Execute added in v1.6.4

func (_e *RunnerUploaderFunc_Expecter) Execute(buffer interface{}, progressChannel interface{}) *RunnerUploaderFunc_Execute_Call

Execute is a helper method to define mock.On call

  • buffer []*backup.BackingUpMediaRequest
  • progressChannel chan *backup.ProgressEvent

type RunnerUploader_Expecter added in v1.6.4

type RunnerUploader_Expecter struct {
	// contains filtered or unexported fields
}

func (*RunnerUploader_Expecter) Upload added in v1.6.4

func (_e *RunnerUploader_Expecter) Upload(buffer interface{}, progressChannel interface{}) *RunnerUploader_Upload_Call

Upload is a helper method to define mock.On call

  • buffer []*backup.BackingUpMediaRequest
  • progressChannel chan *backup.ProgressEvent

type RunnerUploader_Upload_Call added in v1.6.4

type RunnerUploader_Upload_Call struct {
	*mock.Call
}

RunnerUploader_Upload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Upload'

func (*RunnerUploader_Upload_Call) Return added in v1.6.4

func (*RunnerUploader_Upload_Call) Run added in v1.6.4

func (_c *RunnerUploader_Upload_Call) Run(run func(buffer []*backup.BackingUpMediaRequest, progressChannel chan *backup.ProgressEvent)) *RunnerUploader_Upload_Call

func (*RunnerUploader_Upload_Call) RunAndReturn added in v1.6.4

type ScanStreamExecutor

type ScanStreamExecutor struct {
	mock.Mock
}

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 (*ScanStreamExecutor) Scan

func (_m *ScanStreamExecutor) Scan(ctx context.Context, params *dynamodb.ScanInput, optFns ...func(*dynamodb.Options)) (*dynamodb.ScanOutput, error)

Scan provides a mock function with given fields: ctx, params, optFns

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

type ScanStreamExecutor_Scan_Call struct {
	*mock.Call
}

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 (*ScanStreamExecutor_Scan_Call) Run added in v1.5.41

func (*ScanStreamExecutor_Scan_Call) RunAndReturn added in v1.5.41

type ScopeReadRepository added in v1.5.49

type ScopeReadRepository struct {
	mock.Mock
}

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 (*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

func (*ScopeReadRepository) ListScopesByUser added in v1.5.49

func (_m *ScopeReadRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)

ListScopesByUser provides a mock function with given fields: ctx, email, types

type ScopeReadRepositoryPort added in v1.5.49

type ScopeReadRepositoryPort struct {
	mock.Mock
}

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 (*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

func (*ScopeReadRepositoryPort) ListScopesByUser added in v1.5.49

func (_m *ScopeReadRepositoryPort) ListScopesByUser(ctx context.Context, id usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)

ListScopesByUser provides a mock function with given fields: ctx, id, 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

type ScopeReadRepositoryPort_ListScopesByOwner_Call struct {
	*mock.Call
}

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 (*ScopeReadRepositoryPort_ListScopesByOwner_Call) Run added in v1.5.49

func (*ScopeReadRepositoryPort_ListScopesByOwner_Call) RunAndReturn added in v1.5.49

type ScopeReadRepositoryPort_ListScopesByUser_Call added in v1.5.49

type ScopeReadRepositoryPort_ListScopesByUser_Call struct {
	*mock.Call
}

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 (*ScopeReadRepositoryPort_ListScopesByUser_Call) Run added in v1.5.49

func (*ScopeReadRepositoryPort_ListScopesByUser_Call) RunAndReturn added in v1.5.49

type ScopeReadRepository_Expecter added in v1.5.49

type ScopeReadRepository_Expecter struct {
	// contains filtered or unexported fields
}

func (*ScopeReadRepository_Expecter) ListScopesByOwner added in v1.5.49

func (_e *ScopeReadRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByOwner_Call

ListScopesByOwner is a helper method to define mock.On call

  • ctx context.Context
  • owner ownermodel.Owner
  • types ...aclcore.ScopeType

func (*ScopeReadRepository_Expecter) ListScopesByUser added in v1.5.49

func (_e *ScopeReadRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopeReadRepository_ListScopesByUser_Call

ListScopesByUser is a helper method to define mock.On call

  • ctx context.Context
  • email usermodel.UserId
  • types ...aclcore.ScopeType

type ScopeReadRepository_ListScopesByOwner_Call added in v1.5.49

type ScopeReadRepository_ListScopesByOwner_Call struct {
	*mock.Call
}

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 (*ScopeReadRepository_ListScopesByOwner_Call) Run added in v1.5.49

func (*ScopeReadRepository_ListScopesByOwner_Call) RunAndReturn added in v1.5.49

type ScopeReadRepository_ListScopesByUser_Call added in v1.5.49

type ScopeReadRepository_ListScopesByUser_Call struct {
	*mock.Call
}

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 (*ScopeReadRepository_ListScopesByUser_Call) Run added in v1.5.49

func (*ScopeReadRepository_ListScopesByUser_Call) RunAndReturn added in v1.5.49

type ScopeRepository

type ScopeRepository struct {
	mock.Mock
}

ScopeRepository is an autogenerated mock type for the ScopeRepository type

func NewScopeRepository

func NewScopeRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *ScopeRepository

NewScopeRepository creates a new instance of ScopeRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ScopeRepository) EXPECT added in v1.5.41

func (*ScopeRepository) FindScopesById

func (_m *ScopeRepository) FindScopesById(ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)

FindScopesById provides a mock function with given fields: ids

func (*ScopeRepository) ListScopesByOwner added in v1.5.49

func (_m *ScopeRepository) ListScopesByOwner(ctx context.Context, owner ownermodel.Owner, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)

ListScopesByOwner provides a mock function with given fields: ctx, owner, types

func (*ScopeRepository) ListScopesByUser added in v1.5.49

func (_m *ScopeRepository) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)

ListScopesByUser provides a mock function with given fields: ctx, email, types

type ScopeRepository_Expecter added in v1.5.41

type ScopeRepository_Expecter struct {
	// contains filtered or unexported fields
}

func (*ScopeRepository_Expecter) FindScopesById added in v1.5.41

func (_e *ScopeRepository_Expecter) FindScopesById(ids ...interface{}) *ScopeRepository_FindScopesById_Call

FindScopesById is a helper method to define mock.On call

  • ids ...aclcore.ScopeId

func (*ScopeRepository_Expecter) ListScopesByOwner added in v1.5.49

func (_e *ScopeRepository_Expecter) ListScopesByOwner(ctx interface{}, owner interface{}, types ...interface{}) *ScopeRepository_ListScopesByOwner_Call

ListScopesByOwner is a helper method to define mock.On call

  • ctx context.Context
  • owner ownermodel.Owner
  • types ...aclcore.ScopeType

func (*ScopeRepository_Expecter) ListScopesByUser added in v1.5.49

func (_e *ScopeRepository_Expecter) ListScopesByUser(ctx interface{}, email interface{}, types ...interface{}) *ScopeRepository_ListScopesByUser_Call

ListScopesByUser is a helper method to define mock.On call

  • ctx context.Context
  • email usermodel.UserId
  • types ...aclcore.ScopeType

type ScopeRepository_FindScopesById_Call added in v1.5.41

type ScopeRepository_FindScopesById_Call struct {
	*mock.Call
}

ScopeRepository_FindScopesById_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindScopesById'

func (*ScopeRepository_FindScopesById_Call) Return added in v1.5.41

func (*ScopeRepository_FindScopesById_Call) Run added in v1.5.41

func (*ScopeRepository_FindScopesById_Call) RunAndReturn added in v1.5.41

type ScopeRepository_ListScopesByOwner_Call added in v1.5.49

type ScopeRepository_ListScopesByOwner_Call struct {
	*mock.Call
}

ScopeRepository_ListScopesByOwner_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByOwner'

func (*ScopeRepository_ListScopesByOwner_Call) Return added in v1.5.49

func (*ScopeRepository_ListScopesByOwner_Call) Run added in v1.5.49

func (*ScopeRepository_ListScopesByOwner_Call) RunAndReturn added in v1.5.49

type ScopeRepository_ListScopesByUser_Call added in v1.5.49

type ScopeRepository_ListScopesByUser_Call struct {
	*mock.Call
}

ScopeRepository_ListScopesByUser_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListScopesByUser'

func (*ScopeRepository_ListScopesByUser_Call) Return added in v1.5.49

func (*ScopeRepository_ListScopesByUser_Call) Run added in v1.5.49

func (*ScopeRepository_ListScopesByUser_Call) RunAndReturn added in v1.5.49

type ScopeWriter

type ScopeWriter struct {
	mock.Mock
}

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

type ScopeWriter_DeleteScopes_Call struct {
	*mock.Call
}

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 (*ScopeWriter_DeleteScopes_Call) Run added in v1.5.41

func (*ScopeWriter_DeleteScopes_Call) RunAndReturn added in v1.5.41

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

type ScopeWriter_SaveIfNewScope_Call struct {
	*mock.Call
}

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 (*ScopeWriter_SaveIfNewScope_Call) Run added in v1.5.41

func (*ScopeWriter_SaveIfNewScope_Call) RunAndReturn added in v1.5.41

type ScopesReader

type ScopesReader struct {
	mock.Mock
}

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

func (_m *ScopesReader) FindScopesById(ids ...aclcore.ScopeId) ([]*aclcore.Scope, error)

FindScopesById provides a mock function with given fields: ids

func (*ScopesReader) ListScopesByUser added in v1.5.49

func (_m *ScopesReader) ListScopesByUser(ctx context.Context, email usermodel.UserId, types ...aclcore.ScopeType) ([]*aclcore.Scope, error)

ListScopesByUser provides a mock function with given fields: ctx, email, types

type ScopesReader_Expecter added in v1.5.41

type ScopesReader_Expecter struct {
	// contains filtered or unexported fields
}

func (*ScopesReader_Expecter) FindScopesById added in v1.5.41

func (_e *ScopesReader_Expecter) FindScopesById(ids ...interface{}) *ScopesReader_FindScopesById_Call

FindScopesById is a helper method to define mock.On call

  • ids ...aclcore.ScopeId

func (*ScopesReader_Expecter) 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

type ScopesReader_FindScopesById_Call struct {
	*mock.Call
}

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 (*ScopesReader_FindScopesById_Call) Run added in v1.5.41

func (*ScopesReader_FindScopesById_Call) RunAndReturn added in v1.5.41

type ScopesReader_ListScopesByUser_Call added in v1.5.49

type ScopesReader_ListScopesByUser_Call struct {
	*mock.Call
}

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 (*ScopesReader_ListScopesByUser_Call) Run added in v1.5.49

func (*ScopesReader_ListScopesByUser_Call) RunAndReturn added in v1.5.49

type SecretAccessKeyDecoder added in v1.5.33

type SecretAccessKeyDecoder struct {
	mock.Mock
}

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 (*SecretAccessKeyDecoder) Execute added in v1.5.33

func (_m *SecretAccessKeyDecoder) Execute(encodedValue string) (string, error)

Execute provides a mock function with given fields: encodedValue

type SecretAccessKeyDecoder_Execute_Call added in v1.5.41

type SecretAccessKeyDecoder_Execute_Call struct {
	*mock.Call
}

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 (*SecretAccessKeyDecoder_Execute_Call) Run added in v1.5.41

func (*SecretAccessKeyDecoder_Execute_Call) RunAndReturn added in v1.5.41

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 {
	mock.Mock
}

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 (*SharedWithUserFunc) Execute added in v1.5.49

func (_m *SharedWithUserFunc) Execute(ctx context.Context, userId usermodel.UserId) ([]catalog.AlbumId, error)

Execute provides a mock function with given fields: ctx, userId

type SharedWithUserFunc_Execute_Call added in v1.5.49

type SharedWithUserFunc_Execute_Call struct {
	*mock.Call
}

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 (*SharedWithUserFunc_Execute_Call) Run added in v1.5.49

func (*SharedWithUserFunc_Execute_Call) RunAndReturn added in v1.5.49

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 {
	mock.Mock
}

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 (*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 {
	*mock.Call
}

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 (*SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) Run added in v1.5.48

func (*SharedWithUserPort_ListAlbumIdsSharedWithUser_Call) RunAndReturn added in v1.5.48

type SourceVolume

type SourceVolume struct {
	mock.Mock
}

SourceVolume is an autogenerated mock type for the SourceVolume type

func NewSourceVolume

func NewSourceVolume(t interface {
	mock.TestingT
	Cleanup(func())
}) *SourceVolume

NewSourceVolume creates a new instance of SourceVolume. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SourceVolume) EXPECT added in v1.5.41

func (_m *SourceVolume) EXPECT() *SourceVolume_Expecter

func (*SourceVolume) FindMedias

func (_m *SourceVolume) FindMedias() ([]backup.FoundMedia, error)

FindMedias provides a mock function with given fields:

func (*SourceVolume) String

func (_m *SourceVolume) String() string

String provides a mock function with given fields:

type SourceVolume_Expecter added in v1.5.41

type SourceVolume_Expecter struct {
	// contains filtered or unexported fields
}

func (*SourceVolume_Expecter) FindMedias added in v1.5.41

FindMedias is a helper method to define mock.On call

func (*SourceVolume_Expecter) String added in v1.5.41

String is a helper method to define mock.On call

type SourceVolume_FindMedias_Call added in v1.5.41

type SourceVolume_FindMedias_Call struct {
	*mock.Call
}

SourceVolume_FindMedias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindMedias'

func (*SourceVolume_FindMedias_Call) Return added in v1.5.41

func (*SourceVolume_FindMedias_Call) Run added in v1.5.41

func (*SourceVolume_FindMedias_Call) RunAndReturn added in v1.5.41

type SourceVolume_String_Call added in v1.5.41

type SourceVolume_String_Call struct {
	*mock.Call
}

SourceVolume_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'

func (*SourceVolume_String_Call) Return added in v1.5.41

func (*SourceVolume_String_Call) Run added in v1.5.41

func (*SourceVolume_String_Call) RunAndReturn added in v1.5.41

func (_c *SourceVolume_String_Call) RunAndReturn(run func() string) *SourceVolume_String_Call

type StatefulAlbumReferencer added in v1.5.54

type StatefulAlbumReferencer struct {
	mock.Mock
}

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 (*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

type StatefulAlbumReferencer_FindReference_Call struct {
	*mock.Call
}

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 (*StatefulAlbumReferencer_FindReference_Call) Run added in v1.5.54

func (*StatefulAlbumReferencer_FindReference_Call) RunAndReturn added in v1.5.54

type StoreAdapter

type StoreAdapter struct {
	mock.Mock
}

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

func (_m *StoreAdapter) SignedURL(key string, duration time.Duration) (string, error)

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

type StoreAdapter_Copy_Call struct {
	*mock.Call
}

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 (*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

type StoreAdapter_Delete_Call added in v1.5.41

type StoreAdapter_Delete_Call struct {
	*mock.Call
}

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 (*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

type StoreAdapter_Download_Call struct {
	*mock.Call
}

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 (*StoreAdapter_Download_Call) Run added in v1.5.41

func (*StoreAdapter_Download_Call) RunAndReturn added in v1.5.41

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

type StoreAdapter_SignedURL_Call struct {
	*mock.Call
}

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 (*StoreAdapter_SignedURL_Call) Run added in v1.5.41

func (*StoreAdapter_SignedURL_Call) RunAndReturn added in v1.5.41

type StoreAdapter_Upload_Call added in v1.5.41

type StoreAdapter_Upload_Call struct {
	*mock.Call
}

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 (*StoreAdapter_Upload_Call) Run added in v1.5.41

func (*StoreAdapter_Upload_Call) RunAndReturn added in v1.5.41

type StoreAndCache

type StoreAndCache struct {
	mock.Mock
}

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) Put

func (_m *StoreAndCache) Put(key string, mediaType string, content io.Reader) error

Put provides a mock function with given fields: key, mediaType, content

func (*StoreAndCache) SignedURL

func (_m *StoreAndCache) SignedURL(key string, duration time.Duration) (string, error)

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

type StoreAndCache_Copy_Call struct {
	*mock.Call
}

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 (*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

type StoreAndCache_Delete_Call added in v1.5.41

type StoreAndCache_Delete_Call struct {
	*mock.Call
}

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 (*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

type StoreAndCache_Download_Call struct {
	*mock.Call
}

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 (*StoreAndCache_Download_Call) Run added in v1.5.41

func (*StoreAndCache_Download_Call) RunAndReturn added in v1.5.41

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

type StoreAndCache_Get_Call struct {
	*mock.Call
}

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

type StoreAndCache_Put_Call added in v1.5.41

type StoreAndCache_Put_Call struct {
	*mock.Call
}

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 (*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

type StoreAndCache_SignedURL_Call struct {
	*mock.Call
}

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 (*StoreAndCache_SignedURL_Call) Run added in v1.5.41

func (*StoreAndCache_SignedURL_Call) RunAndReturn added in v1.5.41

type StoreAndCache_Upload_Call added in v1.5.41

type StoreAndCache_Upload_Call struct {
	*mock.Call
}

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 (*StoreAndCache_Upload_Call) Run added in v1.5.41

func (*StoreAndCache_Upload_Call) RunAndReturn added in v1.5.41

type StoreAndCache_WalkCacheByPrefix_Call added in v1.5.41

type StoreAndCache_WalkCacheByPrefix_Call struct {
	*mock.Call
}

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 (*StoreAndCache_WalkCacheByPrefix_Call) Run added in v1.5.41

func (*StoreAndCache_WalkCacheByPrefix_Call) RunAndReturn added in v1.5.41

type Stream

type Stream struct {
	mock.Mock
}

Stream is an autogenerated mock type for the Stream type

func NewStream

func NewStream(t interface {
	mock.TestingT
	Cleanup(func())
}) *Stream

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) Count

func (_m *Stream) Count() int64

Count provides a mock function with given fields:

func (*Stream) EXPECT added in v1.5.41

func (_m *Stream) EXPECT() *Stream_Expecter

func (*Stream) Error

func (_m *Stream) Error() error

Error provides a mock function with given fields:

func (*Stream) HasNext

func (_m *Stream) HasNext() bool

HasNext provides a mock function with given fields:

func (*Stream) Next

func (_m *Stream) Next() map[string]types.AttributeValue

Next provides a mock function with given fields:

type Stream_Count_Call added in v1.5.41

type Stream_Count_Call struct {
	*mock.Call
}

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

type Stream_Error_Call struct {
	*mock.Call
}

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

type Stream_HasNext_Call struct {
	*mock.Call
}

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

type Stream_Next_Call struct {
	*mock.Call
}

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 (*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

type SuggestionRecordRepositoryPort struct {
	mock.Mock
}

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 (*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

type SuggestionRecordRepositoryPort_Count_Call struct {
	*mock.Call
}

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 (*SuggestionRecordRepositoryPort_Count_Call) Run added in v1.5.41

func (*SuggestionRecordRepositoryPort_Count_Call) RunAndReturn added in v1.5.41

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

Count is a helper method to define mock.On call

func (*SuggestionRecordRepositoryPort_Expecter) FindSuggestionRecords added in v1.5.41

FindSuggestionRecords is a helper method to define mock.On call

func (*SuggestionRecordRepositoryPort_Expecter) Rejects added in v1.5.41

Rejects is a helper method to define mock.On call

type SuggestionRecordRepositoryPort_FindSuggestionRecords_Call added in v1.5.41

type SuggestionRecordRepositoryPort_FindSuggestionRecords_Call struct {
	*mock.Call
}

SuggestionRecordRepositoryPort_FindSuggestionRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindSuggestionRecords'

func (*SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Return added in v1.5.41

func (*SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) Run added in v1.5.41

func (*SuggestionRecordRepositoryPort_FindSuggestionRecords_Call) RunAndReturn added in v1.5.41

type SuggestionRecordRepositoryPort_Rejects_Call added in v1.5.41

type SuggestionRecordRepositoryPort_Rejects_Call struct {
	*mock.Call
}

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 (*SuggestionRecordRepositoryPort_Rejects_Call) Run added in v1.5.41

func (*SuggestionRecordRepositoryPort_Rejects_Call) RunAndReturn added in v1.5.41

type TimelineAdapter

type TimelineAdapter struct {
	mock.Mock
}

TimelineAdapter is an autogenerated mock type for the TimelineAdapter type

func NewTimelineAdapter

func NewTimelineAdapter(t interface {
	mock.TestingT
	Cleanup(func())
}) *TimelineAdapter

NewTimelineAdapter creates a new instance of TimelineAdapter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TimelineAdapter) EXPECT added in v1.5.41

func (*TimelineAdapter) FindAlbum

func (_m *TimelineAdapter) FindAlbum(dateTime time.Time) (string, bool, error)

FindAlbum provides a mock function with given fields: dateTime

func (*TimelineAdapter) FindOrCreateAlbum

func (_m *TimelineAdapter) FindOrCreateAlbum(mediaTime time.Time) (string, bool, error)

FindOrCreateAlbum provides a mock function with given fields: mediaTime

type TimelineAdapter_Expecter added in v1.5.41

type TimelineAdapter_Expecter struct {
	// contains filtered or unexported fields
}

func (*TimelineAdapter_Expecter) FindAlbum added in v1.5.41

func (_e *TimelineAdapter_Expecter) FindAlbum(dateTime interface{}) *TimelineAdapter_FindAlbum_Call

FindAlbum is a helper method to define mock.On call

  • dateTime time.Time

func (*TimelineAdapter_Expecter) FindOrCreateAlbum added in v1.5.41

func (_e *TimelineAdapter_Expecter) FindOrCreateAlbum(mediaTime interface{}) *TimelineAdapter_FindOrCreateAlbum_Call

FindOrCreateAlbum is a helper method to define mock.On call

  • mediaTime time.Time

type TimelineAdapter_FindAlbum_Call added in v1.5.41

type TimelineAdapter_FindAlbum_Call struct {
	*mock.Call
}

TimelineAdapter_FindAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindAlbum'

func (*TimelineAdapter_FindAlbum_Call) Return added in v1.5.41

func (_c *TimelineAdapter_FindAlbum_Call) Return(folderName string, exists bool, err error) *TimelineAdapter_FindAlbum_Call

func (*TimelineAdapter_FindAlbum_Call) Run added in v1.5.41

func (*TimelineAdapter_FindAlbum_Call) RunAndReturn added in v1.5.41

type TimelineAdapter_FindOrCreateAlbum_Call added in v1.5.41

type TimelineAdapter_FindOrCreateAlbum_Call struct {
	*mock.Call
}

TimelineAdapter_FindOrCreateAlbum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FindOrCreateAlbum'

func (*TimelineAdapter_FindOrCreateAlbum_Call) Return added in v1.5.41

func (*TimelineAdapter_FindOrCreateAlbum_Call) Run added in v1.5.41

func (*TimelineAdapter_FindOrCreateAlbum_Call) RunAndReturn added in v1.5.41

type TimelineMutationObserver added in v1.5.33

type TimelineMutationObserver struct {
	mock.Mock
}

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 (*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

type TimelineMutationObserverFunc struct {
	mock.Mock
}

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 (*TimelineMutationObserverFunc) Execute added in v1.5.42

Execute provides a mock function with given fields: ctx, transfers

type TimelineMutationObserverFunc_Execute_Call added in v1.5.42

type TimelineMutationObserverFunc_Execute_Call struct {
	*mock.Call
}

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 (*TimelineMutationObserverFunc_Execute_Call) Run added in v1.5.42

func (*TimelineMutationObserverFunc_Execute_Call) RunAndReturn added in v1.5.42

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

type TimelineMutationObserver_OnTransferredMedias_Call struct {
	*mock.Call
}

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 (*TimelineMutationObserver_OnTransferredMedias_Call) Run added in v1.6.4

func (*TimelineMutationObserver_OnTransferredMedias_Call) RunAndReturn added in v1.6.4

type TrackAnalysed

type TrackAnalysed struct {
	mock.Mock
}

TrackAnalysed is an autogenerated mock type for the TrackAnalysed type

func NewTrackAnalysed

func NewTrackAnalysed(t interface {
	mock.TestingT
	Cleanup(func())
}) *TrackAnalysed

NewTrackAnalysed creates a new instance of TrackAnalysed. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TrackAnalysed) EXPECT added in v1.5.41

func (_m *TrackAnalysed) EXPECT() *TrackAnalysed_Expecter

func (*TrackAnalysed) OnAnalysed

func (_m *TrackAnalysed) OnAnalysed(done backup.MediaCounter, total backup.MediaCounter, cached backup.MediaCounter)

OnAnalysed provides a mock function with given fields: done, total, cached

type TrackAnalysed_Expecter added in v1.5.41

type TrackAnalysed_Expecter struct {
	// contains filtered or unexported fields
}

func (*TrackAnalysed_Expecter) OnAnalysed added in v1.5.41

func (_e *TrackAnalysed_Expecter) OnAnalysed(done interface{}, total interface{}, cached interface{}) *TrackAnalysed_OnAnalysed_Call

OnAnalysed is a helper method to define mock.On call

  • done backup.MediaCounter
  • total backup.MediaCounter
  • cached backup.MediaCounter

type TrackAnalysed_OnAnalysed_Call added in v1.5.41

type TrackAnalysed_OnAnalysed_Call struct {
	*mock.Call
}

TrackAnalysed_OnAnalysed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnAnalysed'

func (*TrackAnalysed_OnAnalysed_Call) Return added in v1.5.41

func (*TrackAnalysed_OnAnalysed_Call) Run added in v1.5.41

func (*TrackAnalysed_OnAnalysed_Call) RunAndReturn added in v1.5.41

type TrackEvents

type TrackEvents struct {
	mock.Mock
}

TrackEvents is an autogenerated mock type for the TrackEvents type

func NewTrackEvents

func NewTrackEvents(t interface {
	mock.TestingT
	Cleanup(func())
}) *TrackEvents

NewTrackEvents creates a new instance of TrackEvents. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TrackEvents) EXPECT added in v1.5.41

func (_m *TrackEvents) EXPECT() *TrackEvents_Expecter

func (*TrackEvents) OnEvent

func (_m *TrackEvents) OnEvent(event backup.ProgressEvent)

OnEvent provides a mock function with given fields: event

type TrackEvents_Expecter added in v1.5.41

type TrackEvents_Expecter struct {
	// contains filtered or unexported fields
}

func (*TrackEvents_Expecter) OnEvent added in v1.5.41

func (_e *TrackEvents_Expecter) OnEvent(event interface{}) *TrackEvents_OnEvent_Call

OnEvent is a helper method to define mock.On call

  • event backup.ProgressEvent

type TrackEvents_OnEvent_Call added in v1.5.41

type TrackEvents_OnEvent_Call struct {
	*mock.Call
}

TrackEvents_OnEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnEvent'

func (*TrackEvents_OnEvent_Call) Return added in v1.5.41

func (*TrackEvents_OnEvent_Call) Run added in v1.5.41

func (*TrackEvents_OnEvent_Call) RunAndReturn added in v1.5.41

type TrackScanComplete

type TrackScanComplete struct {
	mock.Mock
}

TrackScanComplete is an autogenerated mock type for the TrackScanComplete type

func NewTrackScanComplete

func NewTrackScanComplete(t interface {
	mock.TestingT
	Cleanup(func())
}) *TrackScanComplete

NewTrackScanComplete creates a new instance of TrackScanComplete. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TrackScanComplete) EXPECT added in v1.5.41

func (*TrackScanComplete) OnScanComplete

func (_m *TrackScanComplete) OnScanComplete(total backup.MediaCounter)

OnScanComplete provides a mock function with given fields: total

type TrackScanComplete_Expecter added in v1.5.41

type TrackScanComplete_Expecter struct {
	// contains filtered or unexported fields
}

func (*TrackScanComplete_Expecter) OnScanComplete added in v1.5.41

func (_e *TrackScanComplete_Expecter) OnScanComplete(total interface{}) *TrackScanComplete_OnScanComplete_Call

OnScanComplete is a helper method to define mock.On call

  • total backup.MediaCounter

type TrackScanComplete_OnScanComplete_Call added in v1.5.41

type TrackScanComplete_OnScanComplete_Call struct {
	*mock.Call
}

TrackScanComplete_OnScanComplete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnScanComplete'

func (*TrackScanComplete_OnScanComplete_Call) Return added in v1.5.41

func (*TrackScanComplete_OnScanComplete_Call) Run added in v1.5.41

func (*TrackScanComplete_OnScanComplete_Call) RunAndReturn added in v1.5.41

type TrackUploaded

type TrackUploaded struct {
	mock.Mock
}

TrackUploaded is an autogenerated mock type for the TrackUploaded type

func NewTrackUploaded

func NewTrackUploaded(t interface {
	mock.TestingT
	Cleanup(func())
}) *TrackUploaded

NewTrackUploaded creates a new instance of TrackUploaded. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*TrackUploaded) EXPECT added in v1.5.41

func (_m *TrackUploaded) EXPECT() *TrackUploaded_Expecter

func (*TrackUploaded) OnUploaded

func (_m *TrackUploaded) OnUploaded(done backup.MediaCounter, total backup.MediaCounter)

OnUploaded provides a mock function with given fields: done, total

type TrackUploaded_Expecter added in v1.5.41

type TrackUploaded_Expecter struct {
	// contains filtered or unexported fields
}

func (*TrackUploaded_Expecter) OnUploaded added in v1.5.41

func (_e *TrackUploaded_Expecter) OnUploaded(done interface{}, total interface{}) *TrackUploaded_OnUploaded_Call

OnUploaded is a helper method to define mock.On call

  • done backup.MediaCounter
  • total backup.MediaCounter

type TrackUploaded_OnUploaded_Call added in v1.5.41

type TrackUploaded_OnUploaded_Call struct {
	*mock.Call
}

TrackUploaded_OnUploaded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnUploaded'

func (*TrackUploaded_OnUploaded_Call) Return added in v1.5.41

func (*TrackUploaded_OnUploaded_Call) Run added in v1.5.41

func (*TrackUploaded_OnUploaded_Call) RunAndReturn added in v1.5.41

type TransferMediasFunc added in v1.5.41

type TransferMediasFunc struct {
	mock.Mock
}

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 (*TransferMediasFunc) Execute added in v1.5.41

Execute provides a mock function with given fields: ctx, records

type TransferMediasFunc_Execute_Call added in v1.5.41

type TransferMediasFunc_Execute_Call struct {
	*mock.Call
}

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 (*TransferMediasFunc_Execute_Call) Run added in v1.5.41

func (*TransferMediasFunc_Execute_Call) RunAndReturn added in v1.5.41

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

type TransferMediasRepositoryPort struct {
	mock.Mock
}

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 (*TransferMediasRepositoryPort) TransferMediasFromRecords added in v1.5.45

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

type TransferMediasRepositoryPort_TransferMediasFromRecords_Call struct {
	*mock.Call
}

TransferMediasRepositoryPort_TransferMediasFromRecords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransferMediasFromRecords'

func (*TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Return added in v1.5.45

func (*TransferMediasRepositoryPort_TransferMediasFromRecords_Call) Run added in v1.5.45

func (*TransferMediasRepositoryPort_TransferMediasFromRecords_Call) RunAndReturn added in v1.5.45

type UpdateAlbumNamePort added in v1.5.43

type UpdateAlbumNamePort struct {
	mock.Mock
}

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 (*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

type UpdateAlbumNamePort_UpdateAlbumName_Call struct {
	*mock.Call
}

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 (*UpdateAlbumNamePort_UpdateAlbumName_Call) Run added in v1.5.43

func (*UpdateAlbumNamePort_UpdateAlbumName_Call) RunAndReturn added in v1.5.43

type UpdateAlbumPort

type UpdateAlbumPort struct {
	mock.Mock
}

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 (*UpdateAlbumPort) UpdateAlbum

func (_m *UpdateAlbumPort) UpdateAlbum(folderName string, start time.Time, end time.Time) error

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

type UpdateAlbumPort_UpdateAlbum_Call struct {
	*mock.Call
}

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 (*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

type UserInputPort

type UserInputPort struct {
	mock.Mock
}

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

StartListening is a helper method to define mock.On call

type UserInputPort_StartListening_Call added in v1.5.41

type UserInputPort_StartListening_Call struct {
	*mock.Call
}

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 (*UserInputPort_StartListening_Call) Run added in v1.5.41

func (*UserInputPort_StartListening_Call) RunAndReturn added in v1.5.41

type ViewWriteRepository added in v1.6.4

type ViewWriteRepository struct {
	mock.Mock
}

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 (*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

type ViewWriteRepository_DeleteAlbumSize_Call struct {
	*mock.Call
}

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 (*ViewWriteRepository_DeleteAlbumSize_Call) Run added in v1.6.4

func (*ViewWriteRepository_DeleteAlbumSize_Call) RunAndReturn added in v1.6.4

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

type ViewWriteRepository_InsertAlbumSize_Call struct {
	*mock.Call
}

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 (*ViewWriteRepository_InsertAlbumSize_Call) Run added in v1.6.4

func (*ViewWriteRepository_InsertAlbumSize_Call) RunAndReturn added in v1.6.4

type ViewWriteRepository_UpdateAlbumSize_Call added in v1.6.4

type ViewWriteRepository_UpdateAlbumSize_Call struct {
	*mock.Call
}

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 (*ViewWriteRepository_UpdateAlbumSize_Call) Run added in v1.6.4

func (*ViewWriteRepository_UpdateAlbumSize_Call) RunAndReturn added in v1.6.4

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL