apis/compute/v1beta1/zz_generated.deepcopy.go (849 lines of code) (raw):
//go:build !ignore_autogenerated
// Copyright 2020 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by controller-gen. DO NOT EDIT.
package v1beta1
import (
"github.com/GoogleCloudPlatform/k8s-config-connector/apis/common/parent"
refsv1beta1 "github.com/GoogleCloudPlatform/k8s-config-connector/apis/refs/v1beta1"
"github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/k8s/v1alpha1"
runtime "k8s.io/apimachinery/pkg/runtime"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackendServiceIdentity) DeepCopyInto(out *BackendServiceIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(BackendServiceParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendServiceIdentity.
func (in *BackendServiceIdentity) DeepCopy() *BackendServiceIdentity {
if in == nil {
return nil
}
out := new(BackendServiceIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *BackendServiceParent) DeepCopyInto(out *BackendServiceParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BackendServiceParent.
func (in *BackendServiceParent) DeepCopy() *BackendServiceParent {
if in == nil {
return nil
}
out := new(BackendServiceParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeBackendServiceRef) DeepCopyInto(out *ComputeBackendServiceRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeBackendServiceRef.
func (in *ComputeBackendServiceRef) DeepCopy() *ComputeBackendServiceRef {
if in == nil {
return nil
}
out := new(ComputeBackendServiceRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeFirewallPolicyRule) DeepCopyInto(out *ComputeFirewallPolicyRule) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeFirewallPolicyRule.
func (in *ComputeFirewallPolicyRule) DeepCopy() *ComputeFirewallPolicyRule {
if in == nil {
return nil
}
out := new(ComputeFirewallPolicyRule)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ComputeFirewallPolicyRule) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeFirewallPolicyRuleList) DeepCopyInto(out *ComputeFirewallPolicyRuleList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ComputeFirewallPolicyRule, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeFirewallPolicyRuleList.
func (in *ComputeFirewallPolicyRuleList) DeepCopy() *ComputeFirewallPolicyRuleList {
if in == nil {
return nil
}
out := new(ComputeFirewallPolicyRuleList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ComputeFirewallPolicyRuleList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeFirewallPolicyRuleSpec) DeepCopyInto(out *ComputeFirewallPolicyRuleSpec) {
*out = *in
if in.Description != nil {
in, out := &in.Description, &out.Description
*out = new(string)
**out = **in
}
if in.Disabled != nil {
in, out := &in.Disabled, &out.Disabled
*out = new(bool)
**out = **in
}
if in.EnableLogging != nil {
in, out := &in.EnableLogging, &out.EnableLogging
*out = new(bool)
**out = **in
}
if in.FirewallPolicyRef != nil {
in, out := &in.FirewallPolicyRef, &out.FirewallPolicyRef
*out = new(refsv1beta1.ComputeFirewallPolicyRef)
**out = **in
}
if in.Match != nil {
in, out := &in.Match, &out.Match
*out = new(FirewallPolicyRuleMatch)
(*in).DeepCopyInto(*out)
}
if in.TargetResources != nil {
in, out := &in.TargetResources, &out.TargetResources
*out = make([]*refsv1beta1.ComputeNetworkRef, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = new(refsv1beta1.ComputeNetworkRef)
**out = **in
}
}
}
if in.TargetServiceAccounts != nil {
in, out := &in.TargetServiceAccounts, &out.TargetServiceAccounts
*out = make([]*refsv1beta1.IAMServiceAccountRef, len(*in))
for i := range *in {
if (*in)[i] != nil {
in, out := &(*in)[i], &(*out)[i]
*out = new(refsv1beta1.IAMServiceAccountRef)
**out = **in
}
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeFirewallPolicyRuleSpec.
func (in *ComputeFirewallPolicyRuleSpec) DeepCopy() *ComputeFirewallPolicyRuleSpec {
if in == nil {
return nil
}
out := new(ComputeFirewallPolicyRuleSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeFirewallPolicyRuleStatus) DeepCopyInto(out *ComputeFirewallPolicyRuleStatus) {
*out = *in
in.CommonStatus.DeepCopyInto(&out.CommonStatus)
if in.Kind != nil {
in, out := &in.Kind, &out.Kind
*out = new(string)
**out = **in
}
if in.RuleTupleCount != nil {
in, out := &in.RuleTupleCount, &out.RuleTupleCount
*out = new(int64)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeFirewallPolicyRuleStatus.
func (in *ComputeFirewallPolicyRuleStatus) DeepCopy() *ComputeFirewallPolicyRuleStatus {
if in == nil {
return nil
}
out := new(ComputeFirewallPolicyRuleStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeForwardingRule) DeepCopyInto(out *ComputeForwardingRule) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeForwardingRule.
func (in *ComputeForwardingRule) DeepCopy() *ComputeForwardingRule {
if in == nil {
return nil
}
out := new(ComputeForwardingRule)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ComputeForwardingRule) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeForwardingRuleList) DeepCopyInto(out *ComputeForwardingRuleList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ComputeForwardingRule, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeForwardingRuleList.
func (in *ComputeForwardingRuleList) DeepCopy() *ComputeForwardingRuleList {
if in == nil {
return nil
}
out := new(ComputeForwardingRuleList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ComputeForwardingRuleList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeForwardingRuleSpec.
func (in *ComputeForwardingRuleSpec) DeepCopy() *ComputeForwardingRuleSpec {
if in == nil {
return nil
}
out := new(ComputeForwardingRuleSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeForwardingRuleStatus) DeepCopyInto(out *ComputeForwardingRuleStatus) {
*out = *in
in.CommonStatus.DeepCopyInto(&out.CommonStatus)
if in.BaseForwardingRule != nil {
in, out := &in.BaseForwardingRule, &out.BaseForwardingRule
*out = new(string)
**out = **in
}
if in.CreationTimestamp != nil {
in, out := &in.CreationTimestamp, &out.CreationTimestamp
*out = new(string)
**out = **in
}
if in.LabelFingerprint != nil {
in, out := &in.LabelFingerprint, &out.LabelFingerprint
*out = new(string)
**out = **in
}
if in.PscConnectionId != nil {
in, out := &in.PscConnectionId, &out.PscConnectionId
*out = new(string)
**out = **in
}
if in.PscConnectionStatus != nil {
in, out := &in.PscConnectionStatus, &out.PscConnectionStatus
*out = new(string)
**out = **in
}
if in.SelfLink != nil {
in, out := &in.SelfLink, &out.SelfLink
*out = new(string)
**out = **in
}
if in.ServiceName != nil {
in, out := &in.ServiceName, &out.ServiceName
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeForwardingRuleStatus.
func (in *ComputeForwardingRuleStatus) DeepCopy() *ComputeForwardingRuleStatus {
if in == nil {
return nil
}
out := new(ComputeForwardingRuleStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeSecurityPolicyRef) DeepCopyInto(out *ComputeSecurityPolicyRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeSecurityPolicyRef.
func (in *ComputeSecurityPolicyRef) DeepCopy() *ComputeSecurityPolicyRef {
if in == nil {
return nil
}
out := new(ComputeSecurityPolicyRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeTargetTCPProxy) DeepCopyInto(out *ComputeTargetTCPProxy) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
in.Spec.DeepCopyInto(&out.Spec)
in.Status.DeepCopyInto(&out.Status)
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeTargetTCPProxy.
func (in *ComputeTargetTCPProxy) DeepCopy() *ComputeTargetTCPProxy {
if in == nil {
return nil
}
out := new(ComputeTargetTCPProxy)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ComputeTargetTCPProxy) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeTargetTCPProxyList) DeepCopyInto(out *ComputeTargetTCPProxyList) {
*out = *in
out.TypeMeta = in.TypeMeta
in.ListMeta.DeepCopyInto(&out.ListMeta)
if in.Items != nil {
in, out := &in.Items, &out.Items
*out = make([]ComputeTargetTCPProxy, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeTargetTCPProxyList.
func (in *ComputeTargetTCPProxyList) DeepCopy() *ComputeTargetTCPProxyList {
if in == nil {
return nil
}
out := new(ComputeTargetTCPProxyList)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ComputeTargetTCPProxyList) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeTargetTCPProxyObservedState) DeepCopyInto(out *ComputeTargetTCPProxyObservedState) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeTargetTCPProxyObservedState.
func (in *ComputeTargetTCPProxyObservedState) DeepCopy() *ComputeTargetTCPProxyObservedState {
if in == nil {
return nil
}
out := new(ComputeTargetTCPProxyObservedState)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeTargetTCPProxySpec) DeepCopyInto(out *ComputeTargetTCPProxySpec) {
*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.Location != nil {
in, out := &in.Location, &out.Location
*out = new(string)
**out = **in
}
if in.ProxyBind != nil {
in, out := &in.ProxyBind, &out.ProxyBind
*out = new(bool)
**out = **in
}
if in.ProxyHeader != nil {
in, out := &in.ProxyHeader, &out.ProxyHeader
*out = new(string)
**out = **in
}
if in.ResourceID != nil {
in, out := &in.ResourceID, &out.ResourceID
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeTargetTCPProxySpec.
func (in *ComputeTargetTCPProxySpec) DeepCopy() *ComputeTargetTCPProxySpec {
if in == nil {
return nil
}
out := new(ComputeTargetTCPProxySpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ComputeTargetTCPProxyStatus) DeepCopyInto(out *ComputeTargetTCPProxyStatus) {
*out = *in
if in.Conditions != nil {
in, out := &in.Conditions, &out.Conditions
*out = make([]v1alpha1.Condition, len(*in))
copy(*out, *in)
}
if in.ObservedGeneration != nil {
in, out := &in.ObservedGeneration, &out.ObservedGeneration
*out = new(int64)
**out = **in
}
if in.ExternalRef != nil {
in, out := &in.ExternalRef, &out.ExternalRef
*out = new(string)
**out = **in
}
if in.CreationTimestamp != nil {
in, out := &in.CreationTimestamp, &out.CreationTimestamp
*out = new(string)
**out = **in
}
if in.ProxyId != nil {
in, out := &in.ProxyId, &out.ProxyId
*out = new(int64)
**out = **in
}
if in.SelfLink != nil {
in, out := &in.SelfLink, &out.SelfLink
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComputeTargetTCPProxyStatus.
func (in *ComputeTargetTCPProxyStatus) DeepCopy() *ComputeTargetTCPProxyStatus {
if in == nil {
return nil
}
out := new(ComputeTargetTCPProxyStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FirewallPolicyRuleIdentity) DeepCopyInto(out *FirewallPolicyRuleIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(FirewallPolicyRuleParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyRuleIdentity.
func (in *FirewallPolicyRuleIdentity) DeepCopy() *FirewallPolicyRuleIdentity {
if in == nil {
return nil
}
out := new(FirewallPolicyRuleIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FirewallPolicyRuleLayer4Configs) DeepCopyInto(out *FirewallPolicyRuleLayer4Configs) {
*out = *in
if in.Ports != nil {
in, out := &in.Ports, &out.Ports
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyRuleLayer4Configs.
func (in *FirewallPolicyRuleLayer4Configs) DeepCopy() *FirewallPolicyRuleLayer4Configs {
if in == nil {
return nil
}
out := new(FirewallPolicyRuleLayer4Configs)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FirewallPolicyRuleMatch) DeepCopyInto(out *FirewallPolicyRuleMatch) {
*out = *in
if in.DestAddressGroups != nil {
in, out := &in.DestAddressGroups, &out.DestAddressGroups
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.DestFqdns != nil {
in, out := &in.DestFqdns, &out.DestFqdns
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.DestIPRanges != nil {
in, out := &in.DestIPRanges, &out.DestIPRanges
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.DestRegionCodes != nil {
in, out := &in.DestRegionCodes, &out.DestRegionCodes
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.DestThreatIntelligences != nil {
in, out := &in.DestThreatIntelligences, &out.DestThreatIntelligences
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.Layer4Configs != nil {
in, out := &in.Layer4Configs, &out.Layer4Configs
*out = make([]FirewallPolicyRuleLayer4Configs, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
if in.SrcAddressGroups != nil {
in, out := &in.SrcAddressGroups, &out.SrcAddressGroups
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.SrcFqdns != nil {
in, out := &in.SrcFqdns, &out.SrcFqdns
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.SrcIPRanges != nil {
in, out := &in.SrcIPRanges, &out.SrcIPRanges
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.SrcRegionCodes != nil {
in, out := &in.SrcRegionCodes, &out.SrcRegionCodes
*out = make([]string, len(*in))
copy(*out, *in)
}
if in.SrcThreatIntelligences != nil {
in, out := &in.SrcThreatIntelligences, &out.SrcThreatIntelligences
*out = make([]string, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyRuleMatch.
func (in *FirewallPolicyRuleMatch) DeepCopy() *FirewallPolicyRuleMatch {
if in == nil {
return nil
}
out := new(FirewallPolicyRuleMatch)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FirewallPolicyRuleParent) DeepCopyInto(out *FirewallPolicyRuleParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyRuleParent.
func (in *FirewallPolicyRuleParent) DeepCopy() *FirewallPolicyRuleParent {
if in == nil {
return nil
}
out := new(FirewallPolicyRuleParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *FirewallPolicyRuleRef) DeepCopyInto(out *FirewallPolicyRuleRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FirewallPolicyRuleRef.
func (in *FirewallPolicyRuleRef) DeepCopy() *FirewallPolicyRuleRef {
if in == nil {
return nil
}
out := new(FirewallPolicyRuleRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ForwardingruleFilterLabels) DeepCopyInto(out *ForwardingruleFilterLabels) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleFilterLabels.
func (in *ForwardingruleFilterLabels) DeepCopy() *ForwardingruleFilterLabels {
if in == nil {
return nil
}
out := new(ForwardingruleFilterLabels)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ForwardingruleIpAddress) DeepCopyInto(out *ForwardingruleIpAddress) {
*out = *in
if in.AddressRef != nil {
in, out := &in.AddressRef, &out.AddressRef
*out = new(refsv1beta1.ComputeAddressRef)
**out = **in
}
if in.Ip != nil {
in, out := &in.Ip, &out.Ip
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleIpAddress.
func (in *ForwardingruleIpAddress) DeepCopy() *ForwardingruleIpAddress {
if in == nil {
return nil
}
out := new(ForwardingruleIpAddress)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ForwardingruleMetadataFilters) DeepCopyInto(out *ForwardingruleMetadataFilters) {
*out = *in
if in.FilterLabels != nil {
in, out := &in.FilterLabels, &out.FilterLabels
*out = make([]ForwardingruleFilterLabels, len(*in))
copy(*out, *in)
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleMetadataFilters.
func (in *ForwardingruleMetadataFilters) DeepCopy() *ForwardingruleMetadataFilters {
if in == nil {
return nil
}
out := new(ForwardingruleMetadataFilters)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ForwardingruleServiceDirectoryRegistrations) DeepCopyInto(out *ForwardingruleServiceDirectoryRegistrations) {
*out = *in
if in.Namespace != nil {
in, out := &in.Namespace, &out.Namespace
*out = new(string)
**out = **in
}
if in.Service != nil {
in, out := &in.Service, &out.Service
*out = new(string)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleServiceDirectoryRegistrations.
func (in *ForwardingruleServiceDirectoryRegistrations) DeepCopy() *ForwardingruleServiceDirectoryRegistrations {
if in == nil {
return nil
}
out := new(ForwardingruleServiceDirectoryRegistrations)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ForwardingruleTarget) DeepCopyInto(out *ForwardingruleTarget) {
*out = *in
if in.GoogleAPIsBundle != nil {
in, out := &in.GoogleAPIsBundle, &out.GoogleAPIsBundle
*out = new(string)
**out = **in
}
if in.ServiceAttachmentRef != nil {
in, out := &in.ServiceAttachmentRef, &out.ServiceAttachmentRef
*out = new(refsv1beta1.ComputeServiceAttachmentRef)
**out = **in
}
if in.TargetGRPCProxyRef != nil {
in, out := &in.TargetGRPCProxyRef, &out.TargetGRPCProxyRef
*out = new(refsv1beta1.ComputeTargetGrpcProxyRef)
**out = **in
}
if in.TargetHTTPProxyRef != nil {
in, out := &in.TargetHTTPProxyRef, &out.TargetHTTPProxyRef
*out = new(refsv1beta1.ComputeTargetHTTPProxyRef)
**out = **in
}
if in.TargetHTTPSProxyRef != nil {
in, out := &in.TargetHTTPSProxyRef, &out.TargetHTTPSProxyRef
*out = new(refsv1beta1.ComputeTargetHTTPSProxyRef)
**out = **in
}
if in.TargetSSLProxyRef != nil {
in, out := &in.TargetSSLProxyRef, &out.TargetSSLProxyRef
*out = new(refsv1beta1.ComputeTargetSSLProxyRef)
**out = **in
}
if in.TargetTCPProxyRef != nil {
in, out := &in.TargetTCPProxyRef, &out.TargetTCPProxyRef
*out = new(refsv1beta1.ComputeTargetTCPProxyRef)
**out = **in
}
if in.TargetVPNGatewayRef != nil {
in, out := &in.TargetVPNGatewayRef, &out.TargetVPNGatewayRef
*out = new(refsv1beta1.ComputeTargetVPNGatewayRef)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ForwardingruleTarget.
func (in *ForwardingruleTarget) DeepCopy() *ForwardingruleTarget {
if in == nil {
return nil
}
out := new(ForwardingruleTarget)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceIdentity) DeepCopyInto(out *InstanceIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(InstanceParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceIdentity.
func (in *InstanceIdentity) DeepCopy() *InstanceIdentity {
if in == nil {
return nil
}
out := new(InstanceIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceParent) DeepCopyInto(out *InstanceParent) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParent.
func (in *InstanceParent) DeepCopy() *InstanceParent {
if in == nil {
return nil
}
out := new(InstanceParent)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *InstanceRef) DeepCopyInto(out *InstanceRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceRef.
func (in *InstanceRef) DeepCopy() *InstanceRef {
if in == nil {
return nil
}
out := new(InstanceRef)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TargetTCPProxyIdentity) DeepCopyInto(out *TargetTCPProxyIdentity) {
*out = *in
if in.parent != nil {
in, out := &in.parent, &out.parent
*out = new(parent.ComputeParent)
**out = **in
}
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetTCPProxyIdentity.
func (in *TargetTCPProxyIdentity) DeepCopy() *TargetTCPProxyIdentity {
if in == nil {
return nil
}
out := new(TargetTCPProxyIdentity)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *TargetTCPProxyRef) DeepCopyInto(out *TargetTCPProxyRef) {
*out = *in
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TargetTCPProxyRef.
func (in *TargetTCPProxyRef) DeepCopy() *TargetTCPProxyRef {
if in == nil {
return nil
}
out := new(TargetTCPProxyRef)
in.DeepCopyInto(out)
return out
}