volcano.sh/apis@v1.8.2/pkg/apis/nodeinfo/v1alpha1/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2021 The Volcano 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 // Code generated by deepcopy-gen. DO NOT EDIT. 20 21 package v1alpha1 22 23 import ( 24 runtime "k8s.io/apimachinery/pkg/runtime" 25 ) 26 27 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 28 func (in *CPUInfo) DeepCopyInto(out *CPUInfo) { 29 *out = *in 30 return 31 } 32 33 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CPUInfo. 34 func (in *CPUInfo) DeepCopy() *CPUInfo { 35 if in == nil { 36 return nil 37 } 38 out := new(CPUInfo) 39 in.DeepCopyInto(out) 40 return out 41 } 42 43 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 44 func (in *NumatopoSpec) DeepCopyInto(out *NumatopoSpec) { 45 *out = *in 46 if in.Policies != nil { 47 in, out := &in.Policies, &out.Policies 48 *out = make(map[PolicyName]string, len(*in)) 49 for key, val := range *in { 50 (*out)[key] = val 51 } 52 } 53 if in.ResReserved != nil { 54 in, out := &in.ResReserved, &out.ResReserved 55 *out = make(map[string]string, len(*in)) 56 for key, val := range *in { 57 (*out)[key] = val 58 } 59 } 60 if in.NumaResMap != nil { 61 in, out := &in.NumaResMap, &out.NumaResMap 62 *out = make(map[string]ResourceInfo, len(*in)) 63 for key, val := range *in { 64 (*out)[key] = val 65 } 66 } 67 if in.CPUDetail != nil { 68 in, out := &in.CPUDetail, &out.CPUDetail 69 *out = make(map[string]CPUInfo, len(*in)) 70 for key, val := range *in { 71 (*out)[key] = val 72 } 73 } 74 return 75 } 76 77 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumatopoSpec. 78 func (in *NumatopoSpec) DeepCopy() *NumatopoSpec { 79 if in == nil { 80 return nil 81 } 82 out := new(NumatopoSpec) 83 in.DeepCopyInto(out) 84 return out 85 } 86 87 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 88 func (in *Numatopology) DeepCopyInto(out *Numatopology) { 89 *out = *in 90 out.TypeMeta = in.TypeMeta 91 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 92 in.Spec.DeepCopyInto(&out.Spec) 93 return 94 } 95 96 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Numatopology. 97 func (in *Numatopology) DeepCopy() *Numatopology { 98 if in == nil { 99 return nil 100 } 101 out := new(Numatopology) 102 in.DeepCopyInto(out) 103 return out 104 } 105 106 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 107 func (in *Numatopology) DeepCopyObject() runtime.Object { 108 if c := in.DeepCopy(); c != nil { 109 return c 110 } 111 return nil 112 } 113 114 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 115 func (in *NumatopologyList) DeepCopyInto(out *NumatopologyList) { 116 *out = *in 117 out.TypeMeta = in.TypeMeta 118 in.ListMeta.DeepCopyInto(&out.ListMeta) 119 if in.Items != nil { 120 in, out := &in.Items, &out.Items 121 *out = make([]Numatopology, len(*in)) 122 for i := range *in { 123 (*in)[i].DeepCopyInto(&(*out)[i]) 124 } 125 } 126 return 127 } 128 129 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NumatopologyList. 130 func (in *NumatopologyList) DeepCopy() *NumatopologyList { 131 if in == nil { 132 return nil 133 } 134 out := new(NumatopologyList) 135 in.DeepCopyInto(out) 136 return out 137 } 138 139 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 140 func (in *NumatopologyList) DeepCopyObject() runtime.Object { 141 if c := in.DeepCopy(); c != nil { 142 return c 143 } 144 return nil 145 } 146 147 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 148 func (in *ResourceInfo) DeepCopyInto(out *ResourceInfo) { 149 *out = *in 150 return 151 } 152 153 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceInfo. 154 func (in *ResourceInfo) DeepCopy() *ResourceInfo { 155 if in == nil { 156 return nil 157 } 158 out := new(ResourceInfo) 159 in.DeepCopyInto(out) 160 return out 161 }