/
zz_generated.deepcopy.go
97 lines (85 loc) · 2.43 KB
/
zz_generated.deepcopy.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
//go:build !ignore_autogenerated
// +build !ignore_autogenerated
// SPDX-License-Identifier: Apache-2.0
// Copyright 2017-2021 Authors of Cilium
// Code generated by deepcopy-gen. DO NOT EDIT.
package recorder
import (
net "net"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RecInfo) DeepCopyInto(out *RecInfo) {
*out = *in
if in.Filters != nil {
in, out := &in.Filters, &out.Filters
*out = make([]RecorderTuple, len(*in))
for i := range *in {
(*in)[i].DeepCopyInto(&(*out)[i])
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecInfo.
func (in *RecInfo) DeepCopy() *RecInfo {
if in == nil {
return nil
}
out := new(RecInfo)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RecMask) DeepCopyInto(out *RecMask) {
*out = *in
in.mask.DeepCopyInto(&out.mask)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecMask.
func (in *RecMask) DeepCopy() *RecMask {
if in == nil {
return nil
}
out := new(RecMask)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RecorderMask) DeepCopyInto(out *RecorderMask) {
*out = *in
if in.srcMask != nil {
in, out := &in.srcMask, &out.srcMask
*out = make(net.IPMask, len(*in))
copy(*out, *in)
}
if in.dstMask != nil {
in, out := &in.dstMask, &out.dstMask
*out = make(net.IPMask, len(*in))
copy(*out, *in)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecorderMask.
func (in *RecorderMask) DeepCopy() *RecorderMask {
if in == nil {
return nil
}
out := new(RecorderMask)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *RecorderTuple) DeepCopyInto(out *RecorderTuple) {
*out = *in
in.SrcPrefix.DeepCopyInto(&out.SrcPrefix)
in.DstPrefix.DeepCopyInto(&out.DstPrefix)
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RecorderTuple.
func (in *RecorderTuple) DeepCopy() *RecorderTuple {
if in == nil {
return nil
}
out := new(RecorderTuple)
in.DeepCopyInto(out)
return out
}