redis

package
v0.2.23 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBackupDetails added in v0.2.23

func GetBackupDetails(folder storage.Folder, backupTime internal.BackupTime) (archive.Backup, error)

func GetBackupsDetails added in v0.2.23

func GetBackupsDetails(folder storage.Folder, backups []internal.BackupTime) ([]archive.Backup, error)

func GetSettingWithLocalDefault

func GetSettingWithLocalDefault(key string, defaultValue string) string

DISCUSS: In some cases, we have default values, but we don't want to store it at global default settings. Naming is far from best, if Go allowed overloads, name GetSettingWithDefault would be more appropriate

func HandleBackupFetch added in v0.2.23

func HandleBackupFetch(ctx context.Context, folder storage.Folder, backupName string, restoreCmd *exec.Cmd) error

func HandleBackupPush added in v0.2.23

func HandleBackupPush(uploader *internal.Uploader, backupCmd *exec.Cmd, metaConstructor internal.MetaConstructor) error

func HandleDetailedBackupList added in v0.2.23

func HandleDetailedBackupList(folder storage.Folder, pretty bool, json bool)

TODO : unit tests

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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