in apis/compute/v1beta1/zz_generated.deepcopy.go [285:401]
func (in *ComputeForwardingRuleSpec) DeepCopyInto(out *ComputeForwardingRuleSpec) {
*out = *in
if in.AllPorts != nil {
in, out := &in.AllPorts, &out.AllPorts
*out = new(bool)
**out = **in
}
if in.AllowGlobalAccess != nil {
in, out := &in.AllowGlobalAccess, &out.AllowGlobalAccess
*out = new(bool)
**out = **in
}
if in.AllowPscGlobalAccess != nil {
in, out := &in.AllowPscGlobalAccess, &out.AllowPscGlobalAccess
*out = new(bool)
**out = **in
}
if in.BackendServiceRef != nil {
in, out := &in.BackendServiceRef, &out.BackendServiceRef
*out = new(ComputeBackendServiceRef)
**out = **in
}
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
if in.IpAddress != nil {
in, out := &in.IpAddress, &out.IpAddress
*out = new(ForwardingruleIpAddress)
(*in).DeepCopyInto(*out)
}
if in.IpProtocol != nil {
in, out := &in.IpProtocol, &out.IpProtocol
*out = new(string)
**out = **in
}
if in.IpVersion != nil {
in, out := &in.IpVersion, &out.IpVersion
*out = new(string)
**out = **in
}
if in.IsMirroringCollector != nil {
in, out := &in.IsMirroringCollector, &out.IsMirroringCollector
*out = new(bool)
**out = **in
}
if in.LoadBalancingScheme != nil {
in, out := &in.LoadBalancingScheme, &out.LoadBalancingScheme
*out = new(string)
**out = **in
}
if in.MetadataFilters != nil {
in, out := &in.MetadataFilters, &out.MetadataFilters
*out = make([]ForwardingruleMetadataFilters, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.NetworkRef != nil {
in, out := &in.NetworkRef, &out.NetworkRef
*out = new(refsv1beta1.ComputeNetworkRef)
**out = **in
}
if in.NetworkTier != nil {
in, out := &in.NetworkTier, &out.NetworkTier
*out = new(string)
**out = **in
}
if in.NoAutomateDnsZone != nil {
in, out := &in.NoAutomateDnsZone, &out.NoAutomateDnsZone
*out = new(bool)
**out = **in
}
if in.PortRange != nil {
in, out := &in.PortRange, &out.PortRange
*out = new(string)
**out = **in
}
if in.Ports != nil {
in, out := &in.Ports, &out.Ports
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
if in.ServiceDirectoryRegistrations != nil {
in, out := &in.ServiceDirectoryRegistrations, &out.ServiceDirectoryRegistrations
*out = make([]ForwardingruleServiceDirectoryRegistrations, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.ServiceLabel != nil {
in, out := &in.ServiceLabel, &out.ServiceLabel
*out = new(string)
**out = **in
}
if in.SourceIpRanges != nil {
in, out := &in.SourceIpRanges, &out.SourceIpRanges
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.SubnetworkRef != nil {
in, out := &in.SubnetworkRef, &out.SubnetworkRef
*out = new(refsv1beta1.ComputeSubnetworkRef)
**out = **in
}
if in.Target != nil {
in, out := &in.Target, &out.Target
*out = new(ForwardingruleTarget)
(*in).DeepCopyInto(*out)
}
}