code: func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec) {
  	*out = *in
  	in.PodSelector.DeepCopyInto(&out.PodSelector)
  	if in.Ingress != nil {
  		in, out := &in.Ingress, &out.Ingress
  		*out = make([]NetworkPolicyIngressRule, len(*in))
  		for i := range *in {
  			(*in)[i].DeepCopyInto(&(*out)[i])
  		}
  	}
  	if in.Egress != nil {
  		in, out := &in.Egress, &out.Egress
  		*out = make([]NetworkPolicyEgressRule, len(*in))
  		for i := range *in {
  			(*in)[i].DeepCopyInto(&(*out)[i])
  		}
  	}
  	if in.PolicyTypes != nil {
  		in, out := &in.PolicyTypes, &out.PolicyTypes
  		*out = make([]PolicyType, len(*in))
  		copy(*out, *in)
  	}
  	return
  }
docs: // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.