@@ -16,6 +16,7 @@ limitations under the License.
16
16
17
17
package ingress
18
18
19
+ // Equal tests for equality between two BackendInfo types
19
20
func (bi1 * BackendInfo ) Equal (bi2 * BackendInfo ) bool {
20
21
if bi1 == bi2 {
21
22
return true
@@ -39,6 +40,7 @@ func (bi1 *BackendInfo) Equal(bi2 *BackendInfo) bool {
39
40
return true
40
41
}
41
42
43
+ // Equal tests for equality between two Configuration types
42
44
func (c1 * Configuration ) Equal (c2 * Configuration ) bool {
43
45
if c1 == c2 {
44
46
return true
@@ -135,6 +137,7 @@ func (c1 *Configuration) Equal(c2 *Configuration) bool {
135
137
return true
136
138
}
137
139
140
+ // Equal tests for equality between two Backend types
138
141
func (b1 * Backend ) Equal (b2 * Backend ) bool {
139
142
if b1 == b2 {
140
143
return true
@@ -199,6 +202,7 @@ func (b1 *Backend) Equal(b2 *Backend) bool {
199
202
return true
200
203
}
201
204
205
+ // Equal tests for equality between two SessionAffinityConfig types
202
206
func (sac1 * SessionAffinityConfig ) Equal (sac2 * SessionAffinityConfig ) bool {
203
207
if sac1 == sac2 {
204
208
return true
@@ -216,6 +220,7 @@ func (sac1 *SessionAffinityConfig) Equal(sac2 *SessionAffinityConfig) bool {
216
220
return true
217
221
}
218
222
223
+ // Equal tests for equality between two CookieSessionAffinity types
219
224
func (csa1 * CookieSessionAffinity ) Equal (csa2 * CookieSessionAffinity ) bool {
220
225
if csa1 == csa2 {
221
226
return true
@@ -257,6 +262,7 @@ func (e1 *Endpoint) Equal(e2 *Endpoint) bool {
257
262
return true
258
263
}
259
264
265
+ // Equal tests for equality between two Server types
260
266
func (s1 * Server ) Equal (s2 * Server ) bool {
261
267
if s1 == s2 {
262
268
return true
@@ -297,6 +303,7 @@ func (s1 *Server) Equal(s2 *Server) bool {
297
303
return true
298
304
}
299
305
306
+ // Equal tests for equality between two Location types
300
307
func (l1 * Location ) Equal (l2 * Location ) bool {
301
308
if l1 == l2 {
302
309
return true
@@ -371,6 +378,7 @@ func (l1 *Location) Equal(l2 *Location) bool {
371
378
return true
372
379
}
373
380
381
+ // Equal tests for equality between two SSLPassthroughBackend types
374
382
func (ptb1 * SSLPassthroughBackend ) Equal (ptb2 * SSLPassthroughBackend ) bool {
375
383
if ptb1 == ptb2 {
376
384
return true
@@ -407,6 +415,7 @@ func (ptb1 *SSLPassthroughBackend) Equal(ptb2 *SSLPassthroughBackend) bool {
407
415
return true
408
416
}
409
417
418
+ // Equal tests for equality between two L4Service types
410
419
func (e1 * L4Service ) Equal (e2 * L4Service ) bool {
411
420
if e1 == e2 {
412
421
return true
@@ -440,6 +449,7 @@ func (e1 *L4Service) Equal(e2 *L4Service) bool {
440
449
return true
441
450
}
442
451
452
+ // Equal tests for equality between two L4Backend types
443
453
func (l4b1 * L4Backend ) Equal (l4b2 * L4Backend ) bool {
444
454
if l4b1 == l4b2 {
445
455
return true
0 commit comments