Keep backups strategy
This commit is contained in:
parent
a9f29e851b
commit
ad76d70933
@ -68,7 +68,6 @@ type BackupConfigurationStatus struct {
|
|||||||
Suspended bool `json:"suspended"`
|
Suspended bool `json:"suspended"`
|
||||||
ActiveCronJob bool `json:"activeCronJob"`
|
ActiveCronJob bool `json:"activeCronJob"`
|
||||||
ActiveSidecar bool `json:"activeSidecar"`
|
ActiveSidecar bool `json:"activeSidecar"`
|
||||||
NumberOfBackup int32 `json:"numberOfBackup"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// BackupConfiguration is the Schema for the backupconfigurations API
|
// BackupConfiguration is the Schema for the backupconfigurations API
|
||||||
|
|||||||
@ -118,6 +118,7 @@ func (in *BackupConfigurationSpec) DeepCopyInto(out *BackupConfigurationSpec) {
|
|||||||
*out = make([]string, len(*in))
|
*out = make([]string, len(*in))
|
||||||
copy(*out, *in)
|
copy(*out, *in)
|
||||||
}
|
}
|
||||||
|
out.Keep = in.Keep
|
||||||
}
|
}
|
||||||
|
|
||||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationSpec.
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackupConfigurationSpec.
|
||||||
@ -306,6 +307,21 @@ func (in *FunctionList) DeepCopyObject() runtime.Object {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
|
func (in *Keep) DeepCopyInto(out *Keep) {
|
||||||
|
*out = *in
|
||||||
|
}
|
||||||
|
|
||||||
|
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Keep.
|
||||||
|
func (in *Keep) DeepCopy() *Keep {
|
||||||
|
if in == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
out := new(Keep)
|
||||||
|
in.DeepCopyInto(out)
|
||||||
|
return out
|
||||||
|
}
|
||||||
|
|
||||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||||
func (in *Param) DeepCopyInto(out *Param) {
|
func (in *Param) DeepCopyInto(out *Param) {
|
||||||
*out = *in
|
*out = *in
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user