@daocloud-proto/skoala 0.6.1 → 0.7.0-2

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.
@@ -5,6 +5,7 @@
5
5
  */
6
6
 
7
7
  import * as fm from "../../../fetch.pb"
8
+ import * as GoogleApiHttpbody from "../../../google/api/httpbody.pb"
8
9
  import * as GoogleProtobufEmpty from "../../../google/protobuf/empty.pb"
9
10
  import * as SkoalaApiGeneralV1alpha1Skoala from "../../general/v1alpha1/skoala.pb"
10
11
  import * as SkoalaApiGeneralV1alpha1Version from "../../general/v1alpha1/version.pb"
@@ -12,8 +13,10 @@ import * as SkoalaApiHostedV1alpha1Api from "../../hosted/v1alpha1/api.pb"
12
13
  import * as SkoalaApiHostedV1alpha1Apilog from "../../hosted/v1alpha1/apilog.pb"
13
14
  import * as SkoalaApiHostedV1alpha1Extension from "../../hosted/v1alpha1/extension.pb"
14
15
  import * as SkoalaApiHostedV1alpha1Gateway from "../../hosted/v1alpha1/gateway.pb"
16
+ import * as SkoalaApiHostedV1alpha1Gatewaysecret from "../../hosted/v1alpha1/gatewaysecret.pb"
15
17
  import * as SkoalaApiHostedV1alpha1Gatewayservice from "../../hosted/v1alpha1/gatewayservice.pb"
16
18
  import * as SkoalaApiHostedV1alpha1Nacos from "../../hosted/v1alpha1/nacos.pb"
19
+ import * as SkoalaApiHostedV1alpha1Plugins from "../../hosted/v1alpha1/plugins.pb"
17
20
  import * as SkoalaApiHostedV1alpha1Sentinel from "../../hosted/v1alpha1/sentinel.pb"
18
21
  import * as SkoalaApiHostedV1alpha1Virtualhost from "../../hosted/v1alpha1/virtualhost.pb"
19
22
  import * as SkoalaApiIntegratedV1alpha1Instance from "../../integrated/v1alpha1/instance.pb"
@@ -43,10 +46,10 @@ export class Skoala {
43
46
  return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListServiceReq, SkoalaApiGeneralV1alpha1Skoala.ListServiceRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/services?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName"])}`, {...initReq, method: "GET"})
44
47
  }
45
48
  static ListMeshNamespaces(req: SkoalaApiGeneralV1alpha1Skoala.ListMeshNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListMeshNamespaceRes> {
46
- return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListMeshNamespaceReq, SkoalaApiGeneralV1alpha1Skoala.ListMeshNamespaceRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshs/${req["meshId"]}/namespaces?${fm.renderURLSearchParams(req, ["workspaceId", "meshId"])}`, {...initReq, method: "GET"})
49
+ return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListMeshNamespaceReq, SkoalaApiGeneralV1alpha1Skoala.ListMeshNamespaceRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/namespaces?${fm.renderURLSearchParams(req, ["workspaceId", "meshId"])}`, {...initReq, method: "GET"})
47
50
  }
48
51
  static ListMeshNamespaceServices(req: SkoalaApiGeneralV1alpha1Skoala.ListMeshServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListMeshServiceRes> {
49
- return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListMeshServiceReq, SkoalaApiGeneralV1alpha1Skoala.ListMeshServiceRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshs/${req["meshId"]}/services?${fm.renderURLSearchParams(req, ["workspaceId", "meshId"])}`, {...initReq, method: "GET"})
52
+ return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListMeshServiceReq, SkoalaApiGeneralV1alpha1Skoala.ListMeshServiceRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/meshes/${req["meshId"]}/services?${fm.renderURLSearchParams(req, ["workspaceId", "meshId"])}`, {...initReq, method: "GET"})
50
53
  }
51
54
  static ListWorkspace(req: SkoalaApiGeneralV1alpha1Skoala.ListWorkspaceReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListWorkspaceRes> {
52
55
  return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListWorkspaceReq, SkoalaApiGeneralV1alpha1Skoala.ListWorkspaceRes>(`/apis/skoala.io/v1alpha1/workspaces?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
@@ -54,8 +57,8 @@ export class Skoala {
54
57
  static GetWorkspace(req: SkoalaApiGeneralV1alpha1Skoala.GetWorkspaceReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.GetWorkspaceRes> {
55
58
  return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.GetWorkspaceReq, SkoalaApiGeneralV1alpha1Skoala.GetWorkspaceRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}?${fm.renderURLSearchParams(req, ["workspaceId"])}`, {...initReq, method: "GET"})
56
59
  }
57
- static ListClusterPersistentVolumeClaim(req: SkoalaApiGeneralV1alpha1Skoala.ListClaimReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListClaimRes> {
58
- return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListClaimReq, SkoalaApiGeneralV1alpha1Skoala.ListClaimRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/persistent_volume_claims?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName"])}`, {...initReq, method: "GET"})
60
+ static ListClusterStorageClasses(req: SkoalaApiGeneralV1alpha1Skoala.ListStorageClassesReq, initReq?: fm.InitReq): Promise<SkoalaApiGeneralV1alpha1Skoala.ListStorageClassesRes> {
61
+ return fm.fetchReq<SkoalaApiGeneralV1alpha1Skoala.ListStorageClassesReq, SkoalaApiGeneralV1alpha1Skoala.ListStorageClassesRes>(`/apis/skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/storage_classes?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName"])}`, {...initReq, method: "GET"})
59
62
  }
60
63
  }
61
64
  export class Registry {
@@ -65,14 +68,14 @@ export class Registry {
65
68
  static Get(req: SkoalaApiIntegratedV1alpha1Registry.GetRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Registry.GetRegistryRes> {
66
69
  return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.GetRegistryReq, SkoalaApiIntegratedV1alpha1Registry.GetRegistryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}?${fm.renderURLSearchParams(req, ["workspaceId", "registryId"])}`, {...initReq, method: "GET"})
67
70
  }
68
- static Create(req: SkoalaApiIntegratedV1alpha1Registry.CreateRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Registry.CreateRegistryRes> {
69
- return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.CreateRegistryReq, SkoalaApiIntegratedV1alpha1Registry.CreateRegistryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
71
+ static Create(req: SkoalaApiIntegratedV1alpha1Registry.CreateRegistryReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
72
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.CreateRegistryReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
70
73
  }
71
- static Update(req: SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryRes> {
72
- return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryReq, SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
74
+ static Update(req: SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
75
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.UpdateRegistryReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
73
76
  }
74
- static Delete(req: SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryRes> {
75
- return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryReq, SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}`, {...initReq, method: "DELETE"})
77
+ static Delete(req: SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
78
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.DeleteRegistryReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}`, {...initReq, method: "DELETE"})
76
79
  }
77
80
  static Ping(req: SkoalaApiIntegratedV1alpha1Registry.PingRegistryReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Registry.PingRegistryRes> {
78
81
  return fm.fetchReq<SkoalaApiIntegratedV1alpha1Registry.PingRegistryReq, SkoalaApiIntegratedV1alpha1Registry.PingRegistryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/ping`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
@@ -83,8 +86,20 @@ export class Registry {
83
86
  static GetService(req: SkoalaApiIntegratedV1alpha1Service.GetServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Service.GetServiceRes> {
84
87
  return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.GetServiceReq, SkoalaApiIntegratedV1alpha1Service.GetServiceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName"])}`, {...initReq, method: "GET"})
85
88
  }
86
- static GetServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.GetServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Service.GetServiceAPIRes> {
87
- return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.GetServiceReq, SkoalaApiIntegratedV1alpha1Service.GetServiceAPIRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/apis?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName"])}`, {...initReq, method: "GET"})
89
+ static GetServiceInsight(req: SkoalaApiIntegratedV1alpha1Service.GetServiceInsightReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Service.GetServiceInsightRes> {
90
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.GetServiceInsightReq, SkoalaApiIntegratedV1alpha1Service.GetServiceInsightRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/insight?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName"])}`, {...initReq, method: "GET"})
91
+ }
92
+ static GetServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.GetServiceAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Service.GetServiceAPIRes> {
93
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.GetServiceAPIReq, SkoalaApiIntegratedV1alpha1Service.GetServiceAPIRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/apis?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName"])}`, {...initReq, method: "GET"})
94
+ }
95
+ static CreateServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.CreateServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
96
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.CreateServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/apis`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
97
+ }
98
+ static UpdateServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.UpdateServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
99
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.UpdateServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/apis/${req["apiId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
100
+ }
101
+ static DeleteServiceAPI(req: SkoalaApiIntegratedV1alpha1Service.DeleteServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
102
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Service.DeleteServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/apis/${req["apiId"]}`, {...initReq, method: "DELETE"})
88
103
  }
89
104
  static ListInstance(req: SkoalaApiIntegratedV1alpha1Instance.ListInstanceReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Instance.ListInstanceRes> {
90
105
  return fm.fetchReq<SkoalaApiIntegratedV1alpha1Instance.ListInstanceReq, SkoalaApiIntegratedV1alpha1Instance.ListInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/instances?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName"])}`, {...initReq, method: "GET"})
@@ -92,8 +107,11 @@ export class Registry {
92
107
  static GetInstance(req: SkoalaApiIntegratedV1alpha1Instance.GetInstanceReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Instance.GetInstanceRes> {
93
108
  return fm.fetchReq<SkoalaApiIntegratedV1alpha1Instance.GetInstanceReq, SkoalaApiIntegratedV1alpha1Instance.GetInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/instances/${req["instanceId"]}?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName", "instanceId"])}`, {...initReq, method: "GET"})
94
109
  }
95
- static UpdateInstance(req: SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceRes> {
96
- return fm.fetchReq<SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceReq, SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/instances/${req["instanceId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
110
+ static GetInstanceInsight(req: SkoalaApiIntegratedV1alpha1Instance.GetInstanceInsightReq, initReq?: fm.InitReq): Promise<SkoalaApiIntegratedV1alpha1Instance.GetInstanceInsightRes> {
111
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Instance.GetInstanceInsightReq, SkoalaApiIntegratedV1alpha1Instance.GetInstanceInsightRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/instances/${req["instanceId"]}/insight?${fm.renderURLSearchParams(req, ["workspaceId", "registryId", "serviceName", "instanceId"])}`, {...initReq, method: "GET"})
112
+ }
113
+ static UpdateInstance(req: SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
114
+ return fm.fetchReq<SkoalaApiIntegratedV1alpha1Instance.UpdateInstanceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/registries/${req["registryId"]}/services/${req["serviceName"]}/instances/${req["instanceId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
97
115
  }
98
116
  }
99
117
  export class Nacos {
@@ -121,35 +139,53 @@ export class Nacos {
121
139
  static GetService(req: SkoalaApiHostedV1alpha1Nacos.GetNacosServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceRes> {
122
140
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceReq, SkoalaApiHostedV1alpha1Nacos.GetNacosServiceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService"])}`, {...initReq, method: "GET"})
123
141
  }
142
+ static GetServiceInsight(req: SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInsightReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInsightRes> {
143
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInsightReq, SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInsightRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/insight?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService"])}`, {...initReq, method: "GET"})
144
+ }
145
+ static UpdateService(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
146
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
147
+ }
148
+ static DeleteService(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
149
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}`, {...initReq, method: "DELETE"})
150
+ }
124
151
  static ListServiceSubscriber(req: SkoalaApiHostedV1alpha1Nacos.ListNacosServiceSubscriberReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceSubscriberRes> {
125
152
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceSubscriberReq, SkoalaApiHostedV1alpha1Nacos.ListNacosServiceSubscriberRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/subscribers?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService"])}`, {...initReq, method: "GET"})
126
153
  }
127
154
  static GetServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.GetNacosServiceAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceAPIRes> {
128
155
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceAPIReq, SkoalaApiHostedV1alpha1Nacos.GetNacosServiceAPIRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService"])}`, {...initReq, method: "GET"})
129
156
  }
130
- static CreateServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIRes> {
131
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIReq, SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
157
+ static CreateServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
158
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
132
159
  }
133
- static UpdateServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIRes> {
134
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIReq, SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
160
+ static UpdateServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
161
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis/${req["apiId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
135
162
  }
136
- static DeleteServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIRes> {
137
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIReq, SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis`, {...initReq, method: "DELETE"})
163
+ static DeleteServiceAPI(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
164
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosServiceAPIReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/apis/${req["apiId"]}`, {...initReq, method: "DELETE"})
138
165
  }
139
166
  static ListServiceInstance(req: SkoalaApiHostedV1alpha1Nacos.ListNacosServiceInstanceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceInstanceRes> {
140
167
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosServiceInstanceReq, SkoalaApiHostedV1alpha1Nacos.ListNacosServiceInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/instances?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService"])}`, {...initReq, method: "GET"})
141
168
  }
169
+ static GetServiceInstance(req: SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceRes> {
170
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceReq, SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/instances/${req["nacosInstanceId"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService", "nacosInstanceId"])}`, {...initReq, method: "GET"})
171
+ }
172
+ static GetServiceInstanceInsight(req: SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceInsightReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceInsightRes> {
173
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceInsightReq, SkoalaApiHostedV1alpha1Nacos.GetNacosServiceInstanceInsightRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/instances/${req["nacosInstanceId"]}/insight?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosService", "nacosInstanceId"])}`, {...initReq, method: "GET"})
174
+ }
175
+ static UpdateServiceInstance(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceInstanceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
176
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosServiceInstanceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/services/${req["nacosService"]}/instances/${req["nacosInstanceId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
177
+ }
142
178
  static ListNamespace(req: SkoalaApiHostedV1alpha1Nacos.ListNacosNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosNamespaceRes> {
143
179
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosNamespaceReq, SkoalaApiHostedV1alpha1Nacos.ListNacosNamespaceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName"])}`, {...initReq, method: "GET"})
144
180
  }
145
- static CreateNamespace(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceRes> {
146
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceReq, SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
181
+ static CreateNamespace(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
182
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosNamespaceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
147
183
  }
148
- static UpdateNamespace(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceRes> {
149
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceReq, SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
184
+ static UpdateNamespace(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
185
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosNamespaceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
150
186
  }
151
- static DeleteNamespace(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceRes> {
152
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceReq, SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}`, {...initReq, method: "DELETE"})
187
+ static DeleteNamespace(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
188
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosNamespaceReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}`, {...initReq, method: "DELETE"})
153
189
  }
154
190
  static GetNamespace(req: SkoalaApiHostedV1alpha1Nacos.GetNacosNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosNamespaceRes> {
155
191
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosNamespaceReq, SkoalaApiHostedV1alpha1Nacos.GetNacosNamespaceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace"])}`, {...initReq, method: "GET"})
@@ -161,42 +197,119 @@ export class Nacos {
161
197
  return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosConfigReq, SkoalaApiHostedV1alpha1Nacos.ListNacosConfigRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace"])}`, {...initReq, method: "GET"})
162
198
  }
163
199
  static GetConfig(req: SkoalaApiHostedV1alpha1Nacos.GetNacosConfigReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosConfigRes> {
164
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosConfigReq, SkoalaApiHostedV1alpha1Nacos.GetNacosConfigRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["nacosConfigDataId"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosConfigDataId"])}`, {...initReq, method: "GET"})
200
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosConfigReq, SkoalaApiHostedV1alpha1Nacos.GetNacosConfigRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "dataId"])}`, {...initReq, method: "GET"})
165
201
  }
166
202
  static ListConfigHistory(req: SkoalaApiHostedV1alpha1Nacos.ListNacosConfigHistoryReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosConfigHistoryRes> {
167
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosConfigHistoryReq, SkoalaApiHostedV1alpha1Nacos.ListNacosConfigHistoryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["nacosConfigDataId"]}/histories?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosConfigDataId"])}`, {...initReq, method: "GET"})
203
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosConfigHistoryReq, SkoalaApiHostedV1alpha1Nacos.ListNacosConfigHistoryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}/histories?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "dataId"])}`, {...initReq, method: "GET"})
168
204
  }
169
205
  static GetConfigHistory(req: SkoalaApiHostedV1alpha1Nacos.GetNacosConfigHistoryReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.GetNacosConfigHistoryRes> {
170
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosConfigHistoryReq, SkoalaApiHostedV1alpha1Nacos.GetNacosConfigHistoryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["nacosConfigDataId"]}/histories/${req["nacosConfigHistoryNid"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosConfigDataId", "nacosConfigHistoryNid"])}`, {...initReq, method: "GET"})
206
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.GetNacosConfigHistoryReq, SkoalaApiHostedV1alpha1Nacos.GetNacosConfigHistoryRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}/histories/${req["historyNid"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "dataId", "historyNid"])}`, {...initReq, method: "GET"})
171
207
  }
172
208
  static ListConfigListener(req: SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerRes> {
173
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerReq, SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["nacosConfigDataId"]}/listeners?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosConfigDataId"])}`, {...initReq, method: "GET"})
209
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerReq, SkoalaApiHostedV1alpha1Nacos.ListNacosConfigListenerRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}/listeners?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "dataId"])}`, {...initReq, method: "GET"})
174
210
  }
175
- static CreateConfig(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigRes> {
176
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigReq, SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
211
+ static CreateConfig(req: SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
212
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.CreateNacosConfigReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
177
213
  }
178
- static UpdateConfig(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigRes> {
179
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigReq, SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["nacosConfigDataId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
214
+ static UpdateConfig(req: SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
215
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.UpdateNacosConfigReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
180
216
  }
181
- static DeleteConfig(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigRes> {
182
- return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigReq, SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["nacosConfigDataId"]}`, {...initReq, method: "DELETE"})
217
+ static RollbackConfig(req: SkoalaApiHostedV1alpha1Nacos.RollbackNacosConfigReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
218
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.RollbackNacosConfigReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}/rollback`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
219
+ }
220
+ static DeleteConfig(req: SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
221
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.DeleteNacosConfigReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/namespaces/${req["nacosNamespace"]}/configs/${req["dataId"]}`, {...initReq, method: "DELETE"})
222
+ }
223
+ static ListNode(req: SkoalaApiHostedV1alpha1Nacos.ListNodeReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.ListNodeRes> {
224
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ListNodeReq, SkoalaApiHostedV1alpha1Nacos.ListNodeRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/nodes?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName"])}`, {...initReq, method: "GET"})
225
+ }
226
+ static LeaveNode(req: SkoalaApiHostedV1alpha1Nacos.LeaveNodeReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
227
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.LeaveNodeReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/nodes/leave`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
228
+ }
229
+ static ReportNode(req: SkoalaApiHostedV1alpha1Nacos.ReportNodeReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
230
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Nacos.ReportNodeReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/nacoses/${req["nacosName"]}/nodes/report`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
183
231
  }
184
232
  static CheckConfig(req: SkoalaApiHostedV1alpha1Nacos.CheckNacosConfigReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Nacos.CheckNacosConfigRes> {
185
- 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["nacosConfigDataId"]}/check?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "nacosName", "nacosNamespace", "nacosConfigDataId"])}`, {...initReq, method: "GET"})
233
+ 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"})
186
234
  }
187
235
  }
188
236
  export class Sentinel {
237
+ static GetAppInstance(req: SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceRes> {
238
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceReq, SkoalaApiHostedV1alpha1Sentinel.GetAppInstanceRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/appinstance?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
239
+ }
189
240
  static ListFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleRes> {
190
- return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleReq, SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/sentinel/${req["sentinelName"]}/flowrules?${fm.renderURLSearchParams(req, ["workspace", "cluster", "namespace", "sentinelName"])}`, {...initReq, method: "GET"})
241
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleReq, SkoalaApiHostedV1alpha1Sentinel.ListFlowRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/flowrules?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
242
+ }
243
+ static CreateFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
244
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/flowrules`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
245
+ }
246
+ static UpdateFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
247
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/flowrules/${req["ruleId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
248
+ }
249
+ static DeleteFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
250
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/flowrules/${req["ruleId"]}`, {...initReq, method: "DELETE"})
251
+ }
252
+ static CreateDegradeRule(req: SkoalaApiHostedV1alpha1Sentinel.CreateDegradeRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
253
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateDegradeRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/degrade-rules`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
254
+ }
255
+ static ListDegradeRule(req: SkoalaApiHostedV1alpha1Sentinel.ListDegradeRuleReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListDegradeRuleRes> {
256
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListDegradeRuleReq, SkoalaApiHostedV1alpha1Sentinel.ListDegradeRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/degrade-rules?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
257
+ }
258
+ static UpdateDegradeRule(req: SkoalaApiHostedV1alpha1Sentinel.UpdateDegradeRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
259
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateDegradeRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/degrade-rules/${req["ruleId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
191
260
  }
192
- static CreateFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleRes> {
193
- return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleReq, SkoalaApiHostedV1alpha1Sentinel.CreateFlowRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/sentinel/${req["sentinelName"]}/flowrules`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
261
+ static DeleteDegradeRule(req: SkoalaApiHostedV1alpha1Sentinel.DeleteDegradeRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
262
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteDegradeRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/degrade-rules/${req["ruleId"]}`, {...initReq, method: "DELETE"})
194
263
  }
195
- static UpdateFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleRes> {
196
- return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleReq, SkoalaApiHostedV1alpha1Sentinel.UpdateFlowRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/sentinel/${req["sentinelName"]}/flowrules/${req["flowRuleId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
264
+ static CreateParamFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.CreateParamFlowRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
265
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateParamFlowRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/param-flow-rules`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
197
266
  }
198
- static DeleteFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleRes> {
199
- return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleReq, SkoalaApiHostedV1alpha1Sentinel.DeleteFlowRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/namespaces/${req["namespace"]}/sentinel/${req["sentinelName"]}/flowrules/${req["flowRuleId"]}`, {...initReq, method: "DELETE"})
267
+ static ListParamFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.ListParamFlowRuleReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListParamFlowRuleRes> {
268
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListParamFlowRuleReq, SkoalaApiHostedV1alpha1Sentinel.ListParamFlowRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/param-flow-rules?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
269
+ }
270
+ static UpdateParamFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.UpdateParamFlowRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
271
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateParamFlowRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/param-flow-rules/${req["ruleId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
272
+ }
273
+ static DeleteParamFlowRule(req: SkoalaApiHostedV1alpha1Sentinel.DeleteParamFlowRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
274
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteParamFlowRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/param-flow-rules/${req["ruleId"]}`, {...initReq, method: "DELETE"})
275
+ }
276
+ static CreateSystemRule(req: SkoalaApiHostedV1alpha1Sentinel.CreateSystemRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
277
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateSystemRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/system-rules`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
278
+ }
279
+ static ListSystemRule(req: SkoalaApiHostedV1alpha1Sentinel.ListSystemRuleReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListSystemRuleRes> {
280
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListSystemRuleReq, SkoalaApiHostedV1alpha1Sentinel.ListSystemRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/system-rules?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
281
+ }
282
+ static UpdateSystemRule(req: SkoalaApiHostedV1alpha1Sentinel.UpdateSystemRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
283
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateSystemRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/system-rules/${req["ruleId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
284
+ }
285
+ static DeleteSystemRule(req: SkoalaApiHostedV1alpha1Sentinel.DeleteSystemRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
286
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteSystemRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/system-rules/${req["ruleId"]}`, {...initReq, method: "DELETE"})
287
+ }
288
+ static CreateAuthorityRule(req: SkoalaApiHostedV1alpha1Sentinel.CreateAuthorityRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
289
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.CreateAuthorityRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/authority-rules`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
290
+ }
291
+ static ListAuthorityRule(req: SkoalaApiHostedV1alpha1Sentinel.ListAuthorityRuleReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Sentinel.ListAuthorityRuleRes> {
292
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.ListAuthorityRuleReq, SkoalaApiHostedV1alpha1Sentinel.ListAuthorityRuleRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/authority-rules?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "sentinelName"])}`, {...initReq, method: "GET"})
293
+ }
294
+ static UpdateAuthorityRule(req: SkoalaApiHostedV1alpha1Sentinel.UpdateAuthorityRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
295
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.UpdateAuthorityRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/authority-rules/${req["ruleId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
296
+ }
297
+ static DeleteAuthorityRule(req: SkoalaApiHostedV1alpha1Sentinel.DeleteAuthorityRuleReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
298
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Sentinel.DeleteAuthorityRuleReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/sentinel/${req["sentinelName"]}/authority-rules/${req["ruleId"]}`, {...initReq, method: "DELETE"})
299
+ }
300
+ }
301
+ export class Plugin {
302
+ static List(req: SkoalaApiHostedV1alpha1Plugins.ListPluginReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Plugins.ListPluginRes> {
303
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Plugins.ListPluginReq, SkoalaApiHostedV1alpha1Plugins.ListPluginRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespace"]}/nacoses/${req["nacosName"]}/plugins?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespace", "nacosName"])}`, {...initReq, method: "GET"})
304
+ }
305
+ static Get(req: SkoalaApiHostedV1alpha1Plugins.GetPluginReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Plugins.GetPluginRes> {
306
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Plugins.GetPluginReq, SkoalaApiHostedV1alpha1Plugins.GetPluginRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespace"]}/nacoses/${req["nacosName"]}/plugins/${req["name"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespace", "nacosName", "name"])}`, {...initReq, method: "GET"})
307
+ }
308
+ static Update(req: SkoalaApiHostedV1alpha1Plugins.UpdatePluginReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
309
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Plugins.UpdatePluginReq, GoogleProtobufEmpty.Empty>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespace"]}/nacoses/${req["nacosName"]}/plugins`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
310
+ }
311
+ static GetGovern(req: SkoalaApiHostedV1alpha1Plugins.GetGovernReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Plugins.GetGovernRes> {
312
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Plugins.GetGovernReq, SkoalaApiHostedV1alpha1Plugins.GetGovernRes>(`/apis/hive.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespace"]}/nacoses/${req["nacosName"]}/governs?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespace", "nacosName"])}`, {...initReq, method: "GET"})
200
313
  }
201
314
  }
202
315
  export class Gateway {
@@ -209,23 +322,23 @@ export class Gateway {
209
322
  static Get(req: SkoalaApiHostedV1alpha1Gateway.GetGatewayReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.GetGatewayRes> {
210
323
  return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GetGatewayReq, SkoalaApiHostedV1alpha1Gateway.GetGatewayRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
211
324
  }
212
- static Create(req: SkoalaApiHostedV1alpha1Gateway.CreateGatewayReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.CreateGatewayRes> {
213
- return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.CreateGatewayReq, SkoalaApiHostedV1alpha1Gateway.CreateGatewayRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
325
+ static Create(req: SkoalaApiHostedV1alpha1Gateway.CreateGatewayReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
326
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.CreateGatewayReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
214
327
  }
215
- static Update(req: SkoalaApiHostedV1alpha1Gateway.UpdateGatewayReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.UpdateGatewayRes> {
216
- return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.UpdateGatewayReq, SkoalaApiHostedV1alpha1Gateway.UpdateGatewayRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
328
+ static Update(req: SkoalaApiHostedV1alpha1Gateway.UpdateGatewayReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
329
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.UpdateGatewayReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
217
330
  }
218
- static Delete(req: SkoalaApiHostedV1alpha1Gateway.DeleteGatewayReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.DeleteGatewayRes> {
219
- return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.DeleteGatewayReq, SkoalaApiHostedV1alpha1Gateway.DeleteGatewayRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}`, {...initReq, method: "DELETE"})
331
+ static Delete(req: SkoalaApiHostedV1alpha1Gateway.DeleteGatewayReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
332
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.DeleteGatewayReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}`, {...initReq, method: "DELETE"})
220
333
  }
221
- static GetImages(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.GetImagesRes> {
222
- return fm.fetchReq<GoogleProtobufEmpty.Empty, SkoalaApiHostedV1alpha1Gateway.GetImagesRes>(`/apis/sesame.skoala.io/v1alpha1/images?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
334
+ static GetImages(req: SkoalaApiHostedV1alpha1Gateway.GetImagesReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.GetImagesRes> {
335
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GetImagesReq, SkoalaApiHostedV1alpha1Gateway.GetImagesRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/images?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
223
336
  }
224
337
  static GetGatewayStatus(req: SkoalaApiHostedV1alpha1Gateway.GetGatewayStatusReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.GetGatewayStatusRes> {
225
338
  return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GetGatewayStatusReq, SkoalaApiHostedV1alpha1Gateway.GetGatewayStatusRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/status?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
226
339
  }
227
- static Diagnostic(req: SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticRes> {
228
- return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq, SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/diagnostic`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
340
+ static Diagnostic(req: SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
341
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.GatewayDiagnosticReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/diagnostic`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
229
342
  }
230
343
  static ListGatewayPods(req: SkoalaApiHostedV1alpha1Gateway.ListPodsReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gateway.ListPodsRes> {
231
344
  return fm.fetchReq<SkoalaApiHostedV1alpha1Gateway.ListPodsReq, SkoalaApiHostedV1alpha1Gateway.ListPodsRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/pods?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
@@ -248,8 +361,8 @@ export class Gateway {
248
361
  static GetGatewayNamespace(req: SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayNamespaceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayNamespaceRes> {
249
362
  return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayNamespaceReq, SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayNamespaceRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/namespaces?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
250
363
  }
251
- static CreateService(req: SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceRes> {
252
- return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceReq, SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
364
+ static CreateService(req: SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
365
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.CreateExternalServiceReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
253
366
  }
254
367
  static ListService(req: SkoalaApiHostedV1alpha1Gatewayservice.ListGatewayServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.ListGatewayServiceRes> {
255
368
  return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.ListGatewayServiceReq, SkoalaApiHostedV1alpha1Gatewayservice.ListGatewayServiceRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
@@ -257,14 +370,20 @@ export class Gateway {
257
370
  static GetService(req: SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayServiceRes> {
258
371
  return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayServiceReq, SkoalaApiHostedV1alpha1Gatewayservice.GetGatewayServiceRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services/${req["sesameId"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName", "sesameId"])}`, {...initReq, method: "GET"})
259
372
  }
260
- static UpdateService(req: SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceRes> {
261
- return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceReq, SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services/${req["sesameId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
373
+ static UpdateService(req: SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
374
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServiceReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services/${req["sesameId"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
375
+ }
376
+ static UpdateServicePolicy(req: SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServicePolicyReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
377
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.UpdateGatewayServicePolicyReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services/${req["sesameId"]}/policies`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
262
378
  }
263
- static DeleteService(req: SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceRes> {
264
- return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceReq, SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services/${req["sesameId"]}`, {...initReq, method: "DELETE"})
379
+ static ListServiceSecret(req: SkoalaApiHostedV1alpha1Gatewayservice.ListServiceSecretReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewayservice.ListServiceSecretRes> {
380
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.ListServiceSecretReq, SkoalaApiHostedV1alpha1Gatewayservice.ListServiceSecretRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/servicesecrets?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
265
381
  }
266
- static CreateVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostRes> {
267
- return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostReq, SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
382
+ static DeleteService(req: SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
383
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewayservice.DeleteGatewayServiceReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/services/${req["sesameId"]}`, {...initReq, method: "DELETE"})
384
+ }
385
+ static CreateVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
386
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.CreateVirtualhostReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
268
387
  }
269
388
  static ListVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.ListVirtualhostReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Virtualhost.ListVirtualhostRes> {
270
389
  return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.ListVirtualhostReq, SkoalaApiHostedV1alpha1Virtualhost.ListVirtualhostRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
@@ -272,14 +391,14 @@ export class Gateway {
272
391
  static GetVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.GetVirtualhostReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Virtualhost.GetVirtualhostRes> {
273
392
  return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.GetVirtualhostReq, SkoalaApiHostedV1alpha1Virtualhost.GetVirtualhostRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts/${req["fqdn"]}?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName", "fqdn"])}`, {...initReq, method: "GET"})
274
393
  }
275
- static DeleteVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostRes> {
276
- return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostReq, SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts/${req["fqdn"]}`, {...initReq, method: "DELETE"})
394
+ static DeleteVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
395
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.DeleteVirtualhostReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts/${req["fqdn"]}`, {...initReq, method: "DELETE"})
277
396
  }
278
- static UpdateVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostRes> {
279
- return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostReq, SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts/${req["fqdn"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
397
+ static UpdateVirtualhost(req: SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
398
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Virtualhost.UpdateVirtualhostReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/virtualhosts/${req["fqdn"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
280
399
  }
281
- static CreateAPI(req: SkoalaApiHostedV1alpha1Api.CreateAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.CreateAPIRes> {
282
- return fm.fetchReq<SkoalaApiHostedV1alpha1Api.CreateAPIReq, SkoalaApiHostedV1alpha1Api.CreateAPIRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
400
+ static CreateAPI(req: SkoalaApiHostedV1alpha1Api.CreateAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
401
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Api.CreateAPIReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
283
402
  }
284
403
  static ListAPI(req: SkoalaApiHostedV1alpha1Api.APIListReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.APIListRes> {
285
404
  return fm.fetchReq<SkoalaApiHostedV1alpha1Api.APIListReq, SkoalaApiHostedV1alpha1Api.APIListRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
@@ -287,43 +406,55 @@ export class Gateway {
287
406
  static GetAPI(req: SkoalaApiHostedV1alpha1Api.GetAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.GetAPIRes> {
288
407
  return fm.fetchReq<SkoalaApiHostedV1alpha1Api.GetAPIReq, SkoalaApiHostedV1alpha1Api.GetAPIRes>(`/apis/sesame.skoala.io/v1alpha1/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"})
289
408
  }
290
- static DeleteAPI(req: SkoalaApiHostedV1alpha1Api.DeleteAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.DeleteAPIRes> {
291
- return fm.fetchReq<SkoalaApiHostedV1alpha1Api.DeleteAPIReq, SkoalaApiHostedV1alpha1Api.DeleteAPIRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}`, {...initReq, method: "DELETE"})
409
+ static DeleteAPI(req: SkoalaApiHostedV1alpha1Api.DeleteAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
410
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Api.DeleteAPIReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}`, {...initReq, method: "DELETE"})
411
+ }
412
+ static UpdateAPI(req: SkoalaApiHostedV1alpha1Api.UpdateAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
413
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Api.UpdateAPIReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
292
414
  }
293
- static UpdateAPI(req: SkoalaApiHostedV1alpha1Api.UpdateAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.UpdateAPIRes> {
294
- return fm.fetchReq<SkoalaApiHostedV1alpha1Api.UpdateAPIReq, SkoalaApiHostedV1alpha1Api.UpdateAPIRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
415
+ static UpdateAPIPolicy(req: SkoalaApiHostedV1alpha1Api.AdvancedAPIReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
416
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Api.AdvancedAPIReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}/policies`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
295
417
  }
296
- static UpdateAPIPolicy(req: SkoalaApiHostedV1alpha1Api.AdvancedAPIReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.AdvancedAPIRes> {
297
- return fm.fetchReq<SkoalaApiHostedV1alpha1Api.AdvancedAPIReq, SkoalaApiHostedV1alpha1Api.AdvancedAPIRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}/policies`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
418
+ static UpdateAPIStatus(req: SkoalaApiHostedV1alpha1Api.UpdateAPIStatusReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
419
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Api.UpdateAPIStatusReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}/status/${req["enabled"]}`, {...initReq, method: "PUT"})
298
420
  }
299
- static UpdateAPIStatus(req: SkoalaApiHostedV1alpha1Api.UpdateAPIStatusReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.UpdateAPIStatusRes> {
300
- return fm.fetchReq<SkoalaApiHostedV1alpha1Api.UpdateAPIStatusReq, SkoalaApiHostedV1alpha1Api.UpdateAPIStatusRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/apis/${req["apiName"]}/status/${req["enabled"]}`, {...initReq, method: "PUT"})
421
+ static ListAPIGroup(req: SkoalaApiHostedV1alpha1Api.ListAPIGroupReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Api.ListAPIGroupRes> {
422
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Api.ListAPIGroupReq, SkoalaApiHostedV1alpha1Api.ListAPIGroupRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/groups?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
301
423
  }
302
424
  static ListGatewayLog(req: SkoalaApiHostedV1alpha1Apilog.SearchLogReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Apilog.SearchLogRes> {
303
425
  return fm.fetchReq<SkoalaApiHostedV1alpha1Apilog.SearchLogReq, SkoalaApiHostedV1alpha1Apilog.SearchLogRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/requestlogs?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
304
426
  }
305
- static CreateGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSRes> {
306
- return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSReq, SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
427
+ static GatewayLogExport(req: SkoalaApiHostedV1alpha1Apilog.SearchLogReq, entityNotifier?: fm.NotifyStreamEntityArrival<GoogleApiHttpbody.HttpBody>, initReq?: fm.InitReq): Promise<void> {
428
+ return fm.fetchStreamingRequest<SkoalaApiHostedV1alpha1Apilog.SearchLogReq, GoogleApiHttpbody.HttpBody>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/requestlogs/export?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, entityNotifier, {...initReq, method: "GET"})
429
+ }
430
+ static CreateSecret(req: SkoalaApiHostedV1alpha1Gatewaysecret.CreateSecretReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewaysecret.CreateSecretRes> {
431
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewaysecret.CreateSecretReq, SkoalaApiHostedV1alpha1Gatewaysecret.CreateSecretRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/secrets`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
432
+ }
433
+ static ListSecret(req: SkoalaApiHostedV1alpha1Gatewaysecret.ListSecretReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Gatewaysecret.ListSecretRes> {
434
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Gatewaysecret.ListSecretReq, SkoalaApiHostedV1alpha1Gatewaysecret.ListSecretRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/secrets?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
435
+ }
436
+ static CreateGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
437
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.CreateGatewayRLSReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
307
438
  }
308
439
  static GetGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.GetGatewayRLSReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.GetGatewayRLSRes> {
309
440
  return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.GetGatewayRLSReq, SkoalaApiHostedV1alpha1Extension.GetGatewayRLSRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
310
441
  }
311
- static DeleteGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSRes> {
312
- return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSReq, SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls`, {...initReq, method: "DELETE"})
442
+ static DeleteGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
443
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.DeleteGatewayRLSReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls`, {...initReq, method: "DELETE"})
313
444
  }
314
- static UpdateGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSRes> {
315
- return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSReq, SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
445
+ static UpdateGatewayRLS(req: SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
446
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.UpdateGatewayRLSReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/rls`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
316
447
  }
317
- static CreateGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzRes> {
318
- return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzReq, SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
448
+ static CreateGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
449
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.CreateGatewayAuthzReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz`, {...initReq, method: "POST", body: JSON.stringify(req, fm.replacer)})
319
450
  }
320
451
  static GetGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.GetGatewayAuthzReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.GetGatewayAuthzRes> {
321
452
  return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.GetGatewayAuthzReq, SkoalaApiHostedV1alpha1Extension.GetGatewayAuthzRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz?${fm.renderURLSearchParams(req, ["workspaceId", "clusterName", "namespaceName", "gatewayName"])}`, {...initReq, method: "GET"})
322
453
  }
323
- static DeleteGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzRes> {
324
- return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzReq, SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz`, {...initReq, method: "DELETE"})
454
+ static DeleteGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
455
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.DeleteGatewayAuthzReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz`, {...initReq, method: "DELETE"})
325
456
  }
326
- static UpdateGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzReq, initReq?: fm.InitReq): Promise<SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzRes> {
327
- return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzReq, SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzRes>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
457
+ static UpdateGatewayAuthz(req: SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzReq, initReq?: fm.InitReq): Promise<GoogleProtobufEmpty.Empty> {
458
+ return fm.fetchReq<SkoalaApiHostedV1alpha1Extension.UpdateGatewayAuthzReq, GoogleProtobufEmpty.Empty>(`/apis/sesame.skoala.io/v1alpha1/workspaces/${req["workspaceId"]}/clusters/${req["clusterName"]}/namespaces/${req["namespaceName"]}/gateways/${req["gatewayName"]}/extensions/authz`, {...initReq, method: "PUT", body: JSON.stringify(req, fm.replacer)})
328
459
  }
329
460
  }