interactors

package
v0.0.0-...-3382da6 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VolumeRepositoryPort backupmodel.VolumeRepositoryAdapter
	DetailsReaders       []backupmodel.DetailsReaderAdapter                                 // DetailsReaders is a list of specific details extractor can auto-register
	SourcePorts          = make(map[backupmodel.VolumeType]backupmodel.MediaScannerAdapter) // SourcePorts maps the type of volume with it's implementation
	OnlineStoragePort    backupmodel.OnlineStorageAdapter                                   // OnlineStoragePort creates a new OnlineStorageAdaptor or panic.
	DownloaderPort       backupmodel.DownloaderAdapter                                      // DownloaderPort creates a new instance of the DownloaderPort
)

Functions

func NewSource

func NewSource(volume backupmodel.VolumeToBackup, onCompletion func(uint, uint)) (func(medias chan backupmodel.FoundMedia) (uint, uint, error), error)

Types

This section is empty.

Directories

Path Synopsis
Package downloader provides an alternative to a local temporary storage.
Package downloader provides an alternative to a local temporary storage.

Jump to

Keyboard shortcuts

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