-
Notifications
You must be signed in to change notification settings - Fork 2
/
swagger.json
7246 lines (7246 loc) · 380 KB
/
swagger.json
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
{
"swagger": "2.0",
"info": {
"title": "Argo Events",
"version": "v1.6.3"
},
"paths": {},
"definitions": {
"io.argoproj.common.Amount": {
"description": "Amount represent a numeric amount.",
"type": "number"
},
"io.argoproj.common.Backoff": {
"description": "Backoff for an operation",
"type": "object",
"properties": {
"duration": {
"description": "The initial duration in nanoseconds or strings like \"1s\", \"3m\"",
"$ref": "#/definitions/io.argoproj.common.Int64OrString"
},
"factor": {
"description": "Duration is multiplied by factor each iteration",
"$ref": "#/definitions/io.argoproj.common.Amount"
},
"jitter": {
"description": "The amount of jitter applied each iteration",
"$ref": "#/definitions/io.argoproj.common.Amount"
},
"steps": {
"description": "Exit with error after this many steps",
"type": "integer",
"format": "int32"
}
}
},
"io.argoproj.common.BasicAuth": {
"description": "BasicAuth contains the reference to K8s secrets that holds the username and password",
"type": "object",
"properties": {
"password": {
"description": "Password refers to the Kubernetes secret that holds the password required for basic auth.",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"username": {
"description": "Username refers to the Kubernetes secret that holds the username required for basic auth.",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
}
},
"io.argoproj.common.Condition": {
"description": "Condition contains details about resource state",
"type": "object",
"required": [
"type",
"status"
],
"properties": {
"lastTransitionTime": {
"description": "Last time the condition transitioned from one status to another.",
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time"
},
"message": {
"description": "Human-readable message indicating details about last transition.",
"type": "string"
},
"reason": {
"description": "Unique, this should be a short, machine understandable string that gives the reason for condition's last transition. For example, \"ImageNotFound\"",
"type": "string"
},
"status": {
"description": "Condition status, True, False or Unknown.",
"type": "string"
},
"type": {
"description": "Condition type.",
"type": "string"
}
}
},
"io.argoproj.common.Int64OrString": {
"type": "string",
"format": "int64-or-string"
},
"io.argoproj.common.Metadata": {
"description": "Metadata holds the annotations and labels of an event source pod",
"type": "object",
"properties": {
"annotations": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"labels": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"io.argoproj.common.Resource": {
"description": "Resource represent arbitrary structured data.",
"type": "object"
},
"io.argoproj.common.S3Artifact": {
"description": "S3Artifact contains information about an S3 connection and bucket",
"type": "object",
"required": [
"endpoint",
"bucket",
"accessKey",
"secretKey"
],
"properties": {
"accessKey": {
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"bucket": {
"$ref": "#/definitions/io.argoproj.common.S3Bucket"
},
"endpoint": {
"type": "string"
},
"events": {
"type": "array",
"items": {
"type": "string"
}
},
"filter": {
"$ref": "#/definitions/io.argoproj.common.S3Filter"
},
"insecure": {
"type": "boolean"
},
"metadata": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"region": {
"type": "string"
},
"secretKey": {
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
}
},
"io.argoproj.common.S3Bucket": {
"description": "S3Bucket contains information to describe an S3 Bucket",
"type": "object",
"required": [
"name"
],
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"io.argoproj.common.S3Filter": {
"description": "S3Filter represents filters to apply to bucket notifications for specifying constraints on objects",
"type": "object",
"required": [
"prefix",
"suffix"
],
"properties": {
"prefix": {
"type": "string"
},
"suffix": {
"type": "string"
}
}
},
"io.argoproj.common.SASLConfig": {
"description": "SASLConfig refers to SASL configuration for a client",
"type": "object",
"properties": {
"mechanism": {
"description": "SASLMechanism is the name of the enabled SASL mechanism. Possible values: OAUTHBEARER, PLAIN (defaults to PLAIN).",
"type": "string"
},
"passwordSecret": {
"description": "Password for SASL/PLAIN authentication",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"userSecret": {
"description": "User is the authentication identity (authcid) to present for SASL/PLAIN or SASL/SCRAM authentication",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
}
},
"io.argoproj.common.SecureHeader": {
"description": "SecureHeader refers to HTTP Headers with auth tokens as values",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"valueFrom": {
"description": "Values can be read from either secrets or configmaps",
"$ref": "#/definitions/io.argoproj.common.ValueFromSource"
}
}
},
"io.argoproj.common.Status": {
"description": "Status is a common structure which can be used for Status field.",
"type": "object",
"properties": {
"conditions": {
"description": "Conditions are the latest available observations of a resource's current state.",
"type": "array",
"items": {
"$ref": "#/definitions/io.argoproj.common.Condition"
},
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
}
}
},
"io.argoproj.common.TLSConfig": {
"description": "TLSConfig refers to TLS configuration for a client.",
"type": "object",
"properties": {
"caCertSecret": {
"description": "CACertSecret refers to the secret that contains the CA cert",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"clientCertSecret": {
"description": "ClientCertSecret refers to the secret that contains the client cert",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"clientKeySecret": {
"description": "ClientKeySecret refers to the secret that contains the client key",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"insecureSkipVerify": {
"description": "If true, skips creation of TLSConfig with certs and creates an empty TLSConfig. (Defaults to false)",
"type": "boolean"
}
}
},
"io.argoproj.common.ValueFromSource": {
"description": "ValueFromSource allows you to reference keys from either a Configmap or Secret",
"type": "object",
"properties": {
"configMapKeyRef": {
"$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapKeySelector"
},
"secretKeyRef": {
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
}
},
"io.argoproj.eventbus.v1alpha1.BusConfig": {
"description": "BusConfig has the finalized configuration for EventBus",
"type": "object",
"properties": {
"nats": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.NATSConfig"
}
}
},
"io.argoproj.eventbus.v1alpha1.ContainerTemplate": {
"description": "ContainerTemplate defines customized spec for a container",
"type": "object",
"properties": {
"imagePullPolicy": {
"type": "string"
},
"resources": {
"$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements"
},
"securityContext": {
"$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext"
}
}
},
"io.argoproj.eventbus.v1alpha1.EventBus": {
"description": "EventBus is the definition of a eventbus resource",
"type": "object",
"required": [
"metadata",
"spec"
],
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
},
"spec": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.EventBusSpec"
},
"status": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.EventBusStatus"
}
}
},
"io.argoproj.eventbus.v1alpha1.EventBusList": {
"description": "EventBusList is the list of eventbus resources",
"type": "object",
"required": [
"metadata",
"items"
],
"properties": {
"apiVersion": {
"description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
"type": "string"
},
"items": {
"type": "array",
"items": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.EventBus"
}
},
"kind": {
"description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
"type": "string"
},
"metadata": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"
}
}
},
"io.argoproj.eventbus.v1alpha1.EventBusSpec": {
"description": "EventBusSpec refers to specification of eventbus resource",
"type": "object",
"properties": {
"nats": {
"description": "NATS eventbus",
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.NATSBus"
}
}
},
"io.argoproj.eventbus.v1alpha1.EventBusStatus": {
"description": "EventBusStatus holds the status of the eventbus resource",
"type": "object",
"properties": {
"conditions": {
"description": "Conditions are the latest available observations of a resource's current state.",
"type": "array",
"items": {
"$ref": "#/definitions/io.argoproj.common.Condition"
},
"x-kubernetes-patch-merge-key": "type",
"x-kubernetes-patch-strategy": "merge"
},
"config": {
"description": "Config holds the fininalized configuration of EventBus",
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.BusConfig"
}
}
},
"io.argoproj.eventbus.v1alpha1.NATSBus": {
"description": "NATSBus holds the NATS eventbus information",
"type": "object",
"properties": {
"exotic": {
"description": "Exotic holds an exotic NATS config",
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.NATSConfig"
},
"native": {
"description": "Native means to bring up a native NATS service",
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.NativeStrategy"
}
}
},
"io.argoproj.eventbus.v1alpha1.NATSConfig": {
"description": "NATSConfig holds the config of NATS",
"type": "object",
"properties": {
"accessSecret": {
"description": "Secret for auth",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"auth": {
"description": "Auth strategy, default to AuthStrategyNone",
"type": "string"
},
"clusterID": {
"description": "Cluster ID for nats streaming",
"type": "string"
},
"url": {
"description": "NATS streaming url",
"type": "string"
}
}
},
"io.argoproj.eventbus.v1alpha1.NativeStrategy": {
"description": "NativeStrategy indicates to install a native NATS service",
"type": "object",
"properties": {
"affinity": {
"description": "The pod's scheduling constraints More info: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/",
"$ref": "#/definitions/io.k8s.api.core.v1.Affinity"
},
"auth": {
"type": "string"
},
"containerTemplate": {
"description": "ContainerTemplate contains customized spec for NATS container",
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.ContainerTemplate"
},
"imagePullSecrets": {
"description": "ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. For example, in the case of docker, only DockerConfig type secrets are honored. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod",
"type": "array",
"items": {
"$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference"
},
"x-kubernetes-patch-merge-key": "name",
"x-kubernetes-patch-strategy": "merge"
},
"maxAge": {
"description": "Max Age of existing messages, i.e. \"72h\", “4h35m”",
"type": "string"
},
"maxBytes": {
"description": "Total size of messages per channel, 0 means unlimited. Defaults to 1GB",
"type": "string"
},
"maxMsgs": {
"description": "Maximum number of messages per channel, 0 means unlimited. Defaults to 1000000",
"type": "integer",
"format": "int64"
},
"maxPayload": {
"description": "Maximum number of bytes in a message payload, 0 means unlimited. Defaults to 1MB",
"type": "string"
},
"maxSubs": {
"description": "Maximum number of subscriptions per channel, 0 means unlimited. Defaults to 1000",
"type": "integer",
"format": "int64"
},
"metadata": {
"description": "Metadata sets the pods's metadata, i.e. annotations and labels",
"$ref": "#/definitions/io.argoproj.common.Metadata"
},
"metricsContainerTemplate": {
"description": "MetricsContainerTemplate contains customized spec for metrics container",
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.ContainerTemplate"
},
"nodeSelector": {
"description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"persistence": {
"$ref": "#/definitions/io.argoproj.eventbus.v1alpha1.PersistenceStrategy"
},
"priority": {
"description": "The priority value. Various system components use this field to find the priority of the EventSource pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/",
"type": "integer",
"format": "int32"
},
"priorityClassName": {
"description": "If specified, indicates the EventSource pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default. More info: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/",
"type": "string"
},
"raftCommitTimeout": {
"description": "Specifies the time without an Apply() operation before sending an heartbeat to ensure timely commit, i.e. \"72h\", “4h35m”. Defaults to 100ms",
"type": "string"
},
"raftElectionTimeout": {
"description": "Specifies the time in candidate state without a leader before attempting an election, i.e. \"72h\", “4h35m”. Defaults to 2s",
"type": "string"
},
"raftHeartbeatTimeout": {
"description": "Specifies the time in follower state without a leader before attempting an election, i.e. \"72h\", “4h35m”. Defaults to 2s",
"type": "string"
},
"raftLeaseTimeout": {
"description": "Specifies how long a leader waits without being able to contact a quorum of nodes before stepping down as leader, i.e. \"72h\", “4h35m”. Defaults to 1s",
"type": "string"
},
"replicas": {
"description": "Size is the NATS StatefulSet size",
"type": "integer",
"format": "int32"
},
"securityContext": {
"description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.",
"$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext"
},
"serviceAccountName": {
"description": "ServiceAccountName to apply to NATS StatefulSet",
"type": "string"
},
"tolerations": {
"description": "If specified, the pod's tolerations.",
"type": "array",
"items": {
"$ref": "#/definitions/io.k8s.api.core.v1.Toleration"
}
}
}
},
"io.argoproj.eventbus.v1alpha1.PersistenceStrategy": {
"description": "PersistenceStrategy defines the strategy of persistence",
"type": "object",
"properties": {
"accessMode": {
"description": "Available access modes such as ReadWriteOnce, ReadWriteMany https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes",
"type": "string"
},
"storageClassName": {
"description": "Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1",
"type": "string"
},
"volumeSize": {
"description": "Volume size, e.g. 10Gi",
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity"
}
}
},
"io.argoproj.eventsource.v1alpha1.AMQPConsumeConfig": {
"description": "AMQPConsumeConfig holds the configuration to immediately starts delivering queued messages",
"type": "object",
"properties": {
"autoAck": {
"description": "AutoAck when true, the server will acknowledge deliveries to this consumer prior to writing the delivery to the network",
"type": "boolean"
},
"consumerTag": {
"description": "ConsumerTag is the identity of the consumer included in every delivery",
"type": "string"
},
"exclusive": {
"description": "Exclusive when true, the server will ensure that this is the sole consumer from this queue",
"type": "boolean"
},
"noLocal": {
"description": "NoLocal flag is not supported by RabbitMQ",
"type": "boolean"
},
"noWait": {
"description": "NowWait when true, do not wait for the server to confirm the request and immediately begin deliveries",
"type": "boolean"
}
}
},
"io.argoproj.eventsource.v1alpha1.AMQPEventSource": {
"description": "AMQPEventSource refers to an event-source for AMQP stream events",
"type": "object",
"required": [
"exchangeName",
"exchangeType",
"routingKey"
],
"properties": {
"auth": {
"description": "Auth hosts secret selectors for username and password",
"$ref": "#/definitions/io.argoproj.common.BasicAuth"
},
"connectionBackoff": {
"description": "Backoff holds parameters applied to connection.",
"$ref": "#/definitions/io.argoproj.common.Backoff"
},
"consume": {
"description": "Consume holds the configuration to immediately starts delivering queued messages For more information, visit https://godoc.org/github.com/streadway/amqp#Channel.Consume",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.AMQPConsumeConfig"
},
"exchangeDeclare": {
"description": "ExchangeDeclare holds the configuration for the exchange on the server For more information, visit https://godoc.org/github.com/streadway/amqp#Channel.ExchangeDeclare",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.AMQPExchangeDeclareConfig"
},
"exchangeName": {
"description": "ExchangeName is the exchange name For more information, visit https://www.rabbitmq.com/tutorials/amqp-concepts.html",
"type": "string"
},
"exchangeType": {
"description": "ExchangeType is rabbitmq exchange type",
"type": "string"
},
"filter": {
"description": "Filter",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.EventSourceFilter"
},
"jsonBody": {
"description": "JSONBody specifies that all event body payload coming from this source will be JSON",
"type": "boolean"
},
"metadata": {
"description": "Metadata holds the user defined metadata which will passed along the event payload.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"queueBind": {
"description": "QueueBind holds the configuration that binds an exchange to a queue so that publishings to the exchange will be routed to the queue when the publishing routing key matches the binding routing key For more information, visit https://godoc.org/github.com/streadway/amqp#Channel.QueueBind",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.AMQPQueueBindConfig"
},
"queueDeclare": {
"description": "QueueDeclare holds the configuration of a queue to hold messages and deliver to consumers. Declaring creates a queue if it doesn't already exist, or ensures that an existing queue matches the same parameters For more information, visit https://godoc.org/github.com/streadway/amqp#Channel.QueueDeclare",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.AMQPQueueDeclareConfig"
},
"routingKey": {
"description": "Routing key for bindings",
"type": "string"
},
"tls": {
"description": "TLS configuration for the amqp client.",
"$ref": "#/definitions/io.argoproj.common.TLSConfig"
},
"url": {
"description": "URL for rabbitmq service",
"type": "string"
},
"urlSecret": {
"description": "URLSecret is secret reference for rabbitmq service URL",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
}
},
"io.argoproj.eventsource.v1alpha1.AMQPExchangeDeclareConfig": {
"description": "AMQPExchangeDeclareConfig holds the configuration for the exchange on the server",
"type": "object",
"properties": {
"autoDelete": {
"description": "AutoDelete removes the exchange when no bindings are active",
"type": "boolean"
},
"durable": {
"description": "Durable keeps the exchange also after the server restarts",
"type": "boolean"
},
"internal": {
"description": "Internal when true does not accept publishings",
"type": "boolean"
},
"noWait": {
"description": "NowWait when true does not wait for a confirmation from the server",
"type": "boolean"
}
}
},
"io.argoproj.eventsource.v1alpha1.AMQPQueueBindConfig": {
"description": "AMQPQueueBindConfig holds the configuration that binds an exchange to a queue so that publishings to the exchange will be routed to the queue when the publishing routing key matches the binding routing key",
"type": "object",
"properties": {
"noWait": {
"description": "NowWait false and the queue could not be bound, the channel will be closed with an error",
"type": "boolean"
}
}
},
"io.argoproj.eventsource.v1alpha1.AMQPQueueDeclareConfig": {
"description": "AMQPQueueDeclareConfig holds the configuration of a queue to hold messages and deliver to consumers. Declaring creates a queue if it doesn't already exist, or ensures that an existing queue matches the same parameters",
"type": "object",
"properties": {
"arguments": {
"description": "Arguments of a queue (also known as \"x-arguments\") used for optional features and plugins",
"type": "string"
},
"autoDelete": {
"description": "AutoDelete removes the queue when no consumers are active",
"type": "boolean"
},
"durable": {
"description": "Durable keeps the queue also after the server restarts",
"type": "boolean"
},
"exclusive": {
"description": "Exclusive sets the queues to be accessible only by the connection that declares them and will be deleted wgen the connection closes",
"type": "boolean"
},
"name": {
"description": "Name of the queue. If empty the server auto-generates a unique name for this queue",
"type": "string"
},
"noWait": {
"description": "NowWait when true, the queue assumes to be declared on the server",
"type": "boolean"
}
}
},
"io.argoproj.eventsource.v1alpha1.AzureEventsHubEventSource": {
"description": "AzureEventsHubEventSource describes the event source for azure events hub More info at https://docs.microsoft.com/en-us/azure/event-hubs/",
"type": "object",
"required": [
"fqdn",
"hubName"
],
"properties": {
"filter": {
"description": "Filter",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.EventSourceFilter"
},
"fqdn": {
"description": "FQDN of the EventHubs namespace you created More info at https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-get-connection-string",
"type": "string"
},
"hubName": {
"description": "Event Hub path/name",
"type": "string"
},
"metadata": {
"description": "Metadata holds the user defined metadata which will passed along the event payload.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"sharedAccessKey": {
"description": "SharedAccessKey is the generated value of the key",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"sharedAccessKeyName": {
"description": "SharedAccessKeyName is the name you chose for your application's SAS keys",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
}
},
"io.argoproj.eventsource.v1alpha1.BitbucketAuth": {
"description": "BitbucketAuth holds the different auth strategies for connecting to Bitbucket",
"type": "object",
"properties": {
"basic": {
"description": "Basic is BasicAuth auth strategy.",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.BitbucketBasicAuth"
},
"oauthToken": {
"description": "OAuthToken refers to the K8s secret that holds the OAuth Bearer token.",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
}
},
"io.argoproj.eventsource.v1alpha1.BitbucketBasicAuth": {
"description": "BasicAuth holds the information required to authenticate user via basic auth mechanism",
"type": "object",
"required": [
"username",
"password"
],
"properties": {
"password": {
"description": "Password refers to the K8s secret that holds the password.",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"username": {
"description": "Username refers to the K8s secret that holds the username.",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
}
},
"io.argoproj.eventsource.v1alpha1.BitbucketEventSource": {
"description": "BitbucketEventSource describes the event source for Bitbucket",
"type": "object",
"required": [
"webhook",
"auth",
"events",
"owner",
"projectKey",
"repositorySlug"
],
"properties": {
"auth": {
"description": "Auth information required to connect to Bitbucket.",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.BitbucketAuth"
},
"deleteHookOnFinish": {
"description": "DeleteHookOnFinish determines whether to delete the defined Bitbucket hook once the event source is stopped.",
"type": "boolean"
},
"events": {
"description": "Events this webhook is subscribed to.",
"type": "array",
"items": {
"type": "string"
}
},
"filter": {
"description": "Filter",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.EventSourceFilter"
},
"metadata": {
"description": "Metadata holds the user defined metadata which will be passed along the event payload.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"owner": {
"description": "Owner of the repository.",
"type": "string"
},
"projectKey": {
"description": "ProjectKey is the key of the project for which integration needs to setup",
"type": "string"
},
"repositorySlug": {
"description": "RepositorySlug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL.",
"type": "string"
},
"webhook": {
"description": "Webhook refers to the configuration required to run an http server",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.WebhookContext"
}
}
},
"io.argoproj.eventsource.v1alpha1.BitbucketServerEventSource": {
"description": "BitbucketServerEventSource refers to event-source related to Bitbucket Server events",
"type": "object",
"required": [
"events",
"bitbucketserverBaseURL"
],
"properties": {
"accessToken": {
"description": "AccessToken is reference to K8s secret which holds the bitbucket api access information",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
},
"bitbucketserverBaseURL": {
"description": "BitbucketServerBaseURL is the base URL for API requests to a custom endpoint",
"type": "string"
},
"deleteHookOnFinish": {
"description": "DeleteHookOnFinish determines whether to delete the Bitbucket Server hook for the project once the event source is stopped.",
"type": "boolean"
},
"events": {
"description": "Events are bitbucket event to listen to. Refer https://confluence.atlassian.com/bitbucketserver/event-payload-938025882.html",
"type": "array",
"items": {
"type": "string"
}
},
"filter": {
"description": "Filter",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.EventSourceFilter"
},
"metadata": {
"description": "Metadata holds the user defined metadata which will passed along the event payload.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"projectKey": {
"description": "DeprecatedProjectKey is the key of project for which integration needs to setup Deprecated: use Repositories instead. Will be unsupported in v1.8",
"type": "string"
},
"repositories": {
"description": "Repositories holds a list of repositories for which integration needs to setup",
"type": "array",
"items": {
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.BitbucketServerRepository"
}
},
"repositorySlug": {
"description": "DeprecatedRepositorySlug is the slug of the repository for which integration needs to setup Deprecated: use Repositories instead. Will be unsupported in v1.8",
"type": "string"
},
"webhook": {
"description": "Webhook holds configuration to run a http server",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.WebhookContext"
},
"webhookSecret": {
"description": "WebhookSecret is reference to K8s secret which holds the bitbucket webhook secret (for HMAC validation)",
"$ref": "#/definitions/io.k8s.api.core.v1.SecretKeySelector"
}
}
},
"io.argoproj.eventsource.v1alpha1.BitbucketServerRepository": {
"type": "object",
"required": [
"projectKey",
"repositorySlug"
],
"properties": {
"projectKey": {
"description": "ProjectKey is the key of project for which integration needs to setup",
"type": "string"
},
"repositorySlug": {
"description": "RepositorySlug is the slug of the repository for which integration needs to setup",
"type": "string"
}
}
},
"io.argoproj.eventsource.v1alpha1.CalendarEventSource": {
"description": "CalendarEventSource describes a time based dependency. One of the fields (schedule, interval, or recurrence) must be passed. Schedule takes precedence over interval; interval takes precedence over recurrence",
"type": "object",
"properties": {
"exclusionDates": {
"description": "ExclusionDates defines the list of DATE-TIME exceptions for recurring events.",
"type": "array",
"items": {
"type": "string"
}
},
"filter": {
"description": "Filter",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.EventSourceFilter"
},
"interval": {
"description": "Interval is a string that describes an interval duration, e.g. 1s, 30m, 2h...",
"type": "string"
},
"metadata": {
"description": "Metadata holds the user defined metadata which will passed along the event payload.",
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"persistence": {
"description": "Persistence hold the configuration for event persistence",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.EventPersistence"
},
"schedule": {
"description": "Schedule is a cron-like expression. For reference, see: https://en.wikipedia.org/wiki/Cron",
"type": "string"
},
"timezone": {
"description": "Timezone in which to run the schedule",
"type": "string"
}
}
},
"io.argoproj.eventsource.v1alpha1.CatchupConfiguration": {
"type": "object",
"properties": {
"enabled": {
"description": "Enabled enables to triggered the missed schedule when eventsource restarts",
"type": "boolean"
},
"maxDuration": {
"description": "MaxDuration holds max catchup duration",
"type": "string"
}
}
},
"io.argoproj.eventsource.v1alpha1.ConfigMapPersistence": {
"type": "object",
"properties": {
"createIfNotExist": {
"description": "CreateIfNotExist will create configmap if it doesn't exists",
"type": "boolean"
},
"name": {
"description": "Name of the configmap",
"type": "string"
}
}
},
"io.argoproj.eventsource.v1alpha1.EmitterEventSource": {
"description": "EmitterEventSource describes the event source for emitter More info at https://emitter.io/develop/getting-started/",
"type": "object",
"required": [
"broker",
"channelKey",
"channelName"
],
"properties": {
"broker": {
"description": "Broker URI to connect to.",
"type": "string"
},
"channelKey": {
"description": "ChannelKey refers to the channel key",
"type": "string"
},
"channelName": {
"description": "ChannelName refers to the channel name",
"type": "string"
},
"connectionBackoff": {
"description": "Backoff holds parameters applied to connection.",
"$ref": "#/definitions/io.argoproj.common.Backoff"
},
"filter": {
"description": "Filter",
"$ref": "#/definitions/io.argoproj.eventsource.v1alpha1.EventSourceFilter"
},
"jsonBody": {
"description": "JSONBody specifies that all event body payload coming from this source will be JSON",
"type": "boolean"
},
"metadata": {