in alibabacloudservicemesh/v1/zz_generated.deepcopy.go [5179:5310]
func (in *IstioGatewayBasicConfiguration) DeepCopyInto(out *IstioGatewayBasicConfiguration) {
*out = *in
if in.LoadBalancerClass != nil {
in, out := &in.LoadBalancerClass, &out.LoadBalancerClass
*out = new(string)
**out = **in
}
if in.ServiceAnnotations != nil {
in, out := &in.ServiceAnnotations, &out.ServiceAnnotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.PodAnnotations != nil {
in, out := &in.PodAnnotations, &out.PodAnnotations
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.ServiceLabels != nil {
in, out := &in.ServiceLabels, &out.ServiceLabels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
if in.PodLabels != nil {
in, out := &in.PodLabels, &out.PodLabels
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
in.SDS.DeepCopyInto(&out.SDS)
if in.Resources != nil {
in, out := &in.Resources, &out.Resources
*out = new(corev1.ResourceRequirements)
(*in).DeepCopyInto(*out)
}
if in.EnvVars != nil {
in, out := &in.EnvVars, &out.EnvVars
*out = make([]corev1.EnvVar, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.Ports != nil {
in, out := &in.Ports, &out.Ports
*out = make([]corev1.ServicePort, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.MeshExpansionPorts != nil {
in, out := &in.MeshExpansionPorts, &out.MeshExpansionPorts
*out = make([]corev1.ServicePort, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.NodeSelector != nil {
in, out := &in.NodeSelector, &out.NodeSelector
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
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])
}
}
if in.SecretVolumes != nil {
in, out := &in.SecretVolumes, &out.SecretVolumes
*out = make([]SecretVolume, len(*in))
copy(*out, *in)
}
if in.ConfigVolumes != nil {
in, out := &in.ConfigVolumes, &out.ConfigVolumes
*out = make([]ConfigVolume, len(*in))
copy(*out, *in)
}
if in.RollingMaxSurge != nil {
in, out := &in.RollingMaxSurge, &out.RollingMaxSurge
*out = new(string)
**out = **in
}
if in.RollingMaxUnavailable != nil {
in, out := &in.RollingMaxUnavailable, &out.RollingMaxUnavailable
*out = new(string)
**out = **in
}
in.CPU.DeepCopyInto(&out.CPU)
in.Memory.DeepCopyInto(&out.Memory)
in.Kernel.DeepCopyInto(&out.Kernel)
in.Compressor.DeepCopyInto(&out.Compressor)
if in.RunAsRoot != nil {
in, out := &in.RunAsRoot, &out.RunAsRoot
*out = new(bool)
**out = **in
}
if in.Lifecycle != nil {
in, out := &in.Lifecycle, &out.Lifecycle
*out = new(corev1.Lifecycle)
(*in).DeepCopyInto(*out)
}
out.ReadinessProbe = in.ReadinessProbe
if in.HostNetwork != nil {
in, out := &in.HostNetwork, &out.HostNetwork
*out = new(bool)
**out = **in
}
if in.AutoCreateGatewayYaml != nil {
in, out := &in.AutoCreateGatewayYaml, &out.AutoCreateGatewayYaml
*out = new(bool)
**out = **in
}
if in.DisableContainerPortExposed != nil {
in, out := &in.DisableContainerPortExposed, &out.DisableContainerPortExposed
*out = new(bool)
**out = **in
}
}