@daocloud-proto/skoala 0.16.1 → 0.17.1

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.
@@ -72,6 +72,18 @@ export enum Prerequisite {
72
72
  SkoalaInit = "SkoalaInit",
73
73
  }
74
74
 
75
+ export enum LBType {
76
+ LB_TYPE_UNSPECIFIED = "LB_TYPE_UNSPECIFIED",
77
+ MetalLB = "MetalLB",
78
+ Other = "Other",
79
+ }
80
+
81
+ export enum ExternalTrafficPolicy {
82
+ EXTERNAL_TRAFFIC_POLICY_UNSPECIFIED = "EXTERNAL_TRAFFIC_POLICY_UNSPECIFIED",
83
+ TrafficPolicyCluster = "TrafficPolicyCluster",
84
+ TrafficPolicyLocal = "TrafficPolicyLocal",
85
+ }
86
+
75
87
  export type Cluster = {
76
88
  id?: string
77
89
  name?: string
@@ -127,4 +139,10 @@ export type Redis = {
127
139
  id?: string
128
140
  name?: string
129
141
  address?: string
142
+ }
143
+
144
+ export type KubernetesServicePort = {
145
+ port?: number
146
+ name?: string
147
+ protocol?: string
130
148
  }
@@ -12,11 +12,6 @@ export enum ListNamespaceReqGatewayStatus {
12
12
  Unavailable = "Unavailable",
13
13
  }
14
14
 
15
- export enum ListRegistryServiceReqRegistryType {
16
- hosted = "hosted",
17
- integrated = "integrated",
18
- }
19
-
20
15
  export enum RegistryServiceInfoRegistryType {
21
16
  NACOS = "NACOS",
22
17
  EUREKA = "EUREKA",
@@ -98,7 +93,7 @@ export type ListRegistryServiceReq = {
98
93
  kubernetesNamespaceName?: string
99
94
  registryName?: string
100
95
  nacosNamespaceName?: string
101
- registryType?: ListRegistryServiceReqRegistryType
96
+ isHosted?: boolean
102
97
  serviceName?: string
103
98
  page?: number
104
99
  pageSize?: number
@@ -124,6 +119,7 @@ export type RegistryServiceInfo = {
124
119
  kubernetesNamespaceName?: string
125
120
  kubernetesPorts?: string[]
126
121
  kubernetesLabels?: string[]
122
+ servicePorts?: SkoalaApiGeneralV1alpha1Common.KubernetesServicePort[]
127
123
  registryType?: RegistryServiceInfoRegistryType
128
124
  isHosted?: boolean
129
125
  }
@@ -137,6 +133,7 @@ export type MeshServiceInfo = {
137
133
  serviceName?: string
138
134
  namespaceName?: string
139
135
  sesameId?: string
136
+ servicePorts?: SkoalaApiGeneralV1alpha1Common.KubernetesServicePort[]
140
137
  }
141
138
 
142
139
  export type ListServiceReq = {
@@ -162,6 +159,7 @@ export type ListServiceInfo = {
162
159
  sesameServiceName?: string
163
160
  sesameNamespaceName?: string
164
161
  sesameId?: string
162
+ servicePorts?: SkoalaApiGeneralV1alpha1Common.KubernetesServicePort[]
165
163
  }
166
164
 
167
165
  export type ListNamespaceRes = {
@@ -185,6 +183,18 @@ export type ListStorageClassesReq = {
185
183
  clusterName?: string
186
184
  }
187
185
 
186
+ export type GetResourceQuotaReq = {
187
+ workspaceId?: string
188
+ clusterName?: string
189
+ namespaceName?: string
190
+ resourceQuotaName?: string
191
+ }
192
+
193
+ export type GetResourceQuotaRes = {
194
+ hard?: {[key: string]: string}
195
+ used?: {[key: string]: string}
196
+ }
197
+
188
198
  export type ListStorageClassesRes = {
189
199
  items?: string[]
190
200
  }
@@ -219,4 +229,34 @@ export type ListRedisReq = {
219
229
  export type ListRedisRes = {
220
230
  items?: SkoalaApiGeneralV1alpha1Common.Redis[]
221
231
  pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
232
+ }
233
+
234
+ export type GetNodePortStatusReq = {
235
+ workspaceId?: string
236
+ clusterName?: string
237
+ portNumber?: number
238
+ }
239
+
240
+ export type GetNodePortStatusRes = {
241
+ inUse?: boolean
242
+ }
243
+
244
+ export type ListClusterLBAddrPoolReq = {
245
+ workspaceId?: string
246
+ clusterName?: string
247
+ lbType?: SkoalaApiGeneralV1alpha1Common.LBType
248
+ page?: number
249
+ pageSize?: number
250
+ }
251
+
252
+ export type AddrPool = {
253
+ name?: string
254
+ addresses?: string[]
255
+ autoAssign?: boolean
256
+ avoidBuggyIps?: boolean
257
+ }
258
+
259
+ export type ListClusterLBAddrPoolRes = {
260
+ items?: AddrPool[]
261
+ pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
222
262
  }
@@ -44,6 +44,12 @@ export enum RedirectResponseCode {
44
44
  PERMANENT_REDIRECT = "PERMANENT_REDIRECT",
45
45
  }
46
46
 
47
+ export enum CookieSameSitesameSite {
48
+ Strict = "Strict",
49
+ Lax = "Lax",
50
+ None = "None",
51
+ }
52
+
47
53
  export enum LoadBalancePolicyStrategy {
48
54
  Random = "Random",
49
55
  RoundRobin = "RoundRobin",
@@ -102,6 +108,31 @@ export type AdvancedAPIConfig = {
102
108
  responseHeadersPolicy?: HeaderPolicy
103
109
  jwtPolicy?: JWTPolicy
104
110
  authPolicy?: AuthPolicy
111
+ cookieRewritePolicy?: CookieRewritePolicy[]
112
+ }
113
+
114
+ export type CookieRewritePolicy = {
115
+ name?: string
116
+ cookieDomainRewrite?: CookieDomainRewrite
117
+ cookiePathRewrite?: CookiePathRewrite
118
+ cookieSameSite?: CookieSameSite
119
+ cookieSecure?: CookieSecure
120
+ }
121
+
122
+ export type CookiePathRewrite = {
123
+ path?: string
124
+ }
125
+
126
+ export type CookieDomainRewrite = {
127
+ domain?: string
128
+ }
129
+
130
+ export type CookieSecure = {
131
+ secure?: boolean
132
+ }
133
+
134
+ export type CookieSameSite = {
135
+ sameSite?: CookieSameSitesameSite
105
136
  }
106
137
 
107
138
  export type AuthPolicy = {
@@ -182,6 +182,10 @@ export type EnvoyService = {
182
182
  serviceType?: SkoalaApiGeneralV1alpha1Service.ServiceType
183
183
  http?: Port
184
184
  https?: Port
185
+ trafficPolicy?: SkoalaApiGeneralV1alpha1Common.ExternalTrafficPolicy
186
+ lbType?: SkoalaApiGeneralV1alpha1Common.LBType
187
+ addrPoolName?: string
188
+ lbAddr?: string
185
189
  }
186
190
 
187
191
  export type ContourService = {
@@ -55,9 +55,14 @@ export type SecretSubjectAltName = {
55
55
  subjectAltName?: string[]
56
56
  }
57
57
 
58
+ export type AdvancedServiceConfigHealthcheckPolicy = {
59
+ port?: number
60
+ }
61
+
58
62
  export type AdvancedServiceConfig = {
59
63
  circuitBreakerPolicy?: CircuitBreakerPolicy
60
64
  tlsPolicy?: TLSPolicy
65
+ healthcheckPolicy?: AdvancedServiceConfigHealthcheckPolicy
61
66
  }
62
67
 
63
68
  export type TLSPolicy = {
@@ -147,6 +152,7 @@ export type ServiceInfo = {
147
152
  createdAt?: string
148
153
  serviceType?: SesameServiceType
149
154
  sesameId?: string
155
+ servicePort?: SkoalaApiGeneralV1alpha1Common.KubernetesServicePort[]
150
156
  }
151
157
 
152
158
  export type ServiceSourceInfo = {
@@ -183,6 +183,7 @@ export type NacosConfig = {
183
183
  ports?: SkoalaApiGeneralV1alpha1Service.ServicePort[]
184
184
  databaseEnabled?: boolean
185
185
  databaseParam?: DatabaseParam
186
+ lbParam?: LoadBalanceParam
186
187
  volume?: Volume
187
188
  insightEnabled?: boolean
188
189
  certificationEnabled?: boolean
@@ -202,6 +203,12 @@ export type DatabaseParam = {
202
203
  db?: string
203
204
  }
204
205
 
206
+ export type LoadBalanceParam = {
207
+ lbType?: SkoalaApiGeneralV1alpha1Common.LBType
208
+ addrPoolName?: string
209
+ lbAddr?: string
210
+ }
211
+
205
212
  export type ListNacosServiceReq = {
206
213
  workspaceId?: string
207
214
  clusterName?: string
@@ -87,7 +87,7 @@ export type GetSentinelDashGrafanaRes = {
87
87
  export type GetAppsSentinelGrafanaReq = {
88
88
  workspaceId?: string
89
89
  clusterName?: string
90
- namespaceName?: string
90
+ sentinel?: string
91
91
  app?: string
92
92
  }
93
93
 
@@ -129,7 +129,7 @@ export type ListClusterFlowClient = {
129
129
 
130
130
  export type ListClusterFlow = {
131
131
  server?: ListClusterFlowServer
132
- client?: ListClusterFlowClient
132
+ clients?: ListClusterFlowClient[]
133
133
  }
134
134
 
135
135
  export type ListClusterFlowReq = {
@@ -140,6 +140,15 @@ export type ListClusterFlowReq = {
140
140
  appName?: string
141
141
  }
142
142
 
143
+ export type GetClusterFlowReq = {
144
+ workspaceId?: string
145
+ clusterName?: string
146
+ namespaceName?: string
147
+ sentinelName?: string
148
+ appName?: string
149
+ tokenServer?: string
150
+ }
151
+
143
152
  export type DeleteClusterFlowReq = {
144
153
  workspaceId?: string
145
154
  clusterName?: string
@@ -154,6 +163,15 @@ export type ListClusterFlowRes = {
154
163
  pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
155
164
  }
156
165
 
166
+ export type GetClusterFlowRes = {
167
+ tokenServer?: string
168
+ port?: number
169
+ machineType?: MachineType
170
+ maxQps?: number
171
+ clients?: string[]
172
+ remainingClients?: string[]
173
+ }
174
+
157
175
  export type ListTokenServerReq = {
158
176
  workspaceId?: string
159
177
  clusterName?: string
@@ -178,6 +196,35 @@ export type TokenServerReq = {
178
196
  port?: number
179
197
  maxQps?: number
180
198
  clients?: string[]
199
+ remainingClients?: string[]
200
+ }
201
+
202
+ export type ListAppReq = {
203
+ workspaceId?: string
204
+ clusterName?: string
205
+ namespaceName?: string
206
+ sentinelName?: string
207
+ }
208
+
209
+ export type ListAppRes = {
210
+ items?: string[]
211
+ pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
212
+ }
213
+
214
+ export type GetRulesCountReq = {
215
+ workspaceId?: string
216
+ clusterName?: string
217
+ namespaceName?: string
218
+ sentinelName?: string
219
+ appName?: string
220
+ }
221
+
222
+ export type GetRulesCountRes = {
223
+ authorityRuleCount?: number
224
+ flowRuleCount?: number
225
+ paramFlowRuleCount?: number
226
+ systemRuleCount?: number
227
+ degradeRuleCount?: number
181
228
  }
182
229
 
183
230
  export type FlowRule = {
@@ -531,4 +578,24 @@ export type DeleteAuthorityRuleReq = {
531
578
  sentinelName?: string
532
579
  appName?: string
533
580
  ruleId?: string
581
+ }
582
+
583
+ export type GetStaticsSentinelReq = {
584
+ workspaceId?: string
585
+ }
586
+
587
+ export type ErrSentinelInfo = {
588
+ name?: string
589
+ cluster?: string
590
+ namespace?: string
591
+ reason?: string
592
+ }
593
+
594
+ export type ErrIns = {
595
+ items?: ErrSentinelInfo[]
596
+ pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
597
+ }
598
+
599
+ export type GetStaticsSentinelRes = {
600
+ errIns?: ErrIns
534
601
  }
@@ -143,7 +143,7 @@ export type GetVirtualhostRes = {
143
143
  corsPolicy?: CorsPolicy
144
144
  tlsPolicy?: VirtualhostTLSPolicy
145
145
  jwtProviders?: JwtProvider[]
146
- authorizationPolicy?: AuthorizationPolicy
146
+ authPolicy?: AuthorizationPolicy
147
147
  }
148
148
 
149
149
  export type UpdateVirtualhostReq = {
@@ -69,6 +69,9 @@ export class Skoala {
69
69
  static ListClusterStorageClasses(req: SkoalaApiGeneralV1alpha1Skoala.ListStorageClassesReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListStorageClassesRes> {
70
70
  return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListStorageClassesReq, SkoalaApiGeneralV1alpha1Skoala.ListStorageClassesRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/storage_classes?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName"])}`, {...initReq, method: "GET"})
71
71
  }
72
+ static GetResourceQuota(req: SkoalaApiGeneralV1alpha1Skoala.GetResourceQuotaReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.GetResourceQuotaRes> {
73
+ return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.GetResourceQuotaReq, SkoalaApiGeneralV1alpha1Skoala.GetResourceQuotaRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/resource_quota/${req["resourceQuotaName"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "resourceQuotaName"])}`, {...initReq, method: "GET"})
74
+ }
72
75
  static GetPrerequisite(req: SkoalaApiGeneralV1alpha1Skoala.GetPrerequisiteReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.GetPrerequisiteRes> {
73
76
  return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.GetPrerequisiteReq, SkoalaApiGeneralV1alpha1Skoala.GetPrerequisiteRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/prerequisites/${req["prerequisite"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "prerequisite"])}`, {...initReq, method: "GET"})
74
77
  }
@@ -78,6 +81,12 @@ export class Skoala {
78
81
  static ListRedis(req: SkoalaApiGeneralV1alpha1Skoala.ListRedisReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListRedisRes> {
79
82
  return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListRedisReq, SkoalaApiGeneralV1alpha1Skoala.ListRedisRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/redis?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
80
83
  }
84
+ static GetNodePortStatus(req: SkoalaApiGeneralV1alpha1Skoala.GetNodePortStatusReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.GetNodePortStatusRes> {
85
+ return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.GetNodePortStatusReq, SkoalaApiGeneralV1alpha1Skoala.GetNodePortStatusRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/nodeport/${req["portNumber"]}/status?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "portNumber"])}`, {...initReq, method: "GET"})
86
+ }
87
+ static ListClusterLBAddrPool(req: SkoalaApiGeneralV1alpha1Skoala.ListClusterLBAddrPoolReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListClusterLBAddrPoolRes> {
88
+ return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListClusterLBAddrPoolReq, SkoalaApiGeneralV1alpha1Skoala.ListClusterLBAddrPoolRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/lb/${req["lbType"]}/addrpools?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "lbType"])}`, {...initReq, method: "GET"})
89
+ }
81
90
  }
82
91
  export class Registry {
83
92
  static List(req: SkoalaApiIntegratedV1alpha1Registry.ListRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Registry.ListRegistryRes> {
@@ -132,6 +141,8 @@ export class Registry {
132
141
  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)})
133
142
  }
134
143
  }
144
+ export class ConfigCenter {
145
+ }
135
146
  export class Nacos {
136
147
  static List(req: SkoalaApiHostedV1alpha1Nacos.ListNacosReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosRes> {
137
148
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosReq, SkoalaApiHostedV1alpha1Nacos.ListNacosRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/nacoses?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
@@ -264,12 +275,21 @@ export class Sentinel {
264
275
  static ListClusterFlow(req: SkoalaApiHostedV1alpha1Sentinel.ListClusterFlowReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListClusterFlowRes> {
265
276
  return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListClusterFlowReq, SkoalaApiHostedV1alpha1Sentinel.ListClusterFlowRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/apps/${req["appName"]}/cluster-flows?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName", "appName"])}`, {...initReq, method: "GET"})
266
277
  }
278
+ static GetClusterFlow(req: SkoalaApiHostedV1alpha1Sentinel.GetClusterFlowReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetClusterFlowRes> {
279
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetClusterFlowReq, SkoalaApiHostedV1alpha1Sentinel.GetClusterFlowRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/apps/${req["appName"]}/tokenservers/${req["tokenServer"]}/cluster-flows?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName", "appName", "tokenServer"])}`, {...initReq, method: "GET"})
280
+ }
267
281
  static ListTokenServer(req: SkoalaApiHostedV1alpha1Sentinel.ListTokenServerReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListTokenServerRes> {
268
282
  return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListTokenServerReq, SkoalaApiHostedV1alpha1Sentinel.ListTokenServerRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/apps/${req["appName"]}/token-servers?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName", "appName"])}`, {...initReq, method: "GET"})
269
283
  }
270
284
  static CreateOrUpdateTokenServer(req: SkoalaApiHostedV1alpha1Sentinel.TokenServerReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
271
285
  return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.TokenServerReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/apps/${req["appName"]}/token-servers`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
272
286
  }
287
+ static ListApp(req: SkoalaApiHostedV1alpha1Sentinel.ListAppReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListAppRes> {
288
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListAppReq, SkoalaApiHostedV1alpha1Sentinel.ListAppRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/apps?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
289
+ }
290
+ static GetRulesCount(req: SkoalaApiHostedV1alpha1Sentinel.GetRulesCountReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetRulesCountRes> {
291
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetRulesCountReq, SkoalaApiHostedV1alpha1Sentinel.GetRulesCountRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/apps/${req["appName"]}/counts?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName", "appName"])}`, {...initReq, method: "GET"})
292
+ }
273
293
  static DeleteClusterFlow(req: SkoalaApiHostedV1alpha1Sentinel.DeleteClusterFlowReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
274
294
  return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteClusterFlowReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/apps/${req["appName"]}/cluster-flows/${req["serverId"]}`, {...initReq, method: "DELETE"})
275
295
  }
@@ -354,12 +374,17 @@ export class Grafana {
354
374
  return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetSentinelDashGrafanaReq, SkoalaApiHostedV1alpha1Sentinel.GetSentinelDashGrafanaRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/grafana?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
355
375
  }
356
376
  static GetAppsSentinelGrafana(req: SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaRes> {
357
- return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaReq, SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/apps/${req["app"]}/grafana?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "app"])}`, {...initReq, method: "GET"})
377
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaReq, SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/sentinels/${req["sentinel"]}/apps/${req["app"]}/grafana?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "sentinel", "app"])}`, {...initReq, method: "GET"})
358
378
  }
359
379
  static GetNacosGrafana(req: SkoalaApiHostedV1alpha1Nacos.GetNacosGrafanaReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosGrafanaRes> {
360
380
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosGrafanaReq, SkoalaApiHostedV1alpha1Nacos.GetNacosGrafanaRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/grafana?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName"])}`, {...initReq, method: "GET"})
361
381
  }
362
382
  }
383
+ export class Statics {
384
+ static GetStaticsSentinel(req: SkoalaApiHostedV1alpha1Sentinel.GetStaticsSentinelReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetStaticsSentinelRes> {
385
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetStaticsSentinelReq, SkoalaApiHostedV1alpha1Sentinel.GetStaticsSentinelRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/statics/sentinels?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
386
+ }
387
+ }
363
388
  export class Mesh {
364
389
  static ListMeshResource(req: SkoalaApiHostedV1alpha1Mesh.ListMeshResourceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Mesh.ListMeshResourceRes> {
365
390
  return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.ListMeshResourceReq, SkoalaApiHostedV1alpha1Mesh.ListMeshResourceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/mesh/${req["meshId"]}/istio-resources/${req["type"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "meshId", "type"])}`, {...initReq, method: "GET"})
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.16.1",
3
+ "version": "0.17.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {