@daocloud-proto/skoala 0.31.2-2 → 0.31.2-22

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.
@@ -12,4 +12,5 @@ export enum DashboardType {
12
12
  Nacos = "Nacos",
13
13
  SentinelDashboard = "SentinelDashboard",
14
14
  AppsJvm = "AppsJvm",
15
+ Seata = "Seata",
15
16
  }
@@ -892,6 +892,18 @@ export type GetNacosGrafanaRes = {
892
892
  zhUrl?: string
893
893
  }
894
894
 
895
+ export type GetSeataGrafanaReq = {
896
+ workspaceId?: string
897
+ clusterName?: string
898
+ namespaceName?: string
899
+ seataName?: string
900
+ }
901
+
902
+ export type GetSeataGrafanaRes = {
903
+ url?: string
904
+ zhUrl?: string
905
+ }
906
+
895
907
  export type GetResourceInfoReq = {
896
908
  workspaceId?: string
897
909
  clusterName?: string
@@ -65,6 +65,9 @@ export type Registry = {
65
65
  totalInstanceCount?: number
66
66
  updatedAt?: string
67
67
  createdAt?: string
68
+ isAuth?: boolean
69
+ username?: string
70
+ password?: string
68
71
  }
69
72
 
70
73
  export type PartOfRegistry = {
@@ -133,6 +136,9 @@ export type UpdateRegistryReq = {
133
136
  addresses?: string[]
134
137
  namespaces?: Namespace[]
135
138
  isHosted?: boolean
139
+ isAuth?: boolean
140
+ username?: string
141
+ password?: string
136
142
  }
137
143
 
138
144
  export type CreateRegistryReq = {
@@ -143,6 +149,9 @@ export type CreateRegistryReq = {
143
149
  addresses?: string[]
144
150
  namespaces?: Namespace[]
145
151
  isHosted?: boolean
152
+ isAuth?: boolean
153
+ username?: string
154
+ password?: string
146
155
  }
147
156
 
148
157
  export type DeleteRegistryReq = {
@@ -156,6 +165,9 @@ export type PingRegistryReq = {
156
165
  name?: string
157
166
  addresses?: string[]
158
167
  namespaces?: Namespace[]
168
+ isAuth?: boolean
169
+ username?: string
170
+ password?: string
159
171
  }
160
172
 
161
173
  export type PingRegistryRes = {
@@ -431,6 +431,9 @@ export class Grafana {
431
431
  static GetNacosGrafana(req: SkoalaApiHostedV1alpha1Nacos.GetNacosGrafanaReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosGrafanaRes> {
432
432
  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"})
433
433
  }
434
+ static GetSeataGrafana(req: SkoalaApiHostedV1alpha1Nacos.GetSeataGrafanaReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetSeataGrafanaRes> {
435
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetSeataGrafanaReq, SkoalaApiHostedV1alpha1Nacos.GetSeataGrafanaRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/seata/${req["seataName"]}/grafana?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "seataName"])}`, {...initReq, method: "GET"})
436
+ }
434
437
  }
435
438
  export class Statics {
436
439
  static GetStaticsSentinel(req: SkoalaApiHostedV1alpha1Sentinel.GetStaticsSentinelReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetStaticsSentinelRes> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.31.2-2",
3
+ "version": "0.31.2-22",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {