diff --git a/vendor.conf b/vendor.conf index d59166f8..7a45a4ec 100644 --- a/vendor.conf +++ b/vendor.conf @@ -28,4 +28,4 @@ github.com/matttproud/golang_protobuf_extensions c12348ce28de40eed0136aa2b644d0e github.com/mattn/go-colorable efa589957cd060542a26d2dd7832fd6a6c6c3ade github.com/mattn/go-isatty 6ca4dbf54d38eea1a992b3c722a76a5d1c4cb25c github.com/rancher/norman 0557aa4ff31a3a0f007dcb1b684894f23cda390c -github.com/rancher/types a3d51c1bcc9025f7baabf8e2014b74deaab4264c +github.com/rancher/types 6e04fa3e4a6af9c9542c475b436ce12b28e31c13 diff --git a/vendor/github.com/rancher/types/apis/management.cattle.io/v3/backup_types.go b/vendor/github.com/rancher/types/apis/management.cattle.io/v3/backup_types.go index cdb44487..ac10f3a6 100644 --- a/vendor/github.com/rancher/types/apis/management.cattle.io/v3/backup_types.go +++ b/vendor/github.com/rancher/types/apis/management.cattle.io/v3/backup_types.go @@ -14,6 +14,8 @@ const ( ) type BackupConfig struct { + // Enable Flag + Enabled *bool `yaml:"enabled" json:"enabled,omitempty" norman:"default=true"` // Backup interval in hours IntervalHours int `yaml:"interval_hours" json:"intervalHours,omitempty" norman:"default=12"` // Number of backups to keep diff --git a/vendor/github.com/rancher/types/apis/management.cattle.io/v3/zz_generated_deepcopy.go b/vendor/github.com/rancher/types/apis/management.cattle.io/v3/zz_generated_deepcopy.go index e69c19a7..5cbf78d8 100644 --- a/vendor/github.com/rancher/types/apis/management.cattle.io/v3/zz_generated_deepcopy.go +++ b/vendor/github.com/rancher/types/apis/management.cattle.io/v3/zz_generated_deepcopy.go @@ -427,6 +427,11 @@ func (in *AzureCloudProvider) DeepCopy() *AzureCloudProvider { // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *BackupConfig) DeepCopyInto(out *BackupConfig) { *out = *in + if in.Enabled != nil { + in, out := &in.Enabled, &out.Enabled + *out = new(bool) + **out = **in + } if in.S3BackupConfig != nil { in, out := &in.S3BackupConfig, &out.S3BackupConfig *out = new(S3BackupConfig)