code: func (in *Affinity) DeepCopyInto(out *Affinity) {
  	*out = *in
  	if in.NodeAffinity != nil {
  		in, out := &in.NodeAffinity, &out.NodeAffinity
  		*out = new(NodeAffinity)
  		(*in).DeepCopyInto(*out)
  	}
  	if in.PodAffinity != nil {
  		in, out := &in.PodAffinity, &out.PodAffinity
  		*out = new(PodAffinity)
  		(*in).DeepCopyInto(*out)
  	}
  	if in.PodAntiAffinity != nil {
  		in, out := &in.PodAntiAffinity, &out.PodAntiAffinity
  		*out = new(PodAntiAffinity)
  		(*in).DeepCopyInto(*out)
  	}
  	return
  }
docs: // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.