Add exclude_by_attribute preference

This commit is contained in:
Patrick Seal
2018-09-21 12:37:15 -07:00
parent 22a0b222db
commit a1efbe3b73
8 changed files with 192 additions and 32 deletions

View File

@@ -15,16 +15,17 @@ import (
// Preference stores options for each storage.
type Preference struct {
Name string `json:"name"`
SnapshotID string `json:"id"`
RepositoryPath string `json:"repository"`
StorageURL string `json:"storage"`
Encrypted bool `json:"encrypted"`
BackupProhibited bool `json:"no_backup"`
RestoreProhibited bool `json:"no_restore"`
DoNotSavePassword bool `json:"no_save_password"`
NobackupFile string `json:"nobackup_file"`
Keys map[string]string `json:"keys"`
Name string `json:"name"`
SnapshotID string `json:"id"`
RepositoryPath string `json:"repository"`
StorageURL string `json:"storage"`
Encrypted bool `json:"encrypted"`
BackupProhibited bool `json:"no_backup"`
RestoreProhibited bool `json:"no_restore"`
DoNotSavePassword bool `json:"no_save_password"`
NobackupFile string `json:"nobackup_file"`
ExcludeByAttribute bool `json:"exclude_by_attribute"`
Keys map[string]string `json:"keys"`
}
var preferencePath string