github.com/cilium/cilium@v1.16.2/pkg/alibabacloud/types/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 // SPDX-License-Identifier: Apache-2.0 5 // Copyright Authors of Cilium 6 7 // Code generated by deepcopy-gen. DO NOT EDIT. 8 9 package types 10 11 import ( 12 ipamtypes "github.com/cilium/cilium/pkg/ipam/types" 13 ) 14 15 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 16 func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup) { 17 *out = *in 18 if in.Tags != nil { 19 in, out := &in.Tags, &out.Tags 20 *out = make(ipamtypes.Tags, len(*in)) 21 for key, val := range *in { 22 (*out)[key] = val 23 } 24 } 25 return 26 } 27 28 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroup. 29 func (in *SecurityGroup) DeepCopy() *SecurityGroup { 30 if in == nil { 31 return nil 32 } 33 out := new(SecurityGroup) 34 in.DeepCopyInto(out) 35 return out 36 }