@daocloud-proto/skoala 0.52.1 → 0.53.0-4
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.
|
@@ -133,6 +133,7 @@ export type Nacos = {
|
|
|
133
133
|
lbParam?: LoadBalanceParam
|
|
134
134
|
affinity?: SkoalaApiGeneralV1alpha1Affinity.Affinity
|
|
135
135
|
logTarget?: LogTarget
|
|
136
|
+
staticIpAnnotations?: {[key: string]: string}
|
|
136
137
|
}
|
|
137
138
|
|
|
138
139
|
export type NacosDatabase = {
|
|
@@ -247,6 +248,7 @@ export type NacosConfig = {
|
|
|
247
248
|
ldap?: LDAP
|
|
248
249
|
affinity?: SkoalaApiGeneralV1alpha1Affinity.Affinity
|
|
249
250
|
logTarget?: LogTarget
|
|
251
|
+
staticIpAnnotations?: {[key: string]: string}
|
|
250
252
|
}
|
|
251
253
|
|
|
252
254
|
export type Volume = {
|
|
@@ -335,4 +335,16 @@ export type GetAIGatewayMenusResMenuItem = {
|
|
|
335
335
|
|
|
336
336
|
export type GetAIGatewayMenusRes = {
|
|
337
337
|
items?: GetAIGatewayMenusResMenuItem[]
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export type RefreshAIGatewayHelmStatusReq = {
|
|
341
|
+
workspaceId?: string
|
|
342
|
+
clusterName?: string
|
|
343
|
+
namespaceName?: string
|
|
344
|
+
gatewayName?: string
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export type RefreshAIGatewayHelmStatusRes = {
|
|
348
|
+
gateway?: AIGateway
|
|
349
|
+
refreshedAt?: string
|
|
338
350
|
}
|
|
@@ -31,6 +31,9 @@ export class AIGateway {
|
|
|
31
31
|
static GetAIGatewayMenus(req: SkoalaApiHostedV1alpha3Ai_gateway.GetAIGatewayMenusReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha3Ai_gateway.GetAIGatewayMenusRes> {
|
|
32
32
|
return fm.fetchReq<SkoalaApiHostedV1alpha3Ai_gateway.GetAIGatewayMenusReq, SkoalaApiHostedV1alpha3Ai_gateway.GetAIGatewayMenusRes>(`/apis/sesame.skoala.io/v1alpha3/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/aigateways/${req["gatewayName"]}/menus?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
|
|
33
33
|
}
|
|
34
|
+
static RefreshAIGatewayHelmStatus(req: SkoalaApiHostedV1alpha3Ai_gateway.RefreshAIGatewayHelmStatusReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha3Ai_gateway.RefreshAIGatewayHelmStatusRes> {
|
|
35
|
+
return fm.fetchReq<SkoalaApiHostedV1alpha3Ai_gateway.RefreshAIGatewayHelmStatusReq, SkoalaApiHostedV1alpha3Ai_gateway.RefreshAIGatewayHelmStatusRes>(`/apis/sesame.skoala.io/v1alpha3/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/aigateways/${req["gatewayName"]}/refresh-gateway-status`, {...initReq, method: "POST"})
|
|
36
|
+
}
|
|
34
37
|
}
|
|
35
38
|
export class Skoala {
|
|
36
39
|
static ListGatewayNamespaces(req: SkoalaApiHostedV1alpha3Skoala.ListNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha3Skoala.ListNamespaceRes> {
|