@daocloud-proto/skoala 0.7.2-54 → 0.7.2-58

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.
@@ -0,0 +1,10 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ export enum DashboardType {
8
+ DASHBOARD_TYPE_UNSPECIFIED = "DASHBOARD_TYPE_UNSPECIFIED",
9
+ APPS_SENTINEL = "APPS_SENTINEL",
10
+ }
@@ -61,6 +61,20 @@ export type DeleteInsGovernReq = {
61
61
  heartbeatPort?: number
62
62
  }
63
63
 
64
+ export type GetAppsSentinelGrafanaReq = {
65
+ workspaceId?: string
66
+ clusterName?: string
67
+ namespaceName?: string
68
+ sentinelName?: string
69
+ app?: string
70
+ from?: string
71
+ to?: string
72
+ }
73
+
74
+ export type GetAppsSentinelGrafanaRes = {
75
+ url?: string
76
+ }
77
+
64
78
  export type FlowRule = {
65
79
  id?: number
66
80
  app?: string
@@ -321,6 +321,11 @@ export class Sentinel {
321
321
  return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteAuthorityRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/apps/${req["appName"]}/authority-rules/${req["ruleId"]}`, {...initReq, method: "DELETE"})
322
322
  }
323
323
  }
324
+ export class Grafana {
325
+ static GetAppsSentinelGrafana(req: SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaRes> {
326
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaReq, SkoalaApiHostedV1alpha1Sentinel.GetAppsSentinelGrafanaRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/apps/${req["app"]}/grafanas/apps-sentinel?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName", "app"])}`, {...initReq, method: "GET"})
327
+ }
328
+ }
324
329
  export class Mesh {
325
330
  static ListMeshResource(req: SkoalaApiHostedV1alpha1Mesh.ListMeshResourceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Mesh.ListMeshResourceRes> {
326
331
  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.7.2-54",
3
+ "version": "0.7.2-58",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {