code: func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec) {
  	*out = *in
  	if in.Ports != nil {
  		in, out := &in.Ports, &out.Ports
  		*out = make([]ServicePort, len(*in))
  		copy(*out, *in)
  	}
  	if in.Selector != nil {
  		in, out := &in.Selector, &out.Selector
  		*out = make(map[string]string, len(*in))
  		for key, val := range *in {
  			(*out)[key] = val
  		}
  	}
  	if in.ExternalIPs != nil {
  		in, out := &in.ExternalIPs, &out.ExternalIPs
  		*out = make([]string, len(*in))
  		copy(*out, *in)
  	}
  	if in.SessionAffinityConfig != nil {
  		in, out := &in.SessionAffinityConfig, &out.SessionAffinityConfig
  		*out = new(SessionAffinityConfig)
  		(*in).DeepCopyInto(*out)
  	}
  	if in.LoadBalancerSourceRanges != nil {
  		in, out := &in.LoadBalancerSourceRanges, &out.LoadBalancerSourceRanges
  		*out = make([]string, len(*in))
  		copy(*out, *in)
  	}
  	return
  }
docs: // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.