@daocloud-proto/skoala 0.6.1-40 → 0.6.1-42
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.
- package/api/hosted/v1alpha1/api.pb.ts +0 -21
- package/api/hosted/v1alpha1/extension.pb.ts +0 -18
- package/api/hosted/v1alpha1/gateway.pb.ts +0 -16
- package/api/hosted/v1alpha1/gatewayservice.pb.ts +0 -12
- package/api/hosted/v1alpha1/nacos.pb.ts +51 -59
- package/api/hosted/v1alpha1/plugins.pb.ts +0 -9
- package/api/hosted/v1alpha1/sentinel.pb.ts +15 -33
- package/api/hosted/v1alpha1/virtualhost.pb.ts +0 -12
- package/api/integrated/v1alpha1/instance.pb.ts +0 -4
- package/api/integrated/v1alpha1/registry.pb.ts +0 -12
- package/api/integrated/v1alpha1/service.pb.ts +0 -12
- package/api/skoala/v1alpha1/skoala.pb.ts +99 -90
- package/package.json +1 -1
|
@@ -70,10 +70,6 @@ export type AdvancedAPIReq = {
|
|
|
70
70
|
advancedApiConfig?: AdvancedAPIConfig
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export type AdvancedAPIRes = {
|
|
74
|
-
apiName?: string
|
|
75
|
-
}
|
|
76
|
-
|
|
77
73
|
export type TimeoutPolicy = {
|
|
78
74
|
response?: string
|
|
79
75
|
}
|
|
@@ -168,23 +164,6 @@ export type UpdateAPIStatusReq = {
|
|
|
168
164
|
enabled?: boolean
|
|
169
165
|
}
|
|
170
166
|
|
|
171
|
-
export type UpdateAPIStatusRes = {
|
|
172
|
-
apiName?: string
|
|
173
|
-
enabled?: boolean
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
export type CreateAPIRes = {
|
|
177
|
-
apiName?: string
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
export type UpdateAPIRes = {
|
|
181
|
-
apiName?: string
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
export type DeleteAPIRes = {
|
|
185
|
-
apiName?: string
|
|
186
|
-
}
|
|
187
|
-
|
|
188
167
|
export type GetAPIReq = {
|
|
189
168
|
workspaceId?: string
|
|
190
169
|
clusterName?: string
|
|
@@ -18,9 +18,6 @@ export type CreateGatewayRLSReq = {
|
|
|
18
18
|
config?: GatewayRLSConfig
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export type CreateGatewayRLSRes = {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
21
|
export type GetGatewayRLSReq = {
|
|
25
22
|
workspaceId?: string
|
|
26
23
|
clusterName?: string
|
|
@@ -39,9 +36,6 @@ export type DeleteGatewayRLSReq = {
|
|
|
39
36
|
gatewayName?: string
|
|
40
37
|
}
|
|
41
38
|
|
|
42
|
-
export type DeleteGatewayRLSRes = {
|
|
43
|
-
}
|
|
44
|
-
|
|
45
39
|
export type UpdateGatewayRLSReq = {
|
|
46
40
|
workspaceId?: string
|
|
47
41
|
clusterName?: string
|
|
@@ -50,9 +44,6 @@ export type UpdateGatewayRLSReq = {
|
|
|
50
44
|
config?: GatewayRLSConfig
|
|
51
45
|
}
|
|
52
46
|
|
|
53
|
-
export type UpdateGatewayRLSRes = {
|
|
54
|
-
}
|
|
55
|
-
|
|
56
47
|
export type GatewayAuthzConfig = {
|
|
57
48
|
}
|
|
58
49
|
|
|
@@ -63,9 +54,6 @@ export type CreateGatewayAuthzReq = {
|
|
|
63
54
|
gatewayName?: string
|
|
64
55
|
}
|
|
65
56
|
|
|
66
|
-
export type CreateGatewayAuthzRes = {
|
|
67
|
-
}
|
|
68
|
-
|
|
69
57
|
export type GetGatewayAuthzReq = {
|
|
70
58
|
workspaceId?: string
|
|
71
59
|
clusterName?: string
|
|
@@ -83,15 +71,9 @@ export type DeleteGatewayAuthzReq = {
|
|
|
83
71
|
gatewayName?: string
|
|
84
72
|
}
|
|
85
73
|
|
|
86
|
-
export type DeleteGatewayAuthzRes = {
|
|
87
|
-
}
|
|
88
|
-
|
|
89
74
|
export type UpdateGatewayAuthzReq = {
|
|
90
75
|
workspaceId?: string
|
|
91
76
|
clusterName?: string
|
|
92
77
|
namespaceName?: string
|
|
93
78
|
gatewayName?: string
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export type UpdateGatewayAuthzRes = {
|
|
97
79
|
}
|
|
@@ -207,10 +207,6 @@ export type CreateGatewayReq = {
|
|
|
207
207
|
config?: GatewayConfig
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
export type CreateGatewayRes = {
|
|
211
|
-
status?: SkoalaApiGeneralV1alpha1Common.Status
|
|
212
|
-
}
|
|
213
|
-
|
|
214
210
|
export type CreateGatewayProReq = {
|
|
215
211
|
workspaceId?: string
|
|
216
212
|
gatewayName?: string
|
|
@@ -228,10 +224,6 @@ export type UpdateGatewayReq = {
|
|
|
228
224
|
config?: GatewayConfig
|
|
229
225
|
}
|
|
230
226
|
|
|
231
|
-
export type UpdateGatewayRes = {
|
|
232
|
-
status?: SkoalaApiGeneralV1alpha1Common.Status
|
|
233
|
-
}
|
|
234
|
-
|
|
235
227
|
export type UpdateGatewayProReq = {
|
|
236
228
|
workspaceId?: string
|
|
237
229
|
gatewayName?: string
|
|
@@ -247,10 +239,6 @@ export type DeleteGatewayReq = {
|
|
|
247
239
|
gatewayName?: string
|
|
248
240
|
}
|
|
249
241
|
|
|
250
|
-
export type DeleteGatewayRes = {
|
|
251
|
-
status?: SkoalaApiGeneralV1alpha1Common.Status
|
|
252
|
-
}
|
|
253
|
-
|
|
254
242
|
export type NormalConfig = {
|
|
255
243
|
contour?: ContourNormalConfig
|
|
256
244
|
envoy?: EnvoyNormalConfig
|
|
@@ -384,10 +372,6 @@ export type GatewayDiagnosticReq = {
|
|
|
384
372
|
diagnostic?: GatewayDiagnostic
|
|
385
373
|
}
|
|
386
374
|
|
|
387
|
-
export type GatewayDiagnosticRes = {
|
|
388
|
-
tips?: string
|
|
389
|
-
}
|
|
390
|
-
|
|
391
375
|
export type PodSummary = {
|
|
392
376
|
podName?: string
|
|
393
377
|
namespaceName?: string
|
|
@@ -37,10 +37,6 @@ export type CreateExternalServiceReq = {
|
|
|
37
37
|
circuitBreakerPolicy?: CircuitBreakerPolicy
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
export type CreateExternalServiceRes = {
|
|
41
|
-
sesameId?: string
|
|
42
|
-
}
|
|
43
|
-
|
|
44
40
|
export type GetGatewayServiceReq = {
|
|
45
41
|
workspaceId?: string
|
|
46
42
|
clusterName?: string
|
|
@@ -70,10 +66,6 @@ export type UpdateGatewayServiceReq = {
|
|
|
70
66
|
circuitBreakerPolicy?: CircuitBreakerPolicy
|
|
71
67
|
}
|
|
72
68
|
|
|
73
|
-
export type UpdateGatewayServiceRes = {
|
|
74
|
-
sesameId?: string
|
|
75
|
-
}
|
|
76
|
-
|
|
77
69
|
export type DeleteGatewayServiceReq = {
|
|
78
70
|
workspaceId?: string
|
|
79
71
|
clusterName?: string
|
|
@@ -82,10 +74,6 @@ export type DeleteGatewayServiceReq = {
|
|
|
82
74
|
sesameId?: string
|
|
83
75
|
}
|
|
84
76
|
|
|
85
|
-
export type DeleteGatewayServiceRes = {
|
|
86
|
-
sesameId?: string
|
|
87
|
-
}
|
|
88
|
-
|
|
89
77
|
export type GetGatewayServiceRes = {
|
|
90
78
|
externalServiceConf?: ExternalServiceConf
|
|
91
79
|
circuitBreakerPolicy?: CircuitBreakerPolicy
|
|
@@ -43,6 +43,22 @@ export enum CreateNacosConfigReqPolicy {
|
|
|
43
43
|
OVERWRITE = "OVERWRITE",
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
+
export enum CreateNacosConfigReqType {
|
|
47
|
+
CONFIG_TYPE_UNSPECIFIED = "CONFIG_TYPE_UNSPECIFIED",
|
|
48
|
+
text = "text",
|
|
49
|
+
json = "json",
|
|
50
|
+
xml = "xml",
|
|
51
|
+
yaml = "yaml",
|
|
52
|
+
html = "html",
|
|
53
|
+
properties = "properties",
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export enum NacosNodeStatue {
|
|
57
|
+
NODE_STATUE_UNSPECIFIED = "NODE_STATUE_UNSPECIFIED",
|
|
58
|
+
UP = "UP",
|
|
59
|
+
DOWN = "DOWN",
|
|
60
|
+
}
|
|
61
|
+
|
|
46
62
|
export type ListNacosReq = {
|
|
47
63
|
workspaceId?: string
|
|
48
64
|
clusterName?: string
|
|
@@ -116,9 +132,6 @@ export type UpdateNacosReq = {
|
|
|
116
132
|
config?: NacosConfig
|
|
117
133
|
}
|
|
118
134
|
|
|
119
|
-
export type UpdateNacosRes = {
|
|
120
|
-
}
|
|
121
|
-
|
|
122
135
|
export type CreateNacosReq = {
|
|
123
136
|
workspaceId?: string
|
|
124
137
|
clusterName?: string
|
|
@@ -128,9 +141,6 @@ export type CreateNacosReq = {
|
|
|
128
141
|
config?: NacosConfig
|
|
129
142
|
}
|
|
130
143
|
|
|
131
|
-
export type CreateNacosRes = {
|
|
132
|
-
}
|
|
133
|
-
|
|
134
144
|
export type DeleteNacosReq = {
|
|
135
145
|
workspaceId?: string
|
|
136
146
|
clusterName?: string
|
|
@@ -138,9 +148,6 @@ export type DeleteNacosReq = {
|
|
|
138
148
|
namespaceName?: string
|
|
139
149
|
}
|
|
140
150
|
|
|
141
|
-
export type DeleteNacosRes = {
|
|
142
|
-
}
|
|
143
|
-
|
|
144
151
|
export type RestartNacosReq = {
|
|
145
152
|
workspaceId?: string
|
|
146
153
|
clusterName?: string
|
|
@@ -148,9 +155,6 @@ export type RestartNacosReq = {
|
|
|
148
155
|
namespaceName?: string
|
|
149
156
|
}
|
|
150
157
|
|
|
151
|
-
export type RestartNacosRes = {
|
|
152
|
-
}
|
|
153
|
-
|
|
154
158
|
export type NacosConfig = {
|
|
155
159
|
type?: NacosConfigType
|
|
156
160
|
version?: string
|
|
@@ -288,10 +292,6 @@ export type UpdateNacosServiceReq = {
|
|
|
288
292
|
selector?: string
|
|
289
293
|
}
|
|
290
294
|
|
|
291
|
-
export type UpdateNacosServiceRes = {
|
|
292
|
-
success?: boolean
|
|
293
|
-
}
|
|
294
|
-
|
|
295
295
|
export type DeleteNacosServiceReq = {
|
|
296
296
|
workspaceId?: string
|
|
297
297
|
clusterName?: string
|
|
@@ -302,10 +302,6 @@ export type DeleteNacosServiceReq = {
|
|
|
302
302
|
nacosService?: string
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
-
export type DeleteNacosServiceRes = {
|
|
306
|
-
success?: boolean
|
|
307
|
-
}
|
|
308
|
-
|
|
309
305
|
export type GetNacosServiceAPIReq = {
|
|
310
306
|
workspaceId?: string
|
|
311
307
|
clusterName?: string
|
|
@@ -332,10 +328,6 @@ export type CreateNacosServiceAPIReq = {
|
|
|
332
328
|
detail?: string
|
|
333
329
|
}
|
|
334
330
|
|
|
335
|
-
export type CreateNacosServiceAPIRes = {
|
|
336
|
-
api?: SkoalaApiGeneralV1alpha1Common.API
|
|
337
|
-
}
|
|
338
|
-
|
|
339
331
|
export type UpdateNacosServiceAPIReq = {
|
|
340
332
|
workspaceId?: string
|
|
341
333
|
clusterName?: string
|
|
@@ -349,10 +341,6 @@ export type UpdateNacosServiceAPIReq = {
|
|
|
349
341
|
detail?: string
|
|
350
342
|
}
|
|
351
343
|
|
|
352
|
-
export type UpdateNacosServiceAPIRes = {
|
|
353
|
-
api?: SkoalaApiGeneralV1alpha1Common.API
|
|
354
|
-
}
|
|
355
|
-
|
|
356
344
|
export type DeleteNacosServiceAPIReq = {
|
|
357
345
|
workspaceId?: string
|
|
358
346
|
clusterName?: string
|
|
@@ -364,10 +352,6 @@ export type DeleteNacosServiceAPIReq = {
|
|
|
364
352
|
apiId?: number
|
|
365
353
|
}
|
|
366
354
|
|
|
367
|
-
export type DeleteNacosServiceAPIRes = {
|
|
368
|
-
success?: boolean
|
|
369
|
-
}
|
|
370
|
-
|
|
371
355
|
export type ListNacosServiceInstanceReq = {
|
|
372
356
|
workspaceId?: string
|
|
373
357
|
clusterName?: string
|
|
@@ -442,10 +426,6 @@ export type UpdateNacosServiceInstanceReq = {
|
|
|
442
426
|
nacosInstanceId?: string
|
|
443
427
|
}
|
|
444
428
|
|
|
445
|
-
export type UpdateNacosServiceInstanceRes = {
|
|
446
|
-
success?: boolean
|
|
447
|
-
}
|
|
448
|
-
|
|
449
429
|
export type NacosServiceSubscriber = {
|
|
450
430
|
addrStr?: string
|
|
451
431
|
agent?: string
|
|
@@ -506,10 +486,6 @@ export type CreateNacosNamespaceReq = {
|
|
|
506
486
|
namespaceDesc?: string
|
|
507
487
|
}
|
|
508
488
|
|
|
509
|
-
export type CreateNacosNamespaceRes = {
|
|
510
|
-
success?: boolean
|
|
511
|
-
}
|
|
512
|
-
|
|
513
489
|
export type UpdateNacosNamespaceReq = {
|
|
514
490
|
workspaceId?: string
|
|
515
491
|
clusterName?: string
|
|
@@ -520,10 +496,6 @@ export type UpdateNacosNamespaceReq = {
|
|
|
520
496
|
namespaceDesc?: string
|
|
521
497
|
}
|
|
522
498
|
|
|
523
|
-
export type UpdateNacosNamespaceRes = {
|
|
524
|
-
success?: boolean
|
|
525
|
-
}
|
|
526
|
-
|
|
527
499
|
export type DeleteNacosNamespaceReq = {
|
|
528
500
|
workspaceId?: string
|
|
529
501
|
clusterName?: string
|
|
@@ -532,10 +504,6 @@ export type DeleteNacosNamespaceReq = {
|
|
|
532
504
|
nacosNamespace?: string
|
|
533
505
|
}
|
|
534
506
|
|
|
535
|
-
export type DeleteNacosNamespaceRes = {
|
|
536
|
-
success?: boolean
|
|
537
|
-
}
|
|
538
|
-
|
|
539
507
|
export type GetNacosNamespaceReq = {
|
|
540
508
|
workspaceId?: string
|
|
541
509
|
clusterName?: string
|
|
@@ -718,17 +686,13 @@ export type CreateNacosConfigReq = {
|
|
|
718
686
|
content?: string
|
|
719
687
|
desc?: string
|
|
720
688
|
configTags?: string
|
|
721
|
-
type?:
|
|
689
|
+
type?: CreateNacosConfigReqType
|
|
722
690
|
appName?: string
|
|
723
691
|
import?: boolean
|
|
724
692
|
policy?: CreateNacosConfigReqPolicy
|
|
725
693
|
file?: Uint8Array
|
|
726
694
|
}
|
|
727
695
|
|
|
728
|
-
export type CreateNacosConfigRes = {
|
|
729
|
-
success?: boolean
|
|
730
|
-
}
|
|
731
|
-
|
|
732
696
|
export type UpdateNacosConfigReq = {
|
|
733
697
|
workspaceId?: string
|
|
734
698
|
clusterName?: string
|
|
@@ -753,10 +717,6 @@ export type UpdateNacosConfigReq = {
|
|
|
753
717
|
schema?: string
|
|
754
718
|
}
|
|
755
719
|
|
|
756
|
-
export type UpdateNacosConfigRes = {
|
|
757
|
-
success?: boolean
|
|
758
|
-
}
|
|
759
|
-
|
|
760
720
|
export type DeleteNacosConfigReq = {
|
|
761
721
|
workspaceId?: string
|
|
762
722
|
clusterName?: string
|
|
@@ -769,8 +729,40 @@ export type DeleteNacosConfigReq = {
|
|
|
769
729
|
ids?: string
|
|
770
730
|
}
|
|
771
731
|
|
|
772
|
-
export type
|
|
773
|
-
|
|
732
|
+
export type ListNodeReq = {
|
|
733
|
+
workspaceId?: string
|
|
734
|
+
clusterName?: string
|
|
735
|
+
namespaceName?: string
|
|
736
|
+
nacosName?: string
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
export type ListNodeRes = {
|
|
740
|
+
items?: NacosNode[]
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export type LeaveNodeReq = {
|
|
744
|
+
workspaceId?: string
|
|
745
|
+
clusterName?: string
|
|
746
|
+
namespaceName?: string
|
|
747
|
+
nacosName?: string
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export type ReportNodeReq = {
|
|
751
|
+
workspaceId?: string
|
|
752
|
+
clusterName?: string
|
|
753
|
+
namespaceName?: string
|
|
754
|
+
nacosName?: string
|
|
755
|
+
node?: NacosNode
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
export type NacosNode = {
|
|
759
|
+
address?: string
|
|
760
|
+
ip?: string
|
|
761
|
+
port?: number
|
|
762
|
+
state?: NacosNodeStatue
|
|
763
|
+
metadata?: string
|
|
764
|
+
abilities?: string
|
|
765
|
+
failAccessCnt?: number
|
|
774
766
|
}
|
|
775
767
|
|
|
776
768
|
export type CheckNacosConfigReq = {
|
|
@@ -62,9 +62,6 @@ export type UpdatePluginReq = {
|
|
|
62
62
|
mesh?: UpdateMeshPluginReq
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
export type UpdatePluginRes = {
|
|
66
|
-
}
|
|
67
|
-
|
|
68
65
|
export type UpdateSentinelPluginReq = {
|
|
69
66
|
enabled?: boolean
|
|
70
67
|
image?: string
|
|
@@ -74,17 +71,11 @@ export type UpdateSentinelPluginReq = {
|
|
|
74
71
|
ports?: SkoalaApiGeneralV1alpha1Service.ServicePort[]
|
|
75
72
|
}
|
|
76
73
|
|
|
77
|
-
export type UpdateSentinelPluginRes = {
|
|
78
|
-
}
|
|
79
|
-
|
|
80
74
|
export type UpdateMeshPluginReq = {
|
|
81
75
|
enabled?: boolean
|
|
82
76
|
name?: string
|
|
83
77
|
}
|
|
84
78
|
|
|
85
|
-
export type UpdateMeshPluginRes = {
|
|
86
|
-
}
|
|
87
|
-
|
|
88
79
|
export type GetGovernReq = {
|
|
89
80
|
workspaceId?: string
|
|
90
81
|
clusterName?: string
|
|
@@ -23,9 +23,9 @@ export type FlowRule = {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export type ListFlowRuleReq = {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
workspaceId?: string
|
|
27
|
+
clusterName?: string
|
|
28
|
+
namespaceName?: string
|
|
29
29
|
sentinelName?: string
|
|
30
30
|
page?: number
|
|
31
31
|
pageSize?: number
|
|
@@ -38,52 +38,34 @@ export type ListFlowRuleRes = {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
export type CreateFlowRuleReq = {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
workspaceId?: string
|
|
42
|
+
clusterName?: string
|
|
43
|
+
namespaceName?: string
|
|
44
44
|
sentinelName?: string
|
|
45
45
|
flowRule?: FlowRule
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export type CreateFlowRuleRes = {
|
|
49
|
-
success?: boolean
|
|
50
|
-
code?: number
|
|
51
|
-
msg?: string
|
|
52
|
-
}
|
|
53
|
-
|
|
54
48
|
export type UpdateFlowRuleReq = {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
49
|
+
workspaceId?: string
|
|
50
|
+
clusterName?: string
|
|
51
|
+
namespaceName?: string
|
|
58
52
|
sentinelName?: string
|
|
59
53
|
flowRuleId?: number
|
|
60
54
|
flowRule?: FlowRule
|
|
61
55
|
}
|
|
62
56
|
|
|
63
|
-
export type UpdateFlowRuleRes = {
|
|
64
|
-
success?: boolean
|
|
65
|
-
code?: number
|
|
66
|
-
msg?: string
|
|
67
|
-
}
|
|
68
|
-
|
|
69
57
|
export type DeleteFlowRuleReq = {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
58
|
+
workspaceId?: string
|
|
59
|
+
clusterName?: string
|
|
60
|
+
namespaceName?: string
|
|
73
61
|
sentinelName?: string
|
|
74
62
|
flowRuleId?: number
|
|
75
63
|
}
|
|
76
64
|
|
|
77
|
-
export type DeleteFlowRuleRes = {
|
|
78
|
-
success?: boolean
|
|
79
|
-
code?: number
|
|
80
|
-
msg?: string
|
|
81
|
-
}
|
|
82
|
-
|
|
83
65
|
export type GetAppInstanceReq = {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
66
|
+
workspaceId?: string
|
|
67
|
+
clusterName?: string
|
|
68
|
+
namespaceName?: string
|
|
87
69
|
sentinelName?: string
|
|
88
70
|
serviceName?: string
|
|
89
71
|
instanceIp?: string
|
|
@@ -30,10 +30,6 @@ export type VirtualhostConfig = {
|
|
|
30
30
|
corsPolicy?: CorsPolicy
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export type CreateVirtualhostRes = {
|
|
34
|
-
fqdn?: string
|
|
35
|
-
}
|
|
36
|
-
|
|
37
33
|
export type ListVirtualhostReq = {
|
|
38
34
|
workspaceId?: string
|
|
39
35
|
clusterName?: string
|
|
@@ -82,10 +78,6 @@ export type UpdateVirtualhostReq = {
|
|
|
82
78
|
fqdn?: string
|
|
83
79
|
}
|
|
84
80
|
|
|
85
|
-
export type UpdateVirtualhostRes = {
|
|
86
|
-
fqdn?: string
|
|
87
|
-
}
|
|
88
|
-
|
|
89
81
|
export type DeleteVirtualhostReq = {
|
|
90
82
|
workspaceId?: string
|
|
91
83
|
gatewayName?: string
|
|
@@ -94,10 +86,6 @@ export type DeleteVirtualhostReq = {
|
|
|
94
86
|
fqdn?: string
|
|
95
87
|
}
|
|
96
88
|
|
|
97
|
-
export type DeleteVirtualhostRes = {
|
|
98
|
-
fqdn?: string
|
|
99
|
-
}
|
|
100
|
-
|
|
101
89
|
export type CorsPolicy = {
|
|
102
90
|
allowCredentials?: boolean
|
|
103
91
|
allowHeaders?: string[]
|
|
@@ -76,10 +76,6 @@ export type UpdateRegistryReq = {
|
|
|
76
76
|
isHosted?: boolean
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export type UpdateRegistryRes = {
|
|
80
|
-
registry?: Registry
|
|
81
|
-
}
|
|
82
|
-
|
|
83
79
|
export type CreateRegistryReq = {
|
|
84
80
|
workspaceId?: string
|
|
85
81
|
name?: string
|
|
@@ -90,19 +86,11 @@ export type CreateRegistryReq = {
|
|
|
90
86
|
isHosted?: boolean
|
|
91
87
|
}
|
|
92
88
|
|
|
93
|
-
export type CreateRegistryRes = {
|
|
94
|
-
registry?: RegistryOnlyID
|
|
95
|
-
}
|
|
96
|
-
|
|
97
89
|
export type DeleteRegistryReq = {
|
|
98
90
|
workspaceId?: string
|
|
99
91
|
registryId?: string
|
|
100
92
|
}
|
|
101
93
|
|
|
102
|
-
export type DeleteRegistryRes = {
|
|
103
|
-
registry?: RegistryOnlyID
|
|
104
|
-
}
|
|
105
|
-
|
|
106
94
|
export type PingRegistryReq = {
|
|
107
95
|
workspaceId?: string
|
|
108
96
|
type?: string
|
|
@@ -78,10 +78,6 @@ export type CreateServiceAPIReq = {
|
|
|
78
78
|
detail?: string
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
export type CreateServiceAPIRes = {
|
|
82
|
-
api?: SkoalaApiGeneralV1alpha1Common.API
|
|
83
|
-
}
|
|
84
|
-
|
|
85
81
|
export type UpdateServiceAPIReq = {
|
|
86
82
|
workspaceId?: string
|
|
87
83
|
registryId?: string
|
|
@@ -91,10 +87,6 @@ export type UpdateServiceAPIReq = {
|
|
|
91
87
|
apiId?: number
|
|
92
88
|
}
|
|
93
89
|
|
|
94
|
-
export type UpdateServiceAPIRes = {
|
|
95
|
-
api?: SkoalaApiGeneralV1alpha1Common.API
|
|
96
|
-
}
|
|
97
|
-
|
|
98
90
|
export type DeleteServiceAPIReq = {
|
|
99
91
|
workspaceId?: string
|
|
100
92
|
registryId?: string
|
|
@@ -104,10 +96,6 @@ export type DeleteServiceAPIReq = {
|
|
|
104
96
|
apiId?: number
|
|
105
97
|
}
|
|
106
98
|
|
|
107
|
-
export type DeleteServiceAPIRes = {
|
|
108
|
-
success?: boolean
|
|
109
|
-
}
|
|
110
|
-
|
|
111
99
|
export type NamespaceWithGroup = {
|
|
112
100
|
id?: string
|
|
113
101
|
name?: string
|
|
@@ -67,14 +67,14 @@ export class Registry {
|
|
|
67
67
|
static Get(req: SkoalaApiIntegratedV1alpha1Registry.GetRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Registry.GetRegistryRes> {
|
|
68
68
|
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.GetRegistryReq, SkoalaApiIntegratedV1alpha1Registry.GetRegistryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}?${fm.renderURLSearchParams(req, ["workspaceId", "registryId"])}`, {...initReq, method: "GET"})
|
|
69
69
|
}
|
|
70
|
-
static Create(req: SkoalaApiIntegratedV1alpha1Registry.CreateRegistryReq, initReq?: fm.InitReq): Promise<
|
|
71
|
-
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.CreateRegistryReq,
|
|
70
|
+
static Create(req: SkoalaApiIntegratedV1alpha1Registry.CreateRegistryReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
71
|
+
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.CreateRegistryReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
72
72
|
}
|
|
73
|
-
static Update(req: SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryReq, initReq?: fm.InitReq): Promise<
|
|
74
|
-
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryReq,
|
|
73
|
+
static Update(req: SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
74
|
+
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
75
75
|
}
|
|
76
|
-
static Delete(req: SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryReq, initReq?: fm.InitReq): Promise<
|
|
77
|
-
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryReq,
|
|
76
|
+
static Delete(req: SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
77
|
+
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}`, {...initReq, method: "DELETE"})
|
|
78
78
|
}
|
|
79
79
|
static Ping(req: SkoalaApiIntegratedV1alpha1Registry.PingRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Registry.PingRegistryRes> {
|
|
80
80
|
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.PingRegistryReq, SkoalaApiIntegratedV1alpha1Registry.PingRegistryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/ping`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
@@ -91,14 +91,14 @@ export class Registry {
|
|
|
91
91
|
static GetServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.GetServiceAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Service.GetServiceAPIRes> {
|
|
92
92
|
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.GetServiceAPIReq, SkoalaApiIntegratedV1alpha1Service.GetServiceAPIRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/apis?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName"])}`, {...initReq, method: "GET"})
|
|
93
93
|
}
|
|
94
|
-
static CreateServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.CreateServiceAPIReq, initReq?: fm.InitReq): Promise<
|
|
95
|
-
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.CreateServiceAPIReq,
|
|
94
|
+
static CreateServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.CreateServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
95
|
+
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.CreateServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/apis`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
96
96
|
}
|
|
97
|
-
static UpdateServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.UpdateServiceAPIReq, initReq?: fm.InitReq): Promise<
|
|
98
|
-
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.UpdateServiceAPIReq,
|
|
97
|
+
static UpdateServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.UpdateServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
98
|
+
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.UpdateServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/apis/${req["apiId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
99
99
|
}
|
|
100
|
-
static DeleteServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.DeleteServiceAPIReq, initReq?: fm.InitReq): Promise<
|
|
101
|
-
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.DeleteServiceAPIReq,
|
|
100
|
+
static DeleteServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.DeleteServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
101
|
+
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.DeleteServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/apis/${req["apiId"]}`, {...initReq, method: "DELETE"})
|
|
102
102
|
}
|
|
103
103
|
static ListInstance(req: SkoalaApiIntegratedV1alpha1Instance.ListInstanceReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Instance.ListInstanceRes> {
|
|
104
104
|
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Instance.ListInstanceReq, SkoalaApiIntegratedV1alpha1Instance.ListInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/instances?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName"])}`, {...initReq, method: "GET"})
|
|
@@ -109,8 +109,8 @@ export class Registry {
|
|
|
109
109
|
static GetInstanceInsight(req: SkoalaApiIntegratedV1alpha1Instance.GetInstanceInsightReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Instance.GetInstanceInsightRes> {
|
|
110
110
|
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Instance.GetInstanceInsightReq, SkoalaApiIntegratedV1alpha1Instance.GetInstanceInsightRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/instances/${req["instanceId"]}/insight?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName", "instanceId"])}`, {...initReq, method: "GET"})
|
|
111
111
|
}
|
|
112
|
-
static UpdateInstance(req: SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceReq, initReq?: fm.InitReq): Promise<
|
|
113
|
-
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceReq,
|
|
112
|
+
static UpdateInstance(req: SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
113
|
+
return fm.fetchReq<SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/instances/${req["instanceId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
export class Nacos {
|
|
@@ -141,11 +141,11 @@ export class Nacos {
|
|
|
141
141
|
static GetServiceInsight(req: SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInsightReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInsightRes> {
|
|
142
142
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInsightReq, SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInsightRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/insight?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService"])}`, {...initReq, method: "GET"})
|
|
143
143
|
}
|
|
144
|
-
static UpdateService(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceReq, initReq?: fm.InitReq): Promise<
|
|
145
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceReq,
|
|
144
|
+
static UpdateService(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
145
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
146
146
|
}
|
|
147
|
-
static DeleteService(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceReq, initReq?: fm.InitReq): Promise<
|
|
148
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceReq,
|
|
147
|
+
static DeleteService(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
148
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}`, {...initReq, method: "DELETE"})
|
|
149
149
|
}
|
|
150
150
|
static ListServiceSubscriber(req: SkoalaApiHostedV1alpha1Nacos.ListNacosServiceSubscriberReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceSubscriberRes> {
|
|
151
151
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceSubscriberReq, SkoalaApiHostedV1alpha1Nacos.ListNacosServiceSubscriberRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/subscribers?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService"])}`, {...initReq, method: "GET"})
|
|
@@ -153,14 +153,14 @@ export class Nacos {
|
|
|
153
153
|
static GetServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.GetNacosServiceAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceAPIRes> {
|
|
154
154
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceAPIReq, SkoalaApiHostedV1alpha1Nacos.GetNacosServiceAPIRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService"])}`, {...initReq, method: "GET"})
|
|
155
155
|
}
|
|
156
|
-
static CreateServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIReq, initReq?: fm.InitReq): Promise<
|
|
157
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIReq,
|
|
156
|
+
static CreateServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
157
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
158
158
|
}
|
|
159
|
-
static UpdateServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIReq, initReq?: fm.InitReq): Promise<
|
|
160
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIReq,
|
|
159
|
+
static UpdateServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
160
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis/${req["apiId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
161
161
|
}
|
|
162
|
-
static DeleteServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIReq, initReq?: fm.InitReq): Promise<
|
|
163
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIReq,
|
|
162
|
+
static DeleteServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
163
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis/${req["apiId"]}`, {...initReq, method: "DELETE"})
|
|
164
164
|
}
|
|
165
165
|
static ListServiceInstance(req: SkoalaApiHostedV1alpha1Nacos.ListNacosServiceInstanceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceInstanceRes> {
|
|
166
166
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceInstanceReq, SkoalaApiHostedV1alpha1Nacos.ListNacosServiceInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/instances?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService"])}`, {...initReq, method: "GET"})
|
|
@@ -171,20 +171,20 @@ export class Nacos {
|
|
|
171
171
|
static GetServiceInstanceInsight(req: SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceInsightReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceInsightRes> {
|
|
172
172
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceInsightReq, SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceInsightRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/instances/${req["nacosInstanceId"]}/insight?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService", "nacosInstanceId"])}`, {...initReq, method: "GET"})
|
|
173
173
|
}
|
|
174
|
-
static UpdateServiceInstance(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceInstanceReq, initReq?: fm.InitReq): Promise<
|
|
175
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceInstanceReq,
|
|
174
|
+
static UpdateServiceInstance(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceInstanceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
175
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceInstanceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/instances/${req["nacosInstanceId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
176
176
|
}
|
|
177
177
|
static ListNamespace(req: SkoalaApiHostedV1alpha1Nacos.ListNacosNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosNamespaceRes> {
|
|
178
178
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosNamespaceReq, SkoalaApiHostedV1alpha1Nacos.ListNacosNamespaceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName"])}`, {...initReq, method: "GET"})
|
|
179
179
|
}
|
|
180
|
-
static CreateNamespace(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceReq, initReq?: fm.InitReq): Promise<
|
|
181
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceReq,
|
|
180
|
+
static CreateNamespace(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
181
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
182
182
|
}
|
|
183
|
-
static UpdateNamespace(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceReq, initReq?: fm.InitReq): Promise<
|
|
184
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceReq,
|
|
183
|
+
static UpdateNamespace(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
184
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
185
185
|
}
|
|
186
|
-
static DeleteNamespace(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceReq, initReq?: fm.InitReq): Promise<
|
|
187
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceReq,
|
|
186
|
+
static DeleteNamespace(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
187
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}`, {...initReq, method: "DELETE"})
|
|
188
188
|
}
|
|
189
189
|
static GetNamespace(req: SkoalaApiHostedV1alpha1Nacos.GetNacosNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosNamespaceRes> {
|
|
190
190
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosNamespaceReq, SkoalaApiHostedV1alpha1Nacos.GetNacosNamespaceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace"])}`, {...initReq, method: "GET"})
|
|
@@ -207,14 +207,23 @@ export class Nacos {
|
|
|
207
207
|
static ListConfigListener(req: SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerRes> {
|
|
208
208
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerReq, SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}/listeners?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "dataId"])}`, {...initReq, method: "GET"})
|
|
209
209
|
}
|
|
210
|
-
static CreateConfig(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigReq, initReq?: fm.InitReq): Promise<
|
|
211
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigReq,
|
|
210
|
+
static CreateConfig(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
211
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
212
212
|
}
|
|
213
|
-
static UpdateConfig(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigReq, initReq?: fm.InitReq): Promise<
|
|
214
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigReq,
|
|
213
|
+
static UpdateConfig(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
214
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
215
215
|
}
|
|
216
|
-
static DeleteConfig(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigReq, initReq?: fm.InitReq): Promise<
|
|
217
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigReq,
|
|
216
|
+
static DeleteConfig(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
217
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}`, {...initReq, method: "DELETE"})
|
|
218
|
+
}
|
|
219
|
+
static ListNode(req: SkoalaApiHostedV1alpha1Nacos.ListNodeReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNodeRes> {
|
|
220
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNodeReq, SkoalaApiHostedV1alpha1Nacos.ListNodeRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/nodes?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName"])}`, {...initReq, method: "GET"})
|
|
221
|
+
}
|
|
222
|
+
static LeaveNode(req: SkoalaApiHostedV1alpha1Nacos.LeaveNodeReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
223
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.LeaveNodeReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/nodes/leave`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
224
|
+
}
|
|
225
|
+
static ReportNode(req: SkoalaApiHostedV1alpha1Nacos.ReportNodeReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
226
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ReportNodeReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/nodes/Report`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
218
227
|
}
|
|
219
228
|
static CheckConfig(req: SkoalaApiHostedV1alpha1Nacos.CheckNacosConfigReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.CheckNacosConfigRes> {
|
|
220
229
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CheckNacosConfigReq, SkoalaApiHostedV1alpha1Nacos.CheckNacosConfigRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}/check?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "dataId"])}`, {...initReq, method: "GET"})
|
|
@@ -222,19 +231,19 @@ export class Nacos {
|
|
|
222
231
|
}
|
|
223
232
|
export class Sentinel {
|
|
224
233
|
static ListFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleRes> {
|
|
225
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleReq, SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["
|
|
234
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleReq, SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/flowrules?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
|
|
226
235
|
}
|
|
227
|
-
static CreateFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleReq, initReq?: fm.InitReq): Promise<
|
|
228
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleReq,
|
|
236
|
+
static CreateFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
237
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/flowrules`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
229
238
|
}
|
|
230
|
-
static UpdateFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleReq, initReq?: fm.InitReq): Promise<
|
|
231
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleReq,
|
|
239
|
+
static UpdateFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
240
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/flowrules/${req["flowRuleId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
232
241
|
}
|
|
233
|
-
static DeleteFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleReq, initReq?: fm.InitReq): Promise<
|
|
234
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleReq,
|
|
242
|
+
static DeleteFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
243
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/flowrules/${req["flowRuleId"]}`, {...initReq, method: "DELETE"})
|
|
235
244
|
}
|
|
236
245
|
static GetAppInstance(req: SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceRes> {
|
|
237
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceReq, SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["
|
|
246
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceReq, SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/appinstance?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
|
|
238
247
|
}
|
|
239
248
|
}
|
|
240
249
|
export class Plugin {
|
|
@@ -244,8 +253,8 @@ export class Plugin {
|
|
|
244
253
|
static Get(req: SkoalaApiHostedV1alpha1Plugins.GetPluginReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Plugins.GetPluginRes> {
|
|
245
254
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Plugins.GetPluginReq, SkoalaApiHostedV1alpha1Plugins.GetPluginRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespace"]}/nacoses/${req["nacosName"]}/plugins/${req["name"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespace", "nacosName", "name"])}`, {...initReq, method: "GET"})
|
|
246
255
|
}
|
|
247
|
-
static Update(req: SkoalaApiHostedV1alpha1Plugins.UpdatePluginReq, initReq?: fm.InitReq): Promise<
|
|
248
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Plugins.UpdatePluginReq,
|
|
256
|
+
static Update(req: SkoalaApiHostedV1alpha1Plugins.UpdatePluginReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
257
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Plugins.UpdatePluginReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespace"]}/nacoses/${req["nacosName"]}/plugins`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
249
258
|
}
|
|
250
259
|
static GetGovern(req: SkoalaApiHostedV1alpha1Plugins.GetGovernReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Plugins.GetGovernRes> {
|
|
251
260
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Plugins.GetGovernReq, SkoalaApiHostedV1alpha1Plugins.GetGovernRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespace"]}/nacoses/${req["nacosName"]}/governs?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespace", "nacosName"])}`, {...initReq, method: "GET"})
|
|
@@ -261,14 +270,14 @@ export class Gateway {
|
|
|
261
270
|
static Get(req: SkoalaApiHostedV1alpha1Gateway.GetGatewayReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.GetGatewayRes> {
|
|
262
271
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GetGatewayReq, SkoalaApiHostedV1alpha1Gateway.GetGatewayRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
263
272
|
}
|
|
264
|
-
static Create(req: SkoalaApiHostedV1alpha1Gateway.CreateGatewayReq, initReq?: fm.InitReq): Promise<
|
|
265
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.CreateGatewayReq,
|
|
273
|
+
static Create(req: SkoalaApiHostedV1alpha1Gateway.CreateGatewayReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
274
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.CreateGatewayReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
266
275
|
}
|
|
267
|
-
static Update(req: SkoalaApiHostedV1alpha1Gateway.UpdateGatewayReq, initReq?: fm.InitReq): Promise<
|
|
268
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.UpdateGatewayReq,
|
|
276
|
+
static Update(req: SkoalaApiHostedV1alpha1Gateway.UpdateGatewayReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
277
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.UpdateGatewayReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
269
278
|
}
|
|
270
|
-
static Delete(req: SkoalaApiHostedV1alpha1Gateway.DeleteGatewayReq, initReq?: fm.InitReq): Promise<
|
|
271
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.DeleteGatewayReq,
|
|
279
|
+
static Delete(req: SkoalaApiHostedV1alpha1Gateway.DeleteGatewayReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
280
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.DeleteGatewayReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}`, {...initReq, method: "DELETE"})
|
|
272
281
|
}
|
|
273
282
|
static GetImages(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.GetImagesRes> {
|
|
274
283
|
return fm.fetchReq<GoogleProtobufEmpty.Empty, SkoalaApiHostedV1alpha1Gateway.GetImagesRes>(`/apis/sesame.skoala.io/v1alpha1/images?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
@@ -276,8 +285,8 @@ export class Gateway {
|
|
|
276
285
|
static GetGatewayStatus(req: SkoalaApiHostedV1alpha1Gateway.GetGatewayStatusReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.GetGatewayStatusRes> {
|
|
277
286
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GetGatewayStatusReq, SkoalaApiHostedV1alpha1Gateway.GetGatewayStatusRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/status?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
278
287
|
}
|
|
279
|
-
static Diagnostic(req: SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq, initReq?: fm.InitReq): Promise<
|
|
280
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq,
|
|
288
|
+
static Diagnostic(req: SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
289
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/diagnostic`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
281
290
|
}
|
|
282
291
|
static ListGatewayPods(req: SkoalaApiHostedV1alpha1Gateway.ListPodsReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.ListPodsRes> {
|
|
283
292
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.ListPodsReq, SkoalaApiHostedV1alpha1Gateway.ListPodsRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/pods?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
@@ -300,8 +309,8 @@ export class Gateway {
|
|
|
300
309
|
static GetGatewayNamespace(req: SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayNamespaceRes> {
|
|
301
310
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayNamespaceReq, SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayNamespaceRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/namespaces?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
302
311
|
}
|
|
303
|
-
static CreateService(req: SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceReq, initReq?: fm.InitReq): Promise<
|
|
304
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceReq,
|
|
312
|
+
static CreateService(req: SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
313
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
305
314
|
}
|
|
306
315
|
static ListService(req: SkoalaApiHostedV1alpha1Gatewayservice.ListGatewayServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.ListGatewayServiceRes> {
|
|
307
316
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.ListGatewayServiceReq, SkoalaApiHostedV1alpha1Gatewayservice.ListGatewayServiceRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
@@ -309,14 +318,14 @@ export class Gateway {
|
|
|
309
318
|
static GetService(req: SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayServiceRes> {
|
|
310
319
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayServiceReq, SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayServiceRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services/${req["sesameId"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName", "sesameId"])}`, {...initReq, method: "GET"})
|
|
311
320
|
}
|
|
312
|
-
static UpdateService(req: SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceReq, initReq?: fm.InitReq): Promise<
|
|
313
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceReq,
|
|
321
|
+
static UpdateService(req: SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
322
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services/${req["sesameId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
314
323
|
}
|
|
315
|
-
static DeleteService(req: SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceReq, initReq?: fm.InitReq): Promise<
|
|
316
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceReq,
|
|
324
|
+
static DeleteService(req: SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
325
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services/${req["sesameId"]}`, {...initReq, method: "DELETE"})
|
|
317
326
|
}
|
|
318
|
-
static CreateVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostReq, initReq?: fm.InitReq): Promise<
|
|
319
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostReq,
|
|
327
|
+
static CreateVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
328
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
320
329
|
}
|
|
321
330
|
static ListVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.ListVirtualhostReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Virtualhost.ListVirtualhostRes> {
|
|
322
331
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.ListVirtualhostReq, SkoalaApiHostedV1alpha1Virtualhost.ListVirtualhostRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
@@ -324,14 +333,14 @@ export class Gateway {
|
|
|
324
333
|
static GetVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.GetVirtualhostReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Virtualhost.GetVirtualhostRes> {
|
|
325
334
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.GetVirtualhostReq, SkoalaApiHostedV1alpha1Virtualhost.GetVirtualhostRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts/${req["fqdn"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName", "fqdn"])}`, {...initReq, method: "GET"})
|
|
326
335
|
}
|
|
327
|
-
static DeleteVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostReq, initReq?: fm.InitReq): Promise<
|
|
328
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostReq,
|
|
336
|
+
static DeleteVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
337
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts/${req["fqdn"]}`, {...initReq, method: "DELETE"})
|
|
329
338
|
}
|
|
330
|
-
static UpdateVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostReq, initReq?: fm.InitReq): Promise<
|
|
331
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostReq,
|
|
339
|
+
static UpdateVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
340
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts/${req["fqdn"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
332
341
|
}
|
|
333
|
-
static CreateAPI(req: SkoalaApiHostedV1alpha1Api.CreateAPIReq, initReq?: fm.InitReq): Promise<
|
|
334
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.CreateAPIReq,
|
|
342
|
+
static CreateAPI(req: SkoalaApiHostedV1alpha1Api.CreateAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
343
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.CreateAPIReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
335
344
|
}
|
|
336
345
|
static ListAPI(req: SkoalaApiHostedV1alpha1Api.APIListReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.APIListRes> {
|
|
337
346
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.APIListReq, SkoalaApiHostedV1alpha1Api.APIListRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
@@ -339,17 +348,17 @@ export class Gateway {
|
|
|
339
348
|
static GetAPI(req: SkoalaApiHostedV1alpha1Api.GetAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.GetAPIRes> {
|
|
340
349
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.GetAPIReq, SkoalaApiHostedV1alpha1Api.GetAPIRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName", "apiName"])}`, {...initReq, method: "GET"})
|
|
341
350
|
}
|
|
342
|
-
static DeleteAPI(req: SkoalaApiHostedV1alpha1Api.DeleteAPIReq, initReq?: fm.InitReq): Promise<
|
|
343
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.DeleteAPIReq,
|
|
351
|
+
static DeleteAPI(req: SkoalaApiHostedV1alpha1Api.DeleteAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
352
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.DeleteAPIReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}`, {...initReq, method: "DELETE"})
|
|
344
353
|
}
|
|
345
|
-
static UpdateAPI(req: SkoalaApiHostedV1alpha1Api.UpdateAPIReq, initReq?: fm.InitReq): Promise<
|
|
346
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.UpdateAPIReq,
|
|
354
|
+
static UpdateAPI(req: SkoalaApiHostedV1alpha1Api.UpdateAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
355
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.UpdateAPIReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
347
356
|
}
|
|
348
|
-
static UpdateAPIPolicy(req: SkoalaApiHostedV1alpha1Api.AdvancedAPIReq, initReq?: fm.InitReq): Promise<
|
|
349
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.AdvancedAPIReq,
|
|
357
|
+
static UpdateAPIPolicy(req: SkoalaApiHostedV1alpha1Api.AdvancedAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
358
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.AdvancedAPIReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}/policies`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
350
359
|
}
|
|
351
|
-
static UpdateAPIStatus(req: SkoalaApiHostedV1alpha1Api.UpdateAPIStatusReq, initReq?: fm.InitReq): Promise<
|
|
352
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.UpdateAPIStatusReq,
|
|
360
|
+
static UpdateAPIStatus(req: SkoalaApiHostedV1alpha1Api.UpdateAPIStatusReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
361
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Api.UpdateAPIStatusReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}/status/${req["enabled"]}`, {...initReq, method: "PUT"})
|
|
353
362
|
}
|
|
354
363
|
static ListGatewayLog(req: SkoalaApiHostedV1alpha1Apilog.SearchLogReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Apilog.SearchLogRes> {
|
|
355
364
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Apilog.SearchLogReq, SkoalaApiHostedV1alpha1Apilog.SearchLogRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/requestlogs?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
@@ -357,28 +366,28 @@ export class Gateway {
|
|
|
357
366
|
static GatewayLogExport(req: SkoalaApiHostedV1alpha1Apilog.SearchLogReq, entityNotifier?: fm.NotifyStreamEntityArrival<GoogleApiHttpbody.HttpBody>, initReq?: fm.InitReq): Promise<void> {
|
|
358
367
|
return fm.fetchStreamingRequest<SkoalaApiHostedV1alpha1Apilog.SearchLogReq, GoogleApiHttpbody.HttpBody>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/requestlogs/export?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, entityNotifier, {...initReq, method: "GET"})
|
|
359
368
|
}
|
|
360
|
-
static CreateGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSReq, initReq?: fm.InitReq): Promise<
|
|
361
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSReq,
|
|
369
|
+
static CreateGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
370
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
362
371
|
}
|
|
363
372
|
static GetGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.GetGatewayRLSReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.GetGatewayRLSRes> {
|
|
364
373
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.GetGatewayRLSReq, SkoalaApiHostedV1alpha1Extension.GetGatewayRLSRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
365
374
|
}
|
|
366
|
-
static DeleteGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSReq, initReq?: fm.InitReq): Promise<
|
|
367
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSReq,
|
|
375
|
+
static DeleteGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
376
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls`, {...initReq, method: "DELETE"})
|
|
368
377
|
}
|
|
369
|
-
static UpdateGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSReq, initReq?: fm.InitReq): Promise<
|
|
370
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSReq,
|
|
378
|
+
static UpdateGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
379
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
371
380
|
}
|
|
372
|
-
static CreateGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzReq, initReq?: fm.InitReq): Promise<
|
|
373
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzReq,
|
|
381
|
+
static CreateGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
382
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
|
|
374
383
|
}
|
|
375
384
|
static GetGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.GetGatewayAuthzReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.GetGatewayAuthzRes> {
|
|
376
385
|
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.GetGatewayAuthzReq, SkoalaApiHostedV1alpha1Extension.GetGatewayAuthzRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
377
386
|
}
|
|
378
|
-
static DeleteGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzReq, initReq?: fm.InitReq): Promise<
|
|
379
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzReq,
|
|
387
|
+
static DeleteGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
388
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz`, {...initReq, method: "DELETE"})
|
|
380
389
|
}
|
|
381
|
-
static UpdateGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzReq, initReq?: fm.InitReq): Promise<
|
|
382
|
-
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzReq,
|
|
390
|
+
static UpdateGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
|
|
391
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
|
|
383
392
|
}
|
|
384
393
|
}
|