@daocloud-proto/skoala 0.13.0 → 0.14.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.
@@ -105,10 +105,15 @@ export type RegistryServiceInfo = {
105
105
  meshId?: string
106
106
  meshName?: string
107
107
  meshNamespaceName?: string
108
+ meshType?: string
109
+ meshStatus?: string
110
+ meshDeployType?: string
108
111
  nacosNamespaceId?: string
109
112
  nacosGroupName?: string
110
113
  kubernetesClusterName?: string
111
114
  kubernetesNamespaceName?: string
115
+ kubernetesPorts?: string[]
116
+ kubernetesLabels?: string[]
112
117
  registryType?: RegistryServiceInfoRegistryType
113
118
  }
114
119
 
@@ -845,4 +845,22 @@ export type GetNacosGrafanaReq = {
845
845
  export type GetNacosGrafanaRes = {
846
846
  url?: string
847
847
  zhUrl?: string
848
+ }
849
+
850
+ export type NacosDashBoardReq = {
851
+ workspaceId?: string
852
+ isHosted?: boolean
853
+ }
854
+
855
+ export type NacosDashBoardRessvcCount = {
856
+ count?: number
857
+ name?: string
858
+ }
859
+
860
+ export type NacosDashBoardRes = {
861
+ total?: number
862
+ health?: number
863
+ serviceCount?: number
864
+ configCount?: number
865
+ serviceRanking?: NacosDashBoardRessvcCount[]
848
866
  }
@@ -87,7 +87,7 @@ export type GetAppsSentinelGrafanaRes = {
87
87
  }
88
88
 
89
89
  export type Resource = {
90
- name?: string
90
+ resource?: string
91
91
  }
92
92
 
93
93
  export type ListResourceReq = {
@@ -96,8 +96,6 @@ export type ListResourceReq = {
96
96
  namespaceName?: string
97
97
  sentinelName?: string
98
98
  appName?: string
99
- page?: number
100
- pageSize?: number
101
99
  }
102
100
 
103
101
  export type ListResourceRes = {
@@ -250,6 +250,9 @@ export class Nacos {
250
250
  static CheckConfig(req: SkoalaApiHostedV1alpha1Nacos.CheckNacosConfigReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.CheckNacosConfigRes> {
251
251
  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"})
252
252
  }
253
+ static GetNacosDashBoard(req: SkoalaApiHostedV1alpha1Nacos.NacosDashBoardReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.NacosDashBoardRes> {
254
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.NacosDashBoardReq, SkoalaApiHostedV1alpha1Nacos.NacosDashBoardRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/nacos_dashboard?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
255
+ }
253
256
  }
254
257
  export class Sentinel {
255
258
  static GetInsGovern(req: SkoalaApiHostedV1alpha1Sentinel.GetInsGovernReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetInsGovernRes> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.13.0",
3
+ "version": "0.14.0-4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {