...
1
2
3
4
5
6 package v1
7
8 import (
9 runtime "k8s.io/apimachinery/pkg/runtime"
10 )
11
12
13 func (in *EgressRouter) DeepCopyInto(out *EgressRouter) {
14 *out = *in
15 out.TypeMeta = in.TypeMeta
16 in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
17 in.Spec.DeepCopyInto(&out.Spec)
18 in.Status.DeepCopyInto(&out.Status)
19 return
20 }
21
22
23 func (in *EgressRouter) DeepCopy() *EgressRouter {
24 if in == nil {
25 return nil
26 }
27 out := new(EgressRouter)
28 in.DeepCopyInto(out)
29 return out
30 }
31
32
33 func (in *EgressRouter) DeepCopyObject() runtime.Object {
34 if c := in.DeepCopy(); c != nil {
35 return c
36 }
37 return nil
38 }
39
40
41 func (in *EgressRouterAddress) DeepCopyInto(out *EgressRouterAddress) {
42 *out = *in
43 return
44 }
45
46
47 func (in *EgressRouterAddress) DeepCopy() *EgressRouterAddress {
48 if in == nil {
49 return nil
50 }
51 out := new(EgressRouterAddress)
52 in.DeepCopyInto(out)
53 return out
54 }
55
56
57 func (in *EgressRouterInterface) DeepCopyInto(out *EgressRouterInterface) {
58 *out = *in
59 out.Macvlan = in.Macvlan
60 return
61 }
62
63
64 func (in *EgressRouterInterface) DeepCopy() *EgressRouterInterface {
65 if in == nil {
66 return nil
67 }
68 out := new(EgressRouterInterface)
69 in.DeepCopyInto(out)
70 return out
71 }
72
73
74 func (in *EgressRouterList) DeepCopyInto(out *EgressRouterList) {
75 *out = *in
76 out.TypeMeta = in.TypeMeta
77 in.ListMeta.DeepCopyInto(&out.ListMeta)
78 if in.Items != nil {
79 in, out := &in.Items, &out.Items
80 *out = make([]EgressRouter, len(*in))
81 for i := range *in {
82 (*in)[i].DeepCopyInto(&(*out)[i])
83 }
84 }
85 return
86 }
87
88
89 func (in *EgressRouterList) DeepCopy() *EgressRouterList {
90 if in == nil {
91 return nil
92 }
93 out := new(EgressRouterList)
94 in.DeepCopyInto(out)
95 return out
96 }
97
98
99 func (in *EgressRouterList) DeepCopyObject() runtime.Object {
100 if c := in.DeepCopy(); c != nil {
101 return c
102 }
103 return nil
104 }
105
106
107 func (in *EgressRouterSpec) DeepCopyInto(out *EgressRouterSpec) {
108 *out = *in
109 if in.Redirect != nil {
110 in, out := &in.Redirect, &out.Redirect
111 *out = new(RedirectConfig)
112 (*in).DeepCopyInto(*out)
113 }
114 out.NetworkInterface = in.NetworkInterface
115 if in.Addresses != nil {
116 in, out := &in.Addresses, &out.Addresses
117 *out = make([]EgressRouterAddress, len(*in))
118 copy(*out, *in)
119 }
120 return
121 }
122
123
124 func (in *EgressRouterSpec) DeepCopy() *EgressRouterSpec {
125 if in == nil {
126 return nil
127 }
128 out := new(EgressRouterSpec)
129 in.DeepCopyInto(out)
130 return out
131 }
132
133
134 func (in *EgressRouterStatus) DeepCopyInto(out *EgressRouterStatus) {
135 *out = *in
136 if in.Conditions != nil {
137 in, out := &in.Conditions, &out.Conditions
138 *out = make([]EgressRouterStatusCondition, len(*in))
139 for i := range *in {
140 (*in)[i].DeepCopyInto(&(*out)[i])
141 }
142 }
143 return
144 }
145
146
147 func (in *EgressRouterStatus) DeepCopy() *EgressRouterStatus {
148 if in == nil {
149 return nil
150 }
151 out := new(EgressRouterStatus)
152 in.DeepCopyInto(out)
153 return out
154 }
155
156
157 func (in *EgressRouterStatusCondition) DeepCopyInto(out *EgressRouterStatusCondition) {
158 *out = *in
159 in.LastTransitionTime.DeepCopyInto(&out.LastTransitionTime)
160 return
161 }
162
163
164 func (in *EgressRouterStatusCondition) DeepCopy() *EgressRouterStatusCondition {
165 if in == nil {
166 return nil
167 }
168 out := new(EgressRouterStatusCondition)
169 in.DeepCopyInto(out)
170 return out
171 }
172
173
174 func (in *L4RedirectRule) DeepCopyInto(out *L4RedirectRule) {
175 *out = *in
176 return
177 }
178
179
180 func (in *L4RedirectRule) DeepCopy() *L4RedirectRule {
181 if in == nil {
182 return nil
183 }
184 out := new(L4RedirectRule)
185 in.DeepCopyInto(out)
186 return out
187 }
188
189
190 func (in *MacvlanConfig) DeepCopyInto(out *MacvlanConfig) {
191 *out = *in
192 return
193 }
194
195
196 func (in *MacvlanConfig) DeepCopy() *MacvlanConfig {
197 if in == nil {
198 return nil
199 }
200 out := new(MacvlanConfig)
201 in.DeepCopyInto(out)
202 return out
203 }
204
205
206 func (in *RedirectConfig) DeepCopyInto(out *RedirectConfig) {
207 *out = *in
208 if in.RedirectRules != nil {
209 in, out := &in.RedirectRules, &out.RedirectRules
210 *out = make([]L4RedirectRule, len(*in))
211 copy(*out, *in)
212 }
213 return
214 }
215
216
217 func (in *RedirectConfig) DeepCopy() *RedirectConfig {
218 if in == nil {
219 return nil
220 }
221 out := new(RedirectConfig)
222 in.DeepCopyInto(out)
223 return out
224 }
225
View as plain text