-
Notifications
You must be signed in to change notification settings - Fork 7
/
types.go
589 lines (384 loc) · 29.5 KB
/
types.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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
// Package announcements provides the types and constants required to contextualize events received from the
// Kubernetes API server that are propagated internally within the control plane to trigger configuration changes.
package announcements
// Kind is used to record the kind of announcement
type Kind string
func (at Kind) String() string {
return string(at)
}
const (
// ProxyUpdate is the event kind used to trigger an update to subscribed proxies
ProxyUpdate Kind = "proxy-update"
// IngressUpdate is the event kind used to trigger an update to subscribed ingresses
IngressUpdate Kind = "ingress-update"
// GatewayUpdate is the event kind used to trigger an update to subscribed gateways
GatewayUpdate Kind = "gateway-update"
// ServiceUpdate is the event kind used to trigger an update to subscribed services
ServiceUpdate Kind = "service-update"
// ConnectorUpdate is the event kind used to trigger an update to subscribed connectors
ConnectorUpdate Kind = "connector-update"
// MCSUpdate is the event kind used to trigger an update to subscribed gateways
MCSUpdate Kind = "mcs-update"
// PodAdded is the type of announcement emitted when we observe an addition of a Kubernetes Pod
PodAdded Kind = "pod-added"
// PodDeleted the type of announcement emitted when we observe the deletion of a Kubernetes Pod
PodDeleted Kind = "pod-deleted"
// PodUpdated is the type of announcement emitted when we observe an update to a Kubernetes Pod
PodUpdated Kind = "pod-updated"
// ---
// EndpointAdded is the type of announcement emitted when we observe an addition of a Kubernetes Endpoint
EndpointAdded Kind = "endpoint-added"
// EndpointDeleted the type of announcement emitted when we observe the deletion of a Kubernetes Endpoint
EndpointDeleted Kind = "endpoint-deleted"
// EndpointUpdated is the type of announcement emitted when we observe an update to a Kubernetes Endpoint
EndpointUpdated Kind = "endpoint-updated"
// ---
// NamespaceAdded is the type of announcement emitted when we observe an addition of a Kubernetes Namespace
NamespaceAdded Kind = "namespace-added"
// NamespaceDeleted the type of announcement emitted when we observe the deletion of a Kubernetes Namespace
NamespaceDeleted Kind = "namespace-deleted"
// NamespaceUpdated is the type of announcement emitted when we observe an update to a Kubernetes Namespace
NamespaceUpdated Kind = "namespace-updated"
// ---
// ServiceAdded is the type of announcement emitted when we observe an addition of a Kubernetes Service
ServiceAdded Kind = "service-added"
// ServiceDeleted the type of announcement emitted when we observe the deletion of a Kubernetes Service
ServiceDeleted Kind = "service-deleted"
// ServiceUpdated is the type of announcement emitted when we observe an update to a Kubernetes Service
ServiceUpdated Kind = "service-updated"
// ---
// ServiceAccountAdded is the type of announcement emitted when we observe an addition of a Kubernetes Service Account
ServiceAccountAdded Kind = "serviceaccount-added"
// ServiceAccountDeleted the type of announcement emitted when we observe the deletion of a Kubernetes Service Account
ServiceAccountDeleted Kind = "serviceaccount-deleted"
// ServiceAccountUpdated is the type of announcement emitted when we observe an update to a Kubernetes Service
ServiceAccountUpdated Kind = "serviceaccount-updated"
// ---
// TrafficSplitAdded is the type of announcement emitted when we observe an addition of a Kubernetes TrafficSplit
TrafficSplitAdded Kind = "trafficsplit-added"
// TrafficSplitDeleted the type of announcement emitted when we observe the deletion of a Kubernetes TrafficSplit
TrafficSplitDeleted Kind = "trafficsplit-deleted"
// TrafficSplitUpdated is the type of announcement emitted when we observe an update to a Kubernetes TrafficSplit
TrafficSplitUpdated Kind = "trafficsplit-updated"
// ---
// RouteGroupAdded is the type of announcement emitted when we observe an addition of a Kubernetes RouteGroup
RouteGroupAdded Kind = "routegroup-added"
// RouteGroupDeleted the type of announcement emitted when we observe the deletion of a Kubernetes RouteGroup
RouteGroupDeleted Kind = "routegroup-deleted"
// RouteGroupUpdated is the type of announcement emitted when we observe an update to a Kubernetes RouteGroup
RouteGroupUpdated Kind = "routegroup-updated"
// ---
// TCPRouteAdded is the type of announcement emitted when we observe an addition of a Kubernetes TCPRoute
TCPRouteAdded Kind = "tcproute-added"
// TCPRouteDeleted the type of announcement emitted when we observe the deletion of a Kubernetes TCPRoute
TCPRouteDeleted Kind = "tcproute-deleted"
// TCPRouteUpdated is the type of announcement emitted when we observe an update to a Kubernetes TCPRoute
TCPRouteUpdated Kind = "tcproute-updated"
// ---
// TrafficTargetAdded is the type of announcement emitted when we observe an addition of a Kubernetes TrafficTarget
TrafficTargetAdded Kind = "traffictarget-added"
// TrafficTargetDeleted the type of announcement emitted when we observe the deletion of a Kubernetes TrafficTarget
TrafficTargetDeleted Kind = "traffictarget-deleted"
// TrafficTargetUpdated is the type of announcement emitted when we observe an update to a Kubernetes TrafficTarget
TrafficTargetUpdated Kind = "traffictarget-updated"
// ---
// IngressAdded is the type of announcement emitted when we observe an addition of a Kubernetes Ingress
IngressAdded Kind = "ingress-added"
// IngressDeleted the type of announcement emitted when we observe the deletion of a Kubernetes Ingress
IngressDeleted Kind = "ingress-deleted"
// IngressUpdated is the type of announcement emitted when we observe an update to a Kubernetes Ingress
IngressUpdated Kind = "ingress-updated"
// ---
// IngressClassAdded is the type of announcement emitted when we observe an addition of a Kubernetes IngressClass
IngressClassAdded Kind = "ingressclass-added"
// IngressClassDeleted the type of announcement emitted when we observe the deletion of a Kubernetes IngressClass
IngressClassDeleted Kind = "ingressclass-deleted"
// IngressClassUpdated is the type of announcement emitted when we observe an update to a Kubernetes IngressClass
IngressClassUpdated Kind = "ingressclass-updated"
// ---
// CertificateRotated is the type of announcement emitted when a certificate is rotated by the certificate provider
CertificateRotated Kind = "certificate-rotated"
// --- config.flomesh.io API events
// MeshConfigAdded is the type of announcement emitted when we observe an addition of a Kubernetes MeshConfig
MeshConfigAdded Kind = "meshconfig-added"
// MeshConfigDeleted the type of announcement emitted when we observe the deletion of a Kubernetes MeshConfig
MeshConfigDeleted Kind = "meshconfig-deleted"
// MeshConfigUpdated is the type of announcement emitted when we observe an update to a Kubernetes MeshConfig
MeshConfigUpdated Kind = "meshconfig-updated"
// MeshRootCertificateAdded is the type of announcement emitted when we observe an addition of a Kubernetes MeshRootCertificate
MeshRootCertificateAdded Kind = "meshrootcertificate-added"
// MeshRootCertificateDeleted is the type of announcement emitted when we observe the deletion of a Kubernetes MeshRootCertificate
MeshRootCertificateDeleted Kind = "meshrootcertificate-deleted"
// MeshRootCertificateUpdated is the type of announcement emitted when we observe an update to a Kubernetes MeshRootCertificate
MeshRootCertificateUpdated Kind = "meshrootcertificate-updated"
// --- policy.flomesh.io API events
// EgressAdded is the type of announcement emitted when we observe an addition of egresses.policy.flomesh.io
EgressAdded Kind = "egress-added"
// EgressDeleted the type of announcement emitted when we observe a deletion of egresses.policy.flomesh.io
EgressDeleted Kind = "egress-deleted"
// EgressUpdated is the type of announcement emitted when we observe an update to egresses.policy.flomesh.io
EgressUpdated Kind = "egress-updated"
// EgressGatewayAdded is the type of announcement emitted when we observe an addition of egressgateways.policy.flomesh.io
EgressGatewayAdded Kind = "egressgateway-added"
// EgressGatewayDeleted the type of announcement emitted when we observe a deletion of egressgateways.policy.flomesh.io
EgressGatewayDeleted Kind = "egressgateway-deleted"
// EgressGatewayUpdated is the type of announcement emitted when we observe an update to egressgateways.policy.flomesh.io
EgressGatewayUpdated Kind = "egressgateway-updated"
// IngressBackendAdded is the type of announcement emitted when we observe an addition of ingressbackends.policy.flomesh.io
IngressBackendAdded Kind = "ingressbackend-added"
// IngressBackendDeleted the type of announcement emitted when we observe a deletion of ingressbackends.policy.flomesh.io
IngressBackendDeleted Kind = "ingressbackend-deleted"
// IngressBackendUpdated is the type of announcement emitted when we observe an update to ingressbackends.policy.flomesh.io
IngressBackendUpdated Kind = "ingressbackend-updated"
// AccessControlAdded is the type of announcement emitted when we observe an addition of accesscontrols.policy.flomesh.io
AccessControlAdded Kind = "accesscontrol-added"
// AccessControlDeleted the type of announcement emitted when we observe a deletion of accesscontrols.policy.flomesh.io
AccessControlDeleted Kind = "accesscontrol-deleted"
// AccessControlUpdated is the type of announcement emitted when we observe an update to accesscontrols.policy.flomesh.io
AccessControlUpdated Kind = "accesscontrol-updated"
// AccessCertAdded is the type of announcement emitted when we observe an addition of accesscerts.policy.flomesh.io
AccessCertAdded Kind = "accesscert-added"
// AccessCertDeleted the type of announcement emitted when we observe a deletion of accesscerts.policy.flomesh.io
AccessCertDeleted Kind = "accesscert-deleted"
// AccessCertUpdated is the type of announcement emitted when we observe an update to accesscerts.policy.flomesh.io
AccessCertUpdated Kind = "accesscert-updated"
// ConsulConnectorAdded is the type of announcement emitted when we observe an addition of consulconnectors.connector.flomesh.io
ConsulConnectorAdded Kind = "consulconnector-added"
// ConsulConnectorDeleted the type of announcement emitted when we observe a deletion of consulconnectors.connector.flomesh.io
ConsulConnectorDeleted Kind = "consulconnector-deleted"
// ConsulConnectorUpdated is the type of announcement emitted when we observe an update to consulconnectors.connector.flomesh.io
ConsulConnectorUpdated Kind = "consulconnector-updated"
// EurekaConnectorAdded is the type of announcement emitted when we observe an addition of eurekaconnectors.connector.flomesh.io
EurekaConnectorAdded Kind = "eurekaconnector-added"
// EurekaConnectorDeleted the type of announcement emitted when we observe a deletion of eurekaconnectors.connector.flomesh.io
EurekaConnectorDeleted Kind = "eurekaconnector-deleted"
// EurekaConnectorUpdated is the type of announcement emitted when we observe an update to eurekaconnectors.connector.flomesh.io
EurekaConnectorUpdated Kind = "eurekaconnector-updated"
// NacosConnectorAdded is the type of announcement emitted when we observe an addition of nacosconnectors.connector.flomesh.io
NacosConnectorAdded Kind = "nacosconnector-added"
// NacosConnectorDeleted the type of announcement emitted when we observe a deletion of nacosconnectors.connector.flomesh.io
NacosConnectorDeleted Kind = "nacosconnector-deleted"
// NacosConnectorUpdated is the type of announcement emitted when we observe an update to nacosconnectors.connector.flomesh.io
NacosConnectorUpdated Kind = "nacosconnector-updated"
// MachineConnectorAdded is the type of announcement emitted when we observe an addition of machineconnectors.connector.flomesh.io
MachineConnectorAdded Kind = "machineconnector-added"
// MachineConnectorDeleted the type of announcement emitted when we observe a deletion of machineconnectors.connector.flomesh.io
MachineConnectorDeleted Kind = "machineconnector-deleted"
// MachineConnectorUpdated is the type of announcement emitted when we observe an update to machineconnectors.connector.flomesh.io
MachineConnectorUpdated Kind = "machineconnector-updated"
// GatewayConnectorAdded is the type of announcement emitted when we observe an addition of gatewayconnectors.connector.flomesh.io
GatewayConnectorAdded Kind = "gatewayconnector-added"
// GatewayConnectorDeleted the type of announcement emitted when we observe a deletion of gatewayconnectors.connector.flomesh.io
GatewayConnectorDeleted Kind = "gatewayconnector-deleted"
// GatewayConnectorUpdated is the type of announcement emitted when we observe an update to gatewayconnectors.connector.flomesh.io
GatewayConnectorUpdated Kind = "gatewayconnector-updated"
// ServiceExportAdded is the type of announcement emitted when we observe an addition of serviceexports.flomesh.io
ServiceExportAdded Kind = "serviceexport-added"
// ServiceExportDeleted the type of announcement emitted when we observe a deletion of serviceexports.flomesh.io
ServiceExportDeleted Kind = "serviceexport-deleted"
// ServiceExportUpdated is the type of announcement emitted when we observe an update to serviceexports.flomesh.io
ServiceExportUpdated Kind = "serviceexport-updated"
// MultiClusterServiceExportCreated is the type of announcement emitted when we observe a creation to serviceexports.flomesh.io
MultiClusterServiceExportCreated Kind = "mcs-serviceexport-created"
// MultiClusterServiceExportDeleted the type of announcement emitted when we observe a deletion of serviceexports.flomesh.io
MultiClusterServiceExportDeleted Kind = "mcs-serviceexport-deleted"
// MultiClusterServiceExportAccepted is the type of announcement emitted when we observe an accept to serviceexports.flomesh.io
MultiClusterServiceExportAccepted Kind = "mcs-serviceexport-accepted"
// MultiClusterServiceExportRejected is the type of announcement emitted when we observe a rejection to serviceexports.flomesh.io
MultiClusterServiceExportRejected Kind = "mcs-serviceexport-rejected"
// ServiceImportAdded is the type of announcement emitted when we observe an addition of serviceimports.flomesh.io
ServiceImportAdded Kind = "serviceimport-added"
// ServiceImportDeleted the type of announcement emitted when we observe a deletion of serviceimports.flomesh.io
ServiceImportDeleted Kind = "serviceimport-deleted"
// ServiceImportUpdated is the type of announcement emitted when we observe an update to serviceimports.flomesh.io
ServiceImportUpdated Kind = "serviceimport-updated"
// GlobalTrafficPolicyAdded is the type of announcement emitted when we observe an addition of serviceimports.flomesh.io
GlobalTrafficPolicyAdded Kind = "globaltrafficpolicy-added"
// GlobalTrafficPolicyDeleted the type of announcement emitted when we observe a deletion of serviceimports.flomesh.io
GlobalTrafficPolicyDeleted Kind = "globaltrafficpolicy-deleted"
// GlobalTrafficPolicyUpdated is the type of announcement emitted when we observe an update to serviceimports.flomesh.io
GlobalTrafficPolicyUpdated Kind = "globaltrafficpolicy-updated"
// RetryPolicyAdded is the type of announcement emitted when we observe an addition of retries.policy.flomesh.io
RetryPolicyAdded Kind = "retry-added"
// RetryPolicyDeleted the type of announcement emitted when we observe a deletion of retries.policy.flomesh.io
RetryPolicyDeleted Kind = "retry-deleted"
// RetryPolicyUpdated is the type of announcement emitted when we observe an update to retries.policy.flomesh.io
RetryPolicyUpdated Kind = "retry-updated"
// UpstreamTrafficSettingAdded is the type of announcement emitted when we observe an addition of upstreamtrafficsettings.policy.flomesh.io
UpstreamTrafficSettingAdded Kind = "upstreamtrafficsetting-added"
// UpstreamTrafficSettingDeleted is the type of announcement emitted when we observe a deletion of upstreamtrafficsettings.policy.flomesh.io
UpstreamTrafficSettingDeleted Kind = "upstreamtrafficsetting-deleted"
// UpstreamTrafficSettingUpdated is the type of announcement emitted when we observe an update of upstreamtrafficsettings.policy.flomesh.io
UpstreamTrafficSettingUpdated Kind = "upstreamtrafficsetting-updated"
// ---
// PluginAdded is the type of announcement emitted when we observe an addition of plugins.plugin.flomesh.io
PluginAdded Kind = "plugin-added"
// PluginDeleted the type of announcement emitted when we observe a deletion of plugins.plugin.flomesh.io
PluginDeleted Kind = "plugin-deleted"
// PluginUpdated is the type of announcement emitted when we observe an update to plugins.plugin.flomesh.io
PluginUpdated Kind = "plugin-updated"
// PluginChainAdded is the type of announcement emitted when we observe an addition of pluginchains.plugin.flomesh.io
PluginChainAdded Kind = "pluginchain-added"
// PluginChainDeleted the type of announcement emitted when we observe a deletion of pluginchains.plugin.flomesh.io
PluginChainDeleted Kind = "pluginchain-deleted"
// PluginChainUpdated is the type of announcement emitted when we observe an update to pluginchains.plugin.flomesh.io
PluginChainUpdated Kind = "pluginchain-updated"
// PluginConfigAdded is the type of announcement emitted when we observe an addition of pluginconfigs.flomesh.io
PluginConfigAdded Kind = "pluginconfig-added"
// PluginConfigDeleted the type of announcement emitted when we observe a deletion of pluginconfigs.plugin.flomesh.io
PluginConfigDeleted Kind = "pluginconfig-deleted"
// PluginConfigUpdated is the type of announcement emitted when we observe an update to pluginconfigs.plugin.flomesh.io
PluginConfigUpdated Kind = "pluginconfig-updated"
// ---
// VirtualMachineAdded is the type of announcement emitted when we observe an addition of vms.machine.flomesh.io
VirtualMachineAdded Kind = "virtualmachine-added"
// VirtualMachineDeleted the type of announcement emitted when we observe a deletion of vms.machine.flomesh.io
VirtualMachineDeleted Kind = "virtualmachine-deleted"
// VirtualMachineUpdated is the type of announcement emitted when we observe an update to vms.machine.flomesh.io
VirtualMachineUpdated Kind = "virtualmachine-updated"
// ---
// EndpointSlicesAdded is the type of announcement emitted when we observe an addition of a Kubernetes EndpointSlices
EndpointSlicesAdded Kind = "endpointslices-added"
// EndpointSlicesDeleted the type of announcement emitted when we observe the deletion of a Kubernetes EndpointSlices
EndpointSlicesDeleted Kind = "endpointslices-deleted"
// EndpointSlicesUpdated is the type of announcement emitted when we observe an update to a Kubernetes EndpointSlices
EndpointSlicesUpdated Kind = "endpointslices-updated"
// ---
// SecretAdded is the type of announcement emitted when we observe an addition of a Kubernetes Secret
SecretAdded Kind = "secret-added"
// SecretDeleted the type of announcement emitted when we observe the deletion of a Kubernetes Secret
SecretDeleted Kind = "secret-deleted"
// SecretUpdated is the type of announcement emitted when we observe an update to a Kubernetes Secret
SecretUpdated Kind = "secret-updated"
// ---
// ConfigMapAdded is the type of announcement emitted when we observe an addition of a Kubernetes ConfigMap
ConfigMapAdded Kind = "configmap-added"
// ConfigMapDeleted the type of announcement emitted when we observe the deletion of a Kubernetes ConfigMap
ConfigMapDeleted Kind = "configmap-deleted"
// ConfigMapUpdated is the type of announcement emitted when we observe an update to a Kubernetes ConfigMap
ConfigMapUpdated Kind = "configmap-updated"
// ---
// GatewayAPIGatewayClassAdded is the type of announcement emitted when we observe an addition of gatewayclasses.gateway.networking.k8s.io
GatewayAPIGatewayClassAdded Kind = "gwapi-gatewayclass-added"
// GatewayAPIGatewayClassDeleted the type of announcement emitted when we observe a deletion of gatewayclasses.gateway.networking.k8s.io
GatewayAPIGatewayClassDeleted Kind = "gwapi-gatewayclass-deleted"
// GatewayAPIGatewayClassUpdated is the type of announcement emitted when we observe an update to gatewayclasses.gateway.networking.k8s.io
GatewayAPIGatewayClassUpdated Kind = "gwapi-gatewayclass-updated"
// ---
// GatewayAPIGatewayAdded is the type of announcement emitted when we observe an addition of gateways.gateway.networking.k8s.io
GatewayAPIGatewayAdded Kind = "gwapi-gateway-added"
// GatewayAPIGatewayDeleted the type of announcement emitted when we observe a deletion of gateways.gateway.networking.k8s.io
GatewayAPIGatewayDeleted Kind = "gwapi-gateway-deleted"
// GatewayAPIGatewayUpdated is the type of announcement emitted when we observe an update to gateways.gateway.networking.k8s.io
GatewayAPIGatewayUpdated Kind = "gwapi-gateway-updated"
// ---
// GatewayAPIHTTPRouteAdded is the type of announcement emitted when we observe an addition of httproutes.gateway.networking.k8s.io
GatewayAPIHTTPRouteAdded Kind = "gwapi-httproute-added"
// GatewayAPIHTTPRouteDeleted the type of announcement emitted when we observe a deletion of httproutes.gateway.networking.k8s.io
GatewayAPIHTTPRouteDeleted Kind = "gwapi-httproute-deleted"
// GatewayAPIHTTPRouteUpdated is the type of announcement emitted when we observe an update to httproutes.gateway.networking.k8s.io
GatewayAPIHTTPRouteUpdated Kind = "gwapi-httproute-updated"
// ---
// GatewayAPIGRPCRouteAdded is the type of announcement emitted when we observe an addition of grpcroutes.gateway.networking.k8s.io
GatewayAPIGRPCRouteAdded Kind = "gwapi-grpcroute-added"
// GatewayAPIGRPCRouteDeleted the type of announcement emitted when we observe a deletion of grpcroutes.gateway.networking.k8s.io
GatewayAPIGRPCRouteDeleted Kind = "gwapi-grpcroute-deleted"
// GatewayAPIGRPCRouteUpdated is the type of announcement emitted when we observe an update to grpcroutes.gateway.networking.k8s.io
GatewayAPIGRPCRouteUpdated Kind = "gwapi-grpcroute-updated"
// ---
// GatewayAPITLSRouteAdded is the type of announcement emitted when we observe an addition of tlsroutes.gateway.networking.k8s.io
GatewayAPITLSRouteAdded Kind = "gwapi-tlsroute-added"
// GatewayAPITLSRouteDeleted the type of announcement emitted when we observe a deletion of tlsroutes.gateway.networking.k8s.io
GatewayAPITLSRouteDeleted Kind = "gwapi-tlsroute-deleted"
// GatewayAPITLSRouteUpdated is the type of announcement emitted when we observe an update to tlsroutes.gateway.networking.k8s.io
GatewayAPITLSRouteUpdated Kind = "gwapi-tlsroute-updated"
// ---
// GatewayAPITCPRouteAdded is the type of announcement emitted when we observe an addition of tcproutes.gateway.networking.k8s.io
GatewayAPITCPRouteAdded Kind = "gwapi-tcproute-added"
// GatewayAPITCPRouteDeleted the type of announcement emitted when we observe a deletion of tcproutes.gateway.networking.k8s.io
GatewayAPITCPRouteDeleted Kind = "gwapi-tcproute-deleted"
// GatewayAPITCPRouteUpdated is the type of announcement emitted when we observe an update to tcproutes.gateway.networking.k8s.io
GatewayAPITCPRouteUpdated Kind = "gwapi-tcproute-updated"
// ---
// GatewayAPIUDPRouteAdded is the type of announcement emitted when we observe an addition of udproutes.gateway.networking.k8s.io
GatewayAPIUDPRouteAdded Kind = "gwapi-udproute-added"
// GatewayAPIUDPRouteDeleted the type of announcement emitted when we observe a deletion of udproutes.gateway.networking.k8s.io
GatewayAPIUDPRouteDeleted Kind = "gwapi-udproute-deleted"
// GatewayAPIUDPRouteUpdated is the type of announcement emitted when we observe an update to udproutes.gateway.networking.k8s.io
GatewayAPIUDPRouteUpdated Kind = "gwapi-udproute-updated"
// ---
// GatewayAPIReferenceGrantAdded is the type of announcement emitted when we observe an addition of referencegrants.gateway.networking.k8s.io
GatewayAPIReferenceGrantAdded Kind = "gwapi-referencegrant-added"
// GatewayAPIReferenceGrantDeleted the type of announcement emitted when we observe a deletion of referencegrants.gateway.networking.k8s.io
GatewayAPIReferenceGrantDeleted Kind = "gwapi-referencegrant-deleted"
// GatewayAPIReferenceGrantUpdated is the type of announcement emitted when we observe an update to referencegrants.gateway.networking.k8s.io
GatewayAPIReferenceGrantUpdated Kind = "gwapi-referencegrant-updated"
// ---
// RateLimitPolicyAdded is the type of announcement emitted when we observe an addition of ratelimitpolicies.gateway.flomesh.io
RateLimitPolicyAdded Kind = "ratelimitpolicy-added"
// RateLimitPolicyDeleted the type of announcement emitted when we observe a deletion of ratelimitpolicies.gateway.flomesh.io
RateLimitPolicyDeleted Kind = "ratelimitpolicy-deleted"
// RateLimitPolicyUpdated is the type of announcement emitted when we observe an update to ratelimitpolicies.gateway.flomesh.io
RateLimitPolicyUpdated Kind = "ratelimitpolicy-updated"
// ---
// SessionStickyPolicyAdded is the type of announcement emitted when we observe an addition of sessionstickypolicies.gateway.flomesh.io
SessionStickyPolicyAdded Kind = "sessionstickypolicy-added"
// SessionStickyPolicyDeleted the type of announcement emitted when we observe a deletion of sessionstickypolicies.gateway.flomesh.io
SessionStickyPolicyDeleted Kind = "sessionstickypolicy-deleted"
// SessionStickyPolicyUpdated is the type of announcement emitted when we observe an update to sessionstickypolicies.gateway.flomesh.io
SessionStickyPolicyUpdated Kind = "sessionstickypolicy-updated"
// ---
// LoadBalancerPolicyAdded is the type of announcement emitted when we observe an addition of loadbalancerpolicies.gateway.flomesh.io
LoadBalancerPolicyAdded Kind = "loadbalancerpolicy-added"
// LoadBalancerPolicyDeleted the type of announcement emitted when we observe a deletion of loadbalancerpolicies.gateway.flomesh.io
LoadBalancerPolicyDeleted Kind = "loadbalancerpolicy-deleted"
// LoadBalancerPolicyUpdated is the type of announcement emitted when we observe an update to loadbalancerpolicies.gateway.flomesh.io
LoadBalancerPolicyUpdated Kind = "loadbalancerpolicy-updated"
// ---
// CircuitBreakingPolicyAdded is the type of announcement emitted when we observe an addition of circuitbreakingpolicies.gateway.flomesh.io
CircuitBreakingPolicyAdded Kind = "circuitbreaking-added"
// CircuitBreakingPolicyDeleted the type of announcement emitted when we observe a deletion of circuitbreakingpolicies.gateway.flomesh.io
CircuitBreakingPolicyDeleted Kind = "circuitbreaking-deleted"
// CircuitBreakingPolicyUpdated is the type of announcement emitted when we observe an update to circuitbreakingpolicies.gateway.flomesh.io
CircuitBreakingPolicyUpdated Kind = "circuitbreaking-updated"
// ---
// AccessControlPolicyAdded is the type of announcement emitted when we observe an addition of accesscontrolpolicies.gateway.flomesh.io
AccessControlPolicyAdded Kind = "accesscontrolpolicy-added"
// AccessControlPolicyDeleted the type of announcement emitted when we observe a deletion of accesscontrolpolicies.gateway.flomesh.io
AccessControlPolicyDeleted Kind = "accesscontrolpolicy-deleted"
// AccessControlPolicyUpdated is the type of announcement emitted when we observe an update to accesscontrolpolicies.gateway.flomesh.io
AccessControlPolicyUpdated Kind = "accesscontrolpolicy-updated"
// ---
// HealthCheckPolicyAdded is the type of announcement emitted when we observe an addition of healthcheckpolicies.gateway.flomesh.io
HealthCheckPolicyAdded Kind = "healthcheckpolicy-added"
// HealthCheckPolicyDeleted the type of announcement emitted when we observe a deletion of healthcheckpolicies.gateway.flomesh.io
HealthCheckPolicyDeleted Kind = "healthcheckpolicy-deleted"
// HealthCheckPolicyUpdated is the type of announcement emitted when we observe an update to healthcheckpolicies.gateway.flomesh.io
HealthCheckPolicyUpdated Kind = "healthcheckpolicy-updated"
// ---
// FaultInjectionPolicyAdded is the type of announcement emitted when we observe an addition of faultinjectionpolicies.gateway.flomesh.io
FaultInjectionPolicyAdded Kind = "faultinjectionpolicy-added"
// FaultInjectionPolicyDeleted the type of announcement emitted when we observe a deletion of faultinjectionpolicies.gateway.flomesh.io
FaultInjectionPolicyDeleted Kind = "faultinjectionpolicy-deleted"
// FaultInjectionPolicyUpdated is the type of announcement emitted when we observe an update to faultinjectionpolicies.gateway.flomesh.io
FaultInjectionPolicyUpdated Kind = "faultinjectionpolicy-updated"
// ---
// UpstreamTLSPolicyAdded is the type of announcement emitted when we observe an addition of upstreamtlspolicies.gateway.flomesh.io
UpstreamTLSPolicyAdded Kind = "upstreamtlspolicy-added"
// UpstreamTLSPolicyDeleted the type of announcement emitted when we observe a deletion of upstreamtlspolicies.gateway.flomesh.io
UpstreamTLSPolicyDeleted Kind = "upstreamtlspolicy-deleted"
// UpstreamTLSPolicyUpdated is the type of announcement emitted when we observe an update to upstreamtlspolicies.gateway.flomesh.io
UpstreamTLSPolicyUpdated Kind = "upstreamtlspolicy-updated"
// ---
// RetryPolicyAttachmentAdded is the type of announcement emitted when we observe an addition of retries.gateway.flomesh.io
RetryPolicyAttachmentAdded Kind = "retrypolicy-added"
// RetryPolicyAttachmentDeleted the type of announcement emitted when we observe a deletion of retries.gateway.flomesh.io
RetryPolicyAttachmentDeleted Kind = "retrypolicy-deleted"
// RetryPolicyAttachmentUpdated is the type of announcement emitted when we observe an update to retries.gateway.flomesh.io
RetryPolicyAttachmentUpdated Kind = "retrypolicy-updated"
)
// Announcement is a struct for messages between various components of FSM signaling a need for a change in Sidecar proxy configuration
type Announcement struct {
Type Kind
ReferencedObjectID interface{}
}