github.com/looshlee/beatles@v0.0.0-20220727174639-742810ab631c/pkg/maps/lbmap/zz_generated.deepcopy.go (about) 1 // +build !ignore_autogenerated 2 3 // Copyright 2017-2019 Authors of Cilium 4 // 5 // Licensed under the Apache License, Version 2.0 (the "License"); 6 // you may not use this file except in compliance with the License. 7 // You may obtain a copy of the License at 8 // 9 // http://www.apache.org/licenses/LICENSE-2.0 10 // 11 // Unless required by applicable law or agreed to in writing, software 12 // distributed under the License is distributed on an "AS IS" BASIS, 13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 // See the License for the specific language governing permissions and 15 // limitations under the License. 16 17 // Code generated by deepcopy-gen. DO NOT EDIT. 18 19 package lbmap 20 21 import ( 22 bpf "github.com/cilium/cilium/pkg/bpf" 23 ) 24 25 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 26 func (in *Backend4Key) DeepCopyInto(out *Backend4Key) { 27 *out = *in 28 return 29 } 30 31 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend4Key. 32 func (in *Backend4Key) DeepCopy() *Backend4Key { 33 if in == nil { 34 return nil 35 } 36 out := new(Backend4Key) 37 in.DeepCopyInto(out) 38 return out 39 } 40 41 // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey. 42 func (in *Backend4Key) DeepCopyMapKey() bpf.MapKey { 43 if c := in.DeepCopy(); c != nil { 44 return c 45 } 46 return nil 47 } 48 49 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 50 func (in *Backend4Value) DeepCopyInto(out *Backend4Value) { 51 *out = *in 52 in.Address.DeepCopyInto(&out.Address) 53 return 54 } 55 56 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend4Value. 57 func (in *Backend4Value) DeepCopy() *Backend4Value { 58 if in == nil { 59 return nil 60 } 61 out := new(Backend4Value) 62 in.DeepCopyInto(out) 63 return out 64 } 65 66 // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue. 67 func (in *Backend4Value) DeepCopyMapValue() bpf.MapValue { 68 if c := in.DeepCopy(); c != nil { 69 return c 70 } 71 return nil 72 } 73 74 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 75 func (in *Backend6Key) DeepCopyInto(out *Backend6Key) { 76 *out = *in 77 return 78 } 79 80 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend6Key. 81 func (in *Backend6Key) DeepCopy() *Backend6Key { 82 if in == nil { 83 return nil 84 } 85 out := new(Backend6Key) 86 in.DeepCopyInto(out) 87 return out 88 } 89 90 // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey. 91 func (in *Backend6Key) DeepCopyMapKey() bpf.MapKey { 92 if c := in.DeepCopy(); c != nil { 93 return c 94 } 95 return nil 96 } 97 98 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 99 func (in *Backend6Value) DeepCopyInto(out *Backend6Value) { 100 *out = *in 101 in.Address.DeepCopyInto(&out.Address) 102 return 103 } 104 105 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Backend6Value. 106 func (in *Backend6Value) DeepCopy() *Backend6Value { 107 if in == nil { 108 return nil 109 } 110 out := new(Backend6Value) 111 in.DeepCopyInto(out) 112 return out 113 } 114 115 // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue. 116 func (in *Backend6Value) DeepCopyMapValue() bpf.MapValue { 117 if c := in.DeepCopy(); c != nil { 118 return c 119 } 120 return nil 121 } 122 123 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 124 func (in *RRSeqValue) DeepCopyInto(out *RRSeqValue) { 125 *out = *in 126 in.Idx.DeepCopyInto(&out.Idx) 127 return 128 } 129 130 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RRSeqValue. 131 func (in *RRSeqValue) DeepCopy() *RRSeqValue { 132 if in == nil { 133 return nil 134 } 135 out := new(RRSeqValue) 136 in.DeepCopyInto(out) 137 return out 138 } 139 140 // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue. 141 func (in *RRSeqValue) DeepCopyMapValue() bpf.MapValue { 142 if c := in.DeepCopy(); c != nil { 143 return c 144 } 145 return nil 146 } 147 148 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 149 func (in *RevNat4Key) DeepCopyInto(out *RevNat4Key) { 150 *out = *in 151 return 152 } 153 154 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevNat4Key. 155 func (in *RevNat4Key) DeepCopy() *RevNat4Key { 156 if in == nil { 157 return nil 158 } 159 out := new(RevNat4Key) 160 in.DeepCopyInto(out) 161 return out 162 } 163 164 // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey. 165 func (in *RevNat4Key) DeepCopyMapKey() bpf.MapKey { 166 if c := in.DeepCopy(); c != nil { 167 return c 168 } 169 return nil 170 } 171 172 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 173 func (in *RevNat4Value) DeepCopyInto(out *RevNat4Value) { 174 *out = *in 175 in.Address.DeepCopyInto(&out.Address) 176 return 177 } 178 179 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevNat4Value. 180 func (in *RevNat4Value) DeepCopy() *RevNat4Value { 181 if in == nil { 182 return nil 183 } 184 out := new(RevNat4Value) 185 in.DeepCopyInto(out) 186 return out 187 } 188 189 // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue. 190 func (in *RevNat4Value) DeepCopyMapValue() bpf.MapValue { 191 if c := in.DeepCopy(); c != nil { 192 return c 193 } 194 return nil 195 } 196 197 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 198 func (in *RevNat6Key) DeepCopyInto(out *RevNat6Key) { 199 *out = *in 200 return 201 } 202 203 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevNat6Key. 204 func (in *RevNat6Key) DeepCopy() *RevNat6Key { 205 if in == nil { 206 return nil 207 } 208 out := new(RevNat6Key) 209 in.DeepCopyInto(out) 210 return out 211 } 212 213 // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey. 214 func (in *RevNat6Key) DeepCopyMapKey() bpf.MapKey { 215 if c := in.DeepCopy(); c != nil { 216 return c 217 } 218 return nil 219 } 220 221 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 222 func (in *RevNat6Value) DeepCopyInto(out *RevNat6Value) { 223 *out = *in 224 in.Address.DeepCopyInto(&out.Address) 225 return 226 } 227 228 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RevNat6Value. 229 func (in *RevNat6Value) DeepCopy() *RevNat6Value { 230 if in == nil { 231 return nil 232 } 233 out := new(RevNat6Value) 234 in.DeepCopyInto(out) 235 return out 236 } 237 238 // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue. 239 func (in *RevNat6Value) DeepCopyMapValue() bpf.MapValue { 240 if c := in.DeepCopy(); c != nil { 241 return c 242 } 243 return nil 244 } 245 246 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 247 func (in *Service4Key) DeepCopyInto(out *Service4Key) { 248 *out = *in 249 in.Address.DeepCopyInto(&out.Address) 250 return 251 } 252 253 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service4Key. 254 func (in *Service4Key) DeepCopy() *Service4Key { 255 if in == nil { 256 return nil 257 } 258 out := new(Service4Key) 259 in.DeepCopyInto(out) 260 return out 261 } 262 263 // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey. 264 func (in *Service4Key) DeepCopyMapKey() bpf.MapKey { 265 if c := in.DeepCopy(); c != nil { 266 return c 267 } 268 return nil 269 } 270 271 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 272 func (in *Service4KeyV2) DeepCopyInto(out *Service4KeyV2) { 273 *out = *in 274 in.Address.DeepCopyInto(&out.Address) 275 in.Pad.DeepCopyInto(&out.Pad) 276 return 277 } 278 279 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service4KeyV2. 280 func (in *Service4KeyV2) DeepCopy() *Service4KeyV2 { 281 if in == nil { 282 return nil 283 } 284 out := new(Service4KeyV2) 285 in.DeepCopyInto(out) 286 return out 287 } 288 289 // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey. 290 func (in *Service4KeyV2) DeepCopyMapKey() bpf.MapKey { 291 if c := in.DeepCopy(); c != nil { 292 return c 293 } 294 return nil 295 } 296 297 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 298 func (in *Service4Value) DeepCopyInto(out *Service4Value) { 299 *out = *in 300 in.Address.DeepCopyInto(&out.Address) 301 return 302 } 303 304 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service4Value. 305 func (in *Service4Value) DeepCopy() *Service4Value { 306 if in == nil { 307 return nil 308 } 309 out := new(Service4Value) 310 in.DeepCopyInto(out) 311 return out 312 } 313 314 // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue. 315 func (in *Service4Value) DeepCopyMapValue() bpf.MapValue { 316 if c := in.DeepCopy(); c != nil { 317 return c 318 } 319 return nil 320 } 321 322 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 323 func (in *Service4ValueV2) DeepCopyInto(out *Service4ValueV2) { 324 *out = *in 325 return 326 } 327 328 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service4ValueV2. 329 func (in *Service4ValueV2) DeepCopy() *Service4ValueV2 { 330 if in == nil { 331 return nil 332 } 333 out := new(Service4ValueV2) 334 in.DeepCopyInto(out) 335 return out 336 } 337 338 // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue. 339 func (in *Service4ValueV2) DeepCopyMapValue() bpf.MapValue { 340 if c := in.DeepCopy(); c != nil { 341 return c 342 } 343 return nil 344 } 345 346 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 347 func (in *Service6Key) DeepCopyInto(out *Service6Key) { 348 *out = *in 349 in.Address.DeepCopyInto(&out.Address) 350 return 351 } 352 353 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service6Key. 354 func (in *Service6Key) DeepCopy() *Service6Key { 355 if in == nil { 356 return nil 357 } 358 out := new(Service6Key) 359 in.DeepCopyInto(out) 360 return out 361 } 362 363 // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey. 364 func (in *Service6Key) DeepCopyMapKey() bpf.MapKey { 365 if c := in.DeepCopy(); c != nil { 366 return c 367 } 368 return nil 369 } 370 371 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 372 func (in *Service6KeyV2) DeepCopyInto(out *Service6KeyV2) { 373 *out = *in 374 in.Address.DeepCopyInto(&out.Address) 375 in.Pad.DeepCopyInto(&out.Pad) 376 return 377 } 378 379 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service6KeyV2. 380 func (in *Service6KeyV2) DeepCopy() *Service6KeyV2 { 381 if in == nil { 382 return nil 383 } 384 out := new(Service6KeyV2) 385 in.DeepCopyInto(out) 386 return out 387 } 388 389 // DeepCopyMapKey is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapKey. 390 func (in *Service6KeyV2) DeepCopyMapKey() bpf.MapKey { 391 if c := in.DeepCopy(); c != nil { 392 return c 393 } 394 return nil 395 } 396 397 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 398 func (in *Service6Value) DeepCopyInto(out *Service6Value) { 399 *out = *in 400 in.Address.DeepCopyInto(&out.Address) 401 return 402 } 403 404 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service6Value. 405 func (in *Service6Value) DeepCopy() *Service6Value { 406 if in == nil { 407 return nil 408 } 409 out := new(Service6Value) 410 in.DeepCopyInto(out) 411 return out 412 } 413 414 // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue. 415 func (in *Service6Value) DeepCopyMapValue() bpf.MapValue { 416 if c := in.DeepCopy(); c != nil { 417 return c 418 } 419 return nil 420 } 421 422 // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. 423 func (in *Service6ValueV2) DeepCopyInto(out *Service6ValueV2) { 424 *out = *in 425 return 426 } 427 428 // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service6ValueV2. 429 func (in *Service6ValueV2) DeepCopy() *Service6ValueV2 { 430 if in == nil { 431 return nil 432 } 433 out := new(Service6ValueV2) 434 in.DeepCopyInto(out) 435 return out 436 } 437 438 // DeepCopyMapValue is an autogenerated deepcopy function, copying the receiver, creating a new bpf.MapValue. 439 func (in *Service6ValueV2) DeepCopyMapValue() bpf.MapValue { 440 if c := in.DeepCopy(); c != nil { 441 return c 442 } 443 return nil 444 }