@daocloud-proto/skoala 0.6.1 → 0.7.0

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.
@@ -4,6 +4,12 @@
4
4
  * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
5
  */
6
6
 
7
+ export enum APIDataType {
8
+ DATA_TYPE_UNSPECIFIED = "DATA_TYPE_UNSPECIFIED",
9
+ JSON = "JSON",
10
+ YAML = "YAML",
11
+ }
12
+
7
13
  export enum OrderBy {
8
14
  desc = "desc",
9
15
  asc = "asc",
@@ -73,4 +79,15 @@ export type Pagination = {
73
79
  page?: number
74
80
  pageSize?: number
75
81
  pages?: number
82
+ }
83
+
84
+ export type API = {
85
+ apiId?: number
86
+ isHosted?: boolean
87
+ registry?: string
88
+ serviceName?: string
89
+ nacosNamespace?: string
90
+ nacosGroupName?: string
91
+ dataType?: APIDataType
92
+ detail?: string
76
93
  }
@@ -0,0 +1,57 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as InsightIoApiMetricV1alpha1Metric from "../../../metric/v1alpha1/metric.pb"
8
+ export type InsightBrief = {
9
+ enabled?: boolean
10
+ brief?: InsightTracingBrief
11
+ }
12
+
13
+ export type ServiceInsightDetail = {
14
+ enabled?: boolean
15
+ brief?: InsightTracingBrief
16
+ tracingMetrics?: InsightTracingMetrics
17
+ monitorMetrics?: InsightMonitorMetrics
18
+ }
19
+
20
+ export type InstanceInsightDetail = {
21
+ enabled?: boolean
22
+ brief?: InsightTracingBrief
23
+ tracingMetrics?: InsightTracingMetrics
24
+ monitorMetrics?: InsightMonitorMetrics
25
+ }
26
+
27
+ export type InsightTracingBrief = {
28
+ call?: string
29
+ successRates?: string
30
+ latencies?: string
31
+ }
32
+
33
+ export type InsightTracingMetrics = {
34
+ p50Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
35
+ p75Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
36
+ p90Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
37
+ p95Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
38
+ p99Metrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
39
+ reqRateMetric?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
40
+ repLatencyMetric?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
41
+ errorsRateMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
42
+ successTotalCallsMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
43
+ errorTotalCallsMetrics?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
44
+ }
45
+
46
+ export type InsightMonitorMetrics = {
47
+ cpuRequest?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
48
+ cpuLimit?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
49
+ cpuUsage?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
50
+ memoryRequest?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
51
+ memoryLimit?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
52
+ memoryUsage?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
53
+ diskRead?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
54
+ diskWrite?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
55
+ netBytesReceived?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
56
+ netBytesTransmitted?: InsightIoApiMetricV1alpha1Metric.SampleStream[]
57
+ }
@@ -17,6 +17,6 @@ export type ServicePort = {
17
17
  protocol?: string
18
18
  appProtocol?: string
19
19
  port?: number
20
- targetPort?: string
20
+ targetPort?: number
21
21
  nodePort?: number
22
22
  }
@@ -121,15 +121,15 @@ export type ListMeshReq = {
121
121
  }
122
122
 
123
123
  export type ListMeshRes = {
124
- meshes?: SkoalaApiGeneralV1alpha1Common.Mesh[]
124
+ items?: SkoalaApiGeneralV1alpha1Common.Mesh[]
125
125
  pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
126
126
  }
127
127
 
128
- export type ListClaimReq = {
128
+ export type ListStorageClassesReq = {
129
129
  workspaceId?: string
130
130
  clusterName?: string
131
131
  }
132
132
 
133
- export type ListClaimRes = {
133
+ export type ListStorageClassesRes = {
134
134
  items?: string[]
135
135
  }
@@ -36,15 +36,6 @@ export enum GrpcRetryOnEnum {
36
36
  unavailable = "unavailable",
37
37
  }
38
38
 
39
- export enum ValueMatchType {
40
- CONTAIN = "CONTAIN",
41
- EXACT = "EXACT",
42
- NOT_CONTAIN = "NOT_CONTAIN",
43
- NOT_EXACT = "NOT_EXACT",
44
- PRESENT = "PRESENT",
45
- NOT_PRESENT = "NOT_PRESENT",
46
- }
47
-
48
39
  export enum RedirectResponseCode {
49
40
  MOVED_PERMANENTLY = "MOVED_PERMANENTLY",
50
41
  FOUND = "FOUND",
@@ -70,17 +61,24 @@ export type CreateAPIReq = {
70
61
  advancedApiConfig?: AdvancedAPIConfig
71
62
  }
72
63
 
73
- export type AdvancedAPIReq = {
64
+ export type ListAPIGroupReq = {
74
65
  workspaceId?: string
75
66
  gatewayName?: string
76
67
  clusterName?: string
77
68
  namespaceName?: string
78
- apiName?: string
79
- advancedApiConfig?: AdvancedAPIConfig
80
69
  }
81
70
 
82
- export type AdvancedAPIRes = {
71
+ export type ListAPIGroupRes = {
72
+ groupNames?: string[]
73
+ }
74
+
75
+ export type AdvancedAPIReq = {
76
+ workspaceId?: string
77
+ gatewayName?: string
78
+ clusterName?: string
79
+ namespaceName?: string
83
80
  apiName?: string
81
+ advancedApiConfig?: AdvancedAPIConfig
84
82
  }
85
83
 
86
84
  export type TimeoutPolicy = {
@@ -100,6 +98,13 @@ export type AdvancedAPIConfig = {
100
98
  websocketPolicy?: WebsocketPolicy
101
99
  healthCheckPolicy?: HealthCheckPolicy
102
100
  rateLimitPolicy?: SkoalaApiHostedV1alpha1Virtualhost.RateLimitPolicy
101
+ requestHeadersPolicy?: HeaderPolicy
102
+ responseHeadersPolicy?: HeaderPolicy
103
+ }
104
+
105
+ export type HeaderPolicy = {
106
+ remove?: string[]
107
+ set?: SkoalaApiHostedV1alpha1Http.Header[]
103
108
  }
104
109
 
105
110
  export type HealthCheckPolicy = {
@@ -170,28 +175,12 @@ export type UpdateAPIStatusReq = {
170
175
  enabled?: boolean
171
176
  }
172
177
 
173
- export type UpdateAPIStatusRes = {
174
- apiName?: string
175
- enabled?: boolean
176
- }
177
-
178
- export type CreateAPIRes = {
179
- apiName?: string
180
- }
181
-
182
- export type UpdateAPIRes = {
183
- apiName?: string
184
- }
185
-
186
- export type DeleteAPIRes = {
187
- apiName?: string
188
- }
189
-
190
178
  export type GetAPIReq = {
191
179
  workspaceId?: string
192
180
  clusterName?: string
193
181
  gatewayName?: string
194
182
  apiName?: string
183
+ apiGroup?: string
195
184
  namespaceName?: string
196
185
  }
197
186
 
@@ -207,6 +196,7 @@ export type DeleteAPIReq = {
207
196
  type BaseGetAPIRes = {
208
197
  apiName?: string
209
198
  enabled?: boolean
199
+ apiGroup?: string
210
200
  fqdn?: string
211
201
  matchRule?: MatchRule
212
202
  advancedPolicy?: AdvancedAPIConfig
@@ -215,46 +205,18 @@ type BaseGetAPIRes = {
215
205
  export type GetAPIRes = BaseGetAPIRes
216
206
  & OneOf<{ route: RouteAction; redirect: RedirectAction; directResponse: DirectResponse }>
217
207
 
218
- export type TargetService = {
219
- serviceList?: ServiceDetail[]
220
- }
221
-
222
- export type ServiceDetail = {
223
- clusterName?: string
224
- k8SNamespaceName?: string
225
- serviceName?: string
226
- registryId?: string
227
- address?: string
228
- protocol?: SkoalaApiHostedV1alpha1Http.Protocol
229
- port?: number
230
- weight?: string
231
- nacosNamespaceId?: string
232
- groupName?: string
233
- routeType?: SkoalaApiHostedV1alpha1Http.RouteType
234
- path?: string
235
- statusCode?: number
236
- }
237
-
238
208
 
239
209
  type BaseAPIConfig = {
240
210
  apiName?: string
241
211
  fqdn?: string
242
212
  matchRule?: MatchRule
243
213
  enabled?: boolean
214
+ apiGroup?: string
244
215
  }
245
216
 
246
217
  export type APIConfig = BaseAPIConfig
247
218
  & OneOf<{ route: RouteAction; redirect: RedirectAction; directResponse: DirectResponse }>
248
219
 
249
- export type Virtualhost = {
250
- fqdn?: string
251
- protocol?: SkoalaApiHostedV1alpha1Http.Protocol
252
- }
253
-
254
- export type Certificate = {
255
- namespace?: string
256
- }
257
-
258
220
 
259
221
  type BaseMatchRule = {
260
222
  httpMethod?: SkoalaApiHostedV1alpha1Http.HttpMethod[]
@@ -271,10 +233,11 @@ export type RouteAction = {
271
233
  export type RouteService = {
272
234
  protocol?: SkoalaApiHostedV1alpha1Http.Protocol
273
235
  enableGrpc?: boolean
274
- serviceName?: string
275
- namespaceName?: string
236
+ showServiceName?: string
237
+ sesameId?: string
276
238
  port?: number
277
239
  weight?: number
240
+ mirror?: boolean
278
241
  }
279
242
 
280
243
  export type RedirectAction = {
@@ -296,6 +259,7 @@ export type APIListReq = {
296
259
  gatewayName?: string
297
260
  namespaceName?: string
298
261
  apiName?: string
262
+ apiGroup?: string
299
263
  page?: number
300
264
  pageSize?: number
301
265
  }
@@ -26,7 +26,7 @@ type BaseSearchLogReq = {
26
26
  requestMethod?: string[]
27
27
  startTime?: string
28
28
  endTime?: string
29
- sortOrder?: SortOrder[]
29
+ sortOrder?: SortOrder
30
30
  page?: number
31
31
  pageSize?: number
32
32
  }
@@ -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
  }
@@ -64,7 +64,7 @@ export enum LogLogLevel {
64
64
  Info = "Info",
65
65
  Warning = "Warning",
66
66
  Error = "Error",
67
- CriticalL = "CriticalL",
67
+ Critical = "Critical",
68
68
  Off = "Off",
69
69
  }
70
70
 
@@ -120,14 +120,10 @@ export type GetGatewayRes = {
120
120
  gateways?: Gateway
121
121
  }
122
122
 
123
- export type EnvoyPortsString = {
124
- http?: string
125
- https?: string
126
- }
127
-
128
- export type EnvoyPorts = {
129
- http?: number
130
- https?: number
123
+ export type Port = {
124
+ port?: number
125
+ containerPort?: number
126
+ nodePort?: number
131
127
  }
132
128
 
133
129
  export type ContourPorts = {
@@ -146,16 +142,8 @@ export type HostIPs = {
146
142
 
147
143
  export type EnvoyService = {
148
144
  serviceType?: SkoalaApiGeneralV1alpha1Service.ServiceType
149
- enableHttps?: boolean
150
- }
151
-
152
- export type EnvoyServicePro = {
153
- serviceType?: SkoalaApiGeneralV1alpha1Service.ServiceType
154
- ports?: EnvoyPorts
155
- targetPorts?: EnvoyPortsString
156
- nodePorts?: EnvoyPortsString
157
- extraPorts?: string[]
158
- externalTrafficPolicy?: string
145
+ http?: Port
146
+ https?: Port
159
147
  }
160
148
 
161
149
  export type ContourService = {
@@ -174,31 +162,11 @@ export type EnvoyNormalConfig = {
174
162
  service?: EnvoyService
175
163
  }
176
164
 
177
- export type EnvoyNormalConfigPro = {
178
- kind?: string
179
- replicas?: number
180
- hostNetwork?: boolean
181
- dnsPolicy?: string
182
- useHostIp?: boolean
183
- useHostPort?: boolean
184
- containerPorts?: EnvoyPorts
185
- hostIps?: HostIPs
186
- hostPorts?: EnvoyPorts
187
- service?: EnvoyServicePro
188
- }
189
-
190
165
  export type ContourNormalConfig = {
191
166
  rootNamespaces?: string[]
192
167
  replicas?: number
193
168
  }
194
169
 
195
- export type ContourNormalConfigPro = {
196
- rootNamespaces?: string[]
197
- replicas?: number
198
- containerPorts?: ContourPorts
199
- service?: ContourService
200
- }
201
-
202
170
  export type CreateGatewayReq = {
203
171
  workspaceId?: string
204
172
  gatewayName?: string
@@ -211,15 +179,6 @@ export type CreateGatewayRes = {
211
179
  status?: SkoalaApiGeneralV1alpha1Common.Status
212
180
  }
213
181
 
214
- export type CreateGatewayProReq = {
215
- workspaceId?: string
216
- gatewayName?: string
217
- clusterName?: string
218
- namespaceName?: string
219
- createNamespace?: boolean
220
- config?: GatewayConfigPro
221
- }
222
-
223
182
  export type UpdateGatewayReq = {
224
183
  workspaceId?: string
225
184
  gatewayName?: string
@@ -232,14 +191,6 @@ export type UpdateGatewayRes = {
232
191
  status?: SkoalaApiGeneralV1alpha1Common.Status
233
192
  }
234
193
 
235
- export type UpdateGatewayProReq = {
236
- workspaceId?: string
237
- gatewayName?: string
238
- clusterName?: string
239
- namespaceName?: string
240
- config?: GatewayConfigPro
241
- }
242
-
243
194
  export type DeleteGatewayReq = {
244
195
  workspaceId?: string
245
196
  clusterName?: string
@@ -247,30 +198,16 @@ export type DeleteGatewayReq = {
247
198
  gatewayName?: string
248
199
  }
249
200
 
250
- export type DeleteGatewayRes = {
251
- status?: SkoalaApiGeneralV1alpha1Common.Status
252
- }
253
-
254
201
  export type NormalConfig = {
255
202
  contour?: ContourNormalConfig
256
203
  envoy?: EnvoyNormalConfig
257
204
  }
258
205
 
259
- export type NormalConfigPro = {
260
- contour?: ContourNormalConfigPro
261
- envoy?: EnvoyNormalConfigPro
262
- }
263
-
264
206
  export type GatewayConfig = {
265
207
  normal?: NormalConfig
266
208
  advanced?: AdvancedConfig
267
209
  }
268
210
 
269
- export type GatewayConfigPro = {
270
- normal?: NormalConfigPro
271
- advanced?: AdvancedConfigPro
272
- }
273
-
274
211
 
275
212
  type BaseContourAdvancedConfig = {
276
213
  resources?: SkoalaApiGeneralV1alpha1Resource.ResourceRequirements
@@ -294,13 +231,6 @@ export type AdvancedConfig = {
294
231
  envoy?: EnvoyAdvancedConfig
295
232
  }
296
233
 
297
- export type AdvancedConfigPro = {
298
- log?: Log
299
- contour?: ContourAdvancedConfig
300
- envoy?: EnvoyAdvancedConfig
301
- globalRateLimit?: boolean
302
- }
303
-
304
234
  export type Log = {
305
235
  envoyLogLevel?: LogLogLevel
306
236
  kubernetesDebug?: number
@@ -318,6 +248,13 @@ export type GetImagesRes = {
318
248
  envoy?: string
319
249
  }
320
250
 
251
+ export type GetImagesReq = {
252
+ workspaceId?: string
253
+ clusterName?: string
254
+ namespaceName?: string
255
+ gatewayName?: string
256
+ }
257
+
321
258
  export type GetGatewayStatusReq = {
322
259
  workspaceId?: string
323
260
  clusterName?: string
@@ -384,10 +321,6 @@ export type GatewayDiagnosticReq = {
384
321
  diagnostic?: GatewayDiagnostic
385
322
  }
386
323
 
387
- export type GatewayDiagnosticRes = {
388
- tips?: string
389
- }
390
-
391
324
  export type PodSummary = {
392
325
  podName?: string
393
326
  namespaceName?: string
@@ -0,0 +1,74 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as SkoalaApiGeneralV1alpha1Common from "../../general/v1alpha1/common.pb"
8
+
9
+ export enum SignatureAlgorithm {
10
+ MD2WithRSA = "MD2WithRSA",
11
+ MD5WithRSA = "MD5WithRSA",
12
+ SHA1WithRSA = "SHA1WithRSA",
13
+ SHA256WithRSA = "SHA256WithRSA",
14
+ SHA384WithRSA = "SHA384WithRSA",
15
+ }
16
+
17
+ export type CreateSecretReq = {
18
+ workspaceId?: string
19
+ gatewayName?: string
20
+ clusterName?: string
21
+ namespaceName?: string
22
+ secretConfig?: SecretConfig
23
+ }
24
+
25
+ export type ListSecretReq = {
26
+ workspaceId?: string
27
+ clusterName?: string
28
+ gatewayName?: string
29
+ namespaceName?: string
30
+ secretNamespaceName?: string
31
+ secretName?: string
32
+ page?: number
33
+ pageSize?: number
34
+ }
35
+
36
+ export type ListSecretRes = {
37
+ items?: SecretInfo[]
38
+ pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
39
+ }
40
+
41
+ export type CertInfo = {
42
+ errInfo?: string
43
+ sha1Fingerprint?: string
44
+ sha256Fingerprint?: string
45
+ signatureAlgorithm?: string
46
+ beginTime?: string
47
+ endTime?: string
48
+ domain?: string
49
+ encryptAlgorithm?: string
50
+ keyLength?: number
51
+ issuer?: string
52
+ subjectAltName?: string[]
53
+ cA?: boolean
54
+ }
55
+
56
+ export type SecretInfo = {
57
+ secretName?: string
58
+ secretNamespaceName?: string
59
+ tlsCertificate?: CertInfo[]
60
+ caCertificate?: CertInfo[]
61
+ errMsg?: string
62
+ }
63
+
64
+ export type SecretConfig = {
65
+ name?: string
66
+ namespaceName?: string
67
+ caCrt?: string
68
+ tlsCrt?: string
69
+ tlsKey?: string
70
+ }
71
+
72
+ export type CreateSecretRes = {
73
+ secretName?: string
74
+ }
@@ -34,10 +34,45 @@ export type CreateExternalServiceReq = {
34
34
  clusterName?: string
35
35
  namespaceName?: string
36
36
  externalServiceConf?: ExternalServiceConf
37
+ advancedServiceConfig?: AdvancedServiceConfig
37
38
  }
38
39
 
39
- export type CreateExternalServiceRes = {
40
+ export type ListServiceSecretReq = {
41
+ workspaceId?: string
42
+ gatewayName?: string
43
+ clusterName?: string
44
+ namespaceName?: string
45
+ }
46
+
47
+ export type ListServiceSecretRes = {
48
+ items?: SecretSubjectAltName[]
49
+ }
50
+
51
+ export type SecretSubjectAltName = {
52
+ secretName?: string
53
+ secretNamespaceName?: string
54
+ subjectAltName?: string[]
55
+ }
56
+
57
+ export type AdvancedServiceConfig = {
58
+ circuitBreakerPolicy?: CircuitBreakerPolicy
59
+ tlsPolicy?: TLSPolicy
60
+ }
61
+
62
+ export type TLSPolicy = {
63
+ port?: number
64
+ secretName?: string
65
+ secretNamespaceName?: string
66
+ subjectAltName?: string
67
+ }
68
+
69
+ export type UpdateGatewayServicePolicyReq = {
70
+ workspaceId?: string
71
+ gatewayName?: string
72
+ clusterName?: string
73
+ namespaceName?: string
40
74
  sesameId?: string
75
+ advancedServiceConfig?: AdvancedServiceConfig
41
76
  }
42
77
 
43
78
  export type GetGatewayServiceReq = {
@@ -68,10 +103,6 @@ export type UpdateGatewayServiceReq = {
68
103
  externalServiceConf?: ExternalServiceConf
69
104
  }
70
105
 
71
- export type UpdateGatewayServiceRes = {
72
- sesameId?: string
73
- }
74
-
75
106
  export type DeleteGatewayServiceReq = {
76
107
  workspaceId?: string
77
108
  clusterName?: string
@@ -80,10 +111,6 @@ export type DeleteGatewayServiceReq = {
80
111
  sesameId?: string
81
112
  }
82
113
 
83
- export type DeleteGatewayServiceRes = {
84
- sesameId?: string
85
- }
86
-
87
114
  export type GetGatewayServiceRes = {
88
115
  externalServiceConf?: ExternalServiceConf
89
116
  manageServiceConf?: ServiceInfo
@@ -91,6 +118,7 @@ export type GetGatewayServiceRes = {
91
118
  api?: SkoalaApiHostedV1alpha1Http.APIInfo[]
92
119
  sesameId?: string
93
120
  createdAt?: string
121
+ advancedServiceConfig?: AdvancedServiceConfig
94
122
  }
95
123
 
96
124
  export type ListGatewayServiceReq = {
@@ -98,6 +126,7 @@ export type ListGatewayServiceReq = {
98
126
  clusterName?: string
99
127
  gatewayName?: string
100
128
  namespaceName?: string
129
+ serviceNamespaceName?: string
101
130
  serviceName?: string
102
131
  serviceType?: SesameServiceType
103
132
  page?: number
@@ -111,7 +140,7 @@ export type ListGatewayServiceRes = {
111
140
 
112
141
  export type ServiceInfo = {
113
142
  serviceName?: string
114
- address?: Address
143
+ address?: Address[]
115
144
  apiCount?: number
116
145
  sourceInfo?: ServiceSourceInfo
117
146
  createdAt?: string
@@ -131,6 +160,7 @@ export type ServiceSourceInfo = {
131
160
  meshId?: string
132
161
  meshName?: string
133
162
  meshNamespaceName?: string
163
+ serviceName?: string
134
164
  }
135
165
 
136
166
 
@@ -140,6 +170,13 @@ type BaseExternalServiceConf = {
140
170
  export type ExternalServiceConf = BaseExternalServiceConf
141
171
  & OneOf<{ kubernetesService: KubernetesService; registryService: RegistryService; externalService: ExternalService; meshService: MeshService }>
142
172
 
173
+ export type CircuitBreakerPolicy = {
174
+ maxConnections?: number
175
+ maxPendingRequests?: number
176
+ maxRequests?: number
177
+ maxRetries?: number
178
+ }
179
+
143
180
  export type MeshService = {
144
181
  meshId?: string
145
182
  meshName?: string