1
0
mirror of https://github.com/rancher/types.git synced 2025-05-09 15:46:18 +00:00

[2.4] Added timeout field to BackupConfig type

This commit is contained in:
rawmind0 2021-01-18 15:34:10 +01:00
parent 0b84926743
commit 9ec408a78e

View File

@ -23,6 +23,8 @@ type BackupConfig struct {
S3BackupConfig *S3BackupConfig `yaml:",omitempty" json:"s3BackupConfig"`
// replace special characters in snapshot names
SafeTimestamp bool `yaml:"safe_timestamp" json:"safeTimestamp,omitempty"`
// Backup execution timeout
Timeout int `yaml:"timeout" json:"timeout,omitempty" norman:"default=300"`
}
type S3BackupConfig struct {