Deepcopy fix
This commit is contained in:
parent
16fd981703
commit
dc727f45d7
|
|
@ -260,6 +260,23 @@ func (in *Jenkins) DeepCopyObject() runtime.Object {
|
|||
return nil
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *JenkinsAgent) DeepCopyInto(out *JenkinsAgent) {
|
||||
*out = *in
|
||||
in.Container.DeepCopyInto(&out.Container)
|
||||
return
|
||||
}
|
||||
|
||||
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsAgent.
|
||||
func (in *JenkinsAgent) DeepCopy() *JenkinsAgent {
|
||||
if in == nil {
|
||||
return nil
|
||||
}
|
||||
out := new(JenkinsAgent)
|
||||
in.DeepCopyInto(out)
|
||||
return out
|
||||
}
|
||||
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *JenkinsList) DeepCopyInto(out *JenkinsList) {
|
||||
*out = *in
|
||||
|
|
@ -366,11 +383,7 @@ func (in *JenkinsSpec) DeepCopyInto(out *JenkinsSpec) {
|
|||
*out = make([]SeedJob, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
if in.Notification != nil {
|
||||
in, out := &in.Notification, &out.Notification
|
||||
*out = make([]Notification, len(*in))
|
||||
copy(*out, *in)
|
||||
}
|
||||
out.Notification = in.Notification
|
||||
in.Service.DeepCopyInto(&out.Service)
|
||||
in.SlaveService.DeepCopyInto(&out.SlaveService)
|
||||
in.Backup.DeepCopyInto(&out.Backup)
|
||||
|
|
@ -438,6 +451,7 @@ func (in *JenkinsStatus) DeepCopy() *JenkinsStatus {
|
|||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Mailgun) DeepCopyInto(out *Mailgun) {
|
||||
*out = *in
|
||||
out.APIKeySecretKeySelector = in.APIKeySecretKeySelector
|
||||
return
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue