1
0
mirror of https://github.com/rancher/rke.git synced 2025-09-03 07:54:14 +00:00

generated code

This commit is contained in:
moelsayed
2019-03-09 00:16:39 +02:00
committed by Alena Prokharchyk
parent 1e34a7c5fa
commit 76e265f57a
3 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -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)