Skip to content

Commit 29b8738

Browse files
authored
change endpoint protocol type to EndpointProtocol (#206)
Signed-off-by: Stephanie <yangcao@redhat.com>
1 parent 6aa1dc0 commit 29b8738

19 files changed

+1000
-61
lines changed

crds/workspace.devfile.io_devworkspaces.v1beta1.yaml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,11 @@ spec:
511511
will have traffic on an UDP connection, without
512512
specifying an application protocol. \n Default
513513
value is `http`"
514+
enum:
515+
- http
516+
- ws
517+
- tcp
518+
- udp
514519
type: string
515520
secure:
516521
description: Describes whether the endpoint should
@@ -667,6 +672,11 @@ spec:
667672
will have traffic on an UDP connection, without
668673
specifying an application protocol. \n Default
669674
value is `http`"
675+
enum:
676+
- http
677+
- ws
678+
- tcp
679+
- udp
670680
type: string
671681
secure:
672682
description: Describes whether the endpoint should
@@ -764,6 +774,11 @@ spec:
764774
will have traffic on an UDP connection, without
765775
specifying an application protocol. \n Default
766776
value is `http`"
777+
enum:
778+
- http
779+
- ws
780+
- tcp
781+
- udp
767782
type: string
768783
secure:
769784
description: Describes whether the endpoint should
@@ -1220,6 +1235,11 @@ spec:
12201235
on an UDP connection, without specifying
12211236
an application protocol. \n Default
12221237
value is `http`"
1238+
enum:
1239+
- http
1240+
- ws
1241+
- tcp
1242+
- udp
12231243
type: string
12241244
secure:
12251245
description: Describes whether the endpoint
@@ -1365,6 +1385,11 @@ spec:
13651385
on an UDP connection, without specifying
13661386
an application protocol. \n Default
13671387
value is `http`"
1388+
enum:
1389+
- http
1390+
- ws
1391+
- tcp
1392+
- udp
13681393
type: string
13691394
secure:
13701395
description: Describes whether the endpoint
@@ -1471,6 +1496,11 @@ spec:
14711496
on an UDP connection, without specifying
14721497
an application protocol. \n Default
14731498
value is `http`"
1499+
enum:
1500+
- http
1501+
- ws
1502+
- tcp
1503+
- udp
14741504
type: string
14751505
secure:
14761506
description: Describes whether the endpoint
@@ -2000,6 +2030,11 @@ spec:
20002030
will have traffic on an UDP connection, without
20012031
specifying an application protocol. \n Default
20022032
value is `http`"
2033+
enum:
2034+
- http
2035+
- ws
2036+
- tcp
2037+
- udp
20032038
type: string
20042039
secure:
20052040
description: Describes whether the endpoint
@@ -2135,6 +2170,11 @@ spec:
21352170
will have traffic on an UDP connection, without
21362171
specifying an application protocol. \n Default
21372172
value is `http`"
2173+
enum:
2174+
- http
2175+
- ws
2176+
- tcp
2177+
- udp
21382178
type: string
21392179
secure:
21402180
description: Describes whether the endpoint
@@ -2233,6 +2273,11 @@ spec:
22332273
will have traffic on an UDP connection, without
22342274
specifying an application protocol. \n Default
22352275
value is `http`"
2276+
enum:
2277+
- http
2278+
- ws
2279+
- tcp
2280+
- udp
22362281
type: string
22372282
secure:
22382283
description: Describes whether the endpoint
@@ -2703,6 +2748,11 @@ spec:
27032748
UDP connection, without specifying
27042749
an application protocol. \n Default
27052750
value is `http`"
2751+
enum:
2752+
- http
2753+
- ws
2754+
- tcp
2755+
- udp
27062756
type: string
27072757
secure:
27082758
description: Describes whether the
@@ -2856,6 +2906,11 @@ spec:
28562906
UDP connection, without specifying
28572907
an application protocol. \n Default
28582908
value is `http`"
2909+
enum:
2910+
- http
2911+
- ws
2912+
- tcp
2913+
- udp
28592914
type: string
28602915
secure:
28612916
description: Describes whether the
@@ -2968,6 +3023,11 @@ spec:
29683023
UDP connection, without specifying
29693024
an application protocol. \n Default
29703025
value is `http`"
3026+
enum:
3027+
- http
3028+
- ws
3029+
- tcp
3030+
- udp
29713031
type: string
29723032
secure:
29733033
description: Describes whether the

crds/workspace.devfile.io_devworkspaces.yaml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,11 @@ spec:
521521
will have traffic on an UDP connection, without
522522
specifying an application protocol. \n Default
523523
value is `http`"
524+
enum:
525+
- http
526+
- ws
527+
- tcp
528+
- udp
524529
type: string
525530
secure:
526531
description: Describes whether the endpoint should
@@ -682,6 +687,11 @@ spec:
682687
will have traffic on an UDP connection, without
683688
specifying an application protocol. \n Default
684689
value is `http`"
690+
enum:
691+
- http
692+
- ws
693+
- tcp
694+
- udp
685695
type: string
686696
secure:
687697
description: Describes whether the endpoint should
@@ -782,6 +792,11 @@ spec:
782792
will have traffic on an UDP connection, without
783793
specifying an application protocol. \n Default
784794
value is `http`"
795+
enum:
796+
- http
797+
- ws
798+
- tcp
799+
- udp
785800
type: string
786801
secure:
787802
description: Describes whether the endpoint should
@@ -1245,6 +1260,11 @@ spec:
12451260
connection, without specifying an
12461261
application protocol. \n Default value
12471262
is `http`"
1263+
enum:
1264+
- http
1265+
- ws
1266+
- tcp
1267+
- udp
12481268
type: string
12491269
secure:
12501270
description: Describes whether the endpoint
@@ -1392,6 +1412,11 @@ spec:
13921412
connection, without specifying an
13931413
application protocol. \n Default value
13941414
is `http`"
1415+
enum:
1416+
- http
1417+
- ws
1418+
- tcp
1419+
- udp
13951420
type: string
13961421
secure:
13971422
description: Describes whether the endpoint
@@ -1500,6 +1525,11 @@ spec:
15001525
connection, without specifying an
15011526
application protocol. \n Default value
15021527
is `http`"
1528+
enum:
1529+
- http
1530+
- ws
1531+
- tcp
1532+
- udp
15031533
type: string
15041534
secure:
15051535
description: Describes whether the endpoint
@@ -2033,6 +2063,11 @@ spec:
20332063
an UDP connection, without specifying an
20342064
application protocol. \n Default value is
20352065
`http`"
2066+
enum:
2067+
- http
2068+
- ws
2069+
- tcp
2070+
- udp
20362071
type: string
20372072
secure:
20382073
description: Describes whether the endpoint
@@ -2172,6 +2207,11 @@ spec:
21722207
an UDP connection, without specifying an
21732208
application protocol. \n Default value is
21742209
`http`"
2210+
enum:
2211+
- http
2212+
- ws
2213+
- tcp
2214+
- udp
21752215
type: string
21762216
secure:
21772217
description: Describes whether the endpoint
@@ -2272,6 +2312,11 @@ spec:
22722312
an UDP connection, without specifying an
22732313
application protocol. \n Default value is
22742314
`http`"
2315+
enum:
2316+
- http
2317+
- ws
2318+
- tcp
2319+
- udp
22752320
type: string
22762321
secure:
22772322
description: Describes whether the endpoint
@@ -2748,6 +2793,11 @@ spec:
27482793
without specifying an application
27492794
protocol. \n Default value is
27502795
`http`"
2796+
enum:
2797+
- http
2798+
- ws
2799+
- tcp
2800+
- udp
27512801
type: string
27522802
secure:
27532803
description: Describes whether the
@@ -2905,6 +2955,11 @@ spec:
29052955
without specifying an application
29062956
protocol. \n Default value is
29072957
`http`"
2958+
enum:
2959+
- http
2960+
- ws
2961+
- tcp
2962+
- udp
29082963
type: string
29092964
secure:
29102965
description: Describes whether the
@@ -3020,6 +3075,11 @@ spec:
30203075
without specifying an application
30213076
protocol. \n Default value is
30223077
`http`"
3078+
enum:
3079+
- http
3080+
- ws
3081+
- tcp
3082+
- udp
30233083
type: string
30243084
secure:
30253085
description: Describes whether the

0 commit comments

Comments
 (0)