Support pre and post hooks.

Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
This commit is contained in:
Andy Goldstein
2018-01-05 10:47:34 -05:00
parent 656428d0b9
commit de785af89d
17 changed files with 826 additions and 479 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ func NewCommand() *cobra.Command {
}
backupItemActions := map[string]backup.ItemAction{
"pv": backup.NewBackupPVAction(logger),
"pv": backup.NewBackupPVAction(logger),
"pod": backup.NewPodAction(logger),
}
restoreItemActions := map[string]restore.ItemAction{