func DeepCopy_extensions_RollingUpdateDeployment(in RollingUpdateDeployment, out *RollingUpdateDeployment, c *conversion.Cloner) error { if err := intstr.DeepCopy_intstr_IntOrString(in.MaxUnavailable, &out.MaxUnavailable, c); err != nil { return err } if err := intstr.DeepCopy_intstr_IntOrString(in.MaxSurge, &out.MaxSurge, c); err != nil { return err } return nil }
func DeepCopy_v1beta1_IngressBackend(in IngressBackend, out *IngressBackend, c *conversion.Cloner) error { out.ServiceName = in.ServiceName if err := intstr.DeepCopy_intstr_IntOrString(in.ServicePort, &out.ServicePort, c); err != nil { return err } return nil }
func DeepCopy_v1beta1_RollingUpdateDeployment(in RollingUpdateDeployment, out *RollingUpdateDeployment, c *conversion.Cloner) error { if in.MaxUnavailable != nil { in, out := in.MaxUnavailable, &out.MaxUnavailable *out = new(intstr.IntOrString) if err := intstr.DeepCopy_intstr_IntOrString(*in, *out, c); err != nil { return err } } else { out.MaxUnavailable = nil } if in.MaxSurge != nil { in, out := in.MaxSurge, &out.MaxSurge *out = new(intstr.IntOrString) if err := intstr.DeepCopy_intstr_IntOrString(*in, *out, c); err != nil { return err } } else { out.MaxSurge = nil } return nil }
func DeepCopy_v1beta1_NetworkPolicyPort(in NetworkPolicyPort, out *NetworkPolicyPort, c *conversion.Cloner) error { if in.Protocol != nil { in, out := in.Protocol, &out.Protocol *out = new(v1.Protocol) **out = *in } else { out.Protocol = nil } if in.Port != nil { in, out := in.Port, &out.Port *out = new(intstr.IntOrString) if err := intstr.DeepCopy_intstr_IntOrString(*in, *out, c); err != nil { return err } } else { out.Port = nil } return nil }