@kubernetesjs/cli 0.0.3 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +54 -55
  3. package/commands/apply.d.ts +4 -0
  4. package/commands/apply.js +171 -0
  5. package/commands/cluster-info.d.ts +4 -0
  6. package/commands/cluster-info.js +26 -0
  7. package/commands/config-handler.d.ts +11 -0
  8. package/commands/config-handler.js +81 -0
  9. package/commands/config.d.ts +4 -0
  10. package/commands/config.js +72 -0
  11. package/commands/delete.d.ts +4 -0
  12. package/commands/delete.js +256 -0
  13. package/commands/deploy.d.ts +6 -0
  14. package/commands/deploy.js +209 -0
  15. package/commands/describe.d.ts +4 -0
  16. package/commands/describe.js +216 -0
  17. package/commands/exec.d.ts +4 -0
  18. package/commands/exec.js +145 -0
  19. package/commands/get.d.ts +4 -0
  20. package/commands/get.js +164 -0
  21. package/commands/logs.d.ts +4 -0
  22. package/commands/logs.js +110 -0
  23. package/commands/port-forward.d.ts +4 -0
  24. package/commands/port-forward.js +143 -0
  25. package/commands.d.ts +3 -0
  26. package/commands.js +93 -0
  27. package/config.d.ts +22 -0
  28. package/config.js +113 -0
  29. package/esm/commands/apply.js +133 -0
  30. package/esm/commands/cluster-info.js +21 -0
  31. package/esm/commands/config-handler.js +43 -0
  32. package/esm/commands/config.js +67 -0
  33. package/esm/commands/delete.js +218 -0
  34. package/esm/commands/deploy.js +207 -0
  35. package/esm/commands/describe.js +211 -0
  36. package/esm/commands/exec.js +140 -0
  37. package/esm/commands/get.js +159 -0
  38. package/esm/commands/logs.js +105 -0
  39. package/esm/commands/port-forward.js +138 -0
  40. package/esm/commands.js +86 -0
  41. package/esm/config.js +74 -0
  42. package/esm/index.js +19 -0
  43. package/esm/package.js +26 -0
  44. package/esm/utils.js +49 -0
  45. package/index.d.ts +3 -0
  46. package/index.js +22 -0
  47. package/package.d.ts +1 -0
  48. package/package.js +29 -0
  49. package/package.json +37 -61
  50. package/utils.d.ts +11 -0
  51. package/utils.js +58 -0
  52. package/main/client.js +0 -156
  53. package/main/index.js +0 -2598
  54. package/module/client.js +0 -129
  55. package/module/index.js +0 -2594
  56. package/src/client.ts +0 -156
  57. package/src/index.ts +0 -14187
  58. package/types/client.d.ts +0 -31
  59. package/types/index.d.ts +0 -11331
package/module/index.js DELETED
@@ -1,2594 +0,0 @@
1
- import { APIClient } from "./client";
2
- export class KubernetesClient extends APIClient {
3
- constructor(options) {
4
- super(options);
5
- }
6
- async getSwaggerJSON() {
7
- const path = "/openapi/v2";
8
- return this.get(path);
9
- }
10
- async getServiceAccountIssuerOpenIDConfiguration(params) {
11
- const path = `/.well-known/openid-configuration/`;
12
- return await this.get(path);
13
- }
14
- async getCoreAPIVersions(params) {
15
- const path = `/api/`;
16
- return await this.get(path);
17
- }
18
- async getCoreV1APIResources(params) {
19
- const path = `/api/v1/`;
20
- return await this.get(path);
21
- }
22
- async listCoreV1ComponentStatus(params) {
23
- const path = `/api/v1/componentstatuses`;
24
- return await this.get(path);
25
- }
26
- async readCoreV1ComponentStatus(params) {
27
- const path = `/api/v1/componentstatuses/${params.path.name}`;
28
- return await this.get(path);
29
- }
30
- async listCoreV1ConfigMapForAllNamespaces(params) {
31
- const path = `/api/v1/configmaps`;
32
- return await this.get(path);
33
- }
34
- async listCoreV1EndpointsForAllNamespaces(params) {
35
- const path = `/api/v1/endpoints`;
36
- return await this.get(path);
37
- }
38
- async listCoreV1EventForAllNamespaces(params) {
39
- const path = `/api/v1/events`;
40
- return await this.get(path);
41
- }
42
- async listCoreV1LimitRangeForAllNamespaces(params) {
43
- const path = `/api/v1/limitranges`;
44
- return await this.get(path);
45
- }
46
- async listCoreV1Namespace(params) {
47
- const path = `/api/v1/namespaces`;
48
- return await this.get(path);
49
- }
50
- async createCoreV1Namespace(params) {
51
- const path = `/api/v1/namespaces`;
52
- return await this.post(path, params.body);
53
- }
54
- async createCoreV1NamespacedBinding(params) {
55
- const path = `/api/v1/namespaces/${params.path.namespace}/bindings`;
56
- return await this.post(path, params.body);
57
- }
58
- async listCoreV1NamespacedConfigMap(params) {
59
- const path = `/api/v1/namespaces/${params.path.namespace}/configmaps`;
60
- return await this.get(path);
61
- }
62
- async createCoreV1NamespacedConfigMap(params) {
63
- const path = `/api/v1/namespaces/${params.path.namespace}/configmaps`;
64
- return await this.post(path, params.body);
65
- }
66
- async deleteCoreV1CollectionNamespacedConfigMap(params) {
67
- const path = `/api/v1/namespaces/${params.path.namespace}/configmaps`;
68
- return await this.delete(path);
69
- }
70
- async readCoreV1NamespacedConfigMap(params) {
71
- const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`;
72
- return await this.get(path);
73
- }
74
- async replaceCoreV1NamespacedConfigMap(params) {
75
- const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`;
76
- return await this.put(path, params.body);
77
- }
78
- async deleteCoreV1NamespacedConfigMap(params) {
79
- const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`;
80
- return await this.delete(path);
81
- }
82
- async patchCoreV1NamespacedConfigMap(params) {
83
- const path = `/api/v1/namespaces/${params.path.namespace}/configmaps/${params.path.name}`;
84
- return await this.patch(path, params.body);
85
- }
86
- async listCoreV1NamespacedEndpoints(params) {
87
- const path = `/api/v1/namespaces/${params.path.namespace}/endpoints`;
88
- return await this.get(path);
89
- }
90
- async createCoreV1NamespacedEndpoints(params) {
91
- const path = `/api/v1/namespaces/${params.path.namespace}/endpoints`;
92
- return await this.post(path, params.body);
93
- }
94
- async deleteCoreV1CollectionNamespacedEndpoints(params) {
95
- const path = `/api/v1/namespaces/${params.path.namespace}/endpoints`;
96
- return await this.delete(path);
97
- }
98
- async readCoreV1NamespacedEndpoints(params) {
99
- const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`;
100
- return await this.get(path);
101
- }
102
- async replaceCoreV1NamespacedEndpoints(params) {
103
- const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`;
104
- return await this.put(path, params.body);
105
- }
106
- async deleteCoreV1NamespacedEndpoints(params) {
107
- const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`;
108
- return await this.delete(path);
109
- }
110
- async patchCoreV1NamespacedEndpoints(params) {
111
- const path = `/api/v1/namespaces/${params.path.namespace}/endpoints/${params.path.name}`;
112
- return await this.patch(path, params.body);
113
- }
114
- async listCoreV1NamespacedEvent(params) {
115
- const path = `/api/v1/namespaces/${params.path.namespace}/events`;
116
- return await this.get(path);
117
- }
118
- async createCoreV1NamespacedEvent(params) {
119
- const path = `/api/v1/namespaces/${params.path.namespace}/events`;
120
- return await this.post(path, params.body);
121
- }
122
- async deleteCoreV1CollectionNamespacedEvent(params) {
123
- const path = `/api/v1/namespaces/${params.path.namespace}/events`;
124
- return await this.delete(path);
125
- }
126
- async readCoreV1NamespacedEvent(params) {
127
- const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`;
128
- return await this.get(path);
129
- }
130
- async replaceCoreV1NamespacedEvent(params) {
131
- const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`;
132
- return await this.put(path, params.body);
133
- }
134
- async deleteCoreV1NamespacedEvent(params) {
135
- const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`;
136
- return await this.delete(path);
137
- }
138
- async patchCoreV1NamespacedEvent(params) {
139
- const path = `/api/v1/namespaces/${params.path.namespace}/events/${params.path.name}`;
140
- return await this.patch(path, params.body);
141
- }
142
- async listCoreV1NamespacedLimitRange(params) {
143
- const path = `/api/v1/namespaces/${params.path.namespace}/limitranges`;
144
- return await this.get(path);
145
- }
146
- async createCoreV1NamespacedLimitRange(params) {
147
- const path = `/api/v1/namespaces/${params.path.namespace}/limitranges`;
148
- return await this.post(path, params.body);
149
- }
150
- async deleteCoreV1CollectionNamespacedLimitRange(params) {
151
- const path = `/api/v1/namespaces/${params.path.namespace}/limitranges`;
152
- return await this.delete(path);
153
- }
154
- async readCoreV1NamespacedLimitRange(params) {
155
- const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`;
156
- return await this.get(path);
157
- }
158
- async replaceCoreV1NamespacedLimitRange(params) {
159
- const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`;
160
- return await this.put(path, params.body);
161
- }
162
- async deleteCoreV1NamespacedLimitRange(params) {
163
- const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`;
164
- return await this.delete(path);
165
- }
166
- async patchCoreV1NamespacedLimitRange(params) {
167
- const path = `/api/v1/namespaces/${params.path.namespace}/limitranges/${params.path.name}`;
168
- return await this.patch(path, params.body);
169
- }
170
- async listCoreV1NamespacedPersistentVolumeClaim(params) {
171
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims`;
172
- return await this.get(path);
173
- }
174
- async createCoreV1NamespacedPersistentVolumeClaim(params) {
175
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims`;
176
- return await this.post(path, params.body);
177
- }
178
- async deleteCoreV1CollectionNamespacedPersistentVolumeClaim(params) {
179
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims`;
180
- return await this.delete(path);
181
- }
182
- async readCoreV1NamespacedPersistentVolumeClaim(params) {
183
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`;
184
- return await this.get(path);
185
- }
186
- async replaceCoreV1NamespacedPersistentVolumeClaim(params) {
187
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`;
188
- return await this.put(path, params.body);
189
- }
190
- async deleteCoreV1NamespacedPersistentVolumeClaim(params) {
191
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`;
192
- return await this.delete(path);
193
- }
194
- async patchCoreV1NamespacedPersistentVolumeClaim(params) {
195
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`;
196
- return await this.patch(path, params.body);
197
- }
198
- async readCoreV1NamespacedPersistentVolumeClaimStatus(params) {
199
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}/status`;
200
- return await this.get(path);
201
- }
202
- async replaceCoreV1NamespacedPersistentVolumeClaimStatus(params) {
203
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}/status`;
204
- return await this.put(path, params.body);
205
- }
206
- async patchCoreV1NamespacedPersistentVolumeClaimStatus(params) {
207
- const path = `/api/v1/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}/status`;
208
- return await this.patch(path, params.body);
209
- }
210
- async listCoreV1NamespacedPod(params) {
211
- const path = `/api/v1/namespaces/${params.path.namespace}/pods`;
212
- return await this.get(path);
213
- }
214
- async createCoreV1NamespacedPod(params) {
215
- const path = `/api/v1/namespaces/${params.path.namespace}/pods`;
216
- return await this.post(path, params.body);
217
- }
218
- async deleteCoreV1CollectionNamespacedPod(params) {
219
- const path = `/api/v1/namespaces/${params.path.namespace}/pods`;
220
- return await this.delete(path);
221
- }
222
- async readCoreV1NamespacedPod(params) {
223
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`;
224
- return await this.get(path);
225
- }
226
- async replaceCoreV1NamespacedPod(params) {
227
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`;
228
- return await this.put(path, params.body);
229
- }
230
- async deleteCoreV1NamespacedPod(params) {
231
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`;
232
- return await this.delete(path);
233
- }
234
- async patchCoreV1NamespacedPod(params) {
235
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}`;
236
- return await this.patch(path, params.body);
237
- }
238
- async connectCoreV1GetNamespacedPodAttach(params) {
239
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/attach`;
240
- return await this.get(path);
241
- }
242
- async connectCoreV1PostNamespacedPodAttach(params) {
243
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/attach`;
244
- return await this.post(path, {});
245
- }
246
- async createCoreV1NamespacedPodBinding(params) {
247
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/binding`;
248
- return await this.post(path, params.body);
249
- }
250
- async createCoreV1NamespacedPodEviction(params) {
251
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/eviction`;
252
- return await this.post(path, params.body);
253
- }
254
- async connectCoreV1GetNamespacedPodExec(params) {
255
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/exec`;
256
- return await this.get(path);
257
- }
258
- async connectCoreV1PostNamespacedPodExec(params) {
259
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/exec`;
260
- return await this.post(path, {});
261
- }
262
- async readCoreV1NamespacedPodLog(params) {
263
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/log`;
264
- return await this.get(path);
265
- }
266
- async connectCoreV1GetNamespacedPodPortforward(params) {
267
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/portforward`;
268
- return await this.get(path);
269
- }
270
- async connectCoreV1PostNamespacedPodPortforward(params) {
271
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/portforward`;
272
- return await this.post(path, {});
273
- }
274
- async connectCoreV1GetNamespacedPodProxy(params) {
275
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`;
276
- return await this.get(path);
277
- }
278
- async connectCoreV1PostNamespacedPodProxy(params) {
279
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`;
280
- return await this.post(path, {});
281
- }
282
- async connectCoreV1PutNamespacedPodProxy(params) {
283
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`;
284
- return await this.put(path, {});
285
- }
286
- async connectCoreV1DeleteNamespacedPodProxy(params) {
287
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`;
288
- return await this.delete(path);
289
- }
290
- async connectCoreV1PatchNamespacedPodProxy(params) {
291
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy`;
292
- return await this.patch(path, {});
293
- }
294
- async connectCoreV1GetNamespacedPodProxyWithPath(params) {
295
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`;
296
- return await this.get(path);
297
- }
298
- async connectCoreV1PostNamespacedPodProxyWithPath(params) {
299
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`;
300
- return await this.post(path, {});
301
- }
302
- async connectCoreV1PutNamespacedPodProxyWithPath(params) {
303
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`;
304
- return await this.put(path, {});
305
- }
306
- async connectCoreV1DeleteNamespacedPodProxyWithPath(params) {
307
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`;
308
- return await this.delete(path);
309
- }
310
- async connectCoreV1PatchNamespacedPodProxyWithPath(params) {
311
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/proxy/${params.path.path}`;
312
- return await this.patch(path, {});
313
- }
314
- async readCoreV1NamespacedPodStatus(params) {
315
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/status`;
316
- return await this.get(path);
317
- }
318
- async replaceCoreV1NamespacedPodStatus(params) {
319
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/status`;
320
- return await this.put(path, params.body);
321
- }
322
- async patchCoreV1NamespacedPodStatus(params) {
323
- const path = `/api/v1/namespaces/${params.path.namespace}/pods/${params.path.name}/status`;
324
- return await this.patch(path, params.body);
325
- }
326
- async listCoreV1NamespacedPodTemplate(params) {
327
- const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates`;
328
- return await this.get(path);
329
- }
330
- async createCoreV1NamespacedPodTemplate(params) {
331
- const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates`;
332
- return await this.post(path, params.body);
333
- }
334
- async deleteCoreV1CollectionNamespacedPodTemplate(params) {
335
- const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates`;
336
- return await this.delete(path);
337
- }
338
- async readCoreV1NamespacedPodTemplate(params) {
339
- const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`;
340
- return await this.get(path);
341
- }
342
- async replaceCoreV1NamespacedPodTemplate(params) {
343
- const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`;
344
- return await this.put(path, params.body);
345
- }
346
- async deleteCoreV1NamespacedPodTemplate(params) {
347
- const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`;
348
- return await this.delete(path);
349
- }
350
- async patchCoreV1NamespacedPodTemplate(params) {
351
- const path = `/api/v1/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`;
352
- return await this.patch(path, params.body);
353
- }
354
- async listCoreV1NamespacedReplicationController(params) {
355
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers`;
356
- return await this.get(path);
357
- }
358
- async createCoreV1NamespacedReplicationController(params) {
359
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers`;
360
- return await this.post(path, params.body);
361
- }
362
- async deleteCoreV1CollectionNamespacedReplicationController(params) {
363
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers`;
364
- return await this.delete(path);
365
- }
366
- async readCoreV1NamespacedReplicationController(params) {
367
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`;
368
- return await this.get(path);
369
- }
370
- async replaceCoreV1NamespacedReplicationController(params) {
371
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`;
372
- return await this.put(path, params.body);
373
- }
374
- async deleteCoreV1NamespacedReplicationController(params) {
375
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`;
376
- return await this.delete(path);
377
- }
378
- async patchCoreV1NamespacedReplicationController(params) {
379
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`;
380
- return await this.patch(path, params.body);
381
- }
382
- async readCoreV1NamespacedReplicationControllerScale(params) {
383
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/scale`;
384
- return await this.get(path);
385
- }
386
- async replaceCoreV1NamespacedReplicationControllerScale(params) {
387
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/scale`;
388
- return await this.put(path, params.body);
389
- }
390
- async patchCoreV1NamespacedReplicationControllerScale(params) {
391
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/scale`;
392
- return await this.patch(path, params.body);
393
- }
394
- async readCoreV1NamespacedReplicationControllerStatus(params) {
395
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/status`;
396
- return await this.get(path);
397
- }
398
- async replaceCoreV1NamespacedReplicationControllerStatus(params) {
399
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/status`;
400
- return await this.put(path, params.body);
401
- }
402
- async patchCoreV1NamespacedReplicationControllerStatus(params) {
403
- const path = `/api/v1/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}/status`;
404
- return await this.patch(path, params.body);
405
- }
406
- async listCoreV1NamespacedResourceQuota(params) {
407
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas`;
408
- return await this.get(path);
409
- }
410
- async createCoreV1NamespacedResourceQuota(params) {
411
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas`;
412
- return await this.post(path, params.body);
413
- }
414
- async deleteCoreV1CollectionNamespacedResourceQuota(params) {
415
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas`;
416
- return await this.delete(path);
417
- }
418
- async readCoreV1NamespacedResourceQuota(params) {
419
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`;
420
- return await this.get(path);
421
- }
422
- async replaceCoreV1NamespacedResourceQuota(params) {
423
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`;
424
- return await this.put(path, params.body);
425
- }
426
- async deleteCoreV1NamespacedResourceQuota(params) {
427
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`;
428
- return await this.delete(path);
429
- }
430
- async patchCoreV1NamespacedResourceQuota(params) {
431
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`;
432
- return await this.patch(path, params.body);
433
- }
434
- async readCoreV1NamespacedResourceQuotaStatus(params) {
435
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}/status`;
436
- return await this.get(path);
437
- }
438
- async replaceCoreV1NamespacedResourceQuotaStatus(params) {
439
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}/status`;
440
- return await this.put(path, params.body);
441
- }
442
- async patchCoreV1NamespacedResourceQuotaStatus(params) {
443
- const path = `/api/v1/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}/status`;
444
- return await this.patch(path, params.body);
445
- }
446
- async listCoreV1NamespacedSecret(params) {
447
- const path = `/api/v1/namespaces/${params.path.namespace}/secrets`;
448
- return await this.get(path);
449
- }
450
- async createCoreV1NamespacedSecret(params) {
451
- const path = `/api/v1/namespaces/${params.path.namespace}/secrets`;
452
- return await this.post(path, params.body);
453
- }
454
- async deleteCoreV1CollectionNamespacedSecret(params) {
455
- const path = `/api/v1/namespaces/${params.path.namespace}/secrets`;
456
- return await this.delete(path);
457
- }
458
- async readCoreV1NamespacedSecret(params) {
459
- const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`;
460
- return await this.get(path);
461
- }
462
- async replaceCoreV1NamespacedSecret(params) {
463
- const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`;
464
- return await this.put(path, params.body);
465
- }
466
- async deleteCoreV1NamespacedSecret(params) {
467
- const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`;
468
- return await this.delete(path);
469
- }
470
- async patchCoreV1NamespacedSecret(params) {
471
- const path = `/api/v1/namespaces/${params.path.namespace}/secrets/${params.path.name}`;
472
- return await this.patch(path, params.body);
473
- }
474
- async listCoreV1NamespacedServiceAccount(params) {
475
- const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts`;
476
- return await this.get(path);
477
- }
478
- async createCoreV1NamespacedServiceAccount(params) {
479
- const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts`;
480
- return await this.post(path, params.body);
481
- }
482
- async deleteCoreV1CollectionNamespacedServiceAccount(params) {
483
- const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts`;
484
- return await this.delete(path);
485
- }
486
- async readCoreV1NamespacedServiceAccount(params) {
487
- const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`;
488
- return await this.get(path);
489
- }
490
- async replaceCoreV1NamespacedServiceAccount(params) {
491
- const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`;
492
- return await this.put(path, params.body);
493
- }
494
- async deleteCoreV1NamespacedServiceAccount(params) {
495
- const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`;
496
- return await this.delete(path);
497
- }
498
- async patchCoreV1NamespacedServiceAccount(params) {
499
- const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`;
500
- return await this.patch(path, params.body);
501
- }
502
- async createCoreV1NamespacedServiceAccountToken(params) {
503
- const path = `/api/v1/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}/token`;
504
- return await this.post(path, params.body);
505
- }
506
- async listCoreV1NamespacedService(params) {
507
- const path = `/api/v1/namespaces/${params.path.namespace}/services`;
508
- return await this.get(path);
509
- }
510
- async createCoreV1NamespacedService(params) {
511
- const path = `/api/v1/namespaces/${params.path.namespace}/services`;
512
- return await this.post(path, params.body);
513
- }
514
- async readCoreV1NamespacedService(params) {
515
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`;
516
- return await this.get(path);
517
- }
518
- async replaceCoreV1NamespacedService(params) {
519
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`;
520
- return await this.put(path, params.body);
521
- }
522
- async deleteCoreV1NamespacedService(params) {
523
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`;
524
- return await this.delete(path);
525
- }
526
- async patchCoreV1NamespacedService(params) {
527
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}`;
528
- return await this.patch(path, params.body);
529
- }
530
- async connectCoreV1GetNamespacedServiceProxy(params) {
531
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`;
532
- return await this.get(path);
533
- }
534
- async connectCoreV1PostNamespacedServiceProxy(params) {
535
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`;
536
- return await this.post(path, {});
537
- }
538
- async connectCoreV1PutNamespacedServiceProxy(params) {
539
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`;
540
- return await this.put(path, {});
541
- }
542
- async connectCoreV1DeleteNamespacedServiceProxy(params) {
543
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`;
544
- return await this.delete(path);
545
- }
546
- async connectCoreV1PatchNamespacedServiceProxy(params) {
547
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy`;
548
- return await this.patch(path, {});
549
- }
550
- async connectCoreV1GetNamespacedServiceProxyWithPath(params) {
551
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`;
552
- return await this.get(path);
553
- }
554
- async connectCoreV1PostNamespacedServiceProxyWithPath(params) {
555
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`;
556
- return await this.post(path, {});
557
- }
558
- async connectCoreV1PutNamespacedServiceProxyWithPath(params) {
559
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`;
560
- return await this.put(path, {});
561
- }
562
- async connectCoreV1DeleteNamespacedServiceProxyWithPath(params) {
563
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`;
564
- return await this.delete(path);
565
- }
566
- async connectCoreV1PatchNamespacedServiceProxyWithPath(params) {
567
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/proxy/${params.path.path}`;
568
- return await this.patch(path, {});
569
- }
570
- async readCoreV1NamespacedServiceStatus(params) {
571
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`;
572
- return await this.get(path);
573
- }
574
- async replaceCoreV1NamespacedServiceStatus(params) {
575
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`;
576
- return await this.put(path, params.body);
577
- }
578
- async patchCoreV1NamespacedServiceStatus(params) {
579
- const path = `/api/v1/namespaces/${params.path.namespace}/services/${params.path.name}/status`;
580
- return await this.patch(path, params.body);
581
- }
582
- async readCoreV1Namespace(params) {
583
- const path = `/api/v1/namespaces/${params.path.name}`;
584
- return await this.get(path);
585
- }
586
- async replaceCoreV1Namespace(params) {
587
- const path = `/api/v1/namespaces/${params.path.name}`;
588
- return await this.put(path, params.body);
589
- }
590
- async deleteCoreV1Namespace(params) {
591
- const path = `/api/v1/namespaces/${params.path.name}`;
592
- return await this.delete(path);
593
- }
594
- async patchCoreV1Namespace(params) {
595
- const path = `/api/v1/namespaces/${params.path.name}`;
596
- return await this.patch(path, params.body);
597
- }
598
- async replaceCoreV1NamespaceFinalize(params) {
599
- const path = `/api/v1/namespaces/${params.path.name}/finalize`;
600
- return await this.put(path, params.body);
601
- }
602
- async readCoreV1NamespaceStatus(params) {
603
- const path = `/api/v1/namespaces/${params.path.name}/status`;
604
- return await this.get(path);
605
- }
606
- async replaceCoreV1NamespaceStatus(params) {
607
- const path = `/api/v1/namespaces/${params.path.name}/status`;
608
- return await this.put(path, params.body);
609
- }
610
- async patchCoreV1NamespaceStatus(params) {
611
- const path = `/api/v1/namespaces/${params.path.name}/status`;
612
- return await this.patch(path, params.body);
613
- }
614
- async listCoreV1Node(params) {
615
- const path = `/api/v1/nodes`;
616
- return await this.get(path);
617
- }
618
- async createCoreV1Node(params) {
619
- const path = `/api/v1/nodes`;
620
- return await this.post(path, params.body);
621
- }
622
- async deleteCoreV1CollectionNode(params) {
623
- const path = `/api/v1/nodes`;
624
- return await this.delete(path);
625
- }
626
- async readCoreV1Node(params) {
627
- const path = `/api/v1/nodes/${params.path.name}`;
628
- return await this.get(path);
629
- }
630
- async replaceCoreV1Node(params) {
631
- const path = `/api/v1/nodes/${params.path.name}`;
632
- return await this.put(path, params.body);
633
- }
634
- async deleteCoreV1Node(params) {
635
- const path = `/api/v1/nodes/${params.path.name}`;
636
- return await this.delete(path);
637
- }
638
- async patchCoreV1Node(params) {
639
- const path = `/api/v1/nodes/${params.path.name}`;
640
- return await this.patch(path, params.body);
641
- }
642
- async connectCoreV1GetNodeProxy(params) {
643
- const path = `/api/v1/nodes/${params.path.name}/proxy`;
644
- return await this.get(path);
645
- }
646
- async connectCoreV1PostNodeProxy(params) {
647
- const path = `/api/v1/nodes/${params.path.name}/proxy`;
648
- return await this.post(path, {});
649
- }
650
- async connectCoreV1PutNodeProxy(params) {
651
- const path = `/api/v1/nodes/${params.path.name}/proxy`;
652
- return await this.put(path, {});
653
- }
654
- async connectCoreV1DeleteNodeProxy(params) {
655
- const path = `/api/v1/nodes/${params.path.name}/proxy`;
656
- return await this.delete(path);
657
- }
658
- async connectCoreV1PatchNodeProxy(params) {
659
- const path = `/api/v1/nodes/${params.path.name}/proxy`;
660
- return await this.patch(path, {});
661
- }
662
- async connectCoreV1GetNodeProxyWithPath(params) {
663
- const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`;
664
- return await this.get(path);
665
- }
666
- async connectCoreV1PostNodeProxyWithPath(params) {
667
- const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`;
668
- return await this.post(path, {});
669
- }
670
- async connectCoreV1PutNodeProxyWithPath(params) {
671
- const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`;
672
- return await this.put(path, {});
673
- }
674
- async connectCoreV1DeleteNodeProxyWithPath(params) {
675
- const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`;
676
- return await this.delete(path);
677
- }
678
- async connectCoreV1PatchNodeProxyWithPath(params) {
679
- const path = `/api/v1/nodes/${params.path.name}/proxy/${params.path.path}`;
680
- return await this.patch(path, {});
681
- }
682
- async readCoreV1NodeStatus(params) {
683
- const path = `/api/v1/nodes/${params.path.name}/status`;
684
- return await this.get(path);
685
- }
686
- async replaceCoreV1NodeStatus(params) {
687
- const path = `/api/v1/nodes/${params.path.name}/status`;
688
- return await this.put(path, params.body);
689
- }
690
- async patchCoreV1NodeStatus(params) {
691
- const path = `/api/v1/nodes/${params.path.name}/status`;
692
- return await this.patch(path, params.body);
693
- }
694
- async listCoreV1PersistentVolumeClaimForAllNamespaces(params) {
695
- const path = `/api/v1/persistentvolumeclaims`;
696
- return await this.get(path);
697
- }
698
- async listCoreV1PersistentVolume(params) {
699
- const path = `/api/v1/persistentvolumes`;
700
- return await this.get(path);
701
- }
702
- async createCoreV1PersistentVolume(params) {
703
- const path = `/api/v1/persistentvolumes`;
704
- return await this.post(path, params.body);
705
- }
706
- async deleteCoreV1CollectionPersistentVolume(params) {
707
- const path = `/api/v1/persistentvolumes`;
708
- return await this.delete(path);
709
- }
710
- async readCoreV1PersistentVolume(params) {
711
- const path = `/api/v1/persistentvolumes/${params.path.name}`;
712
- return await this.get(path);
713
- }
714
- async replaceCoreV1PersistentVolume(params) {
715
- const path = `/api/v1/persistentvolumes/${params.path.name}`;
716
- return await this.put(path, params.body);
717
- }
718
- async deleteCoreV1PersistentVolume(params) {
719
- const path = `/api/v1/persistentvolumes/${params.path.name}`;
720
- return await this.delete(path);
721
- }
722
- async patchCoreV1PersistentVolume(params) {
723
- const path = `/api/v1/persistentvolumes/${params.path.name}`;
724
- return await this.patch(path, params.body);
725
- }
726
- async readCoreV1PersistentVolumeStatus(params) {
727
- const path = `/api/v1/persistentvolumes/${params.path.name}/status`;
728
- return await this.get(path);
729
- }
730
- async replaceCoreV1PersistentVolumeStatus(params) {
731
- const path = `/api/v1/persistentvolumes/${params.path.name}/status`;
732
- return await this.put(path, params.body);
733
- }
734
- async patchCoreV1PersistentVolumeStatus(params) {
735
- const path = `/api/v1/persistentvolumes/${params.path.name}/status`;
736
- return await this.patch(path, params.body);
737
- }
738
- async listCoreV1PodForAllNamespaces(params) {
739
- const path = `/api/v1/pods`;
740
- return await this.get(path);
741
- }
742
- async listCoreV1PodTemplateForAllNamespaces(params) {
743
- const path = `/api/v1/podtemplates`;
744
- return await this.get(path);
745
- }
746
- async listCoreV1ReplicationControllerForAllNamespaces(params) {
747
- const path = `/api/v1/replicationcontrollers`;
748
- return await this.get(path);
749
- }
750
- async listCoreV1ResourceQuotaForAllNamespaces(params) {
751
- const path = `/api/v1/resourcequotas`;
752
- return await this.get(path);
753
- }
754
- async listCoreV1SecretForAllNamespaces(params) {
755
- const path = `/api/v1/secrets`;
756
- return await this.get(path);
757
- }
758
- async listCoreV1ServiceAccountForAllNamespaces(params) {
759
- const path = `/api/v1/serviceaccounts`;
760
- return await this.get(path);
761
- }
762
- async listCoreV1ServiceForAllNamespaces(params) {
763
- const path = `/api/v1/services`;
764
- return await this.get(path);
765
- }
766
- async watchCoreV1ConfigMapListForAllNamespaces(params) {
767
- const path = `/api/v1/watch/configmaps`;
768
- return await this.get(path);
769
- }
770
- async watchCoreV1EndpointsListForAllNamespaces(params) {
771
- const path = `/api/v1/watch/endpoints`;
772
- return await this.get(path);
773
- }
774
- async watchCoreV1EventListForAllNamespaces(params) {
775
- const path = `/api/v1/watch/events`;
776
- return await this.get(path);
777
- }
778
- async watchCoreV1LimitRangeListForAllNamespaces(params) {
779
- const path = `/api/v1/watch/limitranges`;
780
- return await this.get(path);
781
- }
782
- async watchCoreV1NamespaceList(params) {
783
- const path = `/api/v1/watch/namespaces`;
784
- return await this.get(path);
785
- }
786
- async watchCoreV1NamespacedConfigMapList(params) {
787
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/configmaps`;
788
- return await this.get(path);
789
- }
790
- async watchCoreV1NamespacedConfigMap(params) {
791
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/configmaps/${params.path.name}`;
792
- return await this.get(path);
793
- }
794
- async watchCoreV1NamespacedEndpointsList(params) {
795
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/endpoints`;
796
- return await this.get(path);
797
- }
798
- async watchCoreV1NamespacedEndpoints(params) {
799
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/endpoints/${params.path.name}`;
800
- return await this.get(path);
801
- }
802
- async watchCoreV1NamespacedEventList(params) {
803
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/events`;
804
- return await this.get(path);
805
- }
806
- async watchCoreV1NamespacedEvent(params) {
807
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/events/${params.path.name}`;
808
- return await this.get(path);
809
- }
810
- async watchCoreV1NamespacedLimitRangeList(params) {
811
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/limitranges`;
812
- return await this.get(path);
813
- }
814
- async watchCoreV1NamespacedLimitRange(params) {
815
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/limitranges/${params.path.name}`;
816
- return await this.get(path);
817
- }
818
- async watchCoreV1NamespacedPersistentVolumeClaimList(params) {
819
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/persistentvolumeclaims`;
820
- return await this.get(path);
821
- }
822
- async watchCoreV1NamespacedPersistentVolumeClaim(params) {
823
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/persistentvolumeclaims/${params.path.name}`;
824
- return await this.get(path);
825
- }
826
- async watchCoreV1NamespacedPodList(params) {
827
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/pods`;
828
- return await this.get(path);
829
- }
830
- async watchCoreV1NamespacedPod(params) {
831
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/pods/${params.path.name}`;
832
- return await this.get(path);
833
- }
834
- async watchCoreV1NamespacedPodTemplateList(params) {
835
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/podtemplates`;
836
- return await this.get(path);
837
- }
838
- async watchCoreV1NamespacedPodTemplate(params) {
839
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/podtemplates/${params.path.name}`;
840
- return await this.get(path);
841
- }
842
- async watchCoreV1NamespacedReplicationControllerList(params) {
843
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/replicationcontrollers`;
844
- return await this.get(path);
845
- }
846
- async watchCoreV1NamespacedReplicationController(params) {
847
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/replicationcontrollers/${params.path.name}`;
848
- return await this.get(path);
849
- }
850
- async watchCoreV1NamespacedResourceQuotaList(params) {
851
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/resourcequotas`;
852
- return await this.get(path);
853
- }
854
- async watchCoreV1NamespacedResourceQuota(params) {
855
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/resourcequotas/${params.path.name}`;
856
- return await this.get(path);
857
- }
858
- async watchCoreV1NamespacedSecretList(params) {
859
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/secrets`;
860
- return await this.get(path);
861
- }
862
- async watchCoreV1NamespacedSecret(params) {
863
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/secrets/${params.path.name}`;
864
- return await this.get(path);
865
- }
866
- async watchCoreV1NamespacedServiceAccountList(params) {
867
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/serviceaccounts`;
868
- return await this.get(path);
869
- }
870
- async watchCoreV1NamespacedServiceAccount(params) {
871
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/serviceaccounts/${params.path.name}`;
872
- return await this.get(path);
873
- }
874
- async watchCoreV1NamespacedServiceList(params) {
875
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/services`;
876
- return await this.get(path);
877
- }
878
- async watchCoreV1NamespacedService(params) {
879
- const path = `/api/v1/watch/namespaces/${params.path.namespace}/services/${params.path.name}`;
880
- return await this.get(path);
881
- }
882
- async watchCoreV1Namespace(params) {
883
- const path = `/api/v1/watch/namespaces/${params.path.name}`;
884
- return await this.get(path);
885
- }
886
- async watchCoreV1NodeList(params) {
887
- const path = `/api/v1/watch/nodes`;
888
- return await this.get(path);
889
- }
890
- async watchCoreV1Node(params) {
891
- const path = `/api/v1/watch/nodes/${params.path.name}`;
892
- return await this.get(path);
893
- }
894
- async watchCoreV1PersistentVolumeClaimListForAllNamespaces(params) {
895
- const path = `/api/v1/watch/persistentvolumeclaims`;
896
- return await this.get(path);
897
- }
898
- async watchCoreV1PersistentVolumeList(params) {
899
- const path = `/api/v1/watch/persistentvolumes`;
900
- return await this.get(path);
901
- }
902
- async watchCoreV1PersistentVolume(params) {
903
- const path = `/api/v1/watch/persistentvolumes/${params.path.name}`;
904
- return await this.get(path);
905
- }
906
- async watchCoreV1PodListForAllNamespaces(params) {
907
- const path = `/api/v1/watch/pods`;
908
- return await this.get(path);
909
- }
910
- async watchCoreV1PodTemplateListForAllNamespaces(params) {
911
- const path = `/api/v1/watch/podtemplates`;
912
- return await this.get(path);
913
- }
914
- async watchCoreV1ReplicationControllerListForAllNamespaces(params) {
915
- const path = `/api/v1/watch/replicationcontrollers`;
916
- return await this.get(path);
917
- }
918
- async watchCoreV1ResourceQuotaListForAllNamespaces(params) {
919
- const path = `/api/v1/watch/resourcequotas`;
920
- return await this.get(path);
921
- }
922
- async watchCoreV1SecretListForAllNamespaces(params) {
923
- const path = `/api/v1/watch/secrets`;
924
- return await this.get(path);
925
- }
926
- async watchCoreV1ServiceAccountListForAllNamespaces(params) {
927
- const path = `/api/v1/watch/serviceaccounts`;
928
- return await this.get(path);
929
- }
930
- async watchCoreV1ServiceListForAllNamespaces(params) {
931
- const path = `/api/v1/watch/services`;
932
- return await this.get(path);
933
- }
934
- async getAPIVersions(params) {
935
- const path = `/apis/`;
936
- return await this.get(path);
937
- }
938
- async getAdmissionregistrationAPIGroup(params) {
939
- const path = `/apis/admissionregistration.k8s.io/`;
940
- return await this.get(path);
941
- }
942
- async getAdmissionregistrationV1APIResources(params) {
943
- const path = `/apis/admissionregistration.k8s.io/v1/`;
944
- return await this.get(path);
945
- }
946
- async listAdmissionregistrationV1MutatingWebhookConfiguration(params) {
947
- const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`;
948
- return await this.get(path);
949
- }
950
- async createAdmissionregistrationV1MutatingWebhookConfiguration(params) {
951
- const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`;
952
- return await this.post(path, params.body);
953
- }
954
- async deleteAdmissionregistrationV1CollectionMutatingWebhookConfiguration(params) {
955
- const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations`;
956
- return await this.delete(path);
957
- }
958
- async readAdmissionregistrationV1MutatingWebhookConfiguration(params) {
959
- const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`;
960
- return await this.get(path);
961
- }
962
- async replaceAdmissionregistrationV1MutatingWebhookConfiguration(params) {
963
- const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`;
964
- return await this.put(path, params.body);
965
- }
966
- async deleteAdmissionregistrationV1MutatingWebhookConfiguration(params) {
967
- const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`;
968
- return await this.delete(path);
969
- }
970
- async patchAdmissionregistrationV1MutatingWebhookConfiguration(params) {
971
- const path = `/apis/admissionregistration.k8s.io/v1/mutatingwebhookconfigurations/${params.path.name}`;
972
- return await this.patch(path, params.body);
973
- }
974
- async listAdmissionregistrationV1ValidatingWebhookConfiguration(params) {
975
- const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`;
976
- return await this.get(path);
977
- }
978
- async createAdmissionregistrationV1ValidatingWebhookConfiguration(params) {
979
- const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`;
980
- return await this.post(path, params.body);
981
- }
982
- async deleteAdmissionregistrationV1CollectionValidatingWebhookConfiguration(params) {
983
- const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations`;
984
- return await this.delete(path);
985
- }
986
- async readAdmissionregistrationV1ValidatingWebhookConfiguration(params) {
987
- const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`;
988
- return await this.get(path);
989
- }
990
- async replaceAdmissionregistrationV1ValidatingWebhookConfiguration(params) {
991
- const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`;
992
- return await this.put(path, params.body);
993
- }
994
- async deleteAdmissionregistrationV1ValidatingWebhookConfiguration(params) {
995
- const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`;
996
- return await this.delete(path);
997
- }
998
- async patchAdmissionregistrationV1ValidatingWebhookConfiguration(params) {
999
- const path = `/apis/admissionregistration.k8s.io/v1/validatingwebhookconfigurations/${params.path.name}`;
1000
- return await this.patch(path, params.body);
1001
- }
1002
- async watchAdmissionregistrationV1MutatingWebhookConfigurationList(params) {
1003
- const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations`;
1004
- return await this.get(path);
1005
- }
1006
- async watchAdmissionregistrationV1MutatingWebhookConfiguration(params) {
1007
- const path = `/apis/admissionregistration.k8s.io/v1/watch/mutatingwebhookconfigurations/${params.path.name}`;
1008
- return await this.get(path);
1009
- }
1010
- async watchAdmissionregistrationV1ValidatingWebhookConfigurationList(params) {
1011
- const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations`;
1012
- return await this.get(path);
1013
- }
1014
- async watchAdmissionregistrationV1ValidatingWebhookConfiguration(params) {
1015
- const path = `/apis/admissionregistration.k8s.io/v1/watch/validatingwebhookconfigurations/${params.path.name}`;
1016
- return await this.get(path);
1017
- }
1018
- async getApiextensionsAPIGroup(params) {
1019
- const path = `/apis/apiextensions.k8s.io/`;
1020
- return await this.get(path);
1021
- }
1022
- async getApiextensionsV1APIResources(params) {
1023
- const path = `/apis/apiextensions.k8s.io/v1/`;
1024
- return await this.get(path);
1025
- }
1026
- async listApiextensionsV1CustomResourceDefinition(params) {
1027
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`;
1028
- return await this.get(path);
1029
- }
1030
- async createApiextensionsV1CustomResourceDefinition(params) {
1031
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`;
1032
- return await this.post(path, params.body);
1033
- }
1034
- async deleteApiextensionsV1CollectionCustomResourceDefinition(params) {
1035
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions`;
1036
- return await this.delete(path);
1037
- }
1038
- async readApiextensionsV1CustomResourceDefinition(params) {
1039
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`;
1040
- return await this.get(path);
1041
- }
1042
- async replaceApiextensionsV1CustomResourceDefinition(params) {
1043
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`;
1044
- return await this.put(path, params.body);
1045
- }
1046
- async deleteApiextensionsV1CustomResourceDefinition(params) {
1047
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`;
1048
- return await this.delete(path);
1049
- }
1050
- async patchApiextensionsV1CustomResourceDefinition(params) {
1051
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}`;
1052
- return await this.patch(path, params.body);
1053
- }
1054
- async readApiextensionsV1CustomResourceDefinitionStatus(params) {
1055
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}/status`;
1056
- return await this.get(path);
1057
- }
1058
- async replaceApiextensionsV1CustomResourceDefinitionStatus(params) {
1059
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}/status`;
1060
- return await this.put(path, params.body);
1061
- }
1062
- async patchApiextensionsV1CustomResourceDefinitionStatus(params) {
1063
- const path = `/apis/apiextensions.k8s.io/v1/customresourcedefinitions/${params.path.name}/status`;
1064
- return await this.patch(path, params.body);
1065
- }
1066
- async watchApiextensionsV1CustomResourceDefinitionList(params) {
1067
- const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions`;
1068
- return await this.get(path);
1069
- }
1070
- async watchApiextensionsV1CustomResourceDefinition(params) {
1071
- const path = `/apis/apiextensions.k8s.io/v1/watch/customresourcedefinitions/${params.path.name}`;
1072
- return await this.get(path);
1073
- }
1074
- async getApiregistrationAPIGroup(params) {
1075
- const path = `/apis/apiregistration.k8s.io/`;
1076
- return await this.get(path);
1077
- }
1078
- async getApiregistrationV1APIResources(params) {
1079
- const path = `/apis/apiregistration.k8s.io/v1/`;
1080
- return await this.get(path);
1081
- }
1082
- async listApiregistrationV1APIService(params) {
1083
- const path = `/apis/apiregistration.k8s.io/v1/apiservices`;
1084
- return await this.get(path);
1085
- }
1086
- async createApiregistrationV1APIService(params) {
1087
- const path = `/apis/apiregistration.k8s.io/v1/apiservices`;
1088
- return await this.post(path, params.body);
1089
- }
1090
- async deleteApiregistrationV1CollectionAPIService(params) {
1091
- const path = `/apis/apiregistration.k8s.io/v1/apiservices`;
1092
- return await this.delete(path);
1093
- }
1094
- async readApiregistrationV1APIService(params) {
1095
- const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`;
1096
- return await this.get(path);
1097
- }
1098
- async replaceApiregistrationV1APIService(params) {
1099
- const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`;
1100
- return await this.put(path, params.body);
1101
- }
1102
- async deleteApiregistrationV1APIService(params) {
1103
- const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`;
1104
- return await this.delete(path);
1105
- }
1106
- async patchApiregistrationV1APIService(params) {
1107
- const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}`;
1108
- return await this.patch(path, params.body);
1109
- }
1110
- async readApiregistrationV1APIServiceStatus(params) {
1111
- const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}/status`;
1112
- return await this.get(path);
1113
- }
1114
- async replaceApiregistrationV1APIServiceStatus(params) {
1115
- const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}/status`;
1116
- return await this.put(path, params.body);
1117
- }
1118
- async patchApiregistrationV1APIServiceStatus(params) {
1119
- const path = `/apis/apiregistration.k8s.io/v1/apiservices/${params.path.name}/status`;
1120
- return await this.patch(path, params.body);
1121
- }
1122
- async watchApiregistrationV1APIServiceList(params) {
1123
- const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices`;
1124
- return await this.get(path);
1125
- }
1126
- async watchApiregistrationV1APIService(params) {
1127
- const path = `/apis/apiregistration.k8s.io/v1/watch/apiservices/${params.path.name}`;
1128
- return await this.get(path);
1129
- }
1130
- async getAppsAPIGroup(params) {
1131
- const path = `/apis/apps/`;
1132
- return await this.get(path);
1133
- }
1134
- async getAppsV1APIResources(params) {
1135
- const path = `/apis/apps/v1/`;
1136
- return await this.get(path);
1137
- }
1138
- async listAppsV1ControllerRevisionForAllNamespaces(params) {
1139
- const path = `/apis/apps/v1/controllerrevisions`;
1140
- return await this.get(path);
1141
- }
1142
- async listAppsV1DaemonSetForAllNamespaces(params) {
1143
- const path = `/apis/apps/v1/daemonsets`;
1144
- return await this.get(path);
1145
- }
1146
- async listAppsV1DeploymentForAllNamespaces(params) {
1147
- const path = `/apis/apps/v1/deployments`;
1148
- return await this.get(path);
1149
- }
1150
- async listAppsV1NamespacedControllerRevision(params) {
1151
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions`;
1152
- return await this.get(path);
1153
- }
1154
- async createAppsV1NamespacedControllerRevision(params) {
1155
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions`;
1156
- return await this.post(path, params.body);
1157
- }
1158
- async deleteAppsV1CollectionNamespacedControllerRevision(params) {
1159
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions`;
1160
- return await this.delete(path);
1161
- }
1162
- async readAppsV1NamespacedControllerRevision(params) {
1163
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`;
1164
- return await this.get(path);
1165
- }
1166
- async replaceAppsV1NamespacedControllerRevision(params) {
1167
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`;
1168
- return await this.put(path, params.body);
1169
- }
1170
- async deleteAppsV1NamespacedControllerRevision(params) {
1171
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`;
1172
- return await this.delete(path);
1173
- }
1174
- async patchAppsV1NamespacedControllerRevision(params) {
1175
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`;
1176
- return await this.patch(path, params.body);
1177
- }
1178
- async listAppsV1NamespacedDaemonSet(params) {
1179
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets`;
1180
- return await this.get(path);
1181
- }
1182
- async createAppsV1NamespacedDaemonSet(params) {
1183
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets`;
1184
- return await this.post(path, params.body);
1185
- }
1186
- async deleteAppsV1CollectionNamespacedDaemonSet(params) {
1187
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets`;
1188
- return await this.delete(path);
1189
- }
1190
- async readAppsV1NamespacedDaemonSet(params) {
1191
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`;
1192
- return await this.get(path);
1193
- }
1194
- async replaceAppsV1NamespacedDaemonSet(params) {
1195
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`;
1196
- return await this.put(path, params.body);
1197
- }
1198
- async deleteAppsV1NamespacedDaemonSet(params) {
1199
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`;
1200
- return await this.delete(path);
1201
- }
1202
- async patchAppsV1NamespacedDaemonSet(params) {
1203
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`;
1204
- return await this.patch(path, params.body);
1205
- }
1206
- async readAppsV1NamespacedDaemonSetStatus(params) {
1207
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}/status`;
1208
- return await this.get(path);
1209
- }
1210
- async replaceAppsV1NamespacedDaemonSetStatus(params) {
1211
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}/status`;
1212
- return await this.put(path, params.body);
1213
- }
1214
- async patchAppsV1NamespacedDaemonSetStatus(params) {
1215
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/daemonsets/${params.path.name}/status`;
1216
- return await this.patch(path, params.body);
1217
- }
1218
- async listAppsV1NamespacedDeployment(params) {
1219
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments`;
1220
- return await this.get(path);
1221
- }
1222
- async createAppsV1NamespacedDeployment(params) {
1223
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments`;
1224
- return await this.post(path, params.body);
1225
- }
1226
- async deleteAppsV1CollectionNamespacedDeployment(params) {
1227
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments`;
1228
- return await this.delete(path);
1229
- }
1230
- async readAppsV1NamespacedDeployment(params) {
1231
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`;
1232
- return await this.get(path);
1233
- }
1234
- async replaceAppsV1NamespacedDeployment(params) {
1235
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`;
1236
- return await this.put(path, params.body);
1237
- }
1238
- async deleteAppsV1NamespacedDeployment(params) {
1239
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`;
1240
- return await this.delete(path);
1241
- }
1242
- async patchAppsV1NamespacedDeployment(params) {
1243
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}`;
1244
- return await this.patch(path, params.body);
1245
- }
1246
- async readAppsV1NamespacedDeploymentScale(params) {
1247
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/scale`;
1248
- return await this.get(path);
1249
- }
1250
- async replaceAppsV1NamespacedDeploymentScale(params) {
1251
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/scale`;
1252
- return await this.put(path, params.body);
1253
- }
1254
- async patchAppsV1NamespacedDeploymentScale(params) {
1255
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/scale`;
1256
- return await this.patch(path, params.body);
1257
- }
1258
- async readAppsV1NamespacedDeploymentStatus(params) {
1259
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/status`;
1260
- return await this.get(path);
1261
- }
1262
- async replaceAppsV1NamespacedDeploymentStatus(params) {
1263
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/status`;
1264
- return await this.put(path, params.body);
1265
- }
1266
- async patchAppsV1NamespacedDeploymentStatus(params) {
1267
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/deployments/${params.path.name}/status`;
1268
- return await this.patch(path, params.body);
1269
- }
1270
- async listAppsV1NamespacedReplicaSet(params) {
1271
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets`;
1272
- return await this.get(path);
1273
- }
1274
- async createAppsV1NamespacedReplicaSet(params) {
1275
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets`;
1276
- return await this.post(path, params.body);
1277
- }
1278
- async deleteAppsV1CollectionNamespacedReplicaSet(params) {
1279
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets`;
1280
- return await this.delete(path);
1281
- }
1282
- async readAppsV1NamespacedReplicaSet(params) {
1283
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`;
1284
- return await this.get(path);
1285
- }
1286
- async replaceAppsV1NamespacedReplicaSet(params) {
1287
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`;
1288
- return await this.put(path, params.body);
1289
- }
1290
- async deleteAppsV1NamespacedReplicaSet(params) {
1291
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`;
1292
- return await this.delete(path);
1293
- }
1294
- async patchAppsV1NamespacedReplicaSet(params) {
1295
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}`;
1296
- return await this.patch(path, params.body);
1297
- }
1298
- async readAppsV1NamespacedReplicaSetScale(params) {
1299
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/scale`;
1300
- return await this.get(path);
1301
- }
1302
- async replaceAppsV1NamespacedReplicaSetScale(params) {
1303
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/scale`;
1304
- return await this.put(path, params.body);
1305
- }
1306
- async patchAppsV1NamespacedReplicaSetScale(params) {
1307
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/scale`;
1308
- return await this.patch(path, params.body);
1309
- }
1310
- async readAppsV1NamespacedReplicaSetStatus(params) {
1311
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/status`;
1312
- return await this.get(path);
1313
- }
1314
- async replaceAppsV1NamespacedReplicaSetStatus(params) {
1315
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/status`;
1316
- return await this.put(path, params.body);
1317
- }
1318
- async patchAppsV1NamespacedReplicaSetStatus(params) {
1319
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/replicasets/${params.path.name}/status`;
1320
- return await this.patch(path, params.body);
1321
- }
1322
- async listAppsV1NamespacedStatefulSet(params) {
1323
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets`;
1324
- return await this.get(path);
1325
- }
1326
- async createAppsV1NamespacedStatefulSet(params) {
1327
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets`;
1328
- return await this.post(path, params.body);
1329
- }
1330
- async deleteAppsV1CollectionNamespacedStatefulSet(params) {
1331
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets`;
1332
- return await this.delete(path);
1333
- }
1334
- async readAppsV1NamespacedStatefulSet(params) {
1335
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`;
1336
- return await this.get(path);
1337
- }
1338
- async replaceAppsV1NamespacedStatefulSet(params) {
1339
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`;
1340
- return await this.put(path, params.body);
1341
- }
1342
- async deleteAppsV1NamespacedStatefulSet(params) {
1343
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`;
1344
- return await this.delete(path);
1345
- }
1346
- async patchAppsV1NamespacedStatefulSet(params) {
1347
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`;
1348
- return await this.patch(path, params.body);
1349
- }
1350
- async readAppsV1NamespacedStatefulSetScale(params) {
1351
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/scale`;
1352
- return await this.get(path);
1353
- }
1354
- async replaceAppsV1NamespacedStatefulSetScale(params) {
1355
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/scale`;
1356
- return await this.put(path, params.body);
1357
- }
1358
- async patchAppsV1NamespacedStatefulSetScale(params) {
1359
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/scale`;
1360
- return await this.patch(path, params.body);
1361
- }
1362
- async readAppsV1NamespacedStatefulSetStatus(params) {
1363
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/status`;
1364
- return await this.get(path);
1365
- }
1366
- async replaceAppsV1NamespacedStatefulSetStatus(params) {
1367
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/status`;
1368
- return await this.put(path, params.body);
1369
- }
1370
- async patchAppsV1NamespacedStatefulSetStatus(params) {
1371
- const path = `/apis/apps/v1/namespaces/${params.path.namespace}/statefulsets/${params.path.name}/status`;
1372
- return await this.patch(path, params.body);
1373
- }
1374
- async listAppsV1ReplicaSetForAllNamespaces(params) {
1375
- const path = `/apis/apps/v1/replicasets`;
1376
- return await this.get(path);
1377
- }
1378
- async listAppsV1StatefulSetForAllNamespaces(params) {
1379
- const path = `/apis/apps/v1/statefulsets`;
1380
- return await this.get(path);
1381
- }
1382
- async watchAppsV1ControllerRevisionListForAllNamespaces(params) {
1383
- const path = `/apis/apps/v1/watch/controllerrevisions`;
1384
- return await this.get(path);
1385
- }
1386
- async watchAppsV1DaemonSetListForAllNamespaces(params) {
1387
- const path = `/apis/apps/v1/watch/daemonsets`;
1388
- return await this.get(path);
1389
- }
1390
- async watchAppsV1DeploymentListForAllNamespaces(params) {
1391
- const path = `/apis/apps/v1/watch/deployments`;
1392
- return await this.get(path);
1393
- }
1394
- async watchAppsV1NamespacedControllerRevisionList(params) {
1395
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/controllerrevisions`;
1396
- return await this.get(path);
1397
- }
1398
- async watchAppsV1NamespacedControllerRevision(params) {
1399
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/controllerrevisions/${params.path.name}`;
1400
- return await this.get(path);
1401
- }
1402
- async watchAppsV1NamespacedDaemonSetList(params) {
1403
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/daemonsets`;
1404
- return await this.get(path);
1405
- }
1406
- async watchAppsV1NamespacedDaemonSet(params) {
1407
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/daemonsets/${params.path.name}`;
1408
- return await this.get(path);
1409
- }
1410
- async watchAppsV1NamespacedDeploymentList(params) {
1411
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/deployments`;
1412
- return await this.get(path);
1413
- }
1414
- async watchAppsV1NamespacedDeployment(params) {
1415
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/deployments/${params.path.name}`;
1416
- return await this.get(path);
1417
- }
1418
- async watchAppsV1NamespacedReplicaSetList(params) {
1419
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/replicasets`;
1420
- return await this.get(path);
1421
- }
1422
- async watchAppsV1NamespacedReplicaSet(params) {
1423
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/replicasets/${params.path.name}`;
1424
- return await this.get(path);
1425
- }
1426
- async watchAppsV1NamespacedStatefulSetList(params) {
1427
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/statefulsets`;
1428
- return await this.get(path);
1429
- }
1430
- async watchAppsV1NamespacedStatefulSet(params) {
1431
- const path = `/apis/apps/v1/watch/namespaces/${params.path.namespace}/statefulsets/${params.path.name}`;
1432
- return await this.get(path);
1433
- }
1434
- async watchAppsV1ReplicaSetListForAllNamespaces(params) {
1435
- const path = `/apis/apps/v1/watch/replicasets`;
1436
- return await this.get(path);
1437
- }
1438
- async watchAppsV1StatefulSetListForAllNamespaces(params) {
1439
- const path = `/apis/apps/v1/watch/statefulsets`;
1440
- return await this.get(path);
1441
- }
1442
- async getAuthenticationAPIGroup(params) {
1443
- const path = `/apis/authentication.k8s.io/`;
1444
- return await this.get(path);
1445
- }
1446
- async getAuthenticationV1APIResources(params) {
1447
- const path = `/apis/authentication.k8s.io/v1/`;
1448
- return await this.get(path);
1449
- }
1450
- async createAuthenticationV1TokenReview(params) {
1451
- const path = `/apis/authentication.k8s.io/v1/tokenreviews`;
1452
- return await this.post(path, params.body);
1453
- }
1454
- async getAuthorizationAPIGroup(params) {
1455
- const path = `/apis/authorization.k8s.io/`;
1456
- return await this.get(path);
1457
- }
1458
- async getAuthorizationV1APIResources(params) {
1459
- const path = `/apis/authorization.k8s.io/v1/`;
1460
- return await this.get(path);
1461
- }
1462
- async createAuthorizationV1NamespacedLocalSubjectAccessReview(params) {
1463
- const path = `/apis/authorization.k8s.io/v1/namespaces/${params.path.namespace}/localsubjectaccessreviews`;
1464
- return await this.post(path, params.body);
1465
- }
1466
- async createAuthorizationV1SelfSubjectAccessReview(params) {
1467
- const path = `/apis/authorization.k8s.io/v1/selfsubjectaccessreviews`;
1468
- return await this.post(path, params.body);
1469
- }
1470
- async createAuthorizationV1SelfSubjectRulesReview(params) {
1471
- const path = `/apis/authorization.k8s.io/v1/selfsubjectrulesreviews`;
1472
- return await this.post(path, params.body);
1473
- }
1474
- async createAuthorizationV1SubjectAccessReview(params) {
1475
- const path = `/apis/authorization.k8s.io/v1/subjectaccessreviews`;
1476
- return await this.post(path, params.body);
1477
- }
1478
- async getAutoscalingAPIGroup(params) {
1479
- const path = `/apis/autoscaling/`;
1480
- return await this.get(path);
1481
- }
1482
- async getAutoscalingV1APIResources(params) {
1483
- const path = `/apis/autoscaling/v1/`;
1484
- return await this.get(path);
1485
- }
1486
- async listAutoscalingV1HorizontalPodAutoscalerForAllNamespaces(params) {
1487
- const path = `/apis/autoscaling/v1/horizontalpodautoscalers`;
1488
- return await this.get(path);
1489
- }
1490
- async listAutoscalingV1NamespacedHorizontalPodAutoscaler(params) {
1491
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers`;
1492
- return await this.get(path);
1493
- }
1494
- async createAutoscalingV1NamespacedHorizontalPodAutoscaler(params) {
1495
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers`;
1496
- return await this.post(path, params.body);
1497
- }
1498
- async deleteAutoscalingV1CollectionNamespacedHorizontalPodAutoscaler(params) {
1499
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers`;
1500
- return await this.delete(path);
1501
- }
1502
- async readAutoscalingV1NamespacedHorizontalPodAutoscaler(params) {
1503
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1504
- return await this.get(path);
1505
- }
1506
- async replaceAutoscalingV1NamespacedHorizontalPodAutoscaler(params) {
1507
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1508
- return await this.put(path, params.body);
1509
- }
1510
- async deleteAutoscalingV1NamespacedHorizontalPodAutoscaler(params) {
1511
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1512
- return await this.delete(path);
1513
- }
1514
- async patchAutoscalingV1NamespacedHorizontalPodAutoscaler(params) {
1515
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1516
- return await this.patch(path, params.body);
1517
- }
1518
- async readAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params) {
1519
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`;
1520
- return await this.get(path);
1521
- }
1522
- async replaceAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params) {
1523
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`;
1524
- return await this.put(path, params.body);
1525
- }
1526
- async patchAutoscalingV1NamespacedHorizontalPodAutoscalerStatus(params) {
1527
- const path = `/apis/autoscaling/v1/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`;
1528
- return await this.patch(path, params.body);
1529
- }
1530
- async watchAutoscalingV1HorizontalPodAutoscalerListForAllNamespaces(params) {
1531
- const path = `/apis/autoscaling/v1/watch/horizontalpodautoscalers`;
1532
- return await this.get(path);
1533
- }
1534
- async watchAutoscalingV1NamespacedHorizontalPodAutoscalerList(params) {
1535
- const path = `/apis/autoscaling/v1/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers`;
1536
- return await this.get(path);
1537
- }
1538
- async watchAutoscalingV1NamespacedHorizontalPodAutoscaler(params) {
1539
- const path = `/apis/autoscaling/v1/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1540
- return await this.get(path);
1541
- }
1542
- async getAutoscalingV2beta2APIResources(params) {
1543
- const path = `/apis/autoscaling/v2beta2/`;
1544
- return await this.get(path);
1545
- }
1546
- async listAutoscalingV2beta2HorizontalPodAutoscalerForAllNamespaces(params) {
1547
- const path = `/apis/autoscaling/v2beta2/horizontalpodautoscalers`;
1548
- return await this.get(path);
1549
- }
1550
- async listAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params) {
1551
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers`;
1552
- return await this.get(path);
1553
- }
1554
- async createAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params) {
1555
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers`;
1556
- return await this.post(path, params.body);
1557
- }
1558
- async deleteAutoscalingV2beta2CollectionNamespacedHorizontalPodAutoscaler(params) {
1559
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers`;
1560
- return await this.delete(path);
1561
- }
1562
- async readAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params) {
1563
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1564
- return await this.get(path);
1565
- }
1566
- async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params) {
1567
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1568
- return await this.put(path, params.body);
1569
- }
1570
- async deleteAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params) {
1571
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1572
- return await this.delete(path);
1573
- }
1574
- async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params) {
1575
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1576
- return await this.patch(path, params.body);
1577
- }
1578
- async readAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params) {
1579
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`;
1580
- return await this.get(path);
1581
- }
1582
- async replaceAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params) {
1583
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`;
1584
- return await this.put(path, params.body);
1585
- }
1586
- async patchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerStatus(params) {
1587
- const path = `/apis/autoscaling/v2beta2/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}/status`;
1588
- return await this.patch(path, params.body);
1589
- }
1590
- async watchAutoscalingV2beta2HorizontalPodAutoscalerListForAllNamespaces(params) {
1591
- const path = `/apis/autoscaling/v2beta2/watch/horizontalpodautoscalers`;
1592
- return await this.get(path);
1593
- }
1594
- async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscalerList(params) {
1595
- const path = `/apis/autoscaling/v2beta2/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers`;
1596
- return await this.get(path);
1597
- }
1598
- async watchAutoscalingV2beta2NamespacedHorizontalPodAutoscaler(params) {
1599
- const path = `/apis/autoscaling/v2beta2/watch/namespaces/${params.path.namespace}/horizontalpodautoscalers/${params.path.name}`;
1600
- return await this.get(path);
1601
- }
1602
- async getBatchAPIGroup(params) {
1603
- const path = `/apis/batch/`;
1604
- return await this.get(path);
1605
- }
1606
- async getBatchV1APIResources(params) {
1607
- const path = `/apis/batch/v1/`;
1608
- return await this.get(path);
1609
- }
1610
- async listBatchV1CronJobForAllNamespaces(params) {
1611
- const path = `/apis/batch/v1/cronjobs`;
1612
- return await this.get(path);
1613
- }
1614
- async listBatchV1JobForAllNamespaces(params) {
1615
- const path = `/apis/batch/v1/jobs`;
1616
- return await this.get(path);
1617
- }
1618
- async listBatchV1NamespacedCronJob(params) {
1619
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs`;
1620
- return await this.get(path);
1621
- }
1622
- async createBatchV1NamespacedCronJob(params) {
1623
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs`;
1624
- return await this.post(path, params.body);
1625
- }
1626
- async deleteBatchV1CollectionNamespacedCronJob(params) {
1627
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs`;
1628
- return await this.delete(path);
1629
- }
1630
- async readBatchV1NamespacedCronJob(params) {
1631
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`;
1632
- return await this.get(path);
1633
- }
1634
- async replaceBatchV1NamespacedCronJob(params) {
1635
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`;
1636
- return await this.put(path, params.body);
1637
- }
1638
- async deleteBatchV1NamespacedCronJob(params) {
1639
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`;
1640
- return await this.delete(path);
1641
- }
1642
- async patchBatchV1NamespacedCronJob(params) {
1643
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`;
1644
- return await this.patch(path, params.body);
1645
- }
1646
- async readBatchV1NamespacedCronJobStatus(params) {
1647
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}/status`;
1648
- return await this.get(path);
1649
- }
1650
- async replaceBatchV1NamespacedCronJobStatus(params) {
1651
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}/status`;
1652
- return await this.put(path, params.body);
1653
- }
1654
- async patchBatchV1NamespacedCronJobStatus(params) {
1655
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/cronjobs/${params.path.name}/status`;
1656
- return await this.patch(path, params.body);
1657
- }
1658
- async listBatchV1NamespacedJob(params) {
1659
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs`;
1660
- return await this.get(path);
1661
- }
1662
- async createBatchV1NamespacedJob(params) {
1663
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs`;
1664
- return await this.post(path, params.body);
1665
- }
1666
- async deleteBatchV1CollectionNamespacedJob(params) {
1667
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs`;
1668
- return await this.delete(path);
1669
- }
1670
- async readBatchV1NamespacedJob(params) {
1671
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`;
1672
- return await this.get(path);
1673
- }
1674
- async replaceBatchV1NamespacedJob(params) {
1675
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`;
1676
- return await this.put(path, params.body);
1677
- }
1678
- async deleteBatchV1NamespacedJob(params) {
1679
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`;
1680
- return await this.delete(path);
1681
- }
1682
- async patchBatchV1NamespacedJob(params) {
1683
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}`;
1684
- return await this.patch(path, params.body);
1685
- }
1686
- async readBatchV1NamespacedJobStatus(params) {
1687
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}/status`;
1688
- return await this.get(path);
1689
- }
1690
- async replaceBatchV1NamespacedJobStatus(params) {
1691
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}/status`;
1692
- return await this.put(path, params.body);
1693
- }
1694
- async patchBatchV1NamespacedJobStatus(params) {
1695
- const path = `/apis/batch/v1/namespaces/${params.path.namespace}/jobs/${params.path.name}/status`;
1696
- return await this.patch(path, params.body);
1697
- }
1698
- async watchBatchV1CronJobListForAllNamespaces(params) {
1699
- const path = `/apis/batch/v1/watch/cronjobs`;
1700
- return await this.get(path);
1701
- }
1702
- async watchBatchV1JobListForAllNamespaces(params) {
1703
- const path = `/apis/batch/v1/watch/jobs`;
1704
- return await this.get(path);
1705
- }
1706
- async watchBatchV1NamespacedCronJobList(params) {
1707
- const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/cronjobs`;
1708
- return await this.get(path);
1709
- }
1710
- async watchBatchV1NamespacedCronJob(params) {
1711
- const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/cronjobs/${params.path.name}`;
1712
- return await this.get(path);
1713
- }
1714
- async watchBatchV1NamespacedJobList(params) {
1715
- const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/jobs`;
1716
- return await this.get(path);
1717
- }
1718
- async watchBatchV1NamespacedJob(params) {
1719
- const path = `/apis/batch/v1/watch/namespaces/${params.path.namespace}/jobs/${params.path.name}`;
1720
- return await this.get(path);
1721
- }
1722
- async getCertificatesAPIGroup(params) {
1723
- const path = `/apis/certificates.k8s.io/`;
1724
- return await this.get(path);
1725
- }
1726
- async getCertificatesV1APIResources(params) {
1727
- const path = `/apis/certificates.k8s.io/v1/`;
1728
- return await this.get(path);
1729
- }
1730
- async listCertificatesV1CertificateSigningRequest(params) {
1731
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`;
1732
- return await this.get(path);
1733
- }
1734
- async createCertificatesV1CertificateSigningRequest(params) {
1735
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`;
1736
- return await this.post(path, params.body);
1737
- }
1738
- async deleteCertificatesV1CollectionCertificateSigningRequest(params) {
1739
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests`;
1740
- return await this.delete(path);
1741
- }
1742
- async readCertificatesV1CertificateSigningRequest(params) {
1743
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`;
1744
- return await this.get(path);
1745
- }
1746
- async replaceCertificatesV1CertificateSigningRequest(params) {
1747
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`;
1748
- return await this.put(path, params.body);
1749
- }
1750
- async deleteCertificatesV1CertificateSigningRequest(params) {
1751
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`;
1752
- return await this.delete(path);
1753
- }
1754
- async patchCertificatesV1CertificateSigningRequest(params) {
1755
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}`;
1756
- return await this.patch(path, params.body);
1757
- }
1758
- async readCertificatesV1CertificateSigningRequestApproval(params) {
1759
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/approval`;
1760
- return await this.get(path);
1761
- }
1762
- async replaceCertificatesV1CertificateSigningRequestApproval(params) {
1763
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/approval`;
1764
- return await this.put(path, params.body);
1765
- }
1766
- async patchCertificatesV1CertificateSigningRequestApproval(params) {
1767
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/approval`;
1768
- return await this.patch(path, params.body);
1769
- }
1770
- async readCertificatesV1CertificateSigningRequestStatus(params) {
1771
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/status`;
1772
- return await this.get(path);
1773
- }
1774
- async replaceCertificatesV1CertificateSigningRequestStatus(params) {
1775
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/status`;
1776
- return await this.put(path, params.body);
1777
- }
1778
- async patchCertificatesV1CertificateSigningRequestStatus(params) {
1779
- const path = `/apis/certificates.k8s.io/v1/certificatesigningrequests/${params.path.name}/status`;
1780
- return await this.patch(path, params.body);
1781
- }
1782
- async watchCertificatesV1CertificateSigningRequestList(params) {
1783
- const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests`;
1784
- return await this.get(path);
1785
- }
1786
- async watchCertificatesV1CertificateSigningRequest(params) {
1787
- const path = `/apis/certificates.k8s.io/v1/watch/certificatesigningrequests/${params.path.name}`;
1788
- return await this.get(path);
1789
- }
1790
- async getCoordinationAPIGroup(params) {
1791
- const path = `/apis/coordination.k8s.io/`;
1792
- return await this.get(path);
1793
- }
1794
- async getCoordinationV1APIResources(params) {
1795
- const path = `/apis/coordination.k8s.io/v1/`;
1796
- return await this.get(path);
1797
- }
1798
- async listCoordinationV1LeaseForAllNamespaces(params) {
1799
- const path = `/apis/coordination.k8s.io/v1/leases`;
1800
- return await this.get(path);
1801
- }
1802
- async listCoordinationV1NamespacedLease(params) {
1803
- const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases`;
1804
- return await this.get(path);
1805
- }
1806
- async createCoordinationV1NamespacedLease(params) {
1807
- const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases`;
1808
- return await this.post(path, params.body);
1809
- }
1810
- async deleteCoordinationV1CollectionNamespacedLease(params) {
1811
- const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases`;
1812
- return await this.delete(path);
1813
- }
1814
- async readCoordinationV1NamespacedLease(params) {
1815
- const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`;
1816
- return await this.get(path);
1817
- }
1818
- async replaceCoordinationV1NamespacedLease(params) {
1819
- const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`;
1820
- return await this.put(path, params.body);
1821
- }
1822
- async deleteCoordinationV1NamespacedLease(params) {
1823
- const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`;
1824
- return await this.delete(path);
1825
- }
1826
- async patchCoordinationV1NamespacedLease(params) {
1827
- const path = `/apis/coordination.k8s.io/v1/namespaces/${params.path.namespace}/leases/${params.path.name}`;
1828
- return await this.patch(path, params.body);
1829
- }
1830
- async watchCoordinationV1LeaseListForAllNamespaces(params) {
1831
- const path = `/apis/coordination.k8s.io/v1/watch/leases`;
1832
- return await this.get(path);
1833
- }
1834
- async watchCoordinationV1NamespacedLeaseList(params) {
1835
- const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.path.namespace}/leases`;
1836
- return await this.get(path);
1837
- }
1838
- async watchCoordinationV1NamespacedLease(params) {
1839
- const path = `/apis/coordination.k8s.io/v1/watch/namespaces/${params.path.namespace}/leases/${params.path.name}`;
1840
- return await this.get(path);
1841
- }
1842
- async getDiscoveryAPIGroup(params) {
1843
- const path = `/apis/discovery.k8s.io/`;
1844
- return await this.get(path);
1845
- }
1846
- async getDiscoveryV1APIResources(params) {
1847
- const path = `/apis/discovery.k8s.io/v1/`;
1848
- return await this.get(path);
1849
- }
1850
- async listDiscoveryV1EndpointSliceForAllNamespaces(params) {
1851
- const path = `/apis/discovery.k8s.io/v1/endpointslices`;
1852
- return await this.get(path);
1853
- }
1854
- async listDiscoveryV1NamespacedEndpointSlice(params) {
1855
- const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices`;
1856
- return await this.get(path);
1857
- }
1858
- async createDiscoveryV1NamespacedEndpointSlice(params) {
1859
- const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices`;
1860
- return await this.post(path, params.body);
1861
- }
1862
- async deleteDiscoveryV1CollectionNamespacedEndpointSlice(params) {
1863
- const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices`;
1864
- return await this.delete(path);
1865
- }
1866
- async readDiscoveryV1NamespacedEndpointSlice(params) {
1867
- const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`;
1868
- return await this.get(path);
1869
- }
1870
- async replaceDiscoveryV1NamespacedEndpointSlice(params) {
1871
- const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`;
1872
- return await this.put(path, params.body);
1873
- }
1874
- async deleteDiscoveryV1NamespacedEndpointSlice(params) {
1875
- const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`;
1876
- return await this.delete(path);
1877
- }
1878
- async patchDiscoveryV1NamespacedEndpointSlice(params) {
1879
- const path = `/apis/discovery.k8s.io/v1/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`;
1880
- return await this.patch(path, params.body);
1881
- }
1882
- async watchDiscoveryV1EndpointSliceListForAllNamespaces(params) {
1883
- const path = `/apis/discovery.k8s.io/v1/watch/endpointslices`;
1884
- return await this.get(path);
1885
- }
1886
- async watchDiscoveryV1NamespacedEndpointSliceList(params) {
1887
- const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.path.namespace}/endpointslices`;
1888
- return await this.get(path);
1889
- }
1890
- async watchDiscoveryV1NamespacedEndpointSlice(params) {
1891
- const path = `/apis/discovery.k8s.io/v1/watch/namespaces/${params.path.namespace}/endpointslices/${params.path.name}`;
1892
- return await this.get(path);
1893
- }
1894
- async getEventsAPIGroup(params) {
1895
- const path = `/apis/events.k8s.io/`;
1896
- return await this.get(path);
1897
- }
1898
- async getEventsV1APIResources(params) {
1899
- const path = `/apis/events.k8s.io/v1/`;
1900
- return await this.get(path);
1901
- }
1902
- async listEventsV1EventForAllNamespaces(params) {
1903
- const path = `/apis/events.k8s.io/v1/events`;
1904
- return await this.get(path);
1905
- }
1906
- async listEventsV1NamespacedEvent(params) {
1907
- const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events`;
1908
- return await this.get(path);
1909
- }
1910
- async createEventsV1NamespacedEvent(params) {
1911
- const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events`;
1912
- return await this.post(path, params.body);
1913
- }
1914
- async deleteEventsV1CollectionNamespacedEvent(params) {
1915
- const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events`;
1916
- return await this.delete(path);
1917
- }
1918
- async readEventsV1NamespacedEvent(params) {
1919
- const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`;
1920
- return await this.get(path);
1921
- }
1922
- async replaceEventsV1NamespacedEvent(params) {
1923
- const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`;
1924
- return await this.put(path, params.body);
1925
- }
1926
- async deleteEventsV1NamespacedEvent(params) {
1927
- const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`;
1928
- return await this.delete(path);
1929
- }
1930
- async patchEventsV1NamespacedEvent(params) {
1931
- const path = `/apis/events.k8s.io/v1/namespaces/${params.path.namespace}/events/${params.path.name}`;
1932
- return await this.patch(path, params.body);
1933
- }
1934
- async watchEventsV1EventListForAllNamespaces(params) {
1935
- const path = `/apis/events.k8s.io/v1/watch/events`;
1936
- return await this.get(path);
1937
- }
1938
- async watchEventsV1NamespacedEventList(params) {
1939
- const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.path.namespace}/events`;
1940
- return await this.get(path);
1941
- }
1942
- async watchEventsV1NamespacedEvent(params) {
1943
- const path = `/apis/events.k8s.io/v1/watch/namespaces/${params.path.namespace}/events/${params.path.name}`;
1944
- return await this.get(path);
1945
- }
1946
- async getFlowcontrolApiserverAPIGroup(params) {
1947
- const path = `/apis/flowcontrol.apiserver.k8s.io/`;
1948
- return await this.get(path);
1949
- }
1950
- async getNetworkingAPIGroup(params) {
1951
- const path = `/apis/networking.k8s.io/`;
1952
- return await this.get(path);
1953
- }
1954
- async getNetworkingV1APIResources(params) {
1955
- const path = `/apis/networking.k8s.io/v1/`;
1956
- return await this.get(path);
1957
- }
1958
- async listNetworkingV1IngressClass(params) {
1959
- const path = `/apis/networking.k8s.io/v1/ingressclasses`;
1960
- return await this.get(path);
1961
- }
1962
- async createNetworkingV1IngressClass(params) {
1963
- const path = `/apis/networking.k8s.io/v1/ingressclasses`;
1964
- return await this.post(path, params.body);
1965
- }
1966
- async deleteNetworkingV1CollectionIngressClass(params) {
1967
- const path = `/apis/networking.k8s.io/v1/ingressclasses`;
1968
- return await this.delete(path);
1969
- }
1970
- async readNetworkingV1IngressClass(params) {
1971
- const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`;
1972
- return await this.get(path);
1973
- }
1974
- async replaceNetworkingV1IngressClass(params) {
1975
- const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`;
1976
- return await this.put(path, params.body);
1977
- }
1978
- async deleteNetworkingV1IngressClass(params) {
1979
- const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`;
1980
- return await this.delete(path);
1981
- }
1982
- async patchNetworkingV1IngressClass(params) {
1983
- const path = `/apis/networking.k8s.io/v1/ingressclasses/${params.path.name}`;
1984
- return await this.patch(path, params.body);
1985
- }
1986
- async listNetworkingV1IngressForAllNamespaces(params) {
1987
- const path = `/apis/networking.k8s.io/v1/ingresses`;
1988
- return await this.get(path);
1989
- }
1990
- async listNetworkingV1NamespacedIngress(params) {
1991
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses`;
1992
- return await this.get(path);
1993
- }
1994
- async createNetworkingV1NamespacedIngress(params) {
1995
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses`;
1996
- return await this.post(path, params.body);
1997
- }
1998
- async deleteNetworkingV1CollectionNamespacedIngress(params) {
1999
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses`;
2000
- return await this.delete(path);
2001
- }
2002
- async readNetworkingV1NamespacedIngress(params) {
2003
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`;
2004
- return await this.get(path);
2005
- }
2006
- async replaceNetworkingV1NamespacedIngress(params) {
2007
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`;
2008
- return await this.put(path, params.body);
2009
- }
2010
- async deleteNetworkingV1NamespacedIngress(params) {
2011
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`;
2012
- return await this.delete(path);
2013
- }
2014
- async patchNetworkingV1NamespacedIngress(params) {
2015
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}`;
2016
- return await this.patch(path, params.body);
2017
- }
2018
- async readNetworkingV1NamespacedIngressStatus(params) {
2019
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`;
2020
- return await this.get(path);
2021
- }
2022
- async replaceNetworkingV1NamespacedIngressStatus(params) {
2023
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`;
2024
- return await this.put(path, params.body);
2025
- }
2026
- async patchNetworkingV1NamespacedIngressStatus(params) {
2027
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/ingresses/${params.path.name}/status`;
2028
- return await this.patch(path, params.body);
2029
- }
2030
- async listNetworkingV1NamespacedNetworkPolicy(params) {
2031
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies`;
2032
- return await this.get(path);
2033
- }
2034
- async createNetworkingV1NamespacedNetworkPolicy(params) {
2035
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies`;
2036
- return await this.post(path, params.body);
2037
- }
2038
- async deleteNetworkingV1CollectionNamespacedNetworkPolicy(params) {
2039
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies`;
2040
- return await this.delete(path);
2041
- }
2042
- async readNetworkingV1NamespacedNetworkPolicy(params) {
2043
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`;
2044
- return await this.get(path);
2045
- }
2046
- async replaceNetworkingV1NamespacedNetworkPolicy(params) {
2047
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`;
2048
- return await this.put(path, params.body);
2049
- }
2050
- async deleteNetworkingV1NamespacedNetworkPolicy(params) {
2051
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`;
2052
- return await this.delete(path);
2053
- }
2054
- async patchNetworkingV1NamespacedNetworkPolicy(params) {
2055
- const path = `/apis/networking.k8s.io/v1/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`;
2056
- return await this.patch(path, params.body);
2057
- }
2058
- async listNetworkingV1NetworkPolicyForAllNamespaces(params) {
2059
- const path = `/apis/networking.k8s.io/v1/networkpolicies`;
2060
- return await this.get(path);
2061
- }
2062
- async watchNetworkingV1IngressClassList(params) {
2063
- const path = `/apis/networking.k8s.io/v1/watch/ingressclasses`;
2064
- return await this.get(path);
2065
- }
2066
- async watchNetworkingV1IngressClass(params) {
2067
- const path = `/apis/networking.k8s.io/v1/watch/ingressclasses/${params.path.name}`;
2068
- return await this.get(path);
2069
- }
2070
- async watchNetworkingV1IngressListForAllNamespaces(params) {
2071
- const path = `/apis/networking.k8s.io/v1/watch/ingresses`;
2072
- return await this.get(path);
2073
- }
2074
- async watchNetworkingV1NamespacedIngressList(params) {
2075
- const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/ingresses`;
2076
- return await this.get(path);
2077
- }
2078
- async watchNetworkingV1NamespacedIngress(params) {
2079
- const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/ingresses/${params.path.name}`;
2080
- return await this.get(path);
2081
- }
2082
- async watchNetworkingV1NamespacedNetworkPolicyList(params) {
2083
- const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/networkpolicies`;
2084
- return await this.get(path);
2085
- }
2086
- async watchNetworkingV1NamespacedNetworkPolicy(params) {
2087
- const path = `/apis/networking.k8s.io/v1/watch/namespaces/${params.path.namespace}/networkpolicies/${params.path.name}`;
2088
- return await this.get(path);
2089
- }
2090
- async watchNetworkingV1NetworkPolicyListForAllNamespaces(params) {
2091
- const path = `/apis/networking.k8s.io/v1/watch/networkpolicies`;
2092
- return await this.get(path);
2093
- }
2094
- async getNodeAPIGroup(params) {
2095
- const path = `/apis/node.k8s.io/`;
2096
- return await this.get(path);
2097
- }
2098
- async getNodeV1APIResources(params) {
2099
- const path = `/apis/node.k8s.io/v1/`;
2100
- return await this.get(path);
2101
- }
2102
- async listNodeV1RuntimeClass(params) {
2103
- const path = `/apis/node.k8s.io/v1/runtimeclasses`;
2104
- return await this.get(path);
2105
- }
2106
- async createNodeV1RuntimeClass(params) {
2107
- const path = `/apis/node.k8s.io/v1/runtimeclasses`;
2108
- return await this.post(path, params.body);
2109
- }
2110
- async deleteNodeV1CollectionRuntimeClass(params) {
2111
- const path = `/apis/node.k8s.io/v1/runtimeclasses`;
2112
- return await this.delete(path);
2113
- }
2114
- async readNodeV1RuntimeClass(params) {
2115
- const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`;
2116
- return await this.get(path);
2117
- }
2118
- async replaceNodeV1RuntimeClass(params) {
2119
- const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`;
2120
- return await this.put(path, params.body);
2121
- }
2122
- async deleteNodeV1RuntimeClass(params) {
2123
- const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`;
2124
- return await this.delete(path);
2125
- }
2126
- async patchNodeV1RuntimeClass(params) {
2127
- const path = `/apis/node.k8s.io/v1/runtimeclasses/${params.path.name}`;
2128
- return await this.patch(path, params.body);
2129
- }
2130
- async watchNodeV1RuntimeClassList(params) {
2131
- const path = `/apis/node.k8s.io/v1/watch/runtimeclasses`;
2132
- return await this.get(path);
2133
- }
2134
- async watchNodeV1RuntimeClass(params) {
2135
- const path = `/apis/node.k8s.io/v1/watch/runtimeclasses/${params.path.name}`;
2136
- return await this.get(path);
2137
- }
2138
- async getPolicyAPIGroup(params) {
2139
- const path = `/apis/policy/`;
2140
- return await this.get(path);
2141
- }
2142
- async getPolicyV1APIResources(params) {
2143
- const path = `/apis/policy/v1/`;
2144
- return await this.get(path);
2145
- }
2146
- async listPolicyV1NamespacedPodDisruptionBudget(params) {
2147
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets`;
2148
- return await this.get(path);
2149
- }
2150
- async createPolicyV1NamespacedPodDisruptionBudget(params) {
2151
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets`;
2152
- return await this.post(path, params.body);
2153
- }
2154
- async deletePolicyV1CollectionNamespacedPodDisruptionBudget(params) {
2155
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets`;
2156
- return await this.delete(path);
2157
- }
2158
- async readPolicyV1NamespacedPodDisruptionBudget(params) {
2159
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`;
2160
- return await this.get(path);
2161
- }
2162
- async replacePolicyV1NamespacedPodDisruptionBudget(params) {
2163
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`;
2164
- return await this.put(path, params.body);
2165
- }
2166
- async deletePolicyV1NamespacedPodDisruptionBudget(params) {
2167
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`;
2168
- return await this.delete(path);
2169
- }
2170
- async patchPolicyV1NamespacedPodDisruptionBudget(params) {
2171
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`;
2172
- return await this.patch(path, params.body);
2173
- }
2174
- async readPolicyV1NamespacedPodDisruptionBudgetStatus(params) {
2175
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}/status`;
2176
- return await this.get(path);
2177
- }
2178
- async replacePolicyV1NamespacedPodDisruptionBudgetStatus(params) {
2179
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}/status`;
2180
- return await this.put(path, params.body);
2181
- }
2182
- async patchPolicyV1NamespacedPodDisruptionBudgetStatus(params) {
2183
- const path = `/apis/policy/v1/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}/status`;
2184
- return await this.patch(path, params.body);
2185
- }
2186
- async listPolicyV1PodDisruptionBudgetForAllNamespaces(params) {
2187
- const path = `/apis/policy/v1/poddisruptionbudgets`;
2188
- return await this.get(path);
2189
- }
2190
- async watchPolicyV1NamespacedPodDisruptionBudgetList(params) {
2191
- const path = `/apis/policy/v1/watch/namespaces/${params.path.namespace}/poddisruptionbudgets`;
2192
- return await this.get(path);
2193
- }
2194
- async watchPolicyV1NamespacedPodDisruptionBudget(params) {
2195
- const path = `/apis/policy/v1/watch/namespaces/${params.path.namespace}/poddisruptionbudgets/${params.path.name}`;
2196
- return await this.get(path);
2197
- }
2198
- async watchPolicyV1PodDisruptionBudgetListForAllNamespaces(params) {
2199
- const path = `/apis/policy/v1/watch/poddisruptionbudgets`;
2200
- return await this.get(path);
2201
- }
2202
- async getRbacAuthorizationAPIGroup(params) {
2203
- const path = `/apis/rbac.authorization.k8s.io/`;
2204
- return await this.get(path);
2205
- }
2206
- async getRbacAuthorizationV1APIResources(params) {
2207
- const path = `/apis/rbac.authorization.k8s.io/v1/`;
2208
- return await this.get(path);
2209
- }
2210
- async listRbacAuthorizationV1ClusterRoleBinding(params) {
2211
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`;
2212
- return await this.get(path);
2213
- }
2214
- async createRbacAuthorizationV1ClusterRoleBinding(params) {
2215
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`;
2216
- return await this.post(path, params.body);
2217
- }
2218
- async deleteRbacAuthorizationV1CollectionClusterRoleBinding(params) {
2219
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings`;
2220
- return await this.delete(path);
2221
- }
2222
- async readRbacAuthorizationV1ClusterRoleBinding(params) {
2223
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`;
2224
- return await this.get(path);
2225
- }
2226
- async replaceRbacAuthorizationV1ClusterRoleBinding(params) {
2227
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`;
2228
- return await this.put(path, params.body);
2229
- }
2230
- async deleteRbacAuthorizationV1ClusterRoleBinding(params) {
2231
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`;
2232
- return await this.delete(path);
2233
- }
2234
- async patchRbacAuthorizationV1ClusterRoleBinding(params) {
2235
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterrolebindings/${params.path.name}`;
2236
- return await this.patch(path, params.body);
2237
- }
2238
- async listRbacAuthorizationV1ClusterRole(params) {
2239
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`;
2240
- return await this.get(path);
2241
- }
2242
- async createRbacAuthorizationV1ClusterRole(params) {
2243
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`;
2244
- return await this.post(path, params.body);
2245
- }
2246
- async deleteRbacAuthorizationV1CollectionClusterRole(params) {
2247
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles`;
2248
- return await this.delete(path);
2249
- }
2250
- async readRbacAuthorizationV1ClusterRole(params) {
2251
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`;
2252
- return await this.get(path);
2253
- }
2254
- async replaceRbacAuthorizationV1ClusterRole(params) {
2255
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`;
2256
- return await this.put(path, params.body);
2257
- }
2258
- async deleteRbacAuthorizationV1ClusterRole(params) {
2259
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`;
2260
- return await this.delete(path);
2261
- }
2262
- async patchRbacAuthorizationV1ClusterRole(params) {
2263
- const path = `/apis/rbac.authorization.k8s.io/v1/clusterroles/${params.path.name}`;
2264
- return await this.patch(path, params.body);
2265
- }
2266
- async listRbacAuthorizationV1NamespacedRoleBinding(params) {
2267
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings`;
2268
- return await this.get(path);
2269
- }
2270
- async createRbacAuthorizationV1NamespacedRoleBinding(params) {
2271
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings`;
2272
- return await this.post(path, params.body);
2273
- }
2274
- async deleteRbacAuthorizationV1CollectionNamespacedRoleBinding(params) {
2275
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings`;
2276
- return await this.delete(path);
2277
- }
2278
- async readRbacAuthorizationV1NamespacedRoleBinding(params) {
2279
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`;
2280
- return await this.get(path);
2281
- }
2282
- async replaceRbacAuthorizationV1NamespacedRoleBinding(params) {
2283
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`;
2284
- return await this.put(path, params.body);
2285
- }
2286
- async deleteRbacAuthorizationV1NamespacedRoleBinding(params) {
2287
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`;
2288
- return await this.delete(path);
2289
- }
2290
- async patchRbacAuthorizationV1NamespacedRoleBinding(params) {
2291
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`;
2292
- return await this.patch(path, params.body);
2293
- }
2294
- async listRbacAuthorizationV1NamespacedRole(params) {
2295
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles`;
2296
- return await this.get(path);
2297
- }
2298
- async createRbacAuthorizationV1NamespacedRole(params) {
2299
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles`;
2300
- return await this.post(path, params.body);
2301
- }
2302
- async deleteRbacAuthorizationV1CollectionNamespacedRole(params) {
2303
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles`;
2304
- return await this.delete(path);
2305
- }
2306
- async readRbacAuthorizationV1NamespacedRole(params) {
2307
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`;
2308
- return await this.get(path);
2309
- }
2310
- async replaceRbacAuthorizationV1NamespacedRole(params) {
2311
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`;
2312
- return await this.put(path, params.body);
2313
- }
2314
- async deleteRbacAuthorizationV1NamespacedRole(params) {
2315
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`;
2316
- return await this.delete(path);
2317
- }
2318
- async patchRbacAuthorizationV1NamespacedRole(params) {
2319
- const path = `/apis/rbac.authorization.k8s.io/v1/namespaces/${params.path.namespace}/roles/${params.path.name}`;
2320
- return await this.patch(path, params.body);
2321
- }
2322
- async listRbacAuthorizationV1RoleBindingForAllNamespaces(params) {
2323
- const path = `/apis/rbac.authorization.k8s.io/v1/rolebindings`;
2324
- return await this.get(path);
2325
- }
2326
- async listRbacAuthorizationV1RoleForAllNamespaces(params) {
2327
- const path = `/apis/rbac.authorization.k8s.io/v1/roles`;
2328
- return await this.get(path);
2329
- }
2330
- async watchRbacAuthorizationV1ClusterRoleBindingList(params) {
2331
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings`;
2332
- return await this.get(path);
2333
- }
2334
- async watchRbacAuthorizationV1ClusterRoleBinding(params) {
2335
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterrolebindings/${params.path.name}`;
2336
- return await this.get(path);
2337
- }
2338
- async watchRbacAuthorizationV1ClusterRoleList(params) {
2339
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles`;
2340
- return await this.get(path);
2341
- }
2342
- async watchRbacAuthorizationV1ClusterRole(params) {
2343
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/clusterroles/${params.path.name}`;
2344
- return await this.get(path);
2345
- }
2346
- async watchRbacAuthorizationV1NamespacedRoleBindingList(params) {
2347
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/rolebindings`;
2348
- return await this.get(path);
2349
- }
2350
- async watchRbacAuthorizationV1NamespacedRoleBinding(params) {
2351
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/rolebindings/${params.path.name}`;
2352
- return await this.get(path);
2353
- }
2354
- async watchRbacAuthorizationV1NamespacedRoleList(params) {
2355
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/roles`;
2356
- return await this.get(path);
2357
- }
2358
- async watchRbacAuthorizationV1NamespacedRole(params) {
2359
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/namespaces/${params.path.namespace}/roles/${params.path.name}`;
2360
- return await this.get(path);
2361
- }
2362
- async watchRbacAuthorizationV1RoleBindingListForAllNamespaces(params) {
2363
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/rolebindings`;
2364
- return await this.get(path);
2365
- }
2366
- async watchRbacAuthorizationV1RoleListForAllNamespaces(params) {
2367
- const path = `/apis/rbac.authorization.k8s.io/v1/watch/roles`;
2368
- return await this.get(path);
2369
- }
2370
- async getSchedulingAPIGroup(params) {
2371
- const path = `/apis/scheduling.k8s.io/`;
2372
- return await this.get(path);
2373
- }
2374
- async getSchedulingV1APIResources(params) {
2375
- const path = `/apis/scheduling.k8s.io/v1/`;
2376
- return await this.get(path);
2377
- }
2378
- async listSchedulingV1PriorityClass(params) {
2379
- const path = `/apis/scheduling.k8s.io/v1/priorityclasses`;
2380
- return await this.get(path);
2381
- }
2382
- async createSchedulingV1PriorityClass(params) {
2383
- const path = `/apis/scheduling.k8s.io/v1/priorityclasses`;
2384
- return await this.post(path, params.body);
2385
- }
2386
- async deleteSchedulingV1CollectionPriorityClass(params) {
2387
- const path = `/apis/scheduling.k8s.io/v1/priorityclasses`;
2388
- return await this.delete(path);
2389
- }
2390
- async readSchedulingV1PriorityClass(params) {
2391
- const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`;
2392
- return await this.get(path);
2393
- }
2394
- async replaceSchedulingV1PriorityClass(params) {
2395
- const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`;
2396
- return await this.put(path, params.body);
2397
- }
2398
- async deleteSchedulingV1PriorityClass(params) {
2399
- const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`;
2400
- return await this.delete(path);
2401
- }
2402
- async patchSchedulingV1PriorityClass(params) {
2403
- const path = `/apis/scheduling.k8s.io/v1/priorityclasses/${params.path.name}`;
2404
- return await this.patch(path, params.body);
2405
- }
2406
- async watchSchedulingV1PriorityClassList(params) {
2407
- const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses`;
2408
- return await this.get(path);
2409
- }
2410
- async watchSchedulingV1PriorityClass(params) {
2411
- const path = `/apis/scheduling.k8s.io/v1/watch/priorityclasses/${params.path.name}`;
2412
- return await this.get(path);
2413
- }
2414
- async getStorageAPIGroup(params) {
2415
- const path = `/apis/storage.k8s.io/`;
2416
- return await this.get(path);
2417
- }
2418
- async getStorageV1APIResources(params) {
2419
- const path = `/apis/storage.k8s.io/v1/`;
2420
- return await this.get(path);
2421
- }
2422
- async listStorageV1CSIDriver(params) {
2423
- const path = `/apis/storage.k8s.io/v1/csidrivers`;
2424
- return await this.get(path);
2425
- }
2426
- async createStorageV1CSIDriver(params) {
2427
- const path = `/apis/storage.k8s.io/v1/csidrivers`;
2428
- return await this.post(path, params.body);
2429
- }
2430
- async deleteStorageV1CollectionCSIDriver(params) {
2431
- const path = `/apis/storage.k8s.io/v1/csidrivers`;
2432
- return await this.delete(path);
2433
- }
2434
- async readStorageV1CSIDriver(params) {
2435
- const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`;
2436
- return await this.get(path);
2437
- }
2438
- async replaceStorageV1CSIDriver(params) {
2439
- const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`;
2440
- return await this.put(path, params.body);
2441
- }
2442
- async deleteStorageV1CSIDriver(params) {
2443
- const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`;
2444
- return await this.delete(path);
2445
- }
2446
- async patchStorageV1CSIDriver(params) {
2447
- const path = `/apis/storage.k8s.io/v1/csidrivers/${params.path.name}`;
2448
- return await this.patch(path, params.body);
2449
- }
2450
- async listStorageV1CSINode(params) {
2451
- const path = `/apis/storage.k8s.io/v1/csinodes`;
2452
- return await this.get(path);
2453
- }
2454
- async createStorageV1CSINode(params) {
2455
- const path = `/apis/storage.k8s.io/v1/csinodes`;
2456
- return await this.post(path, params.body);
2457
- }
2458
- async deleteStorageV1CollectionCSINode(params) {
2459
- const path = `/apis/storage.k8s.io/v1/csinodes`;
2460
- return await this.delete(path);
2461
- }
2462
- async readStorageV1CSINode(params) {
2463
- const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`;
2464
- return await this.get(path);
2465
- }
2466
- async replaceStorageV1CSINode(params) {
2467
- const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`;
2468
- return await this.put(path, params.body);
2469
- }
2470
- async deleteStorageV1CSINode(params) {
2471
- const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`;
2472
- return await this.delete(path);
2473
- }
2474
- async patchStorageV1CSINode(params) {
2475
- const path = `/apis/storage.k8s.io/v1/csinodes/${params.path.name}`;
2476
- return await this.patch(path, params.body);
2477
- }
2478
- async listStorageV1StorageClass(params) {
2479
- const path = `/apis/storage.k8s.io/v1/storageclasses`;
2480
- return await this.get(path);
2481
- }
2482
- async createStorageV1StorageClass(params) {
2483
- const path = `/apis/storage.k8s.io/v1/storageclasses`;
2484
- return await this.post(path, params.body);
2485
- }
2486
- async deleteStorageV1CollectionStorageClass(params) {
2487
- const path = `/apis/storage.k8s.io/v1/storageclasses`;
2488
- return await this.delete(path);
2489
- }
2490
- async readStorageV1StorageClass(params) {
2491
- const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`;
2492
- return await this.get(path);
2493
- }
2494
- async replaceStorageV1StorageClass(params) {
2495
- const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`;
2496
- return await this.put(path, params.body);
2497
- }
2498
- async deleteStorageV1StorageClass(params) {
2499
- const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`;
2500
- return await this.delete(path);
2501
- }
2502
- async patchStorageV1StorageClass(params) {
2503
- const path = `/apis/storage.k8s.io/v1/storageclasses/${params.path.name}`;
2504
- return await this.patch(path, params.body);
2505
- }
2506
- async listStorageV1VolumeAttachment(params) {
2507
- const path = `/apis/storage.k8s.io/v1/volumeattachments`;
2508
- return await this.get(path);
2509
- }
2510
- async createStorageV1VolumeAttachment(params) {
2511
- const path = `/apis/storage.k8s.io/v1/volumeattachments`;
2512
- return await this.post(path, params.body);
2513
- }
2514
- async deleteStorageV1CollectionVolumeAttachment(params) {
2515
- const path = `/apis/storage.k8s.io/v1/volumeattachments`;
2516
- return await this.delete(path);
2517
- }
2518
- async readStorageV1VolumeAttachment(params) {
2519
- const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`;
2520
- return await this.get(path);
2521
- }
2522
- async replaceStorageV1VolumeAttachment(params) {
2523
- const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`;
2524
- return await this.put(path, params.body);
2525
- }
2526
- async deleteStorageV1VolumeAttachment(params) {
2527
- const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`;
2528
- return await this.delete(path);
2529
- }
2530
- async patchStorageV1VolumeAttachment(params) {
2531
- const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}`;
2532
- return await this.patch(path, params.body);
2533
- }
2534
- async readStorageV1VolumeAttachmentStatus(params) {
2535
- const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}/status`;
2536
- return await this.get(path);
2537
- }
2538
- async replaceStorageV1VolumeAttachmentStatus(params) {
2539
- const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}/status`;
2540
- return await this.put(path, params.body);
2541
- }
2542
- async patchStorageV1VolumeAttachmentStatus(params) {
2543
- const path = `/apis/storage.k8s.io/v1/volumeattachments/${params.path.name}/status`;
2544
- return await this.patch(path, params.body);
2545
- }
2546
- async watchStorageV1CSIDriverList(params) {
2547
- const path = `/apis/storage.k8s.io/v1/watch/csidrivers`;
2548
- return await this.get(path);
2549
- }
2550
- async watchStorageV1CSIDriver(params) {
2551
- const path = `/apis/storage.k8s.io/v1/watch/csidrivers/${params.path.name}`;
2552
- return await this.get(path);
2553
- }
2554
- async watchStorageV1CSINodeList(params) {
2555
- const path = `/apis/storage.k8s.io/v1/watch/csinodes`;
2556
- return await this.get(path);
2557
- }
2558
- async watchStorageV1CSINode(params) {
2559
- const path = `/apis/storage.k8s.io/v1/watch/csinodes/${params.path.name}`;
2560
- return await this.get(path);
2561
- }
2562
- async watchStorageV1StorageClassList(params) {
2563
- const path = `/apis/storage.k8s.io/v1/watch/storageclasses`;
2564
- return await this.get(path);
2565
- }
2566
- async watchStorageV1StorageClass(params) {
2567
- const path = `/apis/storage.k8s.io/v1/watch/storageclasses/${params.path.name}`;
2568
- return await this.get(path);
2569
- }
2570
- async watchStorageV1VolumeAttachmentList(params) {
2571
- const path = `/apis/storage.k8s.io/v1/watch/volumeattachments`;
2572
- return await this.get(path);
2573
- }
2574
- async watchStorageV1VolumeAttachment(params) {
2575
- const path = `/apis/storage.k8s.io/v1/watch/volumeattachments/${params.path.name}`;
2576
- return await this.get(path);
2577
- }
2578
- async logFileListHandler(params) {
2579
- const path = `/logs/`;
2580
- return await this.get(path);
2581
- }
2582
- async logFileHandler(params) {
2583
- const path = `/logs/${params.path.logpath}`;
2584
- return await this.get(path);
2585
- }
2586
- async getServiceAccountIssuerOpenIDKeyset(params) {
2587
- const path = `/openid/v1/jwks/`;
2588
- return await this.get(path);
2589
- }
2590
- async getCodeVersion(params) {
2591
- const path = `/version/`;
2592
- return await this.get(path);
2593
- }
2594
- }