k8s.io/kubernetes@v1.31.0-alpha.0.0.20240520171757-56147500dadc/pkg/kubelet/cm/dra/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright The Kubernetes Authors. 6 7 Licensed under the Apache License, Version 2.0 (the "License"); 8 you may not use this file except in compliance with the License. 9 You may obtain a copy of the License at 10 11 http://www.apache.org/licenses/LICENSE-2.0 12 13 Unless required by applicable law or agreed to in writing, software 14 distributed under the License is distributed on an "AS IS" BASIS, 15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 See the License for the specific language governing permissions and 17 limitations under the License. 18 */ 19 20 // Code generated by deepcopy-gen. DO NOT EDIT. 21 22 package dra 23 24 import ( 25 container "k8s.io/kubernetes/pkg/kubelet/container" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *ClaimInfo) DeepCopyInto(out *ClaimInfo) { 30 *out = *in 31 in.ClaimInfoState.DeepCopyInto(&out.ClaimInfoState) 32 if in.annotations != nil { 33 in, out := &in.annotations, &out.annotations 34 *out = make(map[string][]container.Annotation, len(*in)) 35 for key, val := range *in { 36 var outVal []container.Annotation 37 if val == nil { 38 (*out)[key] = nil 39 } else { 40 in, out := &val, &outVal 41 *out = make([]container.Annotation, len(*in)) 42 copy(*out, *in) 43 } 44 (*out)[key] = outVal 45 } 46 } 47 return 48 } 49 50 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClaimInfo. 51 func (in *ClaimInfo) DeepCopy() *ClaimInfo { 52 if in == nil { 53 return nil 54 } 55 out := new(ClaimInfo) 56 in.DeepCopyInto(out) 57 return out 58 }