func()

in alibabacloudservicemesh/v1/zz_generated.deepcopy.go [7558:7592]


func (in *SwimLaneServices) DeepCopyInto(out *SwimLaneServices) {
	*out = *in
	if in.ServiceSummaries != nil {
		in, out := &in.ServiceSummaries, &out.ServiceSummaries
		*out = make(map[string]*ServiceLabelSummary, len(*in))
		for key, val := range *in {
			var outVal *ServiceLabelSummary
			if val == nil {
				(*out)[key] = nil
			} else {
				inVal := (*in)[key]
				in, out := &inVal, &outVal
				*out = new(ServiceLabelSummary)
				(*in).DeepCopyInto(*out)
			}
			(*out)[key] = outVal
		}
	}
	if in.CommonLabels != nil {
		in, out := &in.CommonLabels, &out.CommonLabels
		*out = make(map[string][]string, len(*in))
		for key, val := range *in {
			var outVal []string
			if val == nil {
				(*out)[key] = nil
			} else {
				inVal := (*in)[key]
				in, out := &inVal, &outVal
				*out = make([]string, len(*in))
				copy(*out, *in)
			}
			(*out)[key] = outVal
		}
	}
}