Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogInsertMedia ¶ added in v1.5.57
type CatalogInsertMedia interface {
Insert(ctx context.Context, owner ownermodel.Owner, medias []catalog.CreateMediaRequest) error
}
type CatalogReferencerAdapter ¶ added in v1.5.54
type CatalogReferencerAdapter struct { Owner ownermodel.Owner InsertMediaSimulator InsertMediaSimulator StatefulAlbumReferencer StatefulAlbumReferencer }
func (*CatalogReferencerAdapter) Reference ¶ added in v1.5.54
func (c *CatalogReferencerAdapter) Reference(ctx context.Context, analysedMedias []*backup.AnalysedMedia) (map[*backup.AnalysedMedia]backup.CatalogReference, error)
type InsertMediaAdapter ¶ added in v1.5.57
type InsertMediaAdapter struct {
CatalogInsertMedia CatalogInsertMedia
}
func (*InsertMediaAdapter) IndexMedias ¶ added in v1.5.57
func (a *InsertMediaAdapter) IndexMedias(ctx context.Context, owner ownermodel.Owner, requests []*backup.CatalogMediaRequest) error
type InsertMediaSimulator ¶ added in v1.5.54
type InsertMediaSimulator interface {
SimulateInsertingMedia(ctx context.Context, owner ownermodel.Owner, signatures []catalog.MediaSignature) ([]catalog.MediaFutureReference, error)
}
type Reference ¶ added in v1.5.54
type Reference struct { MediaReference catalog.MediaFutureReference AlbumReference catalog.AlbumReference }
func (Reference) AlbumCreated ¶ added in v1.5.54
func (Reference) AlbumFolderName ¶ added in v1.5.54
func (Reference) UniqueIdentifier ¶ added in v1.5.57
type StatefulAlbumReferencer ¶ added in v1.5.54
Click to show internal directories.
Click to hide internal directories.