INNER CODE UNIT · Go
func
reactive-tech/kubegres · api/v1/zz_generated.deepcopy.go:155
func (in *KubegresScheduler) DeepCopyInto(out *KubegresScheduler) {
*out = *in
if in.Affinity != nil {
in, out := &in.Affinity, &out.Affinity
*out = new(corev1.Affinity)
(*in).DeepCopyInto(*out)
}
if in.Tolerations != nil {
in, out := &in.Tolerations, &out.Tolerations
*out = make([]corev1.Toleration, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubegresScheduler.
func (in *KubegresScheduler) DeepCopy() *KubegresScheduler {