mirror of
https://github.com/rancher/types.git
synced 2025-09-12 13:03:45 +00:00
generated code
This commit is contained in:
committed by
Alena Prokharchyk
parent
3b644de40f
commit
6e04fa3e4a
@@ -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)
|
||||
|
@@ -2,12 +2,14 @@ package client
|
||||
|
||||
const (
|
||||
BackupConfigType = "backupConfig"
|
||||
BackupConfigFieldEnabled = "enabled"
|
||||
BackupConfigFieldIntervalHours = "intervalHours"
|
||||
BackupConfigFieldRetention = "retention"
|
||||
BackupConfigFieldS3BackupConfig = "s3BackupConfig"
|
||||
)
|
||||
|
||||
type BackupConfig struct {
|
||||
Enabled *bool `json:"enabled,omitempty" yaml:"enabled,omitempty"`
|
||||
IntervalHours int64 `json:"intervalHours,omitempty" yaml:"intervalHours,omitempty"`
|
||||
Retention int64 `json:"retention,omitempty" yaml:"retention,omitempty"`
|
||||
S3BackupConfig *S3BackupConfig `json:"s3BackupConfig,omitempty" yaml:"s3BackupConfig,omitempty"`
|
||||
|
Reference in New Issue
Block a user