@kubernetes-typescript/kubernetes 0.1.0-alpha.2 → 0.1.0-alpha.4

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 (58) hide show
  1. package/LICENSE +21 -0
  2. package/dist/chunk-2LZXECFH.js +1 -0
  3. package/dist/chunk-2LZXECFH.js.map +1 -0
  4. package/dist/chunk-K2CU7ZKP.js +1337 -0
  5. package/dist/chunk-K2CU7ZKP.js.map +1 -0
  6. package/dist/chunk-NYBHZ3XE.js +1322 -0
  7. package/dist/chunk-NYBHZ3XE.js.map +1 -0
  8. package/dist/chunk-PGQONKPZ.js +42 -0
  9. package/dist/chunk-PGQONKPZ.js.map +1 -0
  10. package/dist/chunk-WNSAO2FT.js +315 -0
  11. package/dist/chunk-WNSAO2FT.js.map +1 -0
  12. package/dist/chunk-XVZB6KL7.js +1306 -0
  13. package/dist/chunk-XVZB6KL7.js.map +1 -0
  14. package/dist/chunk-Y5EGIZDP.js +1 -0
  15. package/dist/chunk-Y5EGIZDP.js.map +1 -0
  16. package/dist/chunk-ZQBE2OUM.js +1 -0
  17. package/dist/chunk-ZQBE2OUM.js.map +1 -0
  18. package/dist/index.cjs +1708 -0
  19. package/dist/index.cjs.map +1 -0
  20. package/dist/models/index.cjs +19 -0
  21. package/dist/models/index.cjs.map +1 -0
  22. package/dist/resources/index.cjs +1481 -0
  23. package/dist/resources/index.cjs.map +1 -0
  24. package/dist/tsconfig.tsbuildinfo +1 -1
  25. package/dist/v1.33/index.cjs +1667 -0
  26. package/dist/v1.33/index.cjs.map +1 -0
  27. package/dist/v1.33/index.d.ts.map +1 -1
  28. package/dist/v1.33/index.js +2 -2
  29. package/dist/v1.33/index.js.map +1 -1
  30. package/dist/v1.33/models/index.cjs +19 -0
  31. package/dist/v1.33/models/index.cjs.map +1 -0
  32. package/dist/v1.33/resources/index.cjs +1446 -0
  33. package/dist/v1.33/resources/index.cjs.map +1 -0
  34. package/dist/v1.33/resources/index.d.ts +47 -47
  35. package/dist/v1.33/resources/index.d.ts.map +1 -1
  36. package/dist/v1.33/resources/index.js +47 -47
  37. package/dist/v1.33/resources/index.js.map +1 -1
  38. package/dist/v1.34/index.cjs +1689 -0
  39. package/dist/v1.34/index.cjs.map +1 -0
  40. package/dist/v1.34/models/index.cjs +19 -0
  41. package/dist/v1.34/models/index.cjs.map +1 -0
  42. package/dist/v1.34/resources/index.cjs +1464 -0
  43. package/dist/v1.34/resources/index.cjs.map +1 -0
  44. package/dist/v1.34/resources/index.d.ts +47 -47
  45. package/dist/v1.34/resources/index.d.ts.map +1 -1
  46. package/dist/v1.34/resources/index.js +47 -47
  47. package/dist/v1.34/resources/index.js.map +1 -1
  48. package/dist/v1.35/index.cjs +1704 -0
  49. package/dist/v1.35/index.cjs.map +1 -0
  50. package/dist/v1.35/models/index.cjs +19 -0
  51. package/dist/v1.35/models/index.cjs.map +1 -0
  52. package/dist/v1.35/resources/index.cjs +1479 -0
  53. package/dist/v1.35/resources/index.cjs.map +1 -0
  54. package/dist/v1.35/resources/index.d.ts +48 -48
  55. package/dist/v1.35/resources/index.d.ts.map +1 -1
  56. package/dist/v1.35/resources/index.js +48 -48
  57. package/dist/v1.35/resources/index.js.map +1 -1
  58. package/package.json +37 -22
@@ -0,0 +1,1667 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/v1.33/index.ts
21
+ var v1_exports = {};
22
+ __export(v1_exports, {
23
+ admissionregistrationV1Validatingadmissionpolicies: () => admissionregistrationV1Validatingadmissionpolicies,
24
+ admissionregistrationV1Validatingadmissionpolicybindings: () => admissionregistrationV1Validatingadmissionpolicybindings,
25
+ admissionregistrationV1beta1Validatingadmissionpolicies: () => admissionregistrationV1beta1Validatingadmissionpolicies,
26
+ admissionregistrationV1beta1Validatingadmissionpolicybindings: () => admissionregistrationV1beta1Validatingadmissionpolicybindings,
27
+ apiservices: () => apiservices,
28
+ autoscalingV1Horizontalpodautoscalers: () => autoscalingV1Horizontalpodautoscalers,
29
+ autoscalingV2Horizontalpodautoscalers: () => autoscalingV2Horizontalpodautoscalers,
30
+ certificatesV1alpha1Clustertrustbundles: () => certificatesV1alpha1Clustertrustbundles,
31
+ certificatesV1beta1Clustertrustbundles: () => certificatesV1beta1Clustertrustbundles,
32
+ certificatesigningrequests: () => certificatesigningrequests,
33
+ clusterrolebindings: () => clusterrolebindings,
34
+ clusterroles: () => clusterroles,
35
+ componentstatuses: () => componentstatuses,
36
+ configmaps: () => configmaps,
37
+ controllerrevisions: () => controllerrevisions,
38
+ coordinationV1alpha2Leasecandidates: () => coordinationV1alpha2Leasecandidates,
39
+ coordinationV1beta1Leasecandidates: () => coordinationV1beta1Leasecandidates,
40
+ coreV1Events: () => coreV1Events,
41
+ createKubernetesClient: () => createKubernetesClient,
42
+ createKubernetesClientFromRuntime: () => createKubernetesClientFromRuntime,
43
+ cronjobs: () => cronjobs,
44
+ csidrivers: () => csidrivers,
45
+ csinodes: () => csinodes,
46
+ csistoragecapacities: () => csistoragecapacities,
47
+ customresourcedefinitions: () => customresourcedefinitions,
48
+ daemonsets: () => daemonsets,
49
+ deployments: () => deployments,
50
+ devicetaintrules: () => devicetaintrules,
51
+ endpoints: () => endpoints,
52
+ endpointslices: () => endpointslices,
53
+ eventsV1Events: () => eventsV1Events,
54
+ flowschemas: () => flowschemas,
55
+ ingressclasses: () => ingressclasses,
56
+ ingresses: () => ingresses,
57
+ jobs: () => jobs,
58
+ leases: () => leases,
59
+ limitranges: () => limitranges,
60
+ mutatingadmissionpolicies: () => mutatingadmissionpolicies,
61
+ mutatingadmissionpolicybindings: () => mutatingadmissionpolicybindings,
62
+ mutatingwebhookconfigurations: () => mutatingwebhookconfigurations,
63
+ namespaces: () => namespaces,
64
+ networkingV1Ipaddresses: () => networkingV1Ipaddresses,
65
+ networkingV1Servicecidrs: () => networkingV1Servicecidrs,
66
+ networkingV1beta1Ipaddresses: () => networkingV1beta1Ipaddresses,
67
+ networkingV1beta1Servicecidrs: () => networkingV1beta1Servicecidrs,
68
+ networkpolicies: () => networkpolicies,
69
+ nodes: () => nodes,
70
+ persistentvolumeclaims: () => persistentvolumeclaims,
71
+ persistentvolumes: () => persistentvolumes,
72
+ poddisruptionbudgets: () => poddisruptionbudgets,
73
+ pods: () => pods,
74
+ podtemplates: () => podtemplates,
75
+ priorityclasses: () => priorityclasses,
76
+ prioritylevelconfigurations: () => prioritylevelconfigurations,
77
+ replicasets: () => replicasets,
78
+ replicationcontrollers: () => replicationcontrollers,
79
+ resourceApiV1alpha3Deviceclasses: () => resourceApiV1alpha3Deviceclasses,
80
+ resourceApiV1alpha3Resourceclaims: () => resourceApiV1alpha3Resourceclaims,
81
+ resourceApiV1alpha3Resourceclaimtemplates: () => resourceApiV1alpha3Resourceclaimtemplates,
82
+ resourceApiV1alpha3Resourceslices: () => resourceApiV1alpha3Resourceslices,
83
+ resourceApiV1beta1Deviceclasses: () => resourceApiV1beta1Deviceclasses,
84
+ resourceApiV1beta1Resourceclaims: () => resourceApiV1beta1Resourceclaims,
85
+ resourceApiV1beta1Resourceclaimtemplates: () => resourceApiV1beta1Resourceclaimtemplates,
86
+ resourceApiV1beta1Resourceslices: () => resourceApiV1beta1Resourceslices,
87
+ resourceApiV1beta2Deviceclasses: () => resourceApiV1beta2Deviceclasses,
88
+ resourceApiV1beta2Resourceclaims: () => resourceApiV1beta2Resourceclaims,
89
+ resourceApiV1beta2Resourceclaimtemplates: () => resourceApiV1beta2Resourceclaimtemplates,
90
+ resourceApiV1beta2Resourceslices: () => resourceApiV1beta2Resourceslices,
91
+ resourcequotas: () => resourcequotas,
92
+ rolebindings: () => rolebindings,
93
+ roles: () => roles,
94
+ runtimeclasses: () => runtimeclasses,
95
+ secrets: () => secrets,
96
+ serviceaccounts: () => serviceaccounts,
97
+ services: () => services,
98
+ statefulsets: () => statefulsets,
99
+ storageV1alpha1Volumeattributesclasses: () => storageV1alpha1Volumeattributesclasses,
100
+ storageV1beta1Volumeattributesclasses: () => storageV1beta1Volumeattributesclasses,
101
+ storageclasses: () => storageclasses,
102
+ storageversionmigrations: () => storageversionmigrations,
103
+ storageversions: () => storageversions,
104
+ validatingwebhookconfigurations: () => validatingwebhookconfigurations,
105
+ volumeattachments: () => volumeattachments
106
+ });
107
+ module.exports = __toCommonJS(v1_exports);
108
+ var import_runtime2 = require("@kubernetes-typescript/runtime");
109
+
110
+ // src/options.ts
111
+ var kubernetesQueryMapper = {
112
+ get: (options) => ({
113
+ resourceVersion: options.resourceVersion
114
+ }),
115
+ list: (options) => ({
116
+ labelSelector: options.labelSelector,
117
+ fieldSelector: options.fieldSelector,
118
+ watch: options.watch,
119
+ allowWatchBookmarks: options.allowWatchBookmarks,
120
+ resourceVersion: options.resourceVersion,
121
+ resourceVersionMatch: options.resourceVersionMatch,
122
+ timeoutSeconds: options.timeoutSeconds,
123
+ limit: options.limit,
124
+ continue: options.continue,
125
+ sendInitialEvents: options.sendInitialEvents
126
+ }),
127
+ create: (options) => ({
128
+ fieldManager: options.fieldManager,
129
+ fieldValidation: options.fieldValidation
130
+ }),
131
+ update: (options) => ({
132
+ fieldManager: options.fieldManager,
133
+ fieldValidation: options.fieldValidation
134
+ }),
135
+ patch: (options) => ({
136
+ force: options.force,
137
+ fieldManager: options.fieldManager,
138
+ fieldValidation: options.fieldValidation
139
+ }),
140
+ delete: (options) => ({
141
+ gracePeriodSeconds: options.gracePeriodSeconds,
142
+ orphanDependents: options.orphanDependents,
143
+ propagationPolicy: options.propagationPolicy,
144
+ ignoreStoreReadErrorWithClusterBreakingPotential: options.ignoreStoreReadErrorWithClusterBreakingPotential
145
+ })
146
+ };
147
+
148
+ // src/v1.33/resources/index.ts
149
+ var import_runtime = require("@kubernetes-typescript/runtime");
150
+ function admissionregistrationV1Validatingadmissionpolicies(client) {
151
+ const base = (0, import_runtime.createResourceClient)(client, {
152
+ apiVersion: "admissionregistration.k8s.io/v1",
153
+ plural: "validatingadmissionpolicies",
154
+ namespaced: false
155
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
156
+ return {
157
+ ...base,
158
+ status: (0, import_runtime.createSubresourceClient)(
159
+ client,
160
+ {
161
+ apiVersion: "admissionregistration.k8s.io/v1",
162
+ plural: "validatingadmissionpolicies",
163
+ namespaced: false
164
+ },
165
+ void 0,
166
+ void 0,
167
+ "status",
168
+ kubernetesQueryMapper
169
+ )
170
+ };
171
+ }
172
+ function admissionregistrationV1Validatingadmissionpolicybindings(client) {
173
+ return (0, import_runtime.createResourceClient)(client, {
174
+ apiVersion: "admissionregistration.k8s.io/v1",
175
+ plural: "validatingadmissionpolicybindings",
176
+ namespaced: false
177
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
178
+ }
179
+ function mutatingwebhookconfigurations(client) {
180
+ return (0, import_runtime.createResourceClient)(client, {
181
+ apiVersion: "admissionregistration.k8s.io/v1",
182
+ plural: "mutatingwebhookconfigurations",
183
+ namespaced: false
184
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
185
+ }
186
+ function validatingwebhookconfigurations(client) {
187
+ return (0, import_runtime.createResourceClient)(client, {
188
+ apiVersion: "admissionregistration.k8s.io/v1",
189
+ plural: "validatingwebhookconfigurations",
190
+ namespaced: false
191
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
192
+ }
193
+ function mutatingadmissionpolicies(client) {
194
+ return (0, import_runtime.createResourceClient)(client, {
195
+ apiVersion: "admissionregistration.k8s.io/v1alpha1",
196
+ plural: "mutatingadmissionpolicies",
197
+ namespaced: false
198
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
199
+ }
200
+ function mutatingadmissionpolicybindings(client) {
201
+ return (0, import_runtime.createResourceClient)(client, {
202
+ apiVersion: "admissionregistration.k8s.io/v1alpha1",
203
+ plural: "mutatingadmissionpolicybindings",
204
+ namespaced: false
205
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
206
+ }
207
+ function admissionregistrationV1beta1Validatingadmissionpolicies(client) {
208
+ const base = (0, import_runtime.createResourceClient)(client, {
209
+ apiVersion: "admissionregistration.k8s.io/v1beta1",
210
+ plural: "validatingadmissionpolicies",
211
+ namespaced: false
212
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
213
+ return {
214
+ ...base,
215
+ status: (0, import_runtime.createSubresourceClient)(
216
+ client,
217
+ {
218
+ apiVersion: "admissionregistration.k8s.io/v1beta1",
219
+ plural: "validatingadmissionpolicies",
220
+ namespaced: false
221
+ },
222
+ void 0,
223
+ void 0,
224
+ "status",
225
+ kubernetesQueryMapper
226
+ )
227
+ };
228
+ }
229
+ function admissionregistrationV1beta1Validatingadmissionpolicybindings(client) {
230
+ return (0, import_runtime.createResourceClient)(client, {
231
+ apiVersion: "admissionregistration.k8s.io/v1beta1",
232
+ plural: "validatingadmissionpolicybindings",
233
+ namespaced: false
234
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
235
+ }
236
+ function customresourcedefinitions(client) {
237
+ const base = (0, import_runtime.createResourceClient)(client, {
238
+ apiVersion: "apiextensions.k8s.io/v1",
239
+ plural: "customresourcedefinitions",
240
+ namespaced: false
241
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
242
+ return {
243
+ ...base,
244
+ status: (0, import_runtime.createSubresourceClient)(
245
+ client,
246
+ {
247
+ apiVersion: "apiextensions.k8s.io/v1",
248
+ plural: "customresourcedefinitions",
249
+ namespaced: false
250
+ },
251
+ void 0,
252
+ void 0,
253
+ "status",
254
+ kubernetesQueryMapper
255
+ )
256
+ };
257
+ }
258
+ function apiservices(client) {
259
+ const base = (0, import_runtime.createResourceClient)(client, {
260
+ apiVersion: "apiregistration.k8s.io/v1",
261
+ plural: "apiservices",
262
+ namespaced: false
263
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
264
+ return {
265
+ ...base,
266
+ status: (0, import_runtime.createSubresourceClient)(
267
+ client,
268
+ {
269
+ apiVersion: "apiregistration.k8s.io/v1",
270
+ plural: "apiservices",
271
+ namespaced: false
272
+ },
273
+ void 0,
274
+ void 0,
275
+ "status",
276
+ kubernetesQueryMapper
277
+ )
278
+ };
279
+ }
280
+ function controllerrevisions(client) {
281
+ return (0, import_runtime.createResourceClient)(client, {
282
+ apiVersion: "apps/v1",
283
+ plural: "controllerrevisions",
284
+ namespaced: true
285
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
286
+ }
287
+ function daemonsets(client) {
288
+ const base = (0, import_runtime.createResourceClient)(client, {
289
+ apiVersion: "apps/v1",
290
+ plural: "daemonsets",
291
+ namespaced: true
292
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
293
+ return {
294
+ ...base,
295
+ status: (0, import_runtime.createSubresourceClient)(
296
+ client,
297
+ {
298
+ apiVersion: "apps/v1",
299
+ plural: "daemonsets",
300
+ namespaced: true
301
+ },
302
+ void 0,
303
+ void 0,
304
+ "status",
305
+ kubernetesQueryMapper
306
+ )
307
+ };
308
+ }
309
+ function deployments(client) {
310
+ const base = (0, import_runtime.createResourceClient)(client, {
311
+ apiVersion: "apps/v1",
312
+ plural: "deployments",
313
+ namespaced: true
314
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
315
+ return {
316
+ ...base,
317
+ scale: (0, import_runtime.createSubresourceClient)(
318
+ client,
319
+ {
320
+ apiVersion: "apps/v1",
321
+ plural: "deployments",
322
+ namespaced: true
323
+ },
324
+ void 0,
325
+ void 0,
326
+ "scale",
327
+ kubernetesQueryMapper
328
+ ),
329
+ status: (0, import_runtime.createSubresourceClient)(
330
+ client,
331
+ {
332
+ apiVersion: "apps/v1",
333
+ plural: "deployments",
334
+ namespaced: true
335
+ },
336
+ void 0,
337
+ void 0,
338
+ "status",
339
+ kubernetesQueryMapper
340
+ )
341
+ };
342
+ }
343
+ function replicasets(client) {
344
+ const base = (0, import_runtime.createResourceClient)(client, {
345
+ apiVersion: "apps/v1",
346
+ plural: "replicasets",
347
+ namespaced: true
348
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
349
+ return {
350
+ ...base,
351
+ scale: (0, import_runtime.createSubresourceClient)(
352
+ client,
353
+ {
354
+ apiVersion: "apps/v1",
355
+ plural: "replicasets",
356
+ namespaced: true
357
+ },
358
+ void 0,
359
+ void 0,
360
+ "scale",
361
+ kubernetesQueryMapper
362
+ ),
363
+ status: (0, import_runtime.createSubresourceClient)(
364
+ client,
365
+ {
366
+ apiVersion: "apps/v1",
367
+ plural: "replicasets",
368
+ namespaced: true
369
+ },
370
+ void 0,
371
+ void 0,
372
+ "status",
373
+ kubernetesQueryMapper
374
+ )
375
+ };
376
+ }
377
+ function statefulsets(client) {
378
+ const base = (0, import_runtime.createResourceClient)(client, {
379
+ apiVersion: "apps/v1",
380
+ plural: "statefulsets",
381
+ namespaced: true
382
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
383
+ return {
384
+ ...base,
385
+ scale: (0, import_runtime.createSubresourceClient)(
386
+ client,
387
+ {
388
+ apiVersion: "apps/v1",
389
+ plural: "statefulsets",
390
+ namespaced: true
391
+ },
392
+ void 0,
393
+ void 0,
394
+ "scale",
395
+ kubernetesQueryMapper
396
+ ),
397
+ status: (0, import_runtime.createSubresourceClient)(
398
+ client,
399
+ {
400
+ apiVersion: "apps/v1",
401
+ plural: "statefulsets",
402
+ namespaced: true
403
+ },
404
+ void 0,
405
+ void 0,
406
+ "status",
407
+ kubernetesQueryMapper
408
+ )
409
+ };
410
+ }
411
+ function autoscalingV1Horizontalpodautoscalers(client) {
412
+ const base = (0, import_runtime.createResourceClient)(client, {
413
+ apiVersion: "autoscaling/v1",
414
+ plural: "horizontalpodautoscalers",
415
+ namespaced: true
416
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
417
+ return {
418
+ ...base,
419
+ status: (0, import_runtime.createSubresourceClient)(
420
+ client,
421
+ {
422
+ apiVersion: "autoscaling/v1",
423
+ plural: "horizontalpodautoscalers",
424
+ namespaced: true
425
+ },
426
+ void 0,
427
+ void 0,
428
+ "status",
429
+ kubernetesQueryMapper
430
+ )
431
+ };
432
+ }
433
+ function autoscalingV2Horizontalpodautoscalers(client) {
434
+ const base = (0, import_runtime.createResourceClient)(client, {
435
+ apiVersion: "autoscaling/v2",
436
+ plural: "horizontalpodautoscalers",
437
+ namespaced: true
438
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
439
+ return {
440
+ ...base,
441
+ status: (0, import_runtime.createSubresourceClient)(
442
+ client,
443
+ {
444
+ apiVersion: "autoscaling/v2",
445
+ plural: "horizontalpodautoscalers",
446
+ namespaced: true
447
+ },
448
+ void 0,
449
+ void 0,
450
+ "status",
451
+ kubernetesQueryMapper
452
+ )
453
+ };
454
+ }
455
+ function cronjobs(client) {
456
+ const base = (0, import_runtime.createResourceClient)(client, {
457
+ apiVersion: "batch/v1",
458
+ plural: "cronjobs",
459
+ namespaced: true
460
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
461
+ return {
462
+ ...base,
463
+ status: (0, import_runtime.createSubresourceClient)(
464
+ client,
465
+ {
466
+ apiVersion: "batch/v1",
467
+ plural: "cronjobs",
468
+ namespaced: true
469
+ },
470
+ void 0,
471
+ void 0,
472
+ "status",
473
+ kubernetesQueryMapper
474
+ )
475
+ };
476
+ }
477
+ function jobs(client) {
478
+ const base = (0, import_runtime.createResourceClient)(client, {
479
+ apiVersion: "batch/v1",
480
+ plural: "jobs",
481
+ namespaced: true
482
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
483
+ return {
484
+ ...base,
485
+ status: (0, import_runtime.createSubresourceClient)(
486
+ client,
487
+ {
488
+ apiVersion: "batch/v1",
489
+ plural: "jobs",
490
+ namespaced: true
491
+ },
492
+ void 0,
493
+ void 0,
494
+ "status",
495
+ kubernetesQueryMapper
496
+ )
497
+ };
498
+ }
499
+ function certificatesigningrequests(client) {
500
+ const base = (0, import_runtime.createResourceClient)(client, {
501
+ apiVersion: "certificates.k8s.io/v1",
502
+ plural: "certificatesigningrequests",
503
+ namespaced: false
504
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
505
+ return {
506
+ ...base,
507
+ approval: (0, import_runtime.createSubresourceClient)(
508
+ client,
509
+ {
510
+ apiVersion: "certificates.k8s.io/v1",
511
+ plural: "certificatesigningrequests",
512
+ namespaced: false
513
+ },
514
+ void 0,
515
+ void 0,
516
+ "approval",
517
+ kubernetesQueryMapper
518
+ ),
519
+ status: (0, import_runtime.createSubresourceClient)(
520
+ client,
521
+ {
522
+ apiVersion: "certificates.k8s.io/v1",
523
+ plural: "certificatesigningrequests",
524
+ namespaced: false
525
+ },
526
+ void 0,
527
+ void 0,
528
+ "status",
529
+ kubernetesQueryMapper
530
+ )
531
+ };
532
+ }
533
+ function certificatesV1alpha1Clustertrustbundles(client) {
534
+ return (0, import_runtime.createResourceClient)(client, {
535
+ apiVersion: "certificates.k8s.io/v1alpha1",
536
+ plural: "clustertrustbundles",
537
+ namespaced: false
538
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
539
+ }
540
+ function certificatesV1beta1Clustertrustbundles(client) {
541
+ return (0, import_runtime.createResourceClient)(client, {
542
+ apiVersion: "certificates.k8s.io/v1beta1",
543
+ plural: "clustertrustbundles",
544
+ namespaced: false
545
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
546
+ }
547
+ function leases(client) {
548
+ return (0, import_runtime.createResourceClient)(client, {
549
+ apiVersion: "coordination.k8s.io/v1",
550
+ plural: "leases",
551
+ namespaced: true
552
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
553
+ }
554
+ function coordinationV1alpha2Leasecandidates(client) {
555
+ return (0, import_runtime.createResourceClient)(client, {
556
+ apiVersion: "coordination.k8s.io/v1alpha2",
557
+ plural: "leasecandidates",
558
+ namespaced: true
559
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
560
+ }
561
+ function coordinationV1beta1Leasecandidates(client) {
562
+ return (0, import_runtime.createResourceClient)(client, {
563
+ apiVersion: "coordination.k8s.io/v1beta1",
564
+ plural: "leasecandidates",
565
+ namespaced: true
566
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
567
+ }
568
+ function componentstatuses(client) {
569
+ return (0, import_runtime.createResourceClient)(client, {
570
+ apiVersion: "v1",
571
+ plural: "componentstatuses",
572
+ namespaced: false
573
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
574
+ }
575
+ function configmaps(client) {
576
+ return (0, import_runtime.createResourceClient)(client, {
577
+ apiVersion: "v1",
578
+ plural: "configmaps",
579
+ namespaced: true
580
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
581
+ }
582
+ function coreV1Events(client) {
583
+ return (0, import_runtime.createResourceClient)(client, {
584
+ apiVersion: "v1",
585
+ plural: "events",
586
+ namespaced: true
587
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
588
+ }
589
+ function endpoints(client) {
590
+ return (0, import_runtime.createResourceClient)(client, {
591
+ apiVersion: "v1",
592
+ plural: "endpoints",
593
+ namespaced: true
594
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
595
+ }
596
+ function limitranges(client) {
597
+ return (0, import_runtime.createResourceClient)(client, {
598
+ apiVersion: "v1",
599
+ plural: "limitranges",
600
+ namespaced: true
601
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
602
+ }
603
+ function namespaces(client) {
604
+ return (0, import_runtime.createResourceClient)(client, {
605
+ apiVersion: "v1",
606
+ plural: "namespaces",
607
+ namespaced: false
608
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
609
+ }
610
+ function nodes(client) {
611
+ const base = (0, import_runtime.createResourceClient)(client, {
612
+ apiVersion: "v1",
613
+ plural: "nodes",
614
+ namespaced: false
615
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
616
+ return {
617
+ ...base,
618
+ proxy: (0, import_runtime.createSubresourceClient)(
619
+ client,
620
+ {
621
+ apiVersion: "v1",
622
+ plural: "nodes",
623
+ namespaced: false
624
+ },
625
+ void 0,
626
+ void 0,
627
+ "proxy",
628
+ kubernetesQueryMapper
629
+ ),
630
+ status: (0, import_runtime.createSubresourceClient)(
631
+ client,
632
+ {
633
+ apiVersion: "v1",
634
+ plural: "nodes",
635
+ namespaced: false
636
+ },
637
+ void 0,
638
+ void 0,
639
+ "status",
640
+ kubernetesQueryMapper
641
+ )
642
+ };
643
+ }
644
+ function persistentvolumeclaims(client) {
645
+ const base = (0, import_runtime.createResourceClient)(client, {
646
+ apiVersion: "v1",
647
+ plural: "persistentvolumeclaims",
648
+ namespaced: true
649
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
650
+ return {
651
+ ...base,
652
+ status: (0, import_runtime.createSubresourceClient)(
653
+ client,
654
+ {
655
+ apiVersion: "v1",
656
+ plural: "persistentvolumeclaims",
657
+ namespaced: true
658
+ },
659
+ void 0,
660
+ void 0,
661
+ "status",
662
+ kubernetesQueryMapper
663
+ )
664
+ };
665
+ }
666
+ function persistentvolumes(client) {
667
+ const base = (0, import_runtime.createResourceClient)(client, {
668
+ apiVersion: "v1",
669
+ plural: "persistentvolumes",
670
+ namespaced: false
671
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
672
+ return {
673
+ ...base,
674
+ status: (0, import_runtime.createSubresourceClient)(
675
+ client,
676
+ {
677
+ apiVersion: "v1",
678
+ plural: "persistentvolumes",
679
+ namespaced: false
680
+ },
681
+ void 0,
682
+ void 0,
683
+ "status",
684
+ kubernetesQueryMapper
685
+ )
686
+ };
687
+ }
688
+ function pods(client) {
689
+ const base = (0, import_runtime.createResourceClient)(client, {
690
+ apiVersion: "v1",
691
+ plural: "pods",
692
+ namespaced: true
693
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
694
+ return {
695
+ ...base,
696
+ attach: (0, import_runtime.createSubresourceClient)(
697
+ client,
698
+ {
699
+ apiVersion: "v1",
700
+ plural: "pods",
701
+ namespaced: true
702
+ },
703
+ void 0,
704
+ void 0,
705
+ "attach",
706
+ kubernetesQueryMapper
707
+ ),
708
+ ephemeralcontainers: (0, import_runtime.createSubresourceClient)(
709
+ client,
710
+ {
711
+ apiVersion: "v1",
712
+ plural: "pods",
713
+ namespaced: true
714
+ },
715
+ void 0,
716
+ void 0,
717
+ "ephemeralcontainers",
718
+ kubernetesQueryMapper
719
+ ),
720
+ exec: (0, import_runtime.createSubresourceClient)(
721
+ client,
722
+ {
723
+ apiVersion: "v1",
724
+ plural: "pods",
725
+ namespaced: true
726
+ },
727
+ void 0,
728
+ void 0,
729
+ "exec",
730
+ kubernetesQueryMapper
731
+ ),
732
+ log: (0, import_runtime.createSubresourceClient)(
733
+ client,
734
+ {
735
+ apiVersion: "v1",
736
+ plural: "pods",
737
+ namespaced: true
738
+ },
739
+ void 0,
740
+ void 0,
741
+ "log",
742
+ kubernetesQueryMapper
743
+ ),
744
+ portforward: (0, import_runtime.createSubresourceClient)(
745
+ client,
746
+ {
747
+ apiVersion: "v1",
748
+ plural: "pods",
749
+ namespaced: true
750
+ },
751
+ void 0,
752
+ void 0,
753
+ "portforward",
754
+ kubernetesQueryMapper
755
+ ),
756
+ proxy: (0, import_runtime.createSubresourceClient)(
757
+ client,
758
+ {
759
+ apiVersion: "v1",
760
+ plural: "pods",
761
+ namespaced: true
762
+ },
763
+ void 0,
764
+ void 0,
765
+ "proxy",
766
+ kubernetesQueryMapper
767
+ ),
768
+ resize: (0, import_runtime.createSubresourceClient)(
769
+ client,
770
+ {
771
+ apiVersion: "v1",
772
+ plural: "pods",
773
+ namespaced: true
774
+ },
775
+ void 0,
776
+ void 0,
777
+ "resize",
778
+ kubernetesQueryMapper
779
+ ),
780
+ status: (0, import_runtime.createSubresourceClient)(
781
+ client,
782
+ {
783
+ apiVersion: "v1",
784
+ plural: "pods",
785
+ namespaced: true
786
+ },
787
+ void 0,
788
+ void 0,
789
+ "status",
790
+ kubernetesQueryMapper
791
+ )
792
+ };
793
+ }
794
+ function podtemplates(client) {
795
+ return (0, import_runtime.createResourceClient)(client, {
796
+ apiVersion: "v1",
797
+ plural: "podtemplates",
798
+ namespaced: true
799
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
800
+ }
801
+ function replicationcontrollers(client) {
802
+ const base = (0, import_runtime.createResourceClient)(client, {
803
+ apiVersion: "v1",
804
+ plural: "replicationcontrollers",
805
+ namespaced: true
806
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
807
+ return {
808
+ ...base,
809
+ scale: (0, import_runtime.createSubresourceClient)(
810
+ client,
811
+ {
812
+ apiVersion: "v1",
813
+ plural: "replicationcontrollers",
814
+ namespaced: true
815
+ },
816
+ void 0,
817
+ void 0,
818
+ "scale",
819
+ kubernetesQueryMapper
820
+ ),
821
+ status: (0, import_runtime.createSubresourceClient)(
822
+ client,
823
+ {
824
+ apiVersion: "v1",
825
+ plural: "replicationcontrollers",
826
+ namespaced: true
827
+ },
828
+ void 0,
829
+ void 0,
830
+ "status",
831
+ kubernetesQueryMapper
832
+ )
833
+ };
834
+ }
835
+ function resourcequotas(client) {
836
+ const base = (0, import_runtime.createResourceClient)(client, {
837
+ apiVersion: "v1",
838
+ plural: "resourcequotas",
839
+ namespaced: true
840
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
841
+ return {
842
+ ...base,
843
+ status: (0, import_runtime.createSubresourceClient)(
844
+ client,
845
+ {
846
+ apiVersion: "v1",
847
+ plural: "resourcequotas",
848
+ namespaced: true
849
+ },
850
+ void 0,
851
+ void 0,
852
+ "status",
853
+ kubernetesQueryMapper
854
+ )
855
+ };
856
+ }
857
+ function secrets(client) {
858
+ return (0, import_runtime.createResourceClient)(client, {
859
+ apiVersion: "v1",
860
+ plural: "secrets",
861
+ namespaced: true
862
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
863
+ }
864
+ function serviceaccounts(client) {
865
+ return (0, import_runtime.createResourceClient)(client, {
866
+ apiVersion: "v1",
867
+ plural: "serviceaccounts",
868
+ namespaced: true
869
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
870
+ }
871
+ function services(client) {
872
+ const base = (0, import_runtime.createResourceClient)(client, {
873
+ apiVersion: "v1",
874
+ plural: "services",
875
+ namespaced: true
876
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
877
+ return {
878
+ ...base,
879
+ proxy: (0, import_runtime.createSubresourceClient)(
880
+ client,
881
+ {
882
+ apiVersion: "v1",
883
+ plural: "services",
884
+ namespaced: true
885
+ },
886
+ void 0,
887
+ void 0,
888
+ "proxy",
889
+ kubernetesQueryMapper
890
+ ),
891
+ status: (0, import_runtime.createSubresourceClient)(
892
+ client,
893
+ {
894
+ apiVersion: "v1",
895
+ plural: "services",
896
+ namespaced: true
897
+ },
898
+ void 0,
899
+ void 0,
900
+ "status",
901
+ kubernetesQueryMapper
902
+ )
903
+ };
904
+ }
905
+ function endpointslices(client) {
906
+ return (0, import_runtime.createResourceClient)(client, {
907
+ apiVersion: "discovery.k8s.io/v1",
908
+ plural: "endpointslices",
909
+ namespaced: true
910
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
911
+ }
912
+ function eventsV1Events(client) {
913
+ return (0, import_runtime.createResourceClient)(client, {
914
+ apiVersion: "events.k8s.io/v1",
915
+ plural: "events",
916
+ namespaced: true
917
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
918
+ }
919
+ function flowschemas(client) {
920
+ const base = (0, import_runtime.createResourceClient)(client, {
921
+ apiVersion: "flowcontrol.apiserver.k8s.io/v1",
922
+ plural: "flowschemas",
923
+ namespaced: false
924
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
925
+ return {
926
+ ...base,
927
+ status: (0, import_runtime.createSubresourceClient)(
928
+ client,
929
+ {
930
+ apiVersion: "flowcontrol.apiserver.k8s.io/v1",
931
+ plural: "flowschemas",
932
+ namespaced: false
933
+ },
934
+ void 0,
935
+ void 0,
936
+ "status",
937
+ kubernetesQueryMapper
938
+ )
939
+ };
940
+ }
941
+ function prioritylevelconfigurations(client) {
942
+ const base = (0, import_runtime.createResourceClient)(client, {
943
+ apiVersion: "flowcontrol.apiserver.k8s.io/v1",
944
+ plural: "prioritylevelconfigurations",
945
+ namespaced: false
946
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
947
+ return {
948
+ ...base,
949
+ status: (0, import_runtime.createSubresourceClient)(
950
+ client,
951
+ {
952
+ apiVersion: "flowcontrol.apiserver.k8s.io/v1",
953
+ plural: "prioritylevelconfigurations",
954
+ namespaced: false
955
+ },
956
+ void 0,
957
+ void 0,
958
+ "status",
959
+ kubernetesQueryMapper
960
+ )
961
+ };
962
+ }
963
+ function storageversions(client) {
964
+ const base = (0, import_runtime.createResourceClient)(client, {
965
+ apiVersion: "internal.apiserver.k8s.io/v1alpha1",
966
+ plural: "storageversions",
967
+ namespaced: false
968
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
969
+ return {
970
+ ...base,
971
+ status: (0, import_runtime.createSubresourceClient)(
972
+ client,
973
+ {
974
+ apiVersion: "internal.apiserver.k8s.io/v1alpha1",
975
+ plural: "storageversions",
976
+ namespaced: false
977
+ },
978
+ void 0,
979
+ void 0,
980
+ "status",
981
+ kubernetesQueryMapper
982
+ )
983
+ };
984
+ }
985
+ function ingressclasses(client) {
986
+ return (0, import_runtime.createResourceClient)(client, {
987
+ apiVersion: "networking.k8s.io/v1",
988
+ plural: "ingressclasses",
989
+ namespaced: false
990
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
991
+ }
992
+ function ingresses(client) {
993
+ const base = (0, import_runtime.createResourceClient)(client, {
994
+ apiVersion: "networking.k8s.io/v1",
995
+ plural: "ingresses",
996
+ namespaced: true
997
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
998
+ return {
999
+ ...base,
1000
+ status: (0, import_runtime.createSubresourceClient)(
1001
+ client,
1002
+ {
1003
+ apiVersion: "networking.k8s.io/v1",
1004
+ plural: "ingresses",
1005
+ namespaced: true
1006
+ },
1007
+ void 0,
1008
+ void 0,
1009
+ "status",
1010
+ kubernetesQueryMapper
1011
+ )
1012
+ };
1013
+ }
1014
+ function networkingV1Ipaddresses(client) {
1015
+ return (0, import_runtime.createResourceClient)(client, {
1016
+ apiVersion: "networking.k8s.io/v1",
1017
+ plural: "ipaddresses",
1018
+ namespaced: false
1019
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1020
+ }
1021
+ function networkingV1Servicecidrs(client) {
1022
+ const base = (0, import_runtime.createResourceClient)(client, {
1023
+ apiVersion: "networking.k8s.io/v1",
1024
+ plural: "servicecidrs",
1025
+ namespaced: false
1026
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1027
+ return {
1028
+ ...base,
1029
+ status: (0, import_runtime.createSubresourceClient)(
1030
+ client,
1031
+ {
1032
+ apiVersion: "networking.k8s.io/v1",
1033
+ plural: "servicecidrs",
1034
+ namespaced: false
1035
+ },
1036
+ void 0,
1037
+ void 0,
1038
+ "status",
1039
+ kubernetesQueryMapper
1040
+ )
1041
+ };
1042
+ }
1043
+ function networkpolicies(client) {
1044
+ return (0, import_runtime.createResourceClient)(client, {
1045
+ apiVersion: "networking.k8s.io/v1",
1046
+ plural: "networkpolicies",
1047
+ namespaced: true
1048
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1049
+ }
1050
+ function networkingV1beta1Ipaddresses(client) {
1051
+ return (0, import_runtime.createResourceClient)(client, {
1052
+ apiVersion: "networking.k8s.io/v1beta1",
1053
+ plural: "ipaddresses",
1054
+ namespaced: false
1055
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1056
+ }
1057
+ function networkingV1beta1Servicecidrs(client) {
1058
+ const base = (0, import_runtime.createResourceClient)(client, {
1059
+ apiVersion: "networking.k8s.io/v1beta1",
1060
+ plural: "servicecidrs",
1061
+ namespaced: false
1062
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1063
+ return {
1064
+ ...base,
1065
+ status: (0, import_runtime.createSubresourceClient)(
1066
+ client,
1067
+ {
1068
+ apiVersion: "networking.k8s.io/v1beta1",
1069
+ plural: "servicecidrs",
1070
+ namespaced: false
1071
+ },
1072
+ void 0,
1073
+ void 0,
1074
+ "status",
1075
+ kubernetesQueryMapper
1076
+ )
1077
+ };
1078
+ }
1079
+ function runtimeclasses(client) {
1080
+ return (0, import_runtime.createResourceClient)(client, {
1081
+ apiVersion: "node.k8s.io/v1",
1082
+ plural: "runtimeclasses",
1083
+ namespaced: false
1084
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1085
+ }
1086
+ function poddisruptionbudgets(client) {
1087
+ const base = (0, import_runtime.createResourceClient)(client, {
1088
+ apiVersion: "policy/v1",
1089
+ plural: "poddisruptionbudgets",
1090
+ namespaced: true
1091
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1092
+ return {
1093
+ ...base,
1094
+ status: (0, import_runtime.createSubresourceClient)(
1095
+ client,
1096
+ {
1097
+ apiVersion: "policy/v1",
1098
+ plural: "poddisruptionbudgets",
1099
+ namespaced: true
1100
+ },
1101
+ void 0,
1102
+ void 0,
1103
+ "status",
1104
+ kubernetesQueryMapper
1105
+ )
1106
+ };
1107
+ }
1108
+ function clusterrolebindings(client) {
1109
+ return (0, import_runtime.createResourceClient)(client, {
1110
+ apiVersion: "rbac.authorization.k8s.io/v1",
1111
+ plural: "clusterrolebindings",
1112
+ namespaced: false
1113
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1114
+ }
1115
+ function clusterroles(client) {
1116
+ return (0, import_runtime.createResourceClient)(client, {
1117
+ apiVersion: "rbac.authorization.k8s.io/v1",
1118
+ plural: "clusterroles",
1119
+ namespaced: false
1120
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1121
+ }
1122
+ function rolebindings(client) {
1123
+ return (0, import_runtime.createResourceClient)(client, {
1124
+ apiVersion: "rbac.authorization.k8s.io/v1",
1125
+ plural: "rolebindings",
1126
+ namespaced: true
1127
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1128
+ }
1129
+ function roles(client) {
1130
+ return (0, import_runtime.createResourceClient)(client, {
1131
+ apiVersion: "rbac.authorization.k8s.io/v1",
1132
+ plural: "roles",
1133
+ namespaced: true
1134
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1135
+ }
1136
+ function devicetaintrules(client) {
1137
+ return (0, import_runtime.createResourceClient)(client, {
1138
+ apiVersion: "resource.k8s.io/v1alpha3",
1139
+ plural: "devicetaintrules",
1140
+ namespaced: false
1141
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1142
+ }
1143
+ function resourceApiV1alpha3Deviceclasses(client) {
1144
+ return (0, import_runtime.createResourceClient)(client, {
1145
+ apiVersion: "resource.k8s.io/v1alpha3",
1146
+ plural: "deviceclasses",
1147
+ namespaced: false
1148
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1149
+ }
1150
+ function resourceApiV1alpha3Resourceclaims(client) {
1151
+ const base = (0, import_runtime.createResourceClient)(client, {
1152
+ apiVersion: "resource.k8s.io/v1alpha3",
1153
+ plural: "resourceclaims",
1154
+ namespaced: true
1155
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1156
+ return {
1157
+ ...base,
1158
+ status: (0, import_runtime.createSubresourceClient)(
1159
+ client,
1160
+ {
1161
+ apiVersion: "resource.k8s.io/v1alpha3",
1162
+ plural: "resourceclaims",
1163
+ namespaced: true
1164
+ },
1165
+ void 0,
1166
+ void 0,
1167
+ "status",
1168
+ kubernetesQueryMapper
1169
+ )
1170
+ };
1171
+ }
1172
+ function resourceApiV1alpha3Resourceclaimtemplates(client) {
1173
+ return (0, import_runtime.createResourceClient)(client, {
1174
+ apiVersion: "resource.k8s.io/v1alpha3",
1175
+ plural: "resourceclaimtemplates",
1176
+ namespaced: true
1177
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1178
+ }
1179
+ function resourceApiV1alpha3Resourceslices(client) {
1180
+ return (0, import_runtime.createResourceClient)(client, {
1181
+ apiVersion: "resource.k8s.io/v1alpha3",
1182
+ plural: "resourceslices",
1183
+ namespaced: false
1184
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1185
+ }
1186
+ function resourceApiV1beta1Deviceclasses(client) {
1187
+ return (0, import_runtime.createResourceClient)(client, {
1188
+ apiVersion: "resource.k8s.io/v1beta1",
1189
+ plural: "deviceclasses",
1190
+ namespaced: false
1191
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1192
+ }
1193
+ function resourceApiV1beta1Resourceclaims(client) {
1194
+ const base = (0, import_runtime.createResourceClient)(client, {
1195
+ apiVersion: "resource.k8s.io/v1beta1",
1196
+ plural: "resourceclaims",
1197
+ namespaced: true
1198
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1199
+ return {
1200
+ ...base,
1201
+ status: (0, import_runtime.createSubresourceClient)(
1202
+ client,
1203
+ {
1204
+ apiVersion: "resource.k8s.io/v1beta1",
1205
+ plural: "resourceclaims",
1206
+ namespaced: true
1207
+ },
1208
+ void 0,
1209
+ void 0,
1210
+ "status",
1211
+ kubernetesQueryMapper
1212
+ )
1213
+ };
1214
+ }
1215
+ function resourceApiV1beta1Resourceclaimtemplates(client) {
1216
+ return (0, import_runtime.createResourceClient)(client, {
1217
+ apiVersion: "resource.k8s.io/v1beta1",
1218
+ plural: "resourceclaimtemplates",
1219
+ namespaced: true
1220
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1221
+ }
1222
+ function resourceApiV1beta1Resourceslices(client) {
1223
+ return (0, import_runtime.createResourceClient)(client, {
1224
+ apiVersion: "resource.k8s.io/v1beta1",
1225
+ plural: "resourceslices",
1226
+ namespaced: false
1227
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1228
+ }
1229
+ function resourceApiV1beta2Deviceclasses(client) {
1230
+ return (0, import_runtime.createResourceClient)(client, {
1231
+ apiVersion: "resource.k8s.io/v1beta2",
1232
+ plural: "deviceclasses",
1233
+ namespaced: false
1234
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1235
+ }
1236
+ function resourceApiV1beta2Resourceclaims(client) {
1237
+ const base = (0, import_runtime.createResourceClient)(client, {
1238
+ apiVersion: "resource.k8s.io/v1beta2",
1239
+ plural: "resourceclaims",
1240
+ namespaced: true
1241
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1242
+ return {
1243
+ ...base,
1244
+ status: (0, import_runtime.createSubresourceClient)(
1245
+ client,
1246
+ {
1247
+ apiVersion: "resource.k8s.io/v1beta2",
1248
+ plural: "resourceclaims",
1249
+ namespaced: true
1250
+ },
1251
+ void 0,
1252
+ void 0,
1253
+ "status",
1254
+ kubernetesQueryMapper
1255
+ )
1256
+ };
1257
+ }
1258
+ function resourceApiV1beta2Resourceclaimtemplates(client) {
1259
+ return (0, import_runtime.createResourceClient)(client, {
1260
+ apiVersion: "resource.k8s.io/v1beta2",
1261
+ plural: "resourceclaimtemplates",
1262
+ namespaced: true
1263
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1264
+ }
1265
+ function resourceApiV1beta2Resourceslices(client) {
1266
+ return (0, import_runtime.createResourceClient)(client, {
1267
+ apiVersion: "resource.k8s.io/v1beta2",
1268
+ plural: "resourceslices",
1269
+ namespaced: false
1270
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1271
+ }
1272
+ function priorityclasses(client) {
1273
+ return (0, import_runtime.createResourceClient)(client, {
1274
+ apiVersion: "scheduling.k8s.io/v1",
1275
+ plural: "priorityclasses",
1276
+ namespaced: false
1277
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1278
+ }
1279
+ function csidrivers(client) {
1280
+ return (0, import_runtime.createResourceClient)(client, {
1281
+ apiVersion: "storage.k8s.io/v1",
1282
+ plural: "csidrivers",
1283
+ namespaced: false
1284
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1285
+ }
1286
+ function csinodes(client) {
1287
+ return (0, import_runtime.createResourceClient)(client, {
1288
+ apiVersion: "storage.k8s.io/v1",
1289
+ plural: "csinodes",
1290
+ namespaced: false
1291
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1292
+ }
1293
+ function csistoragecapacities(client) {
1294
+ return (0, import_runtime.createResourceClient)(client, {
1295
+ apiVersion: "storage.k8s.io/v1",
1296
+ plural: "csistoragecapacities",
1297
+ namespaced: true
1298
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1299
+ }
1300
+ function storageclasses(client) {
1301
+ return (0, import_runtime.createResourceClient)(client, {
1302
+ apiVersion: "storage.k8s.io/v1",
1303
+ plural: "storageclasses",
1304
+ namespaced: false
1305
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1306
+ }
1307
+ function volumeattachments(client) {
1308
+ const base = (0, import_runtime.createResourceClient)(client, {
1309
+ apiVersion: "storage.k8s.io/v1",
1310
+ plural: "volumeattachments",
1311
+ namespaced: false
1312
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1313
+ return {
1314
+ ...base,
1315
+ status: (0, import_runtime.createSubresourceClient)(
1316
+ client,
1317
+ {
1318
+ apiVersion: "storage.k8s.io/v1",
1319
+ plural: "volumeattachments",
1320
+ namespaced: false
1321
+ },
1322
+ void 0,
1323
+ void 0,
1324
+ "status",
1325
+ kubernetesQueryMapper
1326
+ )
1327
+ };
1328
+ }
1329
+ function storageV1alpha1Volumeattributesclasses(client) {
1330
+ return (0, import_runtime.createResourceClient)(client, {
1331
+ apiVersion: "storage.k8s.io/v1alpha1",
1332
+ plural: "volumeattributesclasses",
1333
+ namespaced: false
1334
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1335
+ }
1336
+ function storageV1beta1Volumeattributesclasses(client) {
1337
+ return (0, import_runtime.createResourceClient)(client, {
1338
+ apiVersion: "storage.k8s.io/v1beta1",
1339
+ plural: "volumeattributesclasses",
1340
+ namespaced: false
1341
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1342
+ }
1343
+ function storageversionmigrations(client) {
1344
+ const base = (0, import_runtime.createResourceClient)(client, {
1345
+ apiVersion: "storagemigration.k8s.io/v1alpha1",
1346
+ plural: "storageversionmigrations",
1347
+ namespaced: false
1348
+ }, void 0, void 0, void 0, kubernetesQueryMapper);
1349
+ return {
1350
+ ...base,
1351
+ status: (0, import_runtime.createSubresourceClient)(
1352
+ client,
1353
+ {
1354
+ apiVersion: "storagemigration.k8s.io/v1alpha1",
1355
+ plural: "storageversionmigrations",
1356
+ namespaced: false
1357
+ },
1358
+ void 0,
1359
+ void 0,
1360
+ "status",
1361
+ kubernetesQueryMapper
1362
+ )
1363
+ };
1364
+ }
1365
+
1366
+ // src/v1.33/index.ts
1367
+ function createKubernetesClient(options) {
1368
+ return createKubernetesClientFromRuntime((0, import_runtime2.createClient)(options));
1369
+ }
1370
+ function createKubernetesClientFromRuntime(client) {
1371
+ return {
1372
+ admissionregistration: {
1373
+ v1: {
1374
+ mutatingwebhookconfigurations: mutatingwebhookconfigurations(client),
1375
+ validatingadmissionpolicies: admissionregistrationV1Validatingadmissionpolicies(client),
1376
+ validatingadmissionpolicybindings: admissionregistrationV1Validatingadmissionpolicybindings(client),
1377
+ validatingwebhookconfigurations: validatingwebhookconfigurations(client)
1378
+ },
1379
+ v1alpha1: {
1380
+ mutatingadmissionpolicies: mutatingadmissionpolicies(client),
1381
+ mutatingadmissionpolicybindings: mutatingadmissionpolicybindings(client)
1382
+ },
1383
+ v1beta1: {
1384
+ validatingadmissionpolicies: admissionregistrationV1beta1Validatingadmissionpolicies(client),
1385
+ validatingadmissionpolicybindings: admissionregistrationV1beta1Validatingadmissionpolicybindings(client)
1386
+ }
1387
+ },
1388
+ apiextensions: {
1389
+ v1: {
1390
+ customresourcedefinitions: customresourcedefinitions(client)
1391
+ }
1392
+ },
1393
+ apiregistration: {
1394
+ v1: {
1395
+ apiservices: apiservices(client)
1396
+ }
1397
+ },
1398
+ apps: {
1399
+ v1: {
1400
+ controllerrevisions: controllerrevisions(client),
1401
+ daemonsets: daemonsets(client),
1402
+ deployments: deployments(client),
1403
+ replicasets: replicasets(client),
1404
+ statefulsets: statefulsets(client)
1405
+ }
1406
+ },
1407
+ autoscaling: {
1408
+ v1: {
1409
+ horizontalpodautoscalers: autoscalingV1Horizontalpodautoscalers(client)
1410
+ },
1411
+ v2: {
1412
+ horizontalpodautoscalers: autoscalingV2Horizontalpodautoscalers(client)
1413
+ }
1414
+ },
1415
+ batch: {
1416
+ v1: {
1417
+ cronjobs: cronjobs(client),
1418
+ jobs: jobs(client)
1419
+ }
1420
+ },
1421
+ certificates: {
1422
+ v1: {
1423
+ certificatesigningrequests: certificatesigningrequests(client)
1424
+ },
1425
+ v1alpha1: {
1426
+ clustertrustbundles: certificatesV1alpha1Clustertrustbundles(client)
1427
+ },
1428
+ v1beta1: {
1429
+ clustertrustbundles: certificatesV1beta1Clustertrustbundles(client)
1430
+ }
1431
+ },
1432
+ coordination: {
1433
+ v1: {
1434
+ leases: leases(client)
1435
+ },
1436
+ v1alpha2: {
1437
+ leasecandidates: coordinationV1alpha2Leasecandidates(client)
1438
+ },
1439
+ v1beta1: {
1440
+ leasecandidates: coordinationV1beta1Leasecandidates(client)
1441
+ }
1442
+ },
1443
+ core: {
1444
+ v1: {
1445
+ componentstatuses: componentstatuses(client),
1446
+ configmaps: configmaps(client),
1447
+ endpoints: endpoints(client),
1448
+ events: coreV1Events(client),
1449
+ limitranges: limitranges(client),
1450
+ namespaces: namespaces(client),
1451
+ nodes: nodes(client),
1452
+ persistentvolumeclaims: persistentvolumeclaims(client),
1453
+ persistentvolumes: persistentvolumes(client),
1454
+ pods: pods(client),
1455
+ podtemplates: podtemplates(client),
1456
+ replicationcontrollers: replicationcontrollers(client),
1457
+ resourcequotas: resourcequotas(client),
1458
+ secrets: secrets(client),
1459
+ serviceaccounts: serviceaccounts(client),
1460
+ services: services(client)
1461
+ }
1462
+ },
1463
+ discovery: {
1464
+ v1: {
1465
+ endpointslices: endpointslices(client)
1466
+ }
1467
+ },
1468
+ events: {
1469
+ v1: {
1470
+ events: eventsV1Events(client)
1471
+ }
1472
+ },
1473
+ flowcontrol: {
1474
+ v1: {
1475
+ flowschemas: flowschemas(client),
1476
+ prioritylevelconfigurations: prioritylevelconfigurations(client)
1477
+ }
1478
+ },
1479
+ internal: {
1480
+ v1alpha1: {
1481
+ storageversions: storageversions(client)
1482
+ }
1483
+ },
1484
+ networking: {
1485
+ v1: {
1486
+ ingressclasses: ingressclasses(client),
1487
+ ingresses: ingresses(client),
1488
+ ipaddresses: networkingV1Ipaddresses(client),
1489
+ networkpolicies: networkpolicies(client),
1490
+ servicecidrs: networkingV1Servicecidrs(client)
1491
+ },
1492
+ v1beta1: {
1493
+ ipaddresses: networkingV1beta1Ipaddresses(client),
1494
+ servicecidrs: networkingV1beta1Servicecidrs(client)
1495
+ }
1496
+ },
1497
+ node: {
1498
+ v1: {
1499
+ runtimeclasses: runtimeclasses(client)
1500
+ }
1501
+ },
1502
+ policy: {
1503
+ v1: {
1504
+ poddisruptionbudgets: poddisruptionbudgets(client)
1505
+ }
1506
+ },
1507
+ rbac: {
1508
+ v1: {
1509
+ clusterrolebindings: clusterrolebindings(client),
1510
+ clusterroles: clusterroles(client),
1511
+ rolebindings: rolebindings(client),
1512
+ roles: roles(client)
1513
+ }
1514
+ },
1515
+ resourceApi: {
1516
+ v1alpha3: {
1517
+ deviceclasses: resourceApiV1alpha3Deviceclasses(client),
1518
+ devicetaintrules: devicetaintrules(client),
1519
+ resourceclaims: resourceApiV1alpha3Resourceclaims(client),
1520
+ resourceclaimtemplates: resourceApiV1alpha3Resourceclaimtemplates(client),
1521
+ resourceslices: resourceApiV1alpha3Resourceslices(client)
1522
+ },
1523
+ v1beta1: {
1524
+ deviceclasses: resourceApiV1beta1Deviceclasses(client),
1525
+ resourceclaims: resourceApiV1beta1Resourceclaims(client),
1526
+ resourceclaimtemplates: resourceApiV1beta1Resourceclaimtemplates(client),
1527
+ resourceslices: resourceApiV1beta1Resourceslices(client)
1528
+ },
1529
+ v1beta2: {
1530
+ deviceclasses: resourceApiV1beta2Deviceclasses(client),
1531
+ resourceclaims: resourceApiV1beta2Resourceclaims(client),
1532
+ resourceclaimtemplates: resourceApiV1beta2Resourceclaimtemplates(client),
1533
+ resourceslices: resourceApiV1beta2Resourceslices(client)
1534
+ }
1535
+ },
1536
+ scheduling: {
1537
+ v1: {
1538
+ priorityclasses: priorityclasses(client)
1539
+ }
1540
+ },
1541
+ storage: {
1542
+ v1: {
1543
+ csidrivers: csidrivers(client),
1544
+ csinodes: csinodes(client),
1545
+ csistoragecapacities: csistoragecapacities(client),
1546
+ storageclasses: storageclasses(client),
1547
+ volumeattachments: volumeattachments(client)
1548
+ },
1549
+ v1alpha1: {
1550
+ volumeattributesclasses: storageV1alpha1Volumeattributesclasses(client)
1551
+ },
1552
+ v1beta1: {
1553
+ volumeattributesclasses: storageV1beta1Volumeattributesclasses(client)
1554
+ }
1555
+ },
1556
+ storagemigration: {
1557
+ v1alpha1: {
1558
+ storageversionmigrations: storageversionmigrations(client)
1559
+ }
1560
+ },
1561
+ resource: createDynamicResourceFactory(client)
1562
+ };
1563
+ }
1564
+ function createDynamicResourceFactory(client) {
1565
+ function resource(options) {
1566
+ return (0, import_runtime2.createResourceClient)(
1567
+ client,
1568
+ {
1569
+ apiVersion: options.apiVersion,
1570
+ plural: options.plural,
1571
+ namespaced: options.namespaced
1572
+ },
1573
+ options.schema,
1574
+ options.listSchema,
1575
+ void 0,
1576
+ kubernetesQueryMapper
1577
+ );
1578
+ }
1579
+ return resource;
1580
+ }
1581
+ // Annotate the CommonJS export names for ESM import in node:
1582
+ 0 && (module.exports = {
1583
+ admissionregistrationV1Validatingadmissionpolicies,
1584
+ admissionregistrationV1Validatingadmissionpolicybindings,
1585
+ admissionregistrationV1beta1Validatingadmissionpolicies,
1586
+ admissionregistrationV1beta1Validatingadmissionpolicybindings,
1587
+ apiservices,
1588
+ autoscalingV1Horizontalpodautoscalers,
1589
+ autoscalingV2Horizontalpodautoscalers,
1590
+ certificatesV1alpha1Clustertrustbundles,
1591
+ certificatesV1beta1Clustertrustbundles,
1592
+ certificatesigningrequests,
1593
+ clusterrolebindings,
1594
+ clusterroles,
1595
+ componentstatuses,
1596
+ configmaps,
1597
+ controllerrevisions,
1598
+ coordinationV1alpha2Leasecandidates,
1599
+ coordinationV1beta1Leasecandidates,
1600
+ coreV1Events,
1601
+ createKubernetesClient,
1602
+ createKubernetesClientFromRuntime,
1603
+ cronjobs,
1604
+ csidrivers,
1605
+ csinodes,
1606
+ csistoragecapacities,
1607
+ customresourcedefinitions,
1608
+ daemonsets,
1609
+ deployments,
1610
+ devicetaintrules,
1611
+ endpoints,
1612
+ endpointslices,
1613
+ eventsV1Events,
1614
+ flowschemas,
1615
+ ingressclasses,
1616
+ ingresses,
1617
+ jobs,
1618
+ leases,
1619
+ limitranges,
1620
+ mutatingadmissionpolicies,
1621
+ mutatingadmissionpolicybindings,
1622
+ mutatingwebhookconfigurations,
1623
+ namespaces,
1624
+ networkingV1Ipaddresses,
1625
+ networkingV1Servicecidrs,
1626
+ networkingV1beta1Ipaddresses,
1627
+ networkingV1beta1Servicecidrs,
1628
+ networkpolicies,
1629
+ nodes,
1630
+ persistentvolumeclaims,
1631
+ persistentvolumes,
1632
+ poddisruptionbudgets,
1633
+ pods,
1634
+ podtemplates,
1635
+ priorityclasses,
1636
+ prioritylevelconfigurations,
1637
+ replicasets,
1638
+ replicationcontrollers,
1639
+ resourceApiV1alpha3Deviceclasses,
1640
+ resourceApiV1alpha3Resourceclaims,
1641
+ resourceApiV1alpha3Resourceclaimtemplates,
1642
+ resourceApiV1alpha3Resourceslices,
1643
+ resourceApiV1beta1Deviceclasses,
1644
+ resourceApiV1beta1Resourceclaims,
1645
+ resourceApiV1beta1Resourceclaimtemplates,
1646
+ resourceApiV1beta1Resourceslices,
1647
+ resourceApiV1beta2Deviceclasses,
1648
+ resourceApiV1beta2Resourceclaims,
1649
+ resourceApiV1beta2Resourceclaimtemplates,
1650
+ resourceApiV1beta2Resourceslices,
1651
+ resourcequotas,
1652
+ rolebindings,
1653
+ roles,
1654
+ runtimeclasses,
1655
+ secrets,
1656
+ serviceaccounts,
1657
+ services,
1658
+ statefulsets,
1659
+ storageV1alpha1Volumeattributesclasses,
1660
+ storageV1beta1Volumeattributesclasses,
1661
+ storageclasses,
1662
+ storageversionmigrations,
1663
+ storageversions,
1664
+ validatingwebhookconfigurations,
1665
+ volumeattachments
1666
+ });
1667
+ //# sourceMappingURL=index.cjs.map