-
Notifications
You must be signed in to change notification settings - Fork 345
/
resources.go
3726 lines (3670 loc) · 92.2 KB
/
resources.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
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by script/embed_resources.sh. DO NOT EDIT.
package deploy
var Resources map[string]string
func init() {
Resources = make(map[string]string)
Resources["builder-role-binding.yaml"] =
`
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: camel-k-builder
labels:
app: "camel-k"
subjects:
- kind: ServiceAccount
name: camel-k-builder
roleRef:
kind: Role
name: camel-k-builder
apiGroup: rbac.authorization.k8s.io
`
Resources["builder-role-kubernetes.yaml"] =
`
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: camel-k-builder
labels:
app: "camel-k"
rules:
- apiGroups:
- camel.apache.org
resources:
- "*"
verbs:
- "*"
- apiGroups:
- ""
resources:
- pods
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- events
- configmaps
verbs:
- get
- list
- watch
`
Resources["builder-role-openshift.yaml"] =
`
kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: camel-k-builder
labels:
app: "camel-k"
rules:
- apiGroups:
- camel.apache.org
resources:
- "*"
verbs:
- "*"
- apiGroups:
- ""
resources:
- pods
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- get
- list
- watch
- apiGroups:
- ""
- "build.openshift.io"
resources:
- buildconfigs
- buildconfigs/webhooks
- builds
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
- "image.openshift.io"
resources:
- imagestreamimages
- imagestreammappings
- imagestreams
- imagestreams/secrets
- imagestreamtags
verbs:
- create
- delete
- deletecollection
- get
- list
- patch
- update
- watch
- apiGroups:
- ""
- build.openshift.io
attributeRestrictions: null
resources:
- buildconfigs/instantiate
- buildconfigs/instantiatebinary
- builds/clone
verbs:
- create
`
Resources["builder-service-account.yaml"] =
`
apiVersion: v1
kind: ServiceAccount
metadata:
name: camel-k-builder
labels:
app: "camel-k"
`
Resources["camel-catalog-3.0.0-M4.yaml"] =
`
# ---------------------------------------------------------------------------
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ---------------------------------------------------------------------------
apiVersion: camel.apache.org/v1alpha1
kind: CamelCatalog
metadata:
name: camel-catalog-3.0.0-m4
labels:
app: camel-k
camel.apache.org/catalog.version: 3.0.0-M4
camel.apache.org/catalog.loader.version: 3.0.0-M4
spec:
version: 3.0.0-M4
artifacts:
camel-activemq:
groupId: org.apache.camel
artifactId: camel-activemq
schemes:
- id: activemq
http: false
passive: false
camel-ahc:
groupId: org.apache.camel
artifactId: camel-ahc
schemes:
- id: ahc
http: true
passive: false
camel-ahc-ws:
groupId: org.apache.camel
artifactId: camel-ahc-ws
schemes:
- id: ahc-ws
http: true
passive: false
- id: ahc-wss
http: false
passive: false
camel-amqp:
groupId: org.apache.camel
artifactId: camel-amqp
schemes:
- id: amqp
http: false
passive: false
camel-apns:
groupId: org.apache.camel
artifactId: camel-apns
schemes:
- id: apns
http: false
passive: false
camel-as2:
groupId: org.apache.camel
artifactId: camel-as2
schemes:
- id: as2
http: false
passive: false
camel-asn1:
groupId: org.apache.camel
artifactId: camel-asn1
dataformats:
- asn1
camel-asterisk:
groupId: org.apache.camel
artifactId: camel-asterisk
schemes:
- id: asterisk
http: false
passive: false
camel-atmos:
groupId: org.apache.camel
artifactId: camel-atmos
schemes:
- id: atmos
http: false
passive: false
camel-atmosphere-websocket:
groupId: org.apache.camel
artifactId: camel-atmosphere-websocket
schemes:
- id: atmosphere-websocket
http: true
passive: false
camel-atom:
groupId: org.apache.camel
artifactId: camel-atom
schemes:
- id: atom
http: false
passive: false
camel-atomix:
groupId: org.apache.camel
artifactId: camel-atomix
schemes:
- id: atomix-map
http: false
passive: false
- id: atomix-messaging
http: false
passive: false
- id: atomix-multimap
http: false
passive: false
- id: atomix-queue
http: false
passive: false
- id: atomix-set
http: false
passive: false
- id: atomix-value
http: false
passive: false
camel-avro:
groupId: org.apache.camel
artifactId: camel-avro
schemes:
- id: avro
http: false
passive: false
dataformats:
- avro
camel-aws-cw:
groupId: org.apache.camel
artifactId: camel-aws-cw
schemes:
- id: aws-cw
http: false
passive: false
camel-aws-ddb:
groupId: org.apache.camel
artifactId: camel-aws-ddb
schemes:
- id: aws-ddb
http: false
passive: false
- id: aws-ddbstream
http: false
passive: false
camel-aws-ec2:
groupId: org.apache.camel
artifactId: camel-aws-ec2
schemes:
- id: aws-ec2
http: false
passive: false
camel-aws-ecs:
groupId: org.apache.camel
artifactId: camel-aws-ecs
schemes:
- id: aws-ecs
http: false
passive: false
camel-aws-eks:
groupId: org.apache.camel
artifactId: camel-aws-eks
schemes:
- id: aws-eks
http: false
passive: false
camel-aws-iam:
groupId: org.apache.camel
artifactId: camel-aws-iam
schemes:
- id: aws-iam
http: false
passive: false
camel-aws-kinesis:
groupId: org.apache.camel
artifactId: camel-aws-kinesis
schemes:
- id: aws-kinesis
http: false
passive: false
- id: aws-kinesis-firehose
http: false
passive: false
camel-aws-kms:
groupId: org.apache.camel
artifactId: camel-aws-kms
schemes:
- id: aws-kms
http: false
passive: false
camel-aws-lambda:
groupId: org.apache.camel
artifactId: camel-aws-lambda
schemes:
- id: aws-lambda
http: false
passive: false
camel-aws-mq:
groupId: org.apache.camel
artifactId: camel-aws-mq
schemes:
- id: aws-mq
http: false
passive: false
camel-aws-msk:
groupId: org.apache.camel
artifactId: camel-aws-msk
schemes:
- id: aws-msk
http: false
passive: false
camel-aws-s3:
groupId: org.apache.camel
artifactId: camel-aws-s3
schemes:
- id: aws-s3
http: false
passive: false
camel-aws-sdb:
groupId: org.apache.camel
artifactId: camel-aws-sdb
schemes:
- id: aws-sdb
http: false
passive: false
camel-aws-ses:
groupId: org.apache.camel
artifactId: camel-aws-ses
schemes:
- id: aws-ses
http: false
passive: false
camel-aws-sns:
groupId: org.apache.camel
artifactId: camel-aws-sns
schemes:
- id: aws-sns
http: false
passive: false
camel-aws-sqs:
groupId: org.apache.camel
artifactId: camel-aws-sqs
schemes:
- id: aws-sqs
http: false
passive: false
camel-aws-swf:
groupId: org.apache.camel
artifactId: camel-aws-swf
schemes:
- id: aws-swf
http: false
passive: false
camel-azure:
groupId: org.apache.camel
artifactId: camel-azure
schemes:
- id: azure-blob
http: false
passive: false
- id: azure-queue
http: false
passive: false
camel-barcode:
groupId: org.apache.camel
artifactId: camel-barcode
dataformats:
- barcode
camel-base:
groupId: org.apache.camel
artifactId: camel-base
languages:
- constant
- exchangeProperty
- file
- header
- ref
- simple
- tokenize
camel-base64:
groupId: org.apache.camel
artifactId: camel-base64
dataformats:
- base64
camel-bean:
groupId: org.apache.camel
artifactId: camel-bean
schemes:
- id: bean
http: false
passive: true
- id: class
http: false
passive: true
languages:
- bean
camel-bean-validator:
groupId: org.apache.camel
artifactId: camel-bean-validator
schemes:
- id: bean-validator
http: false
passive: false
camel-beanio:
groupId: org.apache.camel
artifactId: camel-beanio
dataformats:
- beanio
camel-beanstalk:
groupId: org.apache.camel
artifactId: camel-beanstalk
schemes:
- id: beanstalk
http: false
passive: false
camel-bindy:
groupId: org.apache.camel
artifactId: camel-bindy
dataformats:
- bindy-csv
- bindy-fixed
- bindy-kvp
camel-bonita:
groupId: org.apache.camel
artifactId: camel-bonita
schemes:
- id: bonita
http: false
passive: false
camel-boon:
groupId: org.apache.camel
artifactId: camel-boon
dataformats:
- boon
camel-box:
groupId: org.apache.camel
artifactId: camel-box
schemes:
- id: box
http: false
passive: false
camel-braintree:
groupId: org.apache.camel
artifactId: camel-braintree
schemes:
- id: braintree
http: false
passive: false
camel-browse:
groupId: org.apache.camel
artifactId: camel-browse
schemes:
- id: browse
http: false
passive: true
camel-caffeine:
groupId: org.apache.camel
artifactId: camel-caffeine
schemes:
- id: caffeine-cache
http: false
passive: false
- id: caffeine-loadcache
http: false
passive: false
camel-cassandraql:
groupId: org.apache.camel
artifactId: camel-cassandraql
schemes:
- id: cql
http: false
passive: false
camel-cbor:
groupId: org.apache.camel
artifactId: camel-cbor
dataformats:
- cbor
camel-chatscript:
groupId: org.apache.camel
artifactId: camel-chatscript
schemes:
- id: chatscript
http: false
passive: false
camel-chunk:
groupId: org.apache.camel
artifactId: camel-chunk
schemes:
- id: chunk
http: false
passive: false
camel-cm-sms:
groupId: org.apache.camel
artifactId: camel-cm-sms
schemes:
- id: cm-sms
http: false
passive: false
camel-cmis:
groupId: org.apache.camel
artifactId: camel-cmis
schemes:
- id: cmis
http: false
passive: false
camel-coap:
groupId: org.apache.camel
artifactId: camel-coap
schemes:
- id: coap
http: false
passive: false
- id: coaps
http: false
passive: false
- id: coap+tcp
http: false
passive: false
- id: coaps+tcp
http: false
passive: false
camel-cometd:
groupId: org.apache.camel
artifactId: camel-cometd
schemes:
- id: cometd
http: false
passive: false
- id: cometds
http: false
passive: false
camel-consul:
groupId: org.apache.camel
artifactId: camel-consul
schemes:
- id: consul
http: false
passive: false
camel-controlbus:
groupId: org.apache.camel
artifactId: camel-controlbus
schemes:
- id: controlbus
http: false
passive: true
camel-corda:
groupId: org.apache.camel
artifactId: camel-corda
schemes:
- id: corda
http: false
passive: false
camel-couchbase:
groupId: org.apache.camel
artifactId: camel-couchbase
schemes:
- id: couchbase
http: false
passive: false
camel-couchdb:
groupId: org.apache.camel
artifactId: camel-couchdb
schemes:
- id: couchdb
http: false
passive: false
camel-crypto:
groupId: org.apache.camel
artifactId: camel-crypto
schemes:
- id: crypto
http: false
passive: false
dataformats:
- crypto
- pgp
camel-crypto-cms:
groupId: org.apache.camel
artifactId: camel-crypto-cms
schemes:
- id: crypto-cms
http: false
passive: false
camel-csv:
groupId: org.apache.camel
artifactId: camel-csv
dataformats:
- csv
camel-cxf:
groupId: org.apache.camel
artifactId: camel-cxf
schemes:
- id: cxf
http: true
passive: false
- id: cxfrs
http: true
passive: false
camel-dataformat:
groupId: org.apache.camel
artifactId: camel-dataformat
schemes:
- id: dataformat
http: false
passive: true
camel-dataset:
groupId: org.apache.camel
artifactId: camel-dataset
schemes:
- id: dataset
http: false
passive: true
- id: dataset-test
http: false
passive: false
camel-digitalocean:
groupId: org.apache.camel
artifactId: camel-digitalocean
schemes:
- id: digitalocean
http: false
passive: false
camel-direct:
groupId: org.apache.camel
artifactId: camel-direct
schemes:
- id: direct
http: false
passive: true
camel-directvm:
groupId: org.apache.camel
artifactId: camel-directvm
schemes:
- id: direct-vm
http: false
passive: true
camel-disruptor:
groupId: org.apache.camel
artifactId: camel-disruptor
schemes:
- id: disruptor
http: false
passive: false
- id: disruptor-vm
http: false
passive: false
camel-dns:
groupId: org.apache.camel
artifactId: camel-dns
schemes:
- id: dns
http: false
passive: false
camel-docker:
groupId: org.apache.camel
artifactId: camel-docker
schemes:
- id: docker
http: false
passive: false
camel-dozer:
groupId: org.apache.camel
artifactId: camel-dozer
schemes:
- id: dozer
http: false
passive: false
camel-drill:
groupId: org.apache.camel
artifactId: camel-drill
schemes:
- id: drill
http: false
passive: false
camel-dropbox:
groupId: org.apache.camel
artifactId: camel-dropbox
schemes:
- id: dropbox
http: false
passive: false
camel-ehcache:
groupId: org.apache.camel
artifactId: camel-ehcache
schemes:
- id: ehcache
http: false
passive: false
camel-ejb:
groupId: org.apache.camel
artifactId: camel-ejb
schemes:
- id: ejb
http: false
passive: false
camel-elasticsearch-rest:
groupId: org.apache.camel
artifactId: camel-elasticsearch-rest
schemes:
- id: elasticsearch-rest
http: false
passive: false
camel-elsql:
groupId: org.apache.camel
artifactId: camel-elsql
schemes:
- id: elsql
http: false
passive: false
camel-etcd:
groupId: org.apache.camel
artifactId: camel-etcd
schemes:
- id: etcd
http: false
passive: false
camel-eventadmin:
groupId: org.apache.camel
artifactId: camel-eventadmin
schemes:
- id: eventadmin
http: false
passive: false
camel-exec:
groupId: org.apache.camel
artifactId: camel-exec
schemes:
- id: exec
http: false
passive: false
camel-facebook:
groupId: org.apache.camel
artifactId: camel-facebook
schemes:
- id: facebook
http: false
passive: false
camel-fastjson:
groupId: org.apache.camel
artifactId: camel-fastjson
dataformats:
- json-fastjson
camel-fhir:
groupId: org.apache.camel
artifactId: camel-fhir
schemes:
- id: fhir
http: false
passive: false
dataformats:
- fhirJson
- fhirXml
camel-file:
groupId: org.apache.camel
artifactId: camel-file
schemes:
- id: file
http: false
passive: false
camel-flatpack:
groupId: org.apache.camel
artifactId: camel-flatpack
schemes:
- id: flatpack
http: false
passive: false
dataformats:
- flatpack
camel-flink:
groupId: org.apache.camel
artifactId: camel-flink
schemes:
- id: flink
http: false
passive: false
camel-fop:
groupId: org.apache.camel
artifactId: camel-fop
schemes:
- id: fop
http: false
passive: false
camel-freemarker:
groupId: org.apache.camel
artifactId: camel-freemarker
schemes:
- id: freemarker
http: false
passive: false
camel-ftp:
groupId: org.apache.camel
artifactId: camel-ftp
schemes:
- id: ftp
http: false
passive: false
- id: ftps
http: false
passive: false
- id: sftp
http: false
passive: false
camel-ganglia:
groupId: org.apache.camel
artifactId: camel-ganglia
schemes:
- id: ganglia
http: false
passive: false
camel-geocoder:
groupId: org.apache.camel
artifactId: camel-geocoder
schemes:
- id: geocoder
http: false
passive: false
camel-git:
groupId: org.apache.camel
artifactId: camel-git
schemes:
- id: git
http: false
passive: false
camel-github:
groupId: org.apache.camel
artifactId: camel-github
schemes:
- id: github
http: false
passive: false
camel-google-bigquery:
groupId: org.apache.camel
artifactId: camel-google-bigquery
schemes:
- id: google-bigquery
http: false
passive: false
- id: google-bigquery-sql
http: false
passive: false
camel-google-calendar:
groupId: org.apache.camel
artifactId: camel-google-calendar
schemes:
- id: google-calendar
http: false
passive: false
- id: google-calendar-stream
http: false
passive: false
camel-google-drive:
groupId: org.apache.camel
artifactId: camel-google-drive
schemes:
- id: google-drive
http: false
passive: false
camel-google-mail:
groupId: org.apache.camel
artifactId: camel-google-mail
schemes:
- id: google-mail
http: false
passive: false
- id: google-mail-stream
http: false
passive: false
camel-google-pubsub:
groupId: org.apache.camel
artifactId: camel-google-pubsub
schemes:
- id: google-pubsub
http: false
passive: false
camel-google-sheets:
groupId: org.apache.camel
artifactId: camel-google-sheets
schemes:
- id: google-sheets
http: false
passive: false
- id: google-sheets-stream
http: false
passive: false
camel-gora:
groupId: org.apache.camel
artifactId: camel-gora
schemes:
- id: gora
http: false
passive: false
camel-grape:
groupId: org.apache.camel
artifactId: camel-grape
schemes:
- id: grape
http: false
passive: false
camel-grok:
groupId: org.apache.camel
artifactId: camel-grok
dataformats:
- grok
camel-groovy:
groupId: org.apache.camel
artifactId: camel-groovy
languages:
- groovy
camel-grpc:
groupId: org.apache.camel
artifactId: camel-grpc
schemes:
- id: grpc
http: true
passive: false