@k8ts/sample-interfaces 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/_mix.d.ts +4 -0
  2. package/dist/_mix.d.ts.map +1 -0
  3. package/dist/_mix.js +7 -0
  4. package/dist/_mix.js.map +1 -0
  5. package/dist/acme.cert-manager.io.d.ts +4832 -0
  6. package/dist/acme.cert-manager.io.d.ts.map +1 -0
  7. package/dist/acme.cert-manager.io.js +2476 -0
  8. package/dist/acme.cert-manager.io.js.map +1 -0
  9. package/dist/gateway.networking.k8s.io.d.ts +8786 -0
  10. package/dist/gateway.networking.k8s.io.d.ts.map +1 -0
  11. package/dist/gateway.networking.k8s.io.js +3668 -0
  12. package/dist/gateway.networking.k8s.io.js.map +1 -0
  13. package/dist/helm.toolkit.fluxcd.io.d.ts +4560 -0
  14. package/dist/helm.toolkit.fluxcd.io.d.ts.map +1 -0
  15. package/dist/helm.toolkit.fluxcd.io.js +2274 -0
  16. package/dist/helm.toolkit.fluxcd.io.js.map +1 -0
  17. package/dist/index.d.ts +2 -0
  18. package/dist/index.d.ts.map +1 -0
  19. package/dist/index.js +38 -0
  20. package/dist/index.js.map +1 -0
  21. package/dist/k8s.d.ts +18772 -0
  22. package/dist/k8s.d.ts.map +1 -0
  23. package/dist/k8s.js +12173 -0
  24. package/dist/k8s.js.map +1 -0
  25. package/dist/kustomize.toolkit.fluxcd.io.d.ts +2202 -0
  26. package/dist/kustomize.toolkit.fluxcd.io.d.ts.map +1 -0
  27. package/dist/kustomize.toolkit.fluxcd.io.js +1196 -0
  28. package/dist/kustomize.toolkit.fluxcd.io.js.map +1 -0
  29. package/dist/notification.toolkit.fluxcd.io.d.ts +1851 -0
  30. package/dist/notification.toolkit.fluxcd.io.d.ts.map +1 -0
  31. package/dist/notification.toolkit.fluxcd.io.js +1489 -0
  32. package/dist/notification.toolkit.fluxcd.io.js.map +1 -0
  33. package/dist/source.toolkit.fluxcd.io.d.ts +3733 -0
  34. package/dist/source.toolkit.fluxcd.io.d.ts.map +1 -0
  35. package/dist/source.toolkit.fluxcd.io.js +2539 -0
  36. package/dist/source.toolkit.fluxcd.io.js.map +1 -0
  37. package/package.json +68 -0
  38. package/src/_mix.ts +3 -0
  39. package/src/acme.cert-manager.io.ts +8202 -0
  40. package/src/gateway.networking.k8s.io.ts +12226 -0
  41. package/src/helm.toolkit.fluxcd.io.ts +7010 -0
  42. package/src/index.ts +1 -0
  43. package/src/k8s.ts +31018 -0
  44. package/src/kustomize.toolkit.fluxcd.io.ts +3560 -0
  45. package/src/notification.toolkit.fluxcd.io.ts +2944 -0
  46. package/src/source.toolkit.fluxcd.io.ts +6277 -0
  47. package/tsconfig.json +12 -0
@@ -0,0 +1,1851 @@
1
+ import { ApiObject, ApiObjectMetadata, GroupVersionKind } from "cdk8s";
2
+ import { Construct } from "constructs";
3
+ /**
4
+ * Alert is the Schema for the alerts API
5
+ *
6
+ * @schema Alert
7
+ */
8
+ export declare class Alert extends ApiObject {
9
+ /** Returns the apiVersion and kind for "Alert" */
10
+ static GVK: GroupVersionKind;
11
+ /**
12
+ * Renders a Kubernetes manifest for "Alert".
13
+ *
14
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
15
+ *
16
+ * @param props Initialization props
17
+ */
18
+ static manifest(props?: AlertProps): any;
19
+ /**
20
+ * Defines a "Alert" API object
21
+ *
22
+ * @param scope The scope in which to define this object
23
+ * @param id A scope-local name for the object
24
+ * @param props Initialization props
25
+ */
26
+ constructor(scope: Construct, id: string, props?: AlertProps);
27
+ /** Renders the object to Kubernetes JSON. */
28
+ toJson(): any;
29
+ }
30
+ /**
31
+ * Alert is the Schema for the alerts API
32
+ *
33
+ * @schema Alert
34
+ */
35
+ export interface AlertProps {
36
+ /** @schema Alert#metadata */
37
+ metadata?: ApiObjectMetadata;
38
+ /**
39
+ * AlertSpec defines an alerting rule for events involving a list of objects
40
+ *
41
+ * @schema Alert#spec
42
+ */
43
+ spec?: AlertSpec;
44
+ }
45
+ /** Converts an object of type 'AlertProps' to JSON representation. */
46
+ export declare function toJson_AlertProps(obj: AlertProps | undefined): Record<string, any> | undefined;
47
+ /**
48
+ * AlertSpec defines an alerting rule for events involving a list of objects
49
+ *
50
+ * @schema AlertSpec
51
+ */
52
+ export interface AlertSpec {
53
+ /**
54
+ * Filter events based on severity, defaults to ('info'). If set to 'info' no events will be
55
+ * filtered.
56
+ *
57
+ * @schema AlertSpec#eventSeverity
58
+ */
59
+ eventSeverity?: AlertSpecEventSeverity;
60
+ /**
61
+ * Filter events based on the involved objects.
62
+ *
63
+ * @schema AlertSpec#eventSources
64
+ */
65
+ eventSources: AlertSpecEventSources[];
66
+ /**
67
+ * A list of Golang regular expressions to be used for excluding messages.
68
+ *
69
+ * @schema AlertSpec#exclusionList
70
+ */
71
+ exclusionList?: string[];
72
+ /**
73
+ * Send events using this provider.
74
+ *
75
+ * @schema AlertSpec#providerRef
76
+ */
77
+ providerRef: AlertSpecProviderRef;
78
+ /**
79
+ * Short description of the impact and affected cluster.
80
+ *
81
+ * @schema AlertSpec#summary
82
+ */
83
+ summary?: string;
84
+ /**
85
+ * This flag tells the controller to suspend subsequent events dispatching. Defaults to false.
86
+ *
87
+ * @default false.
88
+ * @schema AlertSpec#suspend
89
+ */
90
+ suspend?: boolean;
91
+ }
92
+ /** Converts an object of type 'AlertSpec' to JSON representation. */
93
+ export declare function toJson_AlertSpec(obj: AlertSpec | undefined): Record<string, any> | undefined;
94
+ /**
95
+ * Filter events based on severity, defaults to ('info'). If set to 'info' no events will be
96
+ * filtered.
97
+ *
98
+ * @schema AlertSpecEventSeverity
99
+ */
100
+ export declare enum AlertSpecEventSeverity {
101
+ /** Info */
102
+ INFO = "info",
103
+ /** Error */
104
+ ERROR = "error"
105
+ }
106
+ /**
107
+ * CrossNamespaceObjectReference contains enough information to let you locate the typed referenced
108
+ * object at cluster level
109
+ *
110
+ * @schema AlertSpecEventSources
111
+ */
112
+ export interface AlertSpecEventSources {
113
+ /**
114
+ * API version of the referent
115
+ *
116
+ * @schema AlertSpecEventSources#apiVersion
117
+ */
118
+ apiVersion?: string;
119
+ /**
120
+ * Kind of the referent
121
+ *
122
+ * @schema AlertSpecEventSources#kind
123
+ */
124
+ kind: AlertSpecEventSourcesKind;
125
+ /**
126
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
127
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
128
+ * and the values array contains only "value". The requirements are ANDed.
129
+ *
130
+ * @schema AlertSpecEventSources#matchLabels
131
+ */
132
+ matchLabels?: {
133
+ [key: string]: string;
134
+ };
135
+ /**
136
+ * Name of the referent
137
+ *
138
+ * @schema AlertSpecEventSources#name
139
+ */
140
+ name: string;
141
+ /**
142
+ * Namespace of the referent
143
+ *
144
+ * @schema AlertSpecEventSources#namespace
145
+ */
146
+ namespace?: string;
147
+ }
148
+ /** Converts an object of type 'AlertSpecEventSources' to JSON representation. */
149
+ export declare function toJson_AlertSpecEventSources(obj: AlertSpecEventSources | undefined): Record<string, any> | undefined;
150
+ /**
151
+ * Send events using this provider.
152
+ *
153
+ * @schema AlertSpecProviderRef
154
+ */
155
+ export interface AlertSpecProviderRef {
156
+ /**
157
+ * Name of the referent.
158
+ *
159
+ * @schema AlertSpecProviderRef#name
160
+ */
161
+ name: string;
162
+ }
163
+ /** Converts an object of type 'AlertSpecProviderRef' to JSON representation. */
164
+ export declare function toJson_AlertSpecProviderRef(obj: AlertSpecProviderRef | undefined): Record<string, any> | undefined;
165
+ /**
166
+ * Kind of the referent
167
+ *
168
+ * @schema AlertSpecEventSourcesKind
169
+ */
170
+ export declare enum AlertSpecEventSourcesKind {
171
+ /** Bucket */
172
+ BUCKET = "Bucket",
173
+ /** GitRepository */
174
+ GIT_REPOSITORY = "GitRepository",
175
+ /** Kustomization */
176
+ KUSTOMIZATION = "Kustomization",
177
+ /** HelmRelease */
178
+ HELM_RELEASE = "HelmRelease",
179
+ /** HelmChart */
180
+ HELM_CHART = "HelmChart",
181
+ /** HelmRepository */
182
+ HELM_REPOSITORY = "HelmRepository",
183
+ /** ImageRepository */
184
+ IMAGE_REPOSITORY = "ImageRepository",
185
+ /** ImagePolicy */
186
+ IMAGE_POLICY = "ImagePolicy",
187
+ /** ImageUpdateAutomation */
188
+ IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
189
+ /** OCIRepository */
190
+ OCI_REPOSITORY = "OCIRepository"
191
+ }
192
+ /**
193
+ * Alert is the Schema for the alerts API
194
+ *
195
+ * @schema AlertV1Beta2
196
+ */
197
+ export declare class AlertV1Beta2 extends ApiObject {
198
+ /** Returns the apiVersion and kind for "AlertV1Beta2" */
199
+ static GVK: GroupVersionKind;
200
+ /**
201
+ * Renders a Kubernetes manifest for "AlertV1Beta2".
202
+ *
203
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
204
+ *
205
+ * @param props Initialization props
206
+ */
207
+ static manifest(props?: AlertV1Beta2Props): any;
208
+ /**
209
+ * Defines a "AlertV1Beta2" API object
210
+ *
211
+ * @param scope The scope in which to define this object
212
+ * @param id A scope-local name for the object
213
+ * @param props Initialization props
214
+ */
215
+ constructor(scope: Construct, id: string, props?: AlertV1Beta2Props);
216
+ /** Renders the object to Kubernetes JSON. */
217
+ toJson(): any;
218
+ }
219
+ /**
220
+ * Alert is the Schema for the alerts API
221
+ *
222
+ * @schema AlertV1Beta2
223
+ */
224
+ export interface AlertV1Beta2Props {
225
+ /** @schema AlertV1Beta2#metadata */
226
+ metadata?: ApiObjectMetadata;
227
+ /**
228
+ * AlertSpec defines an alerting rule for events involving a list of objects.
229
+ *
230
+ * @schema AlertV1Beta2#spec
231
+ */
232
+ spec?: AlertV1Beta2Spec;
233
+ }
234
+ /** Converts an object of type 'AlertV1Beta2Props' to JSON representation. */
235
+ export declare function toJson_AlertV1Beta2Props(obj: AlertV1Beta2Props | undefined): Record<string, any> | undefined;
236
+ /**
237
+ * AlertSpec defines an alerting rule for events involving a list of objects.
238
+ *
239
+ * @schema AlertV1Beta2Spec
240
+ */
241
+ export interface AlertV1Beta2Spec {
242
+ /**
243
+ * EventMetadata is an optional field for adding metadata to events dispatched by the
244
+ * controller. This can be used for enhancing the context of the event. If a field would
245
+ * override one already present on the original event as generated by the emitter, then the
246
+ * override doesn't happen, i.e. the original value is preserved, and an info log is printed.
247
+ *
248
+ * @schema AlertV1Beta2Spec#eventMetadata
249
+ */
250
+ eventMetadata?: {
251
+ [key: string]: string;
252
+ };
253
+ /**
254
+ * EventSeverity specifies how to filter events based on severity. If set to 'info' no events
255
+ * will be filtered.
256
+ *
257
+ * @schema AlertV1Beta2Spec#eventSeverity
258
+ */
259
+ eventSeverity?: AlertV1Beta2SpecEventSeverity;
260
+ /**
261
+ * EventSources specifies how to filter events based on the involved object kind, name and
262
+ * namespace.
263
+ *
264
+ * @schema AlertV1Beta2Spec#eventSources
265
+ */
266
+ eventSources: AlertV1Beta2SpecEventSources[];
267
+ /**
268
+ * ExclusionList specifies a list of Golang regular expressions to be used for excluding
269
+ * messages.
270
+ *
271
+ * @schema AlertV1Beta2Spec#exclusionList
272
+ */
273
+ exclusionList?: string[];
274
+ /**
275
+ * InclusionList specifies a list of Golang regular expressions to be used for including
276
+ * messages.
277
+ *
278
+ * @schema AlertV1Beta2Spec#inclusionList
279
+ */
280
+ inclusionList?: string[];
281
+ /**
282
+ * ProviderRef specifies which Provider this Alert should use.
283
+ *
284
+ * @schema AlertV1Beta2Spec#providerRef
285
+ */
286
+ providerRef: AlertV1Beta2SpecProviderRef;
287
+ /**
288
+ * Summary holds a short description of the impact and affected cluster.
289
+ *
290
+ * @schema AlertV1Beta2Spec#summary
291
+ */
292
+ summary?: string;
293
+ /**
294
+ * Suspend tells the controller to suspend subsequent events handling for this Alert.
295
+ *
296
+ * @schema AlertV1Beta2Spec#suspend
297
+ */
298
+ suspend?: boolean;
299
+ }
300
+ /** Converts an object of type 'AlertV1Beta2Spec' to JSON representation. */
301
+ export declare function toJson_AlertV1Beta2Spec(obj: AlertV1Beta2Spec | undefined): Record<string, any> | undefined;
302
+ /**
303
+ * EventSeverity specifies how to filter events based on severity. If set to 'info' no events will
304
+ * be filtered.
305
+ *
306
+ * @schema AlertV1Beta2SpecEventSeverity
307
+ */
308
+ export declare enum AlertV1Beta2SpecEventSeverity {
309
+ /** Info */
310
+ INFO = "info",
311
+ /** Error */
312
+ ERROR = "error"
313
+ }
314
+ /**
315
+ * CrossNamespaceObjectReference contains enough information to let you locate the typed referenced
316
+ * object at cluster level
317
+ *
318
+ * @schema AlertV1Beta2SpecEventSources
319
+ */
320
+ export interface AlertV1Beta2SpecEventSources {
321
+ /**
322
+ * API version of the referent
323
+ *
324
+ * @schema AlertV1Beta2SpecEventSources#apiVersion
325
+ */
326
+ apiVersion?: string;
327
+ /**
328
+ * Kind of the referent
329
+ *
330
+ * @schema AlertV1Beta2SpecEventSources#kind
331
+ */
332
+ kind: AlertV1Beta2SpecEventSourcesKind;
333
+ /**
334
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
335
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
336
+ * and the values array contains only "value". The requirements are ANDed. MatchLabels requires
337
+ * the name to be set to `*`.
338
+ *
339
+ * @schema AlertV1Beta2SpecEventSources#matchLabels
340
+ */
341
+ matchLabels?: {
342
+ [key: string]: string;
343
+ };
344
+ /**
345
+ * Name of the referent If multiple resources are targeted `*` may be set.
346
+ *
347
+ * @schema AlertV1Beta2SpecEventSources#name
348
+ */
349
+ name: string;
350
+ /**
351
+ * Namespace of the referent
352
+ *
353
+ * @schema AlertV1Beta2SpecEventSources#namespace
354
+ */
355
+ namespace?: string;
356
+ }
357
+ /** Converts an object of type 'AlertV1Beta2SpecEventSources' to JSON representation. */
358
+ export declare function toJson_AlertV1Beta2SpecEventSources(obj: AlertV1Beta2SpecEventSources | undefined): Record<string, any> | undefined;
359
+ /**
360
+ * ProviderRef specifies which Provider this Alert should use.
361
+ *
362
+ * @schema AlertV1Beta2SpecProviderRef
363
+ */
364
+ export interface AlertV1Beta2SpecProviderRef {
365
+ /**
366
+ * Name of the referent.
367
+ *
368
+ * @schema AlertV1Beta2SpecProviderRef#name
369
+ */
370
+ name: string;
371
+ }
372
+ /** Converts an object of type 'AlertV1Beta2SpecProviderRef' to JSON representation. */
373
+ export declare function toJson_AlertV1Beta2SpecProviderRef(obj: AlertV1Beta2SpecProviderRef | undefined): Record<string, any> | undefined;
374
+ /**
375
+ * Kind of the referent
376
+ *
377
+ * @schema AlertV1Beta2SpecEventSourcesKind
378
+ */
379
+ export declare enum AlertV1Beta2SpecEventSourcesKind {
380
+ /** Bucket */
381
+ BUCKET = "Bucket",
382
+ /** GitRepository */
383
+ GIT_REPOSITORY = "GitRepository",
384
+ /** Kustomization */
385
+ KUSTOMIZATION = "Kustomization",
386
+ /** HelmRelease */
387
+ HELM_RELEASE = "HelmRelease",
388
+ /** HelmChart */
389
+ HELM_CHART = "HelmChart",
390
+ /** HelmRepository */
391
+ HELM_REPOSITORY = "HelmRepository",
392
+ /** ImageRepository */
393
+ IMAGE_REPOSITORY = "ImageRepository",
394
+ /** ImagePolicy */
395
+ IMAGE_POLICY = "ImagePolicy",
396
+ /** ImageUpdateAutomation */
397
+ IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
398
+ /** OCIRepository */
399
+ OCI_REPOSITORY = "OCIRepository"
400
+ }
401
+ /**
402
+ * Alert is the Schema for the alerts API
403
+ *
404
+ * @schema AlertV1Beta3
405
+ */
406
+ export declare class AlertV1Beta3 extends ApiObject {
407
+ /** Returns the apiVersion and kind for "AlertV1Beta3" */
408
+ static GVK: GroupVersionKind;
409
+ /**
410
+ * Renders a Kubernetes manifest for "AlertV1Beta3".
411
+ *
412
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
413
+ *
414
+ * @param props Initialization props
415
+ */
416
+ static manifest(props?: AlertV1Beta3Props): any;
417
+ /**
418
+ * Defines a "AlertV1Beta3" API object
419
+ *
420
+ * @param scope The scope in which to define this object
421
+ * @param id A scope-local name for the object
422
+ * @param props Initialization props
423
+ */
424
+ constructor(scope: Construct, id: string, props?: AlertV1Beta3Props);
425
+ /** Renders the object to Kubernetes JSON. */
426
+ toJson(): any;
427
+ }
428
+ /**
429
+ * Alert is the Schema for the alerts API
430
+ *
431
+ * @schema AlertV1Beta3
432
+ */
433
+ export interface AlertV1Beta3Props {
434
+ /** @schema AlertV1Beta3#metadata */
435
+ metadata?: ApiObjectMetadata;
436
+ /**
437
+ * AlertSpec defines an alerting rule for events involving a list of objects.
438
+ *
439
+ * @schema AlertV1Beta3#spec
440
+ */
441
+ spec?: AlertV1Beta3Spec;
442
+ }
443
+ /** Converts an object of type 'AlertV1Beta3Props' to JSON representation. */
444
+ export declare function toJson_AlertV1Beta3Props(obj: AlertV1Beta3Props | undefined): Record<string, any> | undefined;
445
+ /**
446
+ * AlertSpec defines an alerting rule for events involving a list of objects.
447
+ *
448
+ * @schema AlertV1Beta3Spec
449
+ */
450
+ export interface AlertV1Beta3Spec {
451
+ /**
452
+ * EventMetadata is an optional field for adding metadata to events dispatched by the
453
+ * controller. This can be used for enhancing the context of the event. If a field would
454
+ * override one already present on the original event as generated by the emitter, then the
455
+ * override doesn't happen, i.e. the original value is preserved, and an info log is printed.
456
+ *
457
+ * @schema AlertV1Beta3Spec#eventMetadata
458
+ */
459
+ eventMetadata?: {
460
+ [key: string]: string;
461
+ };
462
+ /**
463
+ * EventSeverity specifies how to filter events based on severity. If set to 'info' no events
464
+ * will be filtered.
465
+ *
466
+ * @schema AlertV1Beta3Spec#eventSeverity
467
+ */
468
+ eventSeverity?: AlertV1Beta3SpecEventSeverity;
469
+ /**
470
+ * EventSources specifies how to filter events based on the involved object kind, name and
471
+ * namespace.
472
+ *
473
+ * @schema AlertV1Beta3Spec#eventSources
474
+ */
475
+ eventSources: AlertV1Beta3SpecEventSources[];
476
+ /**
477
+ * ExclusionList specifies a list of Golang regular expressions to be used for excluding
478
+ * messages.
479
+ *
480
+ * @schema AlertV1Beta3Spec#exclusionList
481
+ */
482
+ exclusionList?: string[];
483
+ /**
484
+ * InclusionList specifies a list of Golang regular expressions to be used for including
485
+ * messages.
486
+ *
487
+ * @schema AlertV1Beta3Spec#inclusionList
488
+ */
489
+ inclusionList?: string[];
490
+ /**
491
+ * ProviderRef specifies which Provider this Alert should use.
492
+ *
493
+ * @schema AlertV1Beta3Spec#providerRef
494
+ */
495
+ providerRef: AlertV1Beta3SpecProviderRef;
496
+ /**
497
+ * Summary holds a short description of the impact and affected cluster. Deprecated: Use
498
+ * EventMetadata instead.
499
+ *
500
+ * @schema AlertV1Beta3Spec#summary
501
+ */
502
+ summary?: string;
503
+ /**
504
+ * Suspend tells the controller to suspend subsequent events handling for this Alert.
505
+ *
506
+ * @schema AlertV1Beta3Spec#suspend
507
+ */
508
+ suspend?: boolean;
509
+ }
510
+ /** Converts an object of type 'AlertV1Beta3Spec' to JSON representation. */
511
+ export declare function toJson_AlertV1Beta3Spec(obj: AlertV1Beta3Spec | undefined): Record<string, any> | undefined;
512
+ /**
513
+ * EventSeverity specifies how to filter events based on severity. If set to 'info' no events will
514
+ * be filtered.
515
+ *
516
+ * @schema AlertV1Beta3SpecEventSeverity
517
+ */
518
+ export declare enum AlertV1Beta3SpecEventSeverity {
519
+ /** Info */
520
+ INFO = "info",
521
+ /** Error */
522
+ ERROR = "error"
523
+ }
524
+ /**
525
+ * CrossNamespaceObjectReference contains enough information to let you locate the typed referenced
526
+ * object at cluster level
527
+ *
528
+ * @schema AlertV1Beta3SpecEventSources
529
+ */
530
+ export interface AlertV1Beta3SpecEventSources {
531
+ /**
532
+ * API version of the referent
533
+ *
534
+ * @schema AlertV1Beta3SpecEventSources#apiVersion
535
+ */
536
+ apiVersion?: string;
537
+ /**
538
+ * Kind of the referent
539
+ *
540
+ * @schema AlertV1Beta3SpecEventSources#kind
541
+ */
542
+ kind: AlertV1Beta3SpecEventSourcesKind;
543
+ /**
544
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
545
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
546
+ * and the values array contains only "value". The requirements are ANDed. MatchLabels requires
547
+ * the name to be set to `*`.
548
+ *
549
+ * @schema AlertV1Beta3SpecEventSources#matchLabels
550
+ */
551
+ matchLabels?: {
552
+ [key: string]: string;
553
+ };
554
+ /**
555
+ * Name of the referent If multiple resources are targeted `*` may be set.
556
+ *
557
+ * @schema AlertV1Beta3SpecEventSources#name
558
+ */
559
+ name: string;
560
+ /**
561
+ * Namespace of the referent
562
+ *
563
+ * @schema AlertV1Beta3SpecEventSources#namespace
564
+ */
565
+ namespace?: string;
566
+ }
567
+ /** Converts an object of type 'AlertV1Beta3SpecEventSources' to JSON representation. */
568
+ export declare function toJson_AlertV1Beta3SpecEventSources(obj: AlertV1Beta3SpecEventSources | undefined): Record<string, any> | undefined;
569
+ /**
570
+ * ProviderRef specifies which Provider this Alert should use.
571
+ *
572
+ * @schema AlertV1Beta3SpecProviderRef
573
+ */
574
+ export interface AlertV1Beta3SpecProviderRef {
575
+ /**
576
+ * Name of the referent.
577
+ *
578
+ * @schema AlertV1Beta3SpecProviderRef#name
579
+ */
580
+ name: string;
581
+ }
582
+ /** Converts an object of type 'AlertV1Beta3SpecProviderRef' to JSON representation. */
583
+ export declare function toJson_AlertV1Beta3SpecProviderRef(obj: AlertV1Beta3SpecProviderRef | undefined): Record<string, any> | undefined;
584
+ /**
585
+ * Kind of the referent
586
+ *
587
+ * @schema AlertV1Beta3SpecEventSourcesKind
588
+ */
589
+ export declare enum AlertV1Beta3SpecEventSourcesKind {
590
+ /** Bucket */
591
+ BUCKET = "Bucket",
592
+ /** GitRepository */
593
+ GIT_REPOSITORY = "GitRepository",
594
+ /** Kustomization */
595
+ KUSTOMIZATION = "Kustomization",
596
+ /** HelmRelease */
597
+ HELM_RELEASE = "HelmRelease",
598
+ /** HelmChart */
599
+ HELM_CHART = "HelmChart",
600
+ /** HelmRepository */
601
+ HELM_REPOSITORY = "HelmRepository",
602
+ /** ImageRepository */
603
+ IMAGE_REPOSITORY = "ImageRepository",
604
+ /** ImagePolicy */
605
+ IMAGE_POLICY = "ImagePolicy",
606
+ /** ImageUpdateAutomation */
607
+ IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
608
+ /** OCIRepository */
609
+ OCI_REPOSITORY = "OCIRepository"
610
+ }
611
+ /**
612
+ * Provider is the Schema for the providers API
613
+ *
614
+ * @schema Provider
615
+ */
616
+ export declare class Provider extends ApiObject {
617
+ /** Returns the apiVersion and kind for "Provider" */
618
+ static GVK: GroupVersionKind;
619
+ /**
620
+ * Renders a Kubernetes manifest for "Provider".
621
+ *
622
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
623
+ *
624
+ * @param props Initialization props
625
+ */
626
+ static manifest(props?: ProviderProps): any;
627
+ /**
628
+ * Defines a "Provider" API object
629
+ *
630
+ * @param scope The scope in which to define this object
631
+ * @param id A scope-local name for the object
632
+ * @param props Initialization props
633
+ */
634
+ constructor(scope: Construct, id: string, props?: ProviderProps);
635
+ /** Renders the object to Kubernetes JSON. */
636
+ toJson(): any;
637
+ }
638
+ /**
639
+ * Provider is the Schema for the providers API
640
+ *
641
+ * @schema Provider
642
+ */
643
+ export interface ProviderProps {
644
+ /** @schema Provider#metadata */
645
+ metadata?: ApiObjectMetadata;
646
+ /**
647
+ * ProviderSpec defines the desired state of Provider
648
+ *
649
+ * @schema Provider#spec
650
+ */
651
+ spec?: ProviderSpec;
652
+ }
653
+ /** Converts an object of type 'ProviderProps' to JSON representation. */
654
+ export declare function toJson_ProviderProps(obj: ProviderProps | undefined): Record<string, any> | undefined;
655
+ /**
656
+ * ProviderSpec defines the desired state of Provider
657
+ *
658
+ * @schema ProviderSpec
659
+ */
660
+ export interface ProviderSpec {
661
+ /**
662
+ * HTTP/S webhook address of this provider
663
+ *
664
+ * @schema ProviderSpec#address
665
+ */
666
+ address?: string;
667
+ /**
668
+ * CertSecretRef can be given the name of a secret containing a PEM-encoded CA certificate
669
+ * (`caFile`)
670
+ *
671
+ * @schema ProviderSpec#certSecretRef
672
+ */
673
+ certSecretRef?: ProviderSpecCertSecretRef;
674
+ /**
675
+ * Alert channel for this provider
676
+ *
677
+ * @schema ProviderSpec#channel
678
+ */
679
+ channel?: string;
680
+ /**
681
+ * HTTP/S address of the proxy
682
+ *
683
+ * @schema ProviderSpec#proxy
684
+ */
685
+ proxy?: string;
686
+ /**
687
+ * Secret reference containing the provider webhook URL using "address" as data key
688
+ *
689
+ * @schema ProviderSpec#secretRef
690
+ */
691
+ secretRef?: ProviderSpecSecretRef;
692
+ /**
693
+ * This flag tells the controller to suspend subsequent events handling. Defaults to false.
694
+ *
695
+ * @default false.
696
+ * @schema ProviderSpec#suspend
697
+ */
698
+ suspend?: boolean;
699
+ /**
700
+ * Timeout for sending alerts to the provider.
701
+ *
702
+ * @schema ProviderSpec#timeout
703
+ */
704
+ timeout?: string;
705
+ /**
706
+ * Type of provider
707
+ *
708
+ * @schema ProviderSpec#type
709
+ */
710
+ type: ProviderSpecType;
711
+ /**
712
+ * Bot username for this provider
713
+ *
714
+ * @schema ProviderSpec#username
715
+ */
716
+ username?: string;
717
+ }
718
+ /** Converts an object of type 'ProviderSpec' to JSON representation. */
719
+ export declare function toJson_ProviderSpec(obj: ProviderSpec | undefined): Record<string, any> | undefined;
720
+ /**
721
+ * CertSecretRef can be given the name of a secret containing a PEM-encoded CA certificate
722
+ * (`caFile`)
723
+ *
724
+ * @schema ProviderSpecCertSecretRef
725
+ */
726
+ export interface ProviderSpecCertSecretRef {
727
+ /**
728
+ * Name of the referent.
729
+ *
730
+ * @schema ProviderSpecCertSecretRef#name
731
+ */
732
+ name: string;
733
+ }
734
+ /** Converts an object of type 'ProviderSpecCertSecretRef' to JSON representation. */
735
+ export declare function toJson_ProviderSpecCertSecretRef(obj: ProviderSpecCertSecretRef | undefined): Record<string, any> | undefined;
736
+ /**
737
+ * Secret reference containing the provider webhook URL using "address" as data key
738
+ *
739
+ * @schema ProviderSpecSecretRef
740
+ */
741
+ export interface ProviderSpecSecretRef {
742
+ /**
743
+ * Name of the referent.
744
+ *
745
+ * @schema ProviderSpecSecretRef#name
746
+ */
747
+ name: string;
748
+ }
749
+ /** Converts an object of type 'ProviderSpecSecretRef' to JSON representation. */
750
+ export declare function toJson_ProviderSpecSecretRef(obj: ProviderSpecSecretRef | undefined): Record<string, any> | undefined;
751
+ /**
752
+ * Type of provider
753
+ *
754
+ * @schema ProviderSpecType
755
+ */
756
+ export declare enum ProviderSpecType {
757
+ /** Slack */
758
+ SLACK = "slack",
759
+ /** Discord */
760
+ DISCORD = "discord",
761
+ /** Msteams */
762
+ MSTEAMS = "msteams",
763
+ /** Rocket */
764
+ ROCKET = "rocket",
765
+ /** Generic */
766
+ GENERIC = "generic",
767
+ /** Generic-hmac */
768
+ GENERIC_HYPHEN_HMAC = "generic-hmac",
769
+ /** Github */
770
+ GITHUB = "github",
771
+ /** Gitlab */
772
+ GITLAB = "gitlab",
773
+ /** Bitbucket */
774
+ BITBUCKET = "bitbucket",
775
+ /** Azuredevops */
776
+ AZUREDEVOPS = "azuredevops",
777
+ /** Googlechat */
778
+ GOOGLECHAT = "googlechat",
779
+ /** Webex */
780
+ WEBEX = "webex",
781
+ /** Sentry */
782
+ SENTRY = "sentry",
783
+ /** Azureeventhub */
784
+ AZUREEVENTHUB = "azureeventhub",
785
+ /** Telegram */
786
+ TELEGRAM = "telegram",
787
+ /** Lark */
788
+ LARK = "lark",
789
+ /** Matrix */
790
+ MATRIX = "matrix",
791
+ /** Opsgenie */
792
+ OPSGENIE = "opsgenie",
793
+ /** Alertmanager */
794
+ ALERTMANAGER = "alertmanager",
795
+ /** Grafana */
796
+ GRAFANA = "grafana",
797
+ /** Githubdispatch */
798
+ GITHUBDISPATCH = "githubdispatch"
799
+ }
800
+ /**
801
+ * Provider is the Schema for the providers API.
802
+ *
803
+ * @schema ProviderV1Beta2
804
+ */
805
+ export declare class ProviderV1Beta2 extends ApiObject {
806
+ /** Returns the apiVersion and kind for "ProviderV1Beta2" */
807
+ static GVK: GroupVersionKind;
808
+ /**
809
+ * Renders a Kubernetes manifest for "ProviderV1Beta2".
810
+ *
811
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
812
+ *
813
+ * @param props Initialization props
814
+ */
815
+ static manifest(props?: ProviderV1Beta2Props): any;
816
+ /**
817
+ * Defines a "ProviderV1Beta2" API object
818
+ *
819
+ * @param scope The scope in which to define this object
820
+ * @param id A scope-local name for the object
821
+ * @param props Initialization props
822
+ */
823
+ constructor(scope: Construct, id: string, props?: ProviderV1Beta2Props);
824
+ /** Renders the object to Kubernetes JSON. */
825
+ toJson(): any;
826
+ }
827
+ /**
828
+ * Provider is the Schema for the providers API.
829
+ *
830
+ * @schema ProviderV1Beta2
831
+ */
832
+ export interface ProviderV1Beta2Props {
833
+ /** @schema ProviderV1Beta2#metadata */
834
+ metadata?: ApiObjectMetadata;
835
+ /**
836
+ * ProviderSpec defines the desired state of the Provider.
837
+ *
838
+ * @schema ProviderV1Beta2#spec
839
+ */
840
+ spec?: ProviderV1Beta2Spec;
841
+ }
842
+ /** Converts an object of type 'ProviderV1Beta2Props' to JSON representation. */
843
+ export declare function toJson_ProviderV1Beta2Props(obj: ProviderV1Beta2Props | undefined): Record<string, any> | undefined;
844
+ /**
845
+ * ProviderSpec defines the desired state of the Provider.
846
+ *
847
+ * @schema ProviderV1Beta2Spec
848
+ */
849
+ export interface ProviderV1Beta2Spec {
850
+ /**
851
+ * Address specifies the endpoint, in a generic sense, to where alerts are sent. What kind of
852
+ * endpoint depends on the specific Provider type being used. For the generic Provider, for
853
+ * example, this is an HTTP/S address. For other Provider types this could be a project ID or a
854
+ * namespace.
855
+ *
856
+ * @schema ProviderV1Beta2Spec#address
857
+ */
858
+ address?: string;
859
+ /**
860
+ * CertSecretRef specifies the Secret containing a PEM-encoded CA certificate (in the `ca.crt`
861
+ * key).
862
+ *
863
+ * Note: Support for the `caFile` key has been deprecated.
864
+ *
865
+ * @schema ProviderV1Beta2Spec#certSecretRef
866
+ */
867
+ certSecretRef?: ProviderV1Beta2SpecCertSecretRef;
868
+ /**
869
+ * Channel specifies the destination channel where events should be posted.
870
+ *
871
+ * @schema ProviderV1Beta2Spec#channel
872
+ */
873
+ channel?: string;
874
+ /**
875
+ * Interval at which to reconcile the Provider with its Secret references.
876
+ *
877
+ * @schema ProviderV1Beta2Spec#interval
878
+ */
879
+ interval?: string;
880
+ /**
881
+ * Proxy the HTTP/S address of the proxy server.
882
+ *
883
+ * @schema ProviderV1Beta2Spec#proxy
884
+ */
885
+ proxy?: string;
886
+ /**
887
+ * SecretRef specifies the Secret containing the authentication credentials for this Provider.
888
+ *
889
+ * @schema ProviderV1Beta2Spec#secretRef
890
+ */
891
+ secretRef?: ProviderV1Beta2SpecSecretRef;
892
+ /**
893
+ * Suspend tells the controller to suspend subsequent events handling for this Provider.
894
+ *
895
+ * @schema ProviderV1Beta2Spec#suspend
896
+ */
897
+ suspend?: boolean;
898
+ /**
899
+ * Timeout for sending alerts to the Provider.
900
+ *
901
+ * @schema ProviderV1Beta2Spec#timeout
902
+ */
903
+ timeout?: string;
904
+ /**
905
+ * Type specifies which Provider implementation to use.
906
+ *
907
+ * @schema ProviderV1Beta2Spec#type
908
+ */
909
+ type: ProviderV1Beta2SpecType;
910
+ /**
911
+ * Username specifies the name under which events are posted.
912
+ *
913
+ * @schema ProviderV1Beta2Spec#username
914
+ */
915
+ username?: string;
916
+ }
917
+ /** Converts an object of type 'ProviderV1Beta2Spec' to JSON representation. */
918
+ export declare function toJson_ProviderV1Beta2Spec(obj: ProviderV1Beta2Spec | undefined): Record<string, any> | undefined;
919
+ /**
920
+ * CertSecretRef specifies the Secret containing a PEM-encoded CA certificate (in the `ca.crt` key).
921
+ *
922
+ * Note: Support for the `caFile` key has been deprecated.
923
+ *
924
+ * @schema ProviderV1Beta2SpecCertSecretRef
925
+ */
926
+ export interface ProviderV1Beta2SpecCertSecretRef {
927
+ /**
928
+ * Name of the referent.
929
+ *
930
+ * @schema ProviderV1Beta2SpecCertSecretRef#name
931
+ */
932
+ name: string;
933
+ }
934
+ /** Converts an object of type 'ProviderV1Beta2SpecCertSecretRef' to JSON representation. */
935
+ export declare function toJson_ProviderV1Beta2SpecCertSecretRef(obj: ProviderV1Beta2SpecCertSecretRef | undefined): Record<string, any> | undefined;
936
+ /**
937
+ * SecretRef specifies the Secret containing the authentication credentials for this Provider.
938
+ *
939
+ * @schema ProviderV1Beta2SpecSecretRef
940
+ */
941
+ export interface ProviderV1Beta2SpecSecretRef {
942
+ /**
943
+ * Name of the referent.
944
+ *
945
+ * @schema ProviderV1Beta2SpecSecretRef#name
946
+ */
947
+ name: string;
948
+ }
949
+ /** Converts an object of type 'ProviderV1Beta2SpecSecretRef' to JSON representation. */
950
+ export declare function toJson_ProviderV1Beta2SpecSecretRef(obj: ProviderV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
951
+ /**
952
+ * Type specifies which Provider implementation to use.
953
+ *
954
+ * @schema ProviderV1Beta2SpecType
955
+ */
956
+ export declare enum ProviderV1Beta2SpecType {
957
+ /** Slack */
958
+ SLACK = "slack",
959
+ /** Discord */
960
+ DISCORD = "discord",
961
+ /** Msteams */
962
+ MSTEAMS = "msteams",
963
+ /** Rocket */
964
+ ROCKET = "rocket",
965
+ /** Generic */
966
+ GENERIC = "generic",
967
+ /** Generic-hmac */
968
+ GENERIC_HYPHEN_HMAC = "generic-hmac",
969
+ /** Github */
970
+ GITHUB = "github",
971
+ /** Gitlab */
972
+ GITLAB = "gitlab",
973
+ /** Gitea */
974
+ GITEA = "gitea",
975
+ /** Bitbucketserver */
976
+ BITBUCKETSERVER = "bitbucketserver",
977
+ /** Bitbucket */
978
+ BITBUCKET = "bitbucket",
979
+ /** Azuredevops */
980
+ AZUREDEVOPS = "azuredevops",
981
+ /** Googlechat */
982
+ GOOGLECHAT = "googlechat",
983
+ /** Googlepubsub */
984
+ GOOGLEPUBSUB = "googlepubsub",
985
+ /** Webex */
986
+ WEBEX = "webex",
987
+ /** Sentry */
988
+ SENTRY = "sentry",
989
+ /** Azureeventhub */
990
+ AZUREEVENTHUB = "azureeventhub",
991
+ /** Telegram */
992
+ TELEGRAM = "telegram",
993
+ /** Lark */
994
+ LARK = "lark",
995
+ /** Matrix */
996
+ MATRIX = "matrix",
997
+ /** Opsgenie */
998
+ OPSGENIE = "opsgenie",
999
+ /** Alertmanager */
1000
+ ALERTMANAGER = "alertmanager",
1001
+ /** Grafana */
1002
+ GRAFANA = "grafana",
1003
+ /** Githubdispatch */
1004
+ GITHUBDISPATCH = "githubdispatch",
1005
+ /** Pagerduty */
1006
+ PAGERDUTY = "pagerduty",
1007
+ /** Datadog */
1008
+ DATADOG = "datadog"
1009
+ }
1010
+ /**
1011
+ * Provider is the Schema for the providers API
1012
+ *
1013
+ * @schema ProviderV1Beta3
1014
+ */
1015
+ export declare class ProviderV1Beta3 extends ApiObject {
1016
+ /** Returns the apiVersion and kind for "ProviderV1Beta3" */
1017
+ static GVK: GroupVersionKind;
1018
+ /**
1019
+ * Renders a Kubernetes manifest for "ProviderV1Beta3".
1020
+ *
1021
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
1022
+ *
1023
+ * @param props Initialization props
1024
+ */
1025
+ static manifest(props?: ProviderV1Beta3Props): any;
1026
+ /**
1027
+ * Defines a "ProviderV1Beta3" API object
1028
+ *
1029
+ * @param scope The scope in which to define this object
1030
+ * @param id A scope-local name for the object
1031
+ * @param props Initialization props
1032
+ */
1033
+ constructor(scope: Construct, id: string, props?: ProviderV1Beta3Props);
1034
+ /** Renders the object to Kubernetes JSON. */
1035
+ toJson(): any;
1036
+ }
1037
+ /**
1038
+ * Provider is the Schema for the providers API
1039
+ *
1040
+ * @schema ProviderV1Beta3
1041
+ */
1042
+ export interface ProviderV1Beta3Props {
1043
+ /** @schema ProviderV1Beta3#metadata */
1044
+ metadata?: ApiObjectMetadata;
1045
+ /**
1046
+ * ProviderSpec defines the desired state of the Provider.
1047
+ *
1048
+ * @schema ProviderV1Beta3#spec
1049
+ */
1050
+ spec?: ProviderV1Beta3Spec;
1051
+ }
1052
+ /** Converts an object of type 'ProviderV1Beta3Props' to JSON representation. */
1053
+ export declare function toJson_ProviderV1Beta3Props(obj: ProviderV1Beta3Props | undefined): Record<string, any> | undefined;
1054
+ /**
1055
+ * ProviderSpec defines the desired state of the Provider.
1056
+ *
1057
+ * @schema ProviderV1Beta3Spec
1058
+ */
1059
+ export interface ProviderV1Beta3Spec {
1060
+ /**
1061
+ * Address specifies the endpoint, in a generic sense, to where alerts are sent. What kind of
1062
+ * endpoint depends on the specific Provider type being used. For the generic Provider, for
1063
+ * example, this is an HTTP/S address. For other Provider types this could be a project ID or a
1064
+ * namespace.
1065
+ *
1066
+ * @schema ProviderV1Beta3Spec#address
1067
+ */
1068
+ address?: string;
1069
+ /**
1070
+ * CertSecretRef specifies the Secret containing a PEM-encoded CA certificate (in the `ca.crt`
1071
+ * key).
1072
+ *
1073
+ * Note: Support for the `caFile` key has been deprecated.
1074
+ *
1075
+ * @schema ProviderV1Beta3Spec#certSecretRef
1076
+ */
1077
+ certSecretRef?: ProviderV1Beta3SpecCertSecretRef;
1078
+ /**
1079
+ * Channel specifies the destination channel where events should be posted.
1080
+ *
1081
+ * @schema ProviderV1Beta3Spec#channel
1082
+ */
1083
+ channel?: string;
1084
+ /**
1085
+ * Interval at which to reconcile the Provider with its Secret references. Deprecated and not
1086
+ * used in v1beta3.
1087
+ *
1088
+ * @schema ProviderV1Beta3Spec#interval
1089
+ */
1090
+ interval?: string;
1091
+ /**
1092
+ * Proxy the HTTP/S address of the proxy server.
1093
+ *
1094
+ * @schema ProviderV1Beta3Spec#proxy
1095
+ */
1096
+ proxy?: string;
1097
+ /**
1098
+ * SecretRef specifies the Secret containing the authentication credentials for this Provider.
1099
+ *
1100
+ * @schema ProviderV1Beta3Spec#secretRef
1101
+ */
1102
+ secretRef?: ProviderV1Beta3SpecSecretRef;
1103
+ /**
1104
+ * Suspend tells the controller to suspend subsequent events handling for this Provider.
1105
+ *
1106
+ * @schema ProviderV1Beta3Spec#suspend
1107
+ */
1108
+ suspend?: boolean;
1109
+ /**
1110
+ * Timeout for sending alerts to the Provider.
1111
+ *
1112
+ * @schema ProviderV1Beta3Spec#timeout
1113
+ */
1114
+ timeout?: string;
1115
+ /**
1116
+ * Type specifies which Provider implementation to use.
1117
+ *
1118
+ * @schema ProviderV1Beta3Spec#type
1119
+ */
1120
+ type: ProviderV1Beta3SpecType;
1121
+ /**
1122
+ * Username specifies the name under which events are posted.
1123
+ *
1124
+ * @schema ProviderV1Beta3Spec#username
1125
+ */
1126
+ username?: string;
1127
+ }
1128
+ /** Converts an object of type 'ProviderV1Beta3Spec' to JSON representation. */
1129
+ export declare function toJson_ProviderV1Beta3Spec(obj: ProviderV1Beta3Spec | undefined): Record<string, any> | undefined;
1130
+ /**
1131
+ * CertSecretRef specifies the Secret containing a PEM-encoded CA certificate (in the `ca.crt` key).
1132
+ *
1133
+ * Note: Support for the `caFile` key has been deprecated.
1134
+ *
1135
+ * @schema ProviderV1Beta3SpecCertSecretRef
1136
+ */
1137
+ export interface ProviderV1Beta3SpecCertSecretRef {
1138
+ /**
1139
+ * Name of the referent.
1140
+ *
1141
+ * @schema ProviderV1Beta3SpecCertSecretRef#name
1142
+ */
1143
+ name: string;
1144
+ }
1145
+ /** Converts an object of type 'ProviderV1Beta3SpecCertSecretRef' to JSON representation. */
1146
+ export declare function toJson_ProviderV1Beta3SpecCertSecretRef(obj: ProviderV1Beta3SpecCertSecretRef | undefined): Record<string, any> | undefined;
1147
+ /**
1148
+ * SecretRef specifies the Secret containing the authentication credentials for this Provider.
1149
+ *
1150
+ * @schema ProviderV1Beta3SpecSecretRef
1151
+ */
1152
+ export interface ProviderV1Beta3SpecSecretRef {
1153
+ /**
1154
+ * Name of the referent.
1155
+ *
1156
+ * @schema ProviderV1Beta3SpecSecretRef#name
1157
+ */
1158
+ name: string;
1159
+ }
1160
+ /** Converts an object of type 'ProviderV1Beta3SpecSecretRef' to JSON representation. */
1161
+ export declare function toJson_ProviderV1Beta3SpecSecretRef(obj: ProviderV1Beta3SpecSecretRef | undefined): Record<string, any> | undefined;
1162
+ /**
1163
+ * Type specifies which Provider implementation to use.
1164
+ *
1165
+ * @schema ProviderV1Beta3SpecType
1166
+ */
1167
+ export declare enum ProviderV1Beta3SpecType {
1168
+ /** Slack */
1169
+ SLACK = "slack",
1170
+ /** Discord */
1171
+ DISCORD = "discord",
1172
+ /** Msteams */
1173
+ MSTEAMS = "msteams",
1174
+ /** Rocket */
1175
+ ROCKET = "rocket",
1176
+ /** Generic */
1177
+ GENERIC = "generic",
1178
+ /** Generic-hmac */
1179
+ GENERIC_HYPHEN_HMAC = "generic-hmac",
1180
+ /** Github */
1181
+ GITHUB = "github",
1182
+ /** Gitlab */
1183
+ GITLAB = "gitlab",
1184
+ /** Gitea */
1185
+ GITEA = "gitea",
1186
+ /** Bitbucketserver */
1187
+ BITBUCKETSERVER = "bitbucketserver",
1188
+ /** Bitbucket */
1189
+ BITBUCKET = "bitbucket",
1190
+ /** Azuredevops */
1191
+ AZUREDEVOPS = "azuredevops",
1192
+ /** Googlechat */
1193
+ GOOGLECHAT = "googlechat",
1194
+ /** Googlepubsub */
1195
+ GOOGLEPUBSUB = "googlepubsub",
1196
+ /** Webex */
1197
+ WEBEX = "webex",
1198
+ /** Sentry */
1199
+ SENTRY = "sentry",
1200
+ /** Azureeventhub */
1201
+ AZUREEVENTHUB = "azureeventhub",
1202
+ /** Telegram */
1203
+ TELEGRAM = "telegram",
1204
+ /** Lark */
1205
+ LARK = "lark",
1206
+ /** Matrix */
1207
+ MATRIX = "matrix",
1208
+ /** Opsgenie */
1209
+ OPSGENIE = "opsgenie",
1210
+ /** Alertmanager */
1211
+ ALERTMANAGER = "alertmanager",
1212
+ /** Grafana */
1213
+ GRAFANA = "grafana",
1214
+ /** Githubdispatch */
1215
+ GITHUBDISPATCH = "githubdispatch",
1216
+ /** Pagerduty */
1217
+ PAGERDUTY = "pagerduty",
1218
+ /** Datadog */
1219
+ DATADOG = "datadog",
1220
+ /** Nats */
1221
+ NATS = "nats"
1222
+ }
1223
+ /**
1224
+ * Receiver is the Schema for the receivers API.
1225
+ *
1226
+ * @schema Receiver
1227
+ */
1228
+ export declare class Receiver extends ApiObject {
1229
+ /** Returns the apiVersion and kind for "Receiver" */
1230
+ static GVK: GroupVersionKind;
1231
+ /**
1232
+ * Renders a Kubernetes manifest for "Receiver".
1233
+ *
1234
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
1235
+ *
1236
+ * @param props Initialization props
1237
+ */
1238
+ static manifest(props?: ReceiverProps): any;
1239
+ /**
1240
+ * Defines a "Receiver" API object
1241
+ *
1242
+ * @param scope The scope in which to define this object
1243
+ * @param id A scope-local name for the object
1244
+ * @param props Initialization props
1245
+ */
1246
+ constructor(scope: Construct, id: string, props?: ReceiverProps);
1247
+ /** Renders the object to Kubernetes JSON. */
1248
+ toJson(): any;
1249
+ }
1250
+ /**
1251
+ * Receiver is the Schema for the receivers API.
1252
+ *
1253
+ * @schema Receiver
1254
+ */
1255
+ export interface ReceiverProps {
1256
+ /** @schema Receiver#metadata */
1257
+ metadata?: ApiObjectMetadata;
1258
+ /**
1259
+ * ReceiverSpec defines the desired state of the Receiver.
1260
+ *
1261
+ * @schema Receiver#spec
1262
+ */
1263
+ spec?: ReceiverSpec;
1264
+ }
1265
+ /** Converts an object of type 'ReceiverProps' to JSON representation. */
1266
+ export declare function toJson_ReceiverProps(obj: ReceiverProps | undefined): Record<string, any> | undefined;
1267
+ /**
1268
+ * ReceiverSpec defines the desired state of the Receiver.
1269
+ *
1270
+ * @schema ReceiverSpec
1271
+ */
1272
+ export interface ReceiverSpec {
1273
+ /**
1274
+ * Events specifies the list of event types to handle, e.g. 'push' for GitHub or 'Push Hook' for
1275
+ * GitLab.
1276
+ *
1277
+ * @schema ReceiverSpec#events
1278
+ */
1279
+ events?: string[];
1280
+ /**
1281
+ * Interval at which to reconcile the Receiver with its Secret references.
1282
+ *
1283
+ * @schema ReceiverSpec#interval
1284
+ */
1285
+ interval?: string;
1286
+ /**
1287
+ * ResourceFilter is a CEL expression expected to return a boolean that is evaluated for each
1288
+ * resource referenced in the Resources field when a webhook is received. If the expression
1289
+ * returns false then the controller will not request a reconciliation for the resource. When
1290
+ * the expression is specified the controller will parse it and mark the object as terminally
1291
+ * failed if the expression is invalid or does not return a boolean.
1292
+ *
1293
+ * @schema ReceiverSpec#resourceFilter
1294
+ */
1295
+ resourceFilter?: string;
1296
+ /**
1297
+ * A list of resources to be notified about changes.
1298
+ *
1299
+ * @schema ReceiverSpec#resources
1300
+ */
1301
+ resources: ReceiverSpecResources[];
1302
+ /**
1303
+ * SecretRef specifies the Secret containing the token used to validate the payload
1304
+ * authenticity.
1305
+ *
1306
+ * @schema ReceiverSpec#secretRef
1307
+ */
1308
+ secretRef: ReceiverSpecSecretRef;
1309
+ /**
1310
+ * Suspend tells the controller to suspend subsequent events handling for this receiver.
1311
+ *
1312
+ * @schema ReceiverSpec#suspend
1313
+ */
1314
+ suspend?: boolean;
1315
+ /**
1316
+ * Type of webhook sender, used to determine the validation procedure and payload
1317
+ * deserialization.
1318
+ *
1319
+ * @schema ReceiverSpec#type
1320
+ */
1321
+ type: ReceiverSpecType;
1322
+ }
1323
+ /** Converts an object of type 'ReceiverSpec' to JSON representation. */
1324
+ export declare function toJson_ReceiverSpec(obj: ReceiverSpec | undefined): Record<string, any> | undefined;
1325
+ /**
1326
+ * CrossNamespaceObjectReference contains enough information to let you locate the typed referenced
1327
+ * object at cluster level
1328
+ *
1329
+ * @schema ReceiverSpecResources
1330
+ */
1331
+ export interface ReceiverSpecResources {
1332
+ /**
1333
+ * API version of the referent
1334
+ *
1335
+ * @schema ReceiverSpecResources#apiVersion
1336
+ */
1337
+ apiVersion?: string;
1338
+ /**
1339
+ * Kind of the referent
1340
+ *
1341
+ * @schema ReceiverSpecResources#kind
1342
+ */
1343
+ kind: ReceiverSpecResourcesKind;
1344
+ /**
1345
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
1346
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
1347
+ * and the values array contains only "value". The requirements are ANDed. MatchLabels requires
1348
+ * the name to be set to `*`.
1349
+ *
1350
+ * @schema ReceiverSpecResources#matchLabels
1351
+ */
1352
+ matchLabels?: {
1353
+ [key: string]: string;
1354
+ };
1355
+ /**
1356
+ * Name of the referent If multiple resources are targeted `*` may be set.
1357
+ *
1358
+ * @schema ReceiverSpecResources#name
1359
+ */
1360
+ name: string;
1361
+ /**
1362
+ * Namespace of the referent
1363
+ *
1364
+ * @schema ReceiverSpecResources#namespace
1365
+ */
1366
+ namespace?: string;
1367
+ }
1368
+ /** Converts an object of type 'ReceiverSpecResources' to JSON representation. */
1369
+ export declare function toJson_ReceiverSpecResources(obj: ReceiverSpecResources | undefined): Record<string, any> | undefined;
1370
+ /**
1371
+ * SecretRef specifies the Secret containing the token used to validate the payload authenticity.
1372
+ *
1373
+ * @schema ReceiverSpecSecretRef
1374
+ */
1375
+ export interface ReceiverSpecSecretRef {
1376
+ /**
1377
+ * Name of the referent.
1378
+ *
1379
+ * @schema ReceiverSpecSecretRef#name
1380
+ */
1381
+ name: string;
1382
+ }
1383
+ /** Converts an object of type 'ReceiverSpecSecretRef' to JSON representation. */
1384
+ export declare function toJson_ReceiverSpecSecretRef(obj: ReceiverSpecSecretRef | undefined): Record<string, any> | undefined;
1385
+ /**
1386
+ * Type of webhook sender, used to determine the validation procedure and payload deserialization.
1387
+ *
1388
+ * @schema ReceiverSpecType
1389
+ */
1390
+ export declare enum ReceiverSpecType {
1391
+ /** Generic */
1392
+ GENERIC = "generic",
1393
+ /** Generic-hmac */
1394
+ GENERIC_HYPHEN_HMAC = "generic-hmac",
1395
+ /** Github */
1396
+ GITHUB = "github",
1397
+ /** Gitlab */
1398
+ GITLAB = "gitlab",
1399
+ /** Bitbucket */
1400
+ BITBUCKET = "bitbucket",
1401
+ /** Harbor */
1402
+ HARBOR = "harbor",
1403
+ /** Dockerhub */
1404
+ DOCKERHUB = "dockerhub",
1405
+ /** Quay */
1406
+ QUAY = "quay",
1407
+ /** Gcr */
1408
+ GCR = "gcr",
1409
+ /** Nexus */
1410
+ NEXUS = "nexus",
1411
+ /** Acr */
1412
+ ACR = "acr",
1413
+ /** Cdevents */
1414
+ CDEVENTS = "cdevents"
1415
+ }
1416
+ /**
1417
+ * Kind of the referent
1418
+ *
1419
+ * @schema ReceiverSpecResourcesKind
1420
+ */
1421
+ export declare enum ReceiverSpecResourcesKind {
1422
+ /** Bucket */
1423
+ BUCKET = "Bucket",
1424
+ /** GitRepository */
1425
+ GIT_REPOSITORY = "GitRepository",
1426
+ /** Kustomization */
1427
+ KUSTOMIZATION = "Kustomization",
1428
+ /** HelmRelease */
1429
+ HELM_RELEASE = "HelmRelease",
1430
+ /** HelmChart */
1431
+ HELM_CHART = "HelmChart",
1432
+ /** HelmRepository */
1433
+ HELM_REPOSITORY = "HelmRepository",
1434
+ /** ImageRepository */
1435
+ IMAGE_REPOSITORY = "ImageRepository",
1436
+ /** ImagePolicy */
1437
+ IMAGE_POLICY = "ImagePolicy",
1438
+ /** ImageUpdateAutomation */
1439
+ IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
1440
+ /** OCIRepository */
1441
+ OCI_REPOSITORY = "OCIRepository"
1442
+ }
1443
+ /**
1444
+ * Receiver is the Schema for the receivers API
1445
+ *
1446
+ * @schema ReceiverV1Beta1
1447
+ */
1448
+ export declare class ReceiverV1Beta1 extends ApiObject {
1449
+ /** Returns the apiVersion and kind for "ReceiverV1Beta1" */
1450
+ static GVK: GroupVersionKind;
1451
+ /**
1452
+ * Renders a Kubernetes manifest for "ReceiverV1Beta1".
1453
+ *
1454
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
1455
+ *
1456
+ * @param props Initialization props
1457
+ */
1458
+ static manifest(props?: ReceiverV1Beta1Props): any;
1459
+ /**
1460
+ * Defines a "ReceiverV1Beta1" API object
1461
+ *
1462
+ * @param scope The scope in which to define this object
1463
+ * @param id A scope-local name for the object
1464
+ * @param props Initialization props
1465
+ */
1466
+ constructor(scope: Construct, id: string, props?: ReceiverV1Beta1Props);
1467
+ /** Renders the object to Kubernetes JSON. */
1468
+ toJson(): any;
1469
+ }
1470
+ /**
1471
+ * Receiver is the Schema for the receivers API
1472
+ *
1473
+ * @schema ReceiverV1Beta1
1474
+ */
1475
+ export interface ReceiverV1Beta1Props {
1476
+ /** @schema ReceiverV1Beta1#metadata */
1477
+ metadata?: ApiObjectMetadata;
1478
+ /**
1479
+ * ReceiverSpec defines the desired state of Receiver
1480
+ *
1481
+ * @schema ReceiverV1Beta1#spec
1482
+ */
1483
+ spec?: ReceiverV1Beta1Spec;
1484
+ }
1485
+ /** Converts an object of type 'ReceiverV1Beta1Props' to JSON representation. */
1486
+ export declare function toJson_ReceiverV1Beta1Props(obj: ReceiverV1Beta1Props | undefined): Record<string, any> | undefined;
1487
+ /**
1488
+ * ReceiverSpec defines the desired state of Receiver
1489
+ *
1490
+ * @schema ReceiverV1Beta1Spec
1491
+ */
1492
+ export interface ReceiverV1Beta1Spec {
1493
+ /**
1494
+ * A list of events to handle, e.g. 'push' for GitHub or 'Push Hook' for GitLab.
1495
+ *
1496
+ * @schema ReceiverV1Beta1Spec#events
1497
+ */
1498
+ events?: string[];
1499
+ /**
1500
+ * A list of resources to be notified about changes.
1501
+ *
1502
+ * @schema ReceiverV1Beta1Spec#resources
1503
+ */
1504
+ resources: ReceiverV1Beta1SpecResources[];
1505
+ /**
1506
+ * Secret reference containing the token used to validate the payload authenticity
1507
+ *
1508
+ * @schema ReceiverV1Beta1Spec#secretRef
1509
+ */
1510
+ secretRef: ReceiverV1Beta1SpecSecretRef;
1511
+ /**
1512
+ * This flag tells the controller to suspend subsequent events handling. Defaults to false.
1513
+ *
1514
+ * @default false.
1515
+ * @schema ReceiverV1Beta1Spec#suspend
1516
+ */
1517
+ suspend?: boolean;
1518
+ /**
1519
+ * Type of webhook sender, used to determine the validation procedure and payload
1520
+ * deserialization.
1521
+ *
1522
+ * @schema ReceiverV1Beta1Spec#type
1523
+ */
1524
+ type: ReceiverV1Beta1SpecType;
1525
+ }
1526
+ /** Converts an object of type 'ReceiverV1Beta1Spec' to JSON representation. */
1527
+ export declare function toJson_ReceiverV1Beta1Spec(obj: ReceiverV1Beta1Spec | undefined): Record<string, any> | undefined;
1528
+ /**
1529
+ * CrossNamespaceObjectReference contains enough information to let you locate the typed referenced
1530
+ * object at cluster level
1531
+ *
1532
+ * @schema ReceiverV1Beta1SpecResources
1533
+ */
1534
+ export interface ReceiverV1Beta1SpecResources {
1535
+ /**
1536
+ * API version of the referent
1537
+ *
1538
+ * @schema ReceiverV1Beta1SpecResources#apiVersion
1539
+ */
1540
+ apiVersion?: string;
1541
+ /**
1542
+ * Kind of the referent
1543
+ *
1544
+ * @schema ReceiverV1Beta1SpecResources#kind
1545
+ */
1546
+ kind: ReceiverV1Beta1SpecResourcesKind;
1547
+ /**
1548
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
1549
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
1550
+ * and the values array contains only "value". The requirements are ANDed.
1551
+ *
1552
+ * @schema ReceiverV1Beta1SpecResources#matchLabels
1553
+ */
1554
+ matchLabels?: {
1555
+ [key: string]: string;
1556
+ };
1557
+ /**
1558
+ * Name of the referent
1559
+ *
1560
+ * @schema ReceiverV1Beta1SpecResources#name
1561
+ */
1562
+ name: string;
1563
+ /**
1564
+ * Namespace of the referent
1565
+ *
1566
+ * @schema ReceiverV1Beta1SpecResources#namespace
1567
+ */
1568
+ namespace?: string;
1569
+ }
1570
+ /** Converts an object of type 'ReceiverV1Beta1SpecResources' to JSON representation. */
1571
+ export declare function toJson_ReceiverV1Beta1SpecResources(obj: ReceiverV1Beta1SpecResources | undefined): Record<string, any> | undefined;
1572
+ /**
1573
+ * Secret reference containing the token used to validate the payload authenticity
1574
+ *
1575
+ * @schema ReceiverV1Beta1SpecSecretRef
1576
+ */
1577
+ export interface ReceiverV1Beta1SpecSecretRef {
1578
+ /**
1579
+ * Name of the referent.
1580
+ *
1581
+ * @schema ReceiverV1Beta1SpecSecretRef#name
1582
+ */
1583
+ name: string;
1584
+ }
1585
+ /** Converts an object of type 'ReceiverV1Beta1SpecSecretRef' to JSON representation. */
1586
+ export declare function toJson_ReceiverV1Beta1SpecSecretRef(obj: ReceiverV1Beta1SpecSecretRef | undefined): Record<string, any> | undefined;
1587
+ /**
1588
+ * Type of webhook sender, used to determine the validation procedure and payload deserialization.
1589
+ *
1590
+ * @schema ReceiverV1Beta1SpecType
1591
+ */
1592
+ export declare enum ReceiverV1Beta1SpecType {
1593
+ /** Generic */
1594
+ GENERIC = "generic",
1595
+ /** Generic-hmac */
1596
+ GENERIC_HYPHEN_HMAC = "generic-hmac",
1597
+ /** Github */
1598
+ GITHUB = "github",
1599
+ /** Gitlab */
1600
+ GITLAB = "gitlab",
1601
+ /** Bitbucket */
1602
+ BITBUCKET = "bitbucket",
1603
+ /** Harbor */
1604
+ HARBOR = "harbor",
1605
+ /** Dockerhub */
1606
+ DOCKERHUB = "dockerhub",
1607
+ /** Quay */
1608
+ QUAY = "quay",
1609
+ /** Gcr */
1610
+ GCR = "gcr",
1611
+ /** Nexus */
1612
+ NEXUS = "nexus",
1613
+ /** Acr */
1614
+ ACR = "acr"
1615
+ }
1616
+ /**
1617
+ * Kind of the referent
1618
+ *
1619
+ * @schema ReceiverV1Beta1SpecResourcesKind
1620
+ */
1621
+ export declare enum ReceiverV1Beta1SpecResourcesKind {
1622
+ /** Bucket */
1623
+ BUCKET = "Bucket",
1624
+ /** GitRepository */
1625
+ GIT_REPOSITORY = "GitRepository",
1626
+ /** Kustomization */
1627
+ KUSTOMIZATION = "Kustomization",
1628
+ /** HelmRelease */
1629
+ HELM_RELEASE = "HelmRelease",
1630
+ /** HelmChart */
1631
+ HELM_CHART = "HelmChart",
1632
+ /** HelmRepository */
1633
+ HELM_REPOSITORY = "HelmRepository",
1634
+ /** ImageRepository */
1635
+ IMAGE_REPOSITORY = "ImageRepository",
1636
+ /** ImagePolicy */
1637
+ IMAGE_POLICY = "ImagePolicy",
1638
+ /** ImageUpdateAutomation */
1639
+ IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
1640
+ /** OCIRepository */
1641
+ OCI_REPOSITORY = "OCIRepository"
1642
+ }
1643
+ /**
1644
+ * Receiver is the Schema for the receivers API.
1645
+ *
1646
+ * @schema ReceiverV1Beta2
1647
+ */
1648
+ export declare class ReceiverV1Beta2 extends ApiObject {
1649
+ /** Returns the apiVersion and kind for "ReceiverV1Beta2" */
1650
+ static GVK: GroupVersionKind;
1651
+ /**
1652
+ * Renders a Kubernetes manifest for "ReceiverV1Beta2".
1653
+ *
1654
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
1655
+ *
1656
+ * @param props Initialization props
1657
+ */
1658
+ static manifest(props?: ReceiverV1Beta2Props): any;
1659
+ /**
1660
+ * Defines a "ReceiverV1Beta2" API object
1661
+ *
1662
+ * @param scope The scope in which to define this object
1663
+ * @param id A scope-local name for the object
1664
+ * @param props Initialization props
1665
+ */
1666
+ constructor(scope: Construct, id: string, props?: ReceiverV1Beta2Props);
1667
+ /** Renders the object to Kubernetes JSON. */
1668
+ toJson(): any;
1669
+ }
1670
+ /**
1671
+ * Receiver is the Schema for the receivers API.
1672
+ *
1673
+ * @schema ReceiverV1Beta2
1674
+ */
1675
+ export interface ReceiverV1Beta2Props {
1676
+ /** @schema ReceiverV1Beta2#metadata */
1677
+ metadata?: ApiObjectMetadata;
1678
+ /**
1679
+ * ReceiverSpec defines the desired state of the Receiver.
1680
+ *
1681
+ * @schema ReceiverV1Beta2#spec
1682
+ */
1683
+ spec?: ReceiverV1Beta2Spec;
1684
+ }
1685
+ /** Converts an object of type 'ReceiverV1Beta2Props' to JSON representation. */
1686
+ export declare function toJson_ReceiverV1Beta2Props(obj: ReceiverV1Beta2Props | undefined): Record<string, any> | undefined;
1687
+ /**
1688
+ * ReceiverSpec defines the desired state of the Receiver.
1689
+ *
1690
+ * @schema ReceiverV1Beta2Spec
1691
+ */
1692
+ export interface ReceiverV1Beta2Spec {
1693
+ /**
1694
+ * Events specifies the list of event types to handle, e.g. 'push' for GitHub or 'Push Hook' for
1695
+ * GitLab.
1696
+ *
1697
+ * @schema ReceiverV1Beta2Spec#events
1698
+ */
1699
+ events?: string[];
1700
+ /**
1701
+ * Interval at which to reconcile the Receiver with its Secret references.
1702
+ *
1703
+ * @schema ReceiverV1Beta2Spec#interval
1704
+ */
1705
+ interval?: string;
1706
+ /**
1707
+ * A list of resources to be notified about changes.
1708
+ *
1709
+ * @schema ReceiverV1Beta2Spec#resources
1710
+ */
1711
+ resources: ReceiverV1Beta2SpecResources[];
1712
+ /**
1713
+ * SecretRef specifies the Secret containing the token used to validate the payload
1714
+ * authenticity.
1715
+ *
1716
+ * @schema ReceiverV1Beta2Spec#secretRef
1717
+ */
1718
+ secretRef: ReceiverV1Beta2SpecSecretRef;
1719
+ /**
1720
+ * Suspend tells the controller to suspend subsequent events handling for this receiver.
1721
+ *
1722
+ * @schema ReceiverV1Beta2Spec#suspend
1723
+ */
1724
+ suspend?: boolean;
1725
+ /**
1726
+ * Type of webhook sender, used to determine the validation procedure and payload
1727
+ * deserialization.
1728
+ *
1729
+ * @schema ReceiverV1Beta2Spec#type
1730
+ */
1731
+ type: ReceiverV1Beta2SpecType;
1732
+ }
1733
+ /** Converts an object of type 'ReceiverV1Beta2Spec' to JSON representation. */
1734
+ export declare function toJson_ReceiverV1Beta2Spec(obj: ReceiverV1Beta2Spec | undefined): Record<string, any> | undefined;
1735
+ /**
1736
+ * CrossNamespaceObjectReference contains enough information to let you locate the typed referenced
1737
+ * object at cluster level
1738
+ *
1739
+ * @schema ReceiverV1Beta2SpecResources
1740
+ */
1741
+ export interface ReceiverV1Beta2SpecResources {
1742
+ /**
1743
+ * API version of the referent
1744
+ *
1745
+ * @schema ReceiverV1Beta2SpecResources#apiVersion
1746
+ */
1747
+ apiVersion?: string;
1748
+ /**
1749
+ * Kind of the referent
1750
+ *
1751
+ * @schema ReceiverV1Beta2SpecResources#kind
1752
+ */
1753
+ kind: ReceiverV1Beta2SpecResourcesKind;
1754
+ /**
1755
+ * MatchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is
1756
+ * equivalent to an element of matchExpressions, whose key field is "key", the operator is "In",
1757
+ * and the values array contains only "value". The requirements are ANDed. MatchLabels requires
1758
+ * the name to be set to `*`.
1759
+ *
1760
+ * @schema ReceiverV1Beta2SpecResources#matchLabels
1761
+ */
1762
+ matchLabels?: {
1763
+ [key: string]: string;
1764
+ };
1765
+ /**
1766
+ * Name of the referent If multiple resources are targeted `*` may be set.
1767
+ *
1768
+ * @schema ReceiverV1Beta2SpecResources#name
1769
+ */
1770
+ name: string;
1771
+ /**
1772
+ * Namespace of the referent
1773
+ *
1774
+ * @schema ReceiverV1Beta2SpecResources#namespace
1775
+ */
1776
+ namespace?: string;
1777
+ }
1778
+ /** Converts an object of type 'ReceiverV1Beta2SpecResources' to JSON representation. */
1779
+ export declare function toJson_ReceiverV1Beta2SpecResources(obj: ReceiverV1Beta2SpecResources | undefined): Record<string, any> | undefined;
1780
+ /**
1781
+ * SecretRef specifies the Secret containing the token used to validate the payload authenticity.
1782
+ *
1783
+ * @schema ReceiverV1Beta2SpecSecretRef
1784
+ */
1785
+ export interface ReceiverV1Beta2SpecSecretRef {
1786
+ /**
1787
+ * Name of the referent.
1788
+ *
1789
+ * @schema ReceiverV1Beta2SpecSecretRef#name
1790
+ */
1791
+ name: string;
1792
+ }
1793
+ /** Converts an object of type 'ReceiverV1Beta2SpecSecretRef' to JSON representation. */
1794
+ export declare function toJson_ReceiverV1Beta2SpecSecretRef(obj: ReceiverV1Beta2SpecSecretRef | undefined): Record<string, any> | undefined;
1795
+ /**
1796
+ * Type of webhook sender, used to determine the validation procedure and payload deserialization.
1797
+ *
1798
+ * @schema ReceiverV1Beta2SpecType
1799
+ */
1800
+ export declare enum ReceiverV1Beta2SpecType {
1801
+ /** Generic */
1802
+ GENERIC = "generic",
1803
+ /** Generic-hmac */
1804
+ GENERIC_HYPHEN_HMAC = "generic-hmac",
1805
+ /** Github */
1806
+ GITHUB = "github",
1807
+ /** Gitlab */
1808
+ GITLAB = "gitlab",
1809
+ /** Bitbucket */
1810
+ BITBUCKET = "bitbucket",
1811
+ /** Harbor */
1812
+ HARBOR = "harbor",
1813
+ /** Dockerhub */
1814
+ DOCKERHUB = "dockerhub",
1815
+ /** Quay */
1816
+ QUAY = "quay",
1817
+ /** Gcr */
1818
+ GCR = "gcr",
1819
+ /** Nexus */
1820
+ NEXUS = "nexus",
1821
+ /** Acr */
1822
+ ACR = "acr"
1823
+ }
1824
+ /**
1825
+ * Kind of the referent
1826
+ *
1827
+ * @schema ReceiverV1Beta2SpecResourcesKind
1828
+ */
1829
+ export declare enum ReceiverV1Beta2SpecResourcesKind {
1830
+ /** Bucket */
1831
+ BUCKET = "Bucket",
1832
+ /** GitRepository */
1833
+ GIT_REPOSITORY = "GitRepository",
1834
+ /** Kustomization */
1835
+ KUSTOMIZATION = "Kustomization",
1836
+ /** HelmRelease */
1837
+ HELM_RELEASE = "HelmRelease",
1838
+ /** HelmChart */
1839
+ HELM_CHART = "HelmChart",
1840
+ /** HelmRepository */
1841
+ HELM_REPOSITORY = "HelmRepository",
1842
+ /** ImageRepository */
1843
+ IMAGE_REPOSITORY = "ImageRepository",
1844
+ /** ImagePolicy */
1845
+ IMAGE_POLICY = "ImagePolicy",
1846
+ /** ImageUpdateAutomation */
1847
+ IMAGE_UPDATE_AUTOMATION = "ImageUpdateAutomation",
1848
+ /** OCIRepository */
1849
+ OCI_REPOSITORY = "OCIRepository"
1850
+ }
1851
+ //# sourceMappingURL=notification.toolkit.fluxcd.io.d.ts.map