@daocloud-proto/skoala 0.7.2-52 → 0.7.2-56

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.
@@ -3,6 +3,8 @@
3
3
  /*
4
4
  * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
5
  */
6
+
7
+ import * as SkoalaApiGeneralV1alpha1Common from "./common.pb"
6
8
  export type Version = {
7
9
  version?: string
8
10
  gitCommit?: string
@@ -12,4 +14,8 @@ export type Version = {
12
14
 
13
15
  export type GetVersionRes = {
14
16
  version?: Version
17
+ }
18
+
19
+ export type GetHiveChartsRes = {
20
+ nacos?: SkoalaApiGeneralV1alpha1Common.Chart
15
21
  }
@@ -104,4 +104,8 @@ export type DeleteMeshResourceReq = {
104
104
  type?: ResourceType
105
105
  name?: string
106
106
  output?: OutputFormat
107
+ }
108
+
109
+ export type GetAnyType = {
110
+ type?: ResourceType
107
111
  }
@@ -413,6 +413,8 @@ export type GetNacosServiceInstanceInsightReq = {
413
413
  port?: number
414
414
  ephemeral?: boolean
415
415
  nacosInstanceId?: string
416
+ start?: string
417
+ end?: string
416
418
  }
417
419
 
418
420
  export type GetNacosServiceInstanceInsightRes = {
@@ -738,6 +740,7 @@ export type RollbackNacosConfigReq = {
738
740
  group?: string
739
741
  content?: string
740
742
  appName?: string
743
+ type?: NacosConfigFileType
741
744
  }
742
745
 
743
746
  export type DeleteNacosConfigReq = {
@@ -768,6 +771,7 @@ export type LeaveNodeReq = {
768
771
  clusterName?: string
769
772
  namespaceName?: string
770
773
  nacosName?: string
774
+ nodeAddresses?: string[]
771
775
  }
772
776
 
773
777
  export type ReportNodeReq = {
@@ -6,7 +6,6 @@
6
6
 
7
7
  import * as SkoalaApiGeneralV1alpha1Common from "../../general/v1alpha1/common.pb"
8
8
  import * as SkoalaApiGeneralV1alpha1Insight from "../../general/v1alpha1/insight.pb"
9
- import * as SkoalaApiIntegratedV1alpha1Insight from "./insight.pb"
10
9
 
11
10
  export enum InstanceStatus {
12
11
  STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
@@ -25,8 +24,7 @@ export type Instance = {
25
24
  metadata?: {[key: string]: string}
26
25
  detail?: {[key: string]: string}
27
26
  updateAt?: string
28
- insight?: SkoalaApiIntegratedV1alpha1Insight.InstanceInsight
29
- insightTemp?: SkoalaApiGeneralV1alpha1Insight.InsightBrief
27
+ insight?: SkoalaApiGeneralV1alpha1Insight.InsightBrief
30
28
  }
31
29
 
32
30
  export type ListInstanceReq = {
@@ -65,6 +63,7 @@ export type GetInstanceInsightReq = {
65
63
  groupName?: string
66
64
  serviceName?: string
67
65
  instanceId?: string
66
+ detail?: {[key: string]: string}
68
67
  }
69
68
 
70
69
  export type GetInstanceInsightRes = {
@@ -6,7 +6,6 @@
6
6
 
7
7
  import * as SkoalaApiGeneralV1alpha1Common from "../../general/v1alpha1/common.pb"
8
8
  import * as SkoalaApiGeneralV1alpha1Insight from "../../general/v1alpha1/insight.pb"
9
- import * as SkoalaApiIntegratedV1alpha1Insight from "./insight.pb"
10
9
  import * as SkoalaApiIntegratedV1alpha1Registry from "./registry.pb"
11
10
  export type Service = {
12
11
  name?: string
@@ -15,8 +14,7 @@ export type Service = {
15
14
  instanceCount?: number
16
15
  registry?: SkoalaApiIntegratedV1alpha1Registry.Registry
17
16
  detail?: {[key: string]: string}
18
- insight?: SkoalaApiIntegratedV1alpha1Insight.Insight
19
- insightTemp?: SkoalaApiGeneralV1alpha1Insight.InsightBrief
17
+ insight?: SkoalaApiGeneralV1alpha1Insight.InsightBrief
20
18
  }
21
19
 
22
20
  export type ListServiceReq = {
@@ -52,6 +50,9 @@ export type GetServiceInsightReq = {
52
50
  namespaceId?: string
53
51
  groupName?: string
54
52
  serviceName?: string
53
+ regType?: string
54
+ namespace?: NamespaceWithGroup
55
+ detail?: {[key: string]: string}
55
56
  start?: string
56
57
  end?: string
57
58
  }
@@ -6,6 +6,7 @@
6
6
 
7
7
  import * as fm from "../../../fetch.pb"
8
8
  import * as GoogleApiHttpbody from "../../../google/api/httpbody.pb"
9
+ import * as GoogleProtobufAny from "../../../google/protobuf/any.pb"
9
10
  import * as GoogleProtobufEmpty from "../../../google/protobuf/empty.pb"
10
11
  import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
11
12
  import * as SkoalaApiGeneralV1alpha1Version from "../../general/v1alpha1/version.pb"
@@ -27,6 +28,9 @@ export class Hive {
27
28
  static GetVersion(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Version.GetVersionRes> {
28
29
  return fm.fetchReq<GoogleProtobufEmpty.Empty, SkoalaApiGeneralV1alpha1Version.GetVersionRes>(`/apis/hive.skoala.io/v1alpha1/version?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
29
30
  }
31
+ static GetCharts(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Version.GetHiveChartsRes> {
32
+ return fm.fetchReq<GoogleProtobufEmpty.Empty, SkoalaApiGeneralV1alpha1Version.GetHiveChartsRes>(`/apis/hive.skoala.io/v1alpha1/charts?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
33
+ }
30
34
  }
31
35
  export class Sesame {
32
36
  static GetVersion(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Version.GetVersionRes> {
@@ -333,6 +337,9 @@ export class Mesh {
333
337
  static DeleteMeshResource(req: SkoalaApiHostedV1alpha1Mesh.DeleteMeshResourceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
334
338
  return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.DeleteMeshResourceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/mesh/${req["meshId"]}/istio-resources/${req["type"]}/${req["name"]}`, {...initReq, method: "DELETE", body: JSON.stringify(req, fm.replacer)})
335
339
  }
340
+ static GetAnyTypeNameByResourceType(req: SkoalaApiHostedV1alpha1Mesh.GetAnyType, initReq?: fm.InitReq): Promise<GoogleProtobufAny.Any> {
341
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.GetAnyType, GoogleProtobufAny.Any>(`/apis/hive.skoala.io/v1alpha1/istio-resources/${req["type"]}/type-value?${fm.renderURLSearchParams(req, ["type"])}`, {...initReq, method: "GET"})
342
+ }
336
343
  }
337
344
  export class Plugin {
338
345
  static List(req: SkoalaApiHostedV1alpha1Plugins.ListPluginReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Plugins.ListPluginRes> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.7.2-52",
3
+ "version": "0.7.2-56",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {