kubesphere.io/api@v0.0.0-20231107125330-c9a03957060c/network/calicov3/zz_generated.deepcopy.go (about) 1 //go:build !ignore_autogenerated 2 // +build !ignore_autogenerated 3 4 /* 5 Copyright 2020 The KubeSphere 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 controller-gen. DO NOT EDIT. 21 22 package calicov3 23 24 import ( 25 runtime "k8s.io/apimachinery/pkg/runtime" 26 ) 27 28 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 29 func (in *BlockAffinity) DeepCopyInto(out *BlockAffinity) { 30 *out = *in 31 out.TypeMeta = in.TypeMeta 32 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 33 out.Spec = in.Spec 34 } 35 36 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockAffinity. 37 func (in *BlockAffinity) DeepCopy() *BlockAffinity { 38 if in == nil { 39 return nil 40 } 41 out := new(BlockAffinity) 42 in.DeepCopyInto(out) 43 return out 44 } 45 46 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 47 func (in *BlockAffinity) DeepCopyObject() runtime.Object { 48 if c := in.DeepCopy(); c != nil { 49 return c 50 } 51 return nil 52 } 53 54 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 55 func (in *BlockAffinityList) DeepCopyInto(out *BlockAffinityList) { 56 *out = *in 57 out.TypeMeta = in.TypeMeta 58 in.ListMeta.DeepCopyInto(&out.ListMeta) 59 if in.Items != nil { 60 in, out := &in.Items, &out.Items 61 *out = make([]BlockAffinity, len(*in)) 62 for i := range *in { 63 (*in)[i].DeepCopyInto(&(*out)[i]) 64 } 65 } 66 } 67 68 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockAffinityList. 69 func (in *BlockAffinityList) DeepCopy() *BlockAffinityList { 70 if in == nil { 71 return nil 72 } 73 out := new(BlockAffinityList) 74 in.DeepCopyInto(out) 75 return out 76 } 77 78 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 79 func (in *BlockAffinityList) DeepCopyObject() runtime.Object { 80 if c := in.DeepCopy(); c != nil { 81 return c 82 } 83 return nil 84 } 85 86 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 87 func (in *IPAMBlock) DeepCopyInto(out *IPAMBlock) { 88 *out = *in 89 out.TypeMeta = in.TypeMeta 90 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 91 in.Spec.DeepCopyInto(&out.Spec) 92 } 93 94 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMBlock. 95 func (in *IPAMBlock) DeepCopy() *IPAMBlock { 96 if in == nil { 97 return nil 98 } 99 out := new(IPAMBlock) 100 in.DeepCopyInto(out) 101 return out 102 } 103 104 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 105 func (in *IPAMBlock) DeepCopyObject() runtime.Object { 106 if c := in.DeepCopy(); c != nil { 107 return c 108 } 109 return nil 110 } 111 112 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 113 func (in *IPAMBlockList) DeepCopyInto(out *IPAMBlockList) { 114 *out = *in 115 out.TypeMeta = in.TypeMeta 116 in.ListMeta.DeepCopyInto(&out.ListMeta) 117 if in.Items != nil { 118 in, out := &in.Items, &out.Items 119 *out = make([]IPAMBlock, len(*in)) 120 for i := range *in { 121 (*in)[i].DeepCopyInto(&(*out)[i]) 122 } 123 } 124 } 125 126 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPAMBlockList. 127 func (in *IPAMBlockList) DeepCopy() *IPAMBlockList { 128 if in == nil { 129 return nil 130 } 131 out := new(IPAMBlockList) 132 in.DeepCopyInto(out) 133 return out 134 } 135 136 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 137 func (in *IPAMBlockList) DeepCopyObject() runtime.Object { 138 if c := in.DeepCopy(); c != nil { 139 return c 140 } 141 return nil 142 } 143 144 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 145 func (in *IPPool) DeepCopyInto(out *IPPool) { 146 *out = *in 147 out.TypeMeta = in.TypeMeta 148 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) 149 in.Spec.DeepCopyInto(&out.Spec) 150 } 151 152 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPool. 153 func (in *IPPool) DeepCopy() *IPPool { 154 if in == nil { 155 return nil 156 } 157 out := new(IPPool) 158 in.DeepCopyInto(out) 159 return out 160 } 161 162 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 163 func (in *IPPool) DeepCopyObject() runtime.Object { 164 if c := in.DeepCopy(); c != nil { 165 return c 166 } 167 return nil 168 } 169 170 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 171 func (in *IPPoolList) DeepCopyInto(out *IPPoolList) { 172 *out = *in 173 out.TypeMeta = in.TypeMeta 174 in.ListMeta.DeepCopyInto(&out.ListMeta) 175 if in.Items != nil { 176 in, out := &in.Items, &out.Items 177 *out = make([]IPPool, len(*in)) 178 for i := range *in { 179 (*in)[i].DeepCopyInto(&(*out)[i]) 180 } 181 } 182 } 183 184 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPPoolList. 185 func (in *IPPoolList) DeepCopy() *IPPoolList { 186 if in == nil { 187 return nil 188 } 189 out := new(IPPoolList) 190 in.DeepCopyInto(out) 191 return out 192 } 193 194 // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. 195 func (in *IPPoolList) DeepCopyObject() runtime.Object { 196 if c := in.DeepCopy(); c != nil { 197 return c 198 } 199 return nil 200 }