Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetStorage ¶
Init storage service
func RunStorageImport ¶
func RunStorageImport(ctx context.Context, logger *zap.Logger, storage storageTY.Plugin, apiMap map[string]backupTY.Backup, importFunc func(apiMap map[string]backupTY.Backup, targetDir, fileType string, ignoreEmptyDir bool) error) error
should be run at startup in-memory database will be empty at startup time this function checks the "storage.DoStartupImport" and performs the operation, if the database supports
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.