pkgfactory

package
v1.6.10 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: AGPL-3.0 Imports: 15 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AWSFactory

func AWSFactory(ctx context.Context) *awsfactory.AWSFactory

func AclCatalogAuthoriser added in v1.6.4

func AclCatalogAuthoriser(ctx context.Context) *catalogacl.CatalogAuthorizer

func AclCatalogShare added in v1.6.4

func AclCatalogShare(ctx context.Context) *catalogacl.ShareAlbumCase

func AclCatalogUnShare added in v1.6.4

func AclCatalogUnShare(ctx context.Context) *catalogacl.UnShareAlbumCase

func AclQueries added in v1.5.49

func AclQueries(ctx context.Context) *aclcore.ScopeQueries

func AclRepository added in v1.5.49

func AclRepository(ctx context.Context) *aclscopedynamodb.Repository

func AlbumQueries added in v1.6.4

func AlbumQueries(ctx context.Context) *catalog.AlbumQueries

func AlbumView added in v1.5.49

func AlbumView(ctx context.Context) *catalogviews.AlbumView

func AlbumViewRepository added in v1.6.4

func AlbumViewRepository(ctx context.Context) *catalogviewsdynamodb.AlbumViewRepository

func AmendAlbumDatesCase added in v1.5.45

func AmendAlbumDatesCase(ctx context.Context) *catalog.AmendAlbumDates

func ArchiveTimelineMutationObserver

func ArchiveTimelineMutationObserver() *catalogarchivesync.Observer

func CatalogMediaQueries added in v1.6.4

func CatalogMediaQueries(ctx context.Context) *catalog.MediaQueries

func CatalogRepository

func CatalogRepository(ctx context.Context) *catalogdynamo.Repository

func CatalogToACLAdapter added in v1.6.4

func CatalogToACLAdapter(ctx context.Context) *catalogacl.ReverseReader

func CommandHandlerAlbumSize added in v1.6.4

func CommandHandlerAlbumSize(ctx context.Context) *catalogviews.CommandHandlerAlbumSize

func CreateAlbumCase

func CreateAlbumCase(ctx context.Context) *catalog.CreateAlbum

func CreateAlbumDeleteCase added in v1.5.41

func CreateAlbumDeleteCase(ctx context.Context) *catalog.DeleteAlbum

func InsertMediasCase added in v1.5.47

func InsertMediasCase(ctx context.Context) *catalog.InsertMedias

func NewInsertMediaAdapter added in v1.5.57

func NewInsertMediaAdapter(ctx context.Context) backup.InsertMediaPort

func NewReferencerFactory added in v1.5.54

func NewReferencerFactory() backup.ReferencerFactory

func OwnerDriftReconciler added in v1.6.7

func OwnerDriftReconciler(ctx context.Context, dry bool, options ...catalogviews.DriftOption) *catalogviews.OwnerDriftReconciler

func RenameAlbumCase added in v1.5.43

func RenameAlbumCase(ctx context.Context) *catalog.RenameAlbum

Types

type AWSAdapterNames

type AWSAdapterNames interface {
	DynamoDBName() string
	ArchiveMainBucketName() string
	ArchiveCacheBucketName() string
	ArchiveJobsSNSARN() string
	ArchiveJobsSQSURL() string
}
var (
	AWSConfigFactory = awsfactory.NewContextualConfigFactory() // AWSConfigFactory can be overridden to use other AWS authentication means (default on AWS Default config)
	AWSNames         AWSAdapterNames                           // Names provides the config required by the adapters

)

type Factory added in v1.5.54

type Factory struct{}

func (*Factory) NewCreatorReferencer added in v1.5.54

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

func (*Factory) NewDryRunReferencer added in v1.5.54

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

Jump to

Keyboard shortcuts

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