@daocloud-proto/skoala 0.27.2-96 → 0.28.0

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.
@@ -144,6 +144,8 @@ export type AdvancedAPIReq = {
144
144
 
145
145
  export type TimeoutPolicy = {
146
146
  response?: string
147
+ idleConnection?: string
148
+ idle?: string
147
149
  }
148
150
 
149
151
  export type PathRewritePolicy = {
@@ -33,6 +33,13 @@ export enum SesameGatewayResourceType {
33
33
  SESAME_RESOURCE_API = "SESAME_RESOURCE_API",
34
34
  }
35
35
 
36
+ export enum MemoryUnit {
37
+ MEMORY_UNIT_UNSPECIFIED = "MEMORY_UNIT_UNSPECIFIED",
38
+ Ki = "Ki",
39
+ Mi = "Mi",
40
+ Gi = "Gi",
41
+ }
42
+
36
43
  export enum HealthStatus {
37
44
  HEALTH_STATUS_UNSPECIFIED = "HEALTH_STATUS_UNSPECIFIED",
38
45
  Healthy = "Healthy",
@@ -345,10 +352,16 @@ export type EnvoyAdvancedConfig = BaseEnvoyAdvancedConfig
345
352
 
346
353
  export type AdvancedConfig = {
347
354
  log?: Log
355
+ maxHeapSize?: MaxHeapSize
348
356
  contour?: ContourAdvancedConfig
349
357
  envoy?: EnvoyAdvancedConfig
350
358
  }
351
359
 
360
+ export type MaxHeapSize = {
361
+ unit?: MemoryUnit
362
+ size?: string
363
+ }
364
+
352
365
  export type Log = {
353
366
  envoyLogLevel?: LogLogLevel
354
367
  kubernetesDebug?: number
@@ -132,6 +132,14 @@ export type DeleteLaneServiceReq = {
132
132
  services?: LaneServiceDetail[]
133
133
  }
134
134
 
135
+ export type GetLaneGraphReq = {
136
+ workspaceId?: string
137
+ meshId?: string
138
+ laneName?: string
139
+ start?: string
140
+ end?: string
141
+ }
142
+
135
143
  export type ListMeshServiceReq = {
136
144
  workspaceId?: string
137
145
  meshId?: string
@@ -17,6 +17,26 @@ type OneOf<T> =
17
17
  : never)
18
18
  : never);
19
19
 
20
+ export enum SentinelStatus {
21
+ Sentinel_Unknown = "Sentinel_Unknown",
22
+ Sentinel_Waiting = "Sentinel_Waiting",
23
+ Sentinel_Running = "Sentinel_Running",
24
+ Sentinel_Deleting = "Sentinel_Deleting",
25
+ Sentinel_NotReady = "Sentinel_NotReady",
26
+ }
27
+
28
+ export enum SeataStatus {
29
+ Seata_Unknown = "Seata_Unknown",
30
+ Seata_Waiting = "Seata_Waiting",
31
+ Seata_Running = "Seata_Running",
32
+ Seata_Deleting = "Seata_Deleting",
33
+ Seata_NotReady = "Seata_NotReady",
34
+ }
35
+
36
+ export enum MeshStatus {
37
+ Mesh_Unknown = "Mesh_Unknown",
38
+ }
39
+
20
40
  export enum GetSeataPluginResPhase {
21
41
  Waiting = "Waiting",
22
42
  Running = "Running",
@@ -47,6 +67,9 @@ export enum GetSentinelResPhase {
47
67
  export type Plugin = {
48
68
  name?: string
49
69
  enabled?: boolean
70
+ sentinelStatus?: SentinelStatus
71
+ seataStatus?: SeataStatus
72
+ meshStatus?: MeshStatus
50
73
  }
51
74
 
52
75
  export type ListPluginReq = {
@@ -0,0 +1,124 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as SkoalaApiGeneralV1alpha1Common from "../../general/v1alpha1/common.pb"
8
+
9
+ export enum TxStatus {
10
+ Tx_Unspecified = "Tx_Unspecified",
11
+ Begin = "Begin",
12
+ Committing = "Committing",
13
+ CommitRetrying = "CommitRetrying",
14
+ Rollbacking = "Rollbacking",
15
+ RollbackRetrying = "RollbackRetrying",
16
+ TimeoutRollbacking = "TimeoutRollbacking",
17
+ TimeoutRollbackRetrying = "TimeoutRollbackRetrying",
18
+ AsyncCommitting = "AsyncCommitting",
19
+ Committed = "Committed",
20
+ CommitFailed = "CommitFailed",
21
+ Rollbacked = "Rollbacked",
22
+ RollbackFailed = "RollbackFailed",
23
+ TimeoutRollbacked = "TimeoutRollbacked",
24
+ TimeoutRollbackFailed = "TimeoutRollbackFailed",
25
+ Finished = "Finished",
26
+ CommitRetryTimeout = "CommitRetryTimeout",
27
+ RollbackRetryTimeout = "RollbackRetryTimeout",
28
+ UnKnown = "UnKnown",
29
+ }
30
+
31
+ export enum BranchTxStatus {
32
+ Branch_Unspecified = "Branch_Unspecified",
33
+ Registered = "Registered",
34
+ PhaseOne_Done = "PhaseOne_Done",
35
+ PhaseOne_Failed = "PhaseOne_Failed",
36
+ PhaseOne_Timeout = "PhaseOne_Timeout",
37
+ PhaseTwo_Committed = "PhaseTwo_Committed",
38
+ PhaseTwo_CommitFailed_Retryable = "PhaseTwo_CommitFailed_Retryable",
39
+ PhaseTwo_CommitFailed_Unretryable = "PhaseTwo_CommitFailed_Unretryable",
40
+ PhaseTwo_Rollbacked = "PhaseTwo_Rollbacked",
41
+ PhaseTwo_RollbackFailed_Retryable = "PhaseTwo_RollbackFailed_Retryable",
42
+ PhaseTwo_RollbackFailed_Unretryable = "PhaseTwo_RollbackFailed_Unretryable",
43
+ Branch_UnKnown = "Branch_UnKnown",
44
+ }
45
+
46
+ export type ListTxReq = {
47
+ workspaceId?: string
48
+ clusterName?: string
49
+ namespaceName?: string
50
+ seataName?: string
51
+ page?: number
52
+ pageSize?: number
53
+ withBranch?: boolean
54
+ accessToken?: string
55
+ authorization?: string[]
56
+ xid?: string
57
+ applicationId?: string
58
+ timeStart?: string
59
+ timeEnd?: string
60
+ status?: TxStatus
61
+ }
62
+
63
+ export type ListTxRes = {
64
+ items?: Tx[]
65
+ pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
66
+ }
67
+
68
+ export type Tx = {
69
+ xid?: string
70
+ transactionId?: string
71
+ applicationId?: string
72
+ transactionServiceGroup?: string
73
+ transactionName?: string
74
+ status?: TxStatus
75
+ timeout?: string
76
+ beginTime?: string
77
+ applicationData?: string
78
+ branchSessionVOs?: BranchSessionVOs[]
79
+ }
80
+
81
+ export type BranchSessionVOs = {
82
+ transactionId?: string
83
+ branchId?: string
84
+ resourceGroupId?: string
85
+ branchType?: string
86
+ status?: BranchTxStatus
87
+ resourceId?: string
88
+ clientId?: string
89
+ applicationData?: string
90
+ }
91
+
92
+ export type ListLockReq = {
93
+ workspaceId?: string
94
+ clusterName?: string
95
+ namespaceName?: string
96
+ seataName?: string
97
+ page?: number
98
+ pageSize?: number
99
+ timeStart?: string
100
+ timeEnd?: string
101
+ xid?: string
102
+ tableName?: string
103
+ transactionId?: string
104
+ branchId?: string
105
+ authorization?: string[]
106
+ accessToken?: string
107
+ }
108
+
109
+ export type ListLockRes = {
110
+ items?: Lock[]
111
+ pagination?: SkoalaApiGeneralV1alpha1Common.Pagination
112
+ }
113
+
114
+ export type Lock = {
115
+ xid?: string
116
+ transactionId?: string
117
+ branchId?: string
118
+ resourceId?: string
119
+ tableName?: string
120
+ pk?: string
121
+ rowKey?: string
122
+ gmtCreate?: string
123
+ gmtModified?: string
124
+ }
@@ -63,6 +63,19 @@ export type GetAPIRes = {
63
63
  statusDescription?: string
64
64
  }
65
65
 
66
+ export type GetAPIDocReq = {
67
+ workspaceId?: string
68
+ gatewayName?: string
69
+ clusterName?: string
70
+ namespaceName?: string
71
+ apiName?: string
72
+ }
73
+
74
+ export type GetAPIDocRes = {
75
+ apiName?: string
76
+ apiDoc?: string
77
+ }
78
+
66
79
  export type APIConfig = {
67
80
  apiName?: string
68
81
  fqdn?: string
@@ -86,4 +99,4 @@ type BaseRouteRule = {
86
99
  }
87
100
 
88
101
  export type RouteRule = BaseRouteRule
89
- & OneOf<{ routeService: SkoalaApiHostedV1alpha1Api.RouteAction; redirect: SkoalaApiHostedV1alpha1Api.RedirectAction; directResponse: SkoalaApiHostedV1alpha1Api.DirectResponse }>
102
+ & OneOf<{ routeAction: SkoalaApiHostedV1alpha1Api.RouteAction; redirect: SkoalaApiHostedV1alpha1Api.RedirectAction; directResponse: SkoalaApiHostedV1alpha1Api.DirectResponse }>
@@ -8,6 +8,7 @@ import * as fm from "../../../fetch.pb"
8
8
  import * as GoogleApiHttpbody from "../../../google/api/httpbody.pb"
9
9
  import * as GoogleProtobufAny from "../../../google/protobuf/any.pb"
10
10
  import * as GoogleProtobufEmpty from "../../../google/protobuf/empty.pb"
11
+ import * as InsightIoApiGraphV1alpha1Graph from "../../../graph/v1alpha1/graph.pb"
11
12
  import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
12
13
  import * as SkoalaApiGeneralV1alpha1Version from "../../general/v1alpha1/version.pb"
13
14
  import * as SkoalaApiHostedV1alpha1Api from "../../hosted/v1alpha1/api.pb"
@@ -22,6 +23,7 @@ import * as SkoalaApiHostedV1alpha1Lane from "../../hosted/v1alpha1/lane.pb"
22
23
  import * as SkoalaApiHostedV1alpha1Mesh from "../../hosted/v1alpha1/mesh.pb"
23
24
  import * as SkoalaApiHostedV1alpha1Nacos from "../../hosted/v1alpha1/nacos.pb"
24
25
  import * as SkoalaApiHostedV1alpha1Plugins from "../../hosted/v1alpha1/plugins.pb"
26
+ import * as SkoalaApiHostedV1alpha1Seata from "../../hosted/v1alpha1/seata.pb"
25
27
  import * as SkoalaApiHostedV1alpha1Sentinel from "../../hosted/v1alpha1/sentinel.pb"
26
28
  import * as SkoalaApiHostedV1alpha1Skoala_plugins from "../../hosted/v1alpha1/skoala_plugins.pb"
27
29
  import * as SkoalaApiHostedV1alpha1Virtualhost from "../../hosted/v1alpha1/virtualhost.pb"
@@ -411,6 +413,14 @@ export class Sentinel {
411
413
  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"})
412
414
  }
413
415
  }
416
+ export class Seata {
417
+ static ListTx(req: SkoalaApiHostedV1alpha1Seata.ListTxReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Seata.ListTxRes> {
418
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Seata.ListTxReq, SkoalaApiHostedV1alpha1Seata.ListTxRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/seatas/${req["seataName"]}/tx?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "seataName"])}`, {...initReq, method: "GET"})
419
+ }
420
+ static ListLock(req: SkoalaApiHostedV1alpha1Seata.ListLockReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Seata.ListLockRes> {
421
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Seata.ListLockReq, SkoalaApiHostedV1alpha1Seata.ListLockRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/seatas/${req["seataName"]}/locks?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "seataName"])}`, {...initReq, method: "GET"})
422
+ }
423
+ }
414
424
  export class Grafana {
415
425
  static GetSentinelDashGrafana(req: SkoalaApiHostedV1alpha1Sentinel.GetSentinelDashGrafanaReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetSentinelDashGrafanaRes> {
416
426
  return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetSentinelDashGrafanaReq, SkoalaApiHostedV1alpha1Sentinel.GetSentinelDashGrafanaRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinels/${req["sentinelName"]}/grafana?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
@@ -474,7 +484,7 @@ export class Mesh {
474
484
  return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.CreateServiceIstioPluginReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/ports/${req["ports"]}/istioplugin`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
475
485
  }
476
486
  static ListServiceIstioPlugin(req: SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginRes> {
477
- return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginReq, SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/port/${req["port"]}/istioplugin?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName", "serviceName", "port"])}`, {...initReq, method: "GET"})
487
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginReq, SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/ports/${req["port"]}/istioplugin?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName", "serviceName", "port"])}`, {...initReq, method: "GET"})
478
488
  }
479
489
  static GetServiceIstioPlugin(req: SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginRes> {
480
490
  return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginReq, SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/istioplugin/${req["pluginName"]}?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName", "serviceName", "pluginName"])}`, {...initReq, method: "GET"})
@@ -486,7 +496,7 @@ export class Mesh {
486
496
  return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.UpdateServiceIstioPluginReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/istioplugin/${req["pluginName"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
487
497
  }
488
498
  static SortServiceIstioPlugin(req: SkoalaApiHostedV1alpha1Mesh.SortServiceIstioPluginReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
489
- return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.SortServiceIstioPluginReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/port/${req["port"]}/istioplugin/sort`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
499
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.SortServiceIstioPluginReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/ports/${req["port"]}/istioplugin/sort`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
490
500
  }
491
501
  static ListServiceIstioPluginRLSPorts(req: SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginRLSPortsReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginRLSPortsRes> {
492
502
  return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginRLSPortsReq, SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginRLSPortsRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/istioplugin/rls/ports?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName", "serviceName"])}`, {...initReq, method: "GET"})
@@ -495,16 +505,16 @@ export class Mesh {
495
505
  return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginRLSRulesReq, SkoalaApiHostedV1alpha1Mesh.ListServiceIstioPluginRLSRulesRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/istioplugin/rls/rules?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName", "serviceName"])}`, {...initReq, method: "GET"})
496
506
  }
497
507
  static GetServiceIstioPluginRLSRules(req: SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginRLSRulesReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginRLSRulesRes> {
498
- return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginRLSRulesReq, SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginRLSRulesRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/port/${req["port"]}/istioplugin/rls/rules?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName", "serviceName", "port"])}`, {...initReq, method: "GET"})
508
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginRLSRulesReq, SkoalaApiHostedV1alpha1Mesh.GetServiceIstioPluginRLSRulesRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/ports/${req["port"]}/istioplugin/rls/rules?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName", "serviceName", "port"])}`, {...initReq, method: "GET"})
499
509
  }
500
510
  static CreateServiceIstioPluginRLSRules(req: SkoalaApiHostedV1alpha1Mesh.CreateServiceIstioPluginRLSRulesReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
501
- return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.CreateServiceIstioPluginRLSRulesReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/port/${req["port"]}/istioplugin/rls/rules`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
511
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.CreateServiceIstioPluginRLSRulesReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/ports/${req["port"]}/istioplugin/rls/rules`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
502
512
  }
503
513
  static DeleteServiceIstioPluginRLSRules(req: SkoalaApiHostedV1alpha1Mesh.DeleteServiceIstioPluginRLSRulesReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
504
- return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.DeleteServiceIstioPluginRLSRulesReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/port/${req["port"]}/istioplugin/rls/rules`, {...initReq, method: "DELETE"})
514
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.DeleteServiceIstioPluginRLSRulesReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/ports/${req["port"]}/istioplugin/rls/rules`, {...initReq, method: "DELETE"})
505
515
  }
506
516
  static UpdateServiceIstioPluginRLSRules(req: SkoalaApiHostedV1alpha1Mesh.UpdateServiceIstioPluginRLSRulesReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
507
- return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.UpdateServiceIstioPluginRLSRulesReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/port/${req["port"]}/istioplugin/rls/rules`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
517
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.UpdateServiceIstioPluginRLSRulesReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}/ports/${req["port"]}/istioplugin/rls/rules`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
508
518
  }
509
519
  static GetService(req: SkoalaApiHostedV1alpha1Mesh.GetServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Mesh.GetServiceRes> {
510
520
  return fm.fetchReq<SkoalaApiHostedV1alpha1Mesh.GetServiceReq, SkoalaApiHostedV1alpha1Mesh.GetServiceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services/${req["serviceName"]}?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName", "serviceName"])}`, {...initReq, method: "GET"})
@@ -912,6 +922,9 @@ export class Lane {
912
922
  static DeleteLaneService(req: SkoalaApiHostedV1alpha1Lane.DeleteLaneServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
913
923
  return fm.fetchReq<SkoalaApiHostedV1alpha1Lane.DeleteLaneServiceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/lanes/${req["laneName"]}/services`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
914
924
  }
925
+ static GetLaneGraph(req: SkoalaApiHostedV1alpha1Lane.GetLaneGraphReq, initReq?: fm.InitReq): Promise<InsightIoApiGraphV1alpha1Graph.Graph> {
926
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Lane.GetLaneGraphReq, InsightIoApiGraphV1alpha1Graph.Graph>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/lanes/${req["laneName"]}/services/graph?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "laneName"])}`, {...initReq, method: "GET"})
927
+ }
915
928
  static ListMeshService(req: SkoalaApiHostedV1alpha1Lane.ListMeshServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Lane.ListMeshServiceRes> {
916
929
  return fm.fetchReq<SkoalaApiHostedV1alpha1Lane.ListMeshServiceReq, SkoalaApiHostedV1alpha1Lane.ListMeshServiceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces/${req["namespaceName"]}/services?${fm.renderURLSearchParams(req, ["workspaceId", "meshId", "namespaceName"])}`, {...initReq, method: "GET"})
917
930
  }
@@ -20,4 +20,7 @@ export class GatewayAPI {
20
20
  static GetGatewayAPI(req: SkoalaApiHostedV1alpha2Gateway_api.GetAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha2Gateway_api.GetAPIRes> {
21
21
  return fm.fetchReq<SkoalaApiHostedV1alpha2Gateway_api.GetAPIReq, SkoalaApiHostedV1alpha2Gateway_api.GetAPIRes>(`/apis/sesame.skoala.io/v1alpha2/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName", "apiName"])}`, {...initReq, method: "GET"})
22
22
  }
23
+ static GetGatewayAPIDoc(req: SkoalaApiHostedV1alpha2Gateway_api.GetAPIDocReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha2Gateway_api.GetAPIDocRes> {
24
+ return fm.fetchReq<SkoalaApiHostedV1alpha2Gateway_api.GetAPIDocReq, SkoalaApiHostedV1alpha2Gateway_api.GetAPIDocRes>(`/apis/sesame.skoala.io/v1alpha2/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}/doc?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName", "apiName"])}`, {...initReq, method: "GET"})
25
+ }
23
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/skoala",
3
- "version": "0.27.2-96",
3
+ "version": "0.28.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {