@distilled.cloud/kubernetes 0.10.2 → 0.12.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 (118) hide show
  1. package/lib/client/api.d.ts +4 -4
  2. package/lib/client/api.d.ts.map +1 -1
  3. package/lib/services/admissionregistration.d.ts +6364 -97
  4. package/lib/services/admissionregistration.d.ts.map +1 -1
  5. package/lib/services/admissionregistration.js +54 -0
  6. package/lib/services/admissionregistration.js.map +1 -1
  7. package/lib/services/apiextensions.d.ts +1582 -14
  8. package/lib/services/apiextensions.d.ts.map +1 -1
  9. package/lib/services/apiextensions.js +9 -0
  10. package/lib/services/apiextensions.js.map +1 -1
  11. package/lib/services/apiregistration.d.ts +630 -14
  12. package/lib/services/apiregistration.d.ts.map +1 -1
  13. package/lib/services/apiregistration.js +9 -0
  14. package/lib/services/apiregistration.js.map +1 -1
  15. package/lib/services/apps.d.ts +58511 -78
  16. package/lib/services/apps.d.ts.map +1 -1
  17. package/lib/services/apps.js +47 -0
  18. package/lib/services/apps.js.map +1 -1
  19. package/lib/services/authentication.d.ts +143 -4
  20. package/lib/services/authentication.d.ts.map +1 -1
  21. package/lib/services/authentication.js +3 -0
  22. package/lib/services/authentication.js.map +1 -1
  23. package/lib/services/authorization.d.ts +336 -6
  24. package/lib/services/authorization.d.ts.map +1 -1
  25. package/lib/services/authorization.js +5 -0
  26. package/lib/services/authorization.js.map +1 -1
  27. package/lib/services/autoscaling.d.ts +3127 -31
  28. package/lib/services/autoscaling.d.ts.map +1 -1
  29. package/lib/services/autoscaling.js +17 -0
  30. package/lib/services/autoscaling.js.map +1 -1
  31. package/lib/services/batch.d.ts +28710 -30
  32. package/lib/services/batch.d.ts.map +1 -1
  33. package/lib/services/batch.js +17 -0
  34. package/lib/services/batch.js.map +1 -1
  35. package/lib/services/certificates.d.ts +2236 -51
  36. package/lib/services/certificates.d.ts.map +1 -1
  37. package/lib/services/certificates.js +30 -0
  38. package/lib/services/certificates.js.map +1 -1
  39. package/lib/services/coordination.d.ts +1267 -37
  40. package/lib/services/coordination.d.ts.map +1 -1
  41. package/lib/services/coordination.js +16 -0
  42. package/lib/services/coordination.js.map +1 -1
  43. package/lib/services/core.d.ts +64516 -243
  44. package/lib/services/core.d.ts.map +1 -1
  45. package/lib/services/core.js +116 -0
  46. package/lib/services/core.js.map +1 -1
  47. package/lib/services/discovery.d.ts +613 -13
  48. package/lib/services/discovery.d.ts.map +1 -1
  49. package/lib/services/discovery.js +6 -0
  50. package/lib/services/discovery.js.map +1 -1
  51. package/lib/services/events.d.ts +601 -13
  52. package/lib/services/events.d.ts.map +1 -1
  53. package/lib/services/events.js +6 -0
  54. package/lib/services/events.js.map +1 -1
  55. package/lib/services/flowcontrol-apiserver.d.ts +1456 -26
  56. package/lib/services/flowcontrol-apiserver.d.ts.map +1 -1
  57. package/lib/services/flowcontrol-apiserver.js +17 -0
  58. package/lib/services/flowcontrol-apiserver.js.map +1 -1
  59. package/lib/services/internal-apiserver.d.ts +598 -14
  60. package/lib/services/internal-apiserver.d.ts.map +1 -1
  61. package/lib/services/internal-apiserver.js +9 -0
  62. package/lib/services/internal-apiserver.js.map +1 -1
  63. package/lib/services/networking.d.ts +3914 -79
  64. package/lib/services/networking.d.ts.map +1 -1
  65. package/lib/services/networking.js +45 -0
  66. package/lib/services/networking.js.map +1 -1
  67. package/lib/services/node.d.ts +418 -11
  68. package/lib/services/node.d.ts.map +1 -1
  69. package/lib/services/node.js +6 -0
  70. package/lib/services/node.js.map +1 -1
  71. package/lib/services/policy.d.ts +808 -16
  72. package/lib/services/policy.d.ts.map +1 -1
  73. package/lib/services/policy.js +9 -0
  74. package/lib/services/policy.js.map +1 -1
  75. package/lib/services/rbac-authorization.d.ts +1576 -42
  76. package/lib/services/rbac-authorization.d.ts.map +1 -1
  77. package/lib/services/rbac-authorization.js +21 -0
  78. package/lib/services/rbac-authorization.js.map +1 -1
  79. package/lib/services/resource.d.ts +14825 -170
  80. package/lib/services/resource.d.ts.map +1 -1
  81. package/lib/services/resource.js +86 -0
  82. package/lib/services/resource.js.map +1 -1
  83. package/lib/services/scheduling.d.ts +1732 -37
  84. package/lib/services/scheduling.d.ts.map +1 -1
  85. package/lib/services/scheduling.js +19 -0
  86. package/lib/services/scheduling.js.map +1 -1
  87. package/lib/services/storage.d.ts +5034 -71
  88. package/lib/services/storage.d.ts.map +1 -1
  89. package/lib/services/storage.js +39 -0
  90. package/lib/services/storage.js.map +1 -1
  91. package/lib/services/storagemigration.d.ts +590 -14
  92. package/lib/services/storagemigration.d.ts.map +1 -1
  93. package/lib/services/storagemigration.js +9 -0
  94. package/lib/services/storagemigration.js.map +1 -1
  95. package/package.json +3 -2
  96. package/src/services/admissionregistration.ts +54 -0
  97. package/src/services/apiextensions.ts +9 -0
  98. package/src/services/apiregistration.ts +9 -0
  99. package/src/services/apps.ts +47 -0
  100. package/src/services/authentication.ts +3 -0
  101. package/src/services/authorization.ts +5 -0
  102. package/src/services/autoscaling.ts +17 -0
  103. package/src/services/batch.ts +17 -0
  104. package/src/services/certificates.ts +30 -0
  105. package/src/services/coordination.ts +16 -0
  106. package/src/services/core.ts +116 -0
  107. package/src/services/discovery.ts +6 -0
  108. package/src/services/events.ts +6 -0
  109. package/src/services/flowcontrol-apiserver.ts +17 -0
  110. package/src/services/internal-apiserver.ts +9 -0
  111. package/src/services/networking.ts +45 -0
  112. package/src/services/node.ts +6 -0
  113. package/src/services/policy.ts +9 -0
  114. package/src/services/rbac-authorization.ts +21 -0
  115. package/src/services/resource.ts +86 -0
  116. package/src/services/scheduling.ts +19 -0
  117. package/src/services/storage.ts +39 -0
  118. package/src/services/storagemigration.ts +9 -0
@@ -5,6 +5,8 @@
5
5
  * DO NOT EDIT - regenerate with: bun run generate
6
6
  */
7
7
  import * as Schema from "effect/Schema";
8
+ import * as API from "../client/api.ts";
9
+ import { Conflict, NotFound, UnprocessableEntity } from "../errors.ts";
8
10
  export declare const CreateCoordinationV1NamespacedLeaseInput: Schema.Struct<{
9
11
  readonly dryRun: Schema.optional<Schema.String>;
10
12
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -62,7 +64,58 @@ export type CreateCoordinationV1NamespacedLeaseOutput = typeof CreateCoordinatio
62
64
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
63
65
  * @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
64
66
  */
65
- export declare const createCoordinationV1NamespacedLease: any;
67
+ export declare const createCoordinationV1NamespacedLease: API.OperationMethod<{
68
+ readonly dryRun?: string | undefined;
69
+ readonly fieldValidation?: string | undefined;
70
+ }, {
71
+ readonly apiVersion?: string | undefined;
72
+ readonly kind?: string | undefined;
73
+ readonly metadata?: {
74
+ readonly annotations?: {
75
+ readonly [x: string]: string;
76
+ } | undefined;
77
+ readonly creationTimestamp?: string | undefined;
78
+ readonly deletionGracePeriodSeconds?: number | undefined;
79
+ readonly deletionTimestamp?: string | undefined;
80
+ readonly finalizers?: readonly string[] | undefined;
81
+ readonly generateName?: string | undefined;
82
+ readonly generation?: number | undefined;
83
+ readonly labels?: {
84
+ readonly [x: string]: string;
85
+ } | undefined;
86
+ readonly managedFields?: readonly {
87
+ readonly apiVersion?: string | undefined;
88
+ readonly fieldsType?: string | undefined;
89
+ readonly fieldsV1?: unknown;
90
+ readonly manager?: string | undefined;
91
+ readonly operation?: string | undefined;
92
+ readonly subresource?: string | undefined;
93
+ readonly time?: string | undefined;
94
+ }[] | undefined;
95
+ readonly name?: string | undefined;
96
+ readonly namespace?: string | undefined;
97
+ readonly ownerReferences?: readonly {
98
+ readonly apiVersion: string;
99
+ readonly blockOwnerDeletion?: boolean | undefined;
100
+ readonly controller?: boolean | undefined;
101
+ readonly kind: string;
102
+ readonly name: string;
103
+ readonly uid: string;
104
+ }[] | undefined;
105
+ readonly resourceVersion?: string | undefined;
106
+ readonly selfLink?: string | undefined;
107
+ readonly uid?: string | undefined;
108
+ } | undefined;
109
+ readonly spec?: {
110
+ readonly acquireTime?: string | undefined;
111
+ readonly holderIdentity?: string | undefined;
112
+ readonly leaseDurationSeconds?: number | undefined;
113
+ readonly leaseTransitions?: number | undefined;
114
+ readonly preferredHolder?: string | undefined;
115
+ readonly renewTime?: string | undefined;
116
+ readonly strategy?: string | undefined;
117
+ } | undefined;
118
+ }, Conflict | UnprocessableEntity, any>;
66
119
  export declare const CreateCoordinationV1alpha2NamespacedLeaseCandidateInput: Schema.Struct<{
67
120
  readonly dryRun: Schema.optional<Schema.String>;
68
121
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -119,7 +172,57 @@ export type CreateCoordinationV1alpha2NamespacedLeaseCandidateOutput = typeof Cr
119
172
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
120
173
  * @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
121
174
  */
122
- export declare const createCoordinationV1alpha2NamespacedLeaseCandidate: any;
175
+ export declare const createCoordinationV1alpha2NamespacedLeaseCandidate: API.OperationMethod<{
176
+ readonly dryRun?: string | undefined;
177
+ readonly fieldValidation?: string | undefined;
178
+ }, {
179
+ readonly apiVersion?: string | undefined;
180
+ readonly kind?: string | undefined;
181
+ readonly metadata?: {
182
+ readonly annotations?: {
183
+ readonly [x: string]: string;
184
+ } | undefined;
185
+ readonly creationTimestamp?: string | undefined;
186
+ readonly deletionGracePeriodSeconds?: number | undefined;
187
+ readonly deletionTimestamp?: string | undefined;
188
+ readonly finalizers?: readonly string[] | undefined;
189
+ readonly generateName?: string | undefined;
190
+ readonly generation?: number | undefined;
191
+ readonly labels?: {
192
+ readonly [x: string]: string;
193
+ } | undefined;
194
+ readonly managedFields?: readonly {
195
+ readonly apiVersion?: string | undefined;
196
+ readonly fieldsType?: string | undefined;
197
+ readonly fieldsV1?: unknown;
198
+ readonly manager?: string | undefined;
199
+ readonly operation?: string | undefined;
200
+ readonly subresource?: string | undefined;
201
+ readonly time?: string | undefined;
202
+ }[] | undefined;
203
+ readonly name?: string | undefined;
204
+ readonly namespace?: string | undefined;
205
+ readonly ownerReferences?: readonly {
206
+ readonly apiVersion: string;
207
+ readonly blockOwnerDeletion?: boolean | undefined;
208
+ readonly controller?: boolean | undefined;
209
+ readonly kind: string;
210
+ readonly name: string;
211
+ readonly uid: string;
212
+ }[] | undefined;
213
+ readonly resourceVersion?: string | undefined;
214
+ readonly selfLink?: string | undefined;
215
+ readonly uid?: string | undefined;
216
+ } | undefined;
217
+ readonly spec: {
218
+ readonly binaryVersion: string;
219
+ readonly emulationVersion?: string | undefined;
220
+ readonly leaseName: string;
221
+ readonly pingTime?: string | undefined;
222
+ readonly renewTime?: string | undefined;
223
+ readonly strategy: string;
224
+ };
225
+ }, Conflict | UnprocessableEntity, any>;
123
226
  export declare const CreateCoordinationV1beta1NamespacedLeaseCandidateInput: Schema.Struct<{
124
227
  readonly dryRun: Schema.optional<Schema.String>;
125
228
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -176,7 +279,57 @@ export type CreateCoordinationV1beta1NamespacedLeaseCandidateOutput = typeof Cre
176
279
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
177
280
  * @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
178
281
  */
179
- export declare const createCoordinationV1beta1NamespacedLeaseCandidate: any;
282
+ export declare const createCoordinationV1beta1NamespacedLeaseCandidate: API.OperationMethod<{
283
+ readonly dryRun?: string | undefined;
284
+ readonly fieldValidation?: string | undefined;
285
+ }, {
286
+ readonly apiVersion?: string | undefined;
287
+ readonly kind?: string | undefined;
288
+ readonly metadata?: {
289
+ readonly annotations?: {
290
+ readonly [x: string]: string;
291
+ } | undefined;
292
+ readonly creationTimestamp?: string | undefined;
293
+ readonly deletionGracePeriodSeconds?: number | undefined;
294
+ readonly deletionTimestamp?: string | undefined;
295
+ readonly finalizers?: readonly string[] | undefined;
296
+ readonly generateName?: string | undefined;
297
+ readonly generation?: number | undefined;
298
+ readonly labels?: {
299
+ readonly [x: string]: string;
300
+ } | undefined;
301
+ readonly managedFields?: readonly {
302
+ readonly apiVersion?: string | undefined;
303
+ readonly fieldsType?: string | undefined;
304
+ readonly fieldsV1?: unknown;
305
+ readonly manager?: string | undefined;
306
+ readonly operation?: string | undefined;
307
+ readonly subresource?: string | undefined;
308
+ readonly time?: string | undefined;
309
+ }[] | undefined;
310
+ readonly name?: string | undefined;
311
+ readonly namespace?: string | undefined;
312
+ readonly ownerReferences?: readonly {
313
+ readonly apiVersion: string;
314
+ readonly blockOwnerDeletion?: boolean | undefined;
315
+ readonly controller?: boolean | undefined;
316
+ readonly kind: string;
317
+ readonly name: string;
318
+ readonly uid: string;
319
+ }[] | undefined;
320
+ readonly resourceVersion?: string | undefined;
321
+ readonly selfLink?: string | undefined;
322
+ readonly uid?: string | undefined;
323
+ } | undefined;
324
+ readonly spec: {
325
+ readonly binaryVersion: string;
326
+ readonly emulationVersion?: string | undefined;
327
+ readonly leaseName: string;
328
+ readonly pingTime?: string | undefined;
329
+ readonly renewTime?: string | undefined;
330
+ readonly strategy: string;
331
+ };
332
+ }, Conflict | UnprocessableEntity, any>;
180
333
  export declare const DeleteCoordinationV1CollectionNamespacedLeaseInput: Schema.Struct<{
181
334
  readonly dryRun: Schema.optional<Schema.String>;
182
335
  }>;
@@ -216,7 +369,37 @@ export type DeleteCoordinationV1CollectionNamespacedLeaseOutput = typeof DeleteC
216
369
  *
217
370
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
218
371
  */
219
- export declare const deleteCoordinationV1CollectionNamespacedLease: any;
372
+ export declare const deleteCoordinationV1CollectionNamespacedLease: API.OperationMethod<{
373
+ readonly dryRun?: string | undefined;
374
+ }, {
375
+ readonly apiVersion?: string | undefined;
376
+ readonly code?: number | undefined;
377
+ readonly details?: {
378
+ readonly causes?: readonly {
379
+ readonly field?: string | undefined;
380
+ readonly message?: string | undefined;
381
+ readonly reason?: string | undefined;
382
+ }[] | undefined;
383
+ readonly group?: string | undefined;
384
+ readonly kind?: string | undefined;
385
+ readonly name?: string | undefined;
386
+ readonly retryAfterSeconds?: number | undefined;
387
+ readonly uid?: string | undefined;
388
+ } | undefined;
389
+ readonly kind?: string | undefined;
390
+ readonly message?: string | undefined;
391
+ readonly metadata?: {
392
+ readonly continue?: string | undefined;
393
+ readonly remainingItemCount?: number | undefined;
394
+ readonly resourceVersion?: string | undefined;
395
+ readonly selfLink?: string | undefined;
396
+ readonly shardInfo?: {
397
+ readonly selector: string;
398
+ } | undefined;
399
+ } | undefined;
400
+ readonly reason?: string | undefined;
401
+ readonly status?: string | undefined;
402
+ }, never, any>;
220
403
  export declare const DeleteCoordinationV1NamespacedLeaseInput: Schema.Struct<{
221
404
  readonly dryRun: Schema.optional<Schema.String>;
222
405
  }>;
@@ -256,7 +439,37 @@ export type DeleteCoordinationV1NamespacedLeaseOutput = typeof DeleteCoordinatio
256
439
  *
257
440
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
258
441
  */
259
- export declare const deleteCoordinationV1NamespacedLease: any;
442
+ export declare const deleteCoordinationV1NamespacedLease: API.OperationMethod<{
443
+ readonly dryRun?: string | undefined;
444
+ }, {
445
+ readonly apiVersion?: string | undefined;
446
+ readonly code?: number | undefined;
447
+ readonly details?: {
448
+ readonly causes?: readonly {
449
+ readonly field?: string | undefined;
450
+ readonly message?: string | undefined;
451
+ readonly reason?: string | undefined;
452
+ }[] | undefined;
453
+ readonly group?: string | undefined;
454
+ readonly kind?: string | undefined;
455
+ readonly name?: string | undefined;
456
+ readonly retryAfterSeconds?: number | undefined;
457
+ readonly uid?: string | undefined;
458
+ } | undefined;
459
+ readonly kind?: string | undefined;
460
+ readonly message?: string | undefined;
461
+ readonly metadata?: {
462
+ readonly continue?: string | undefined;
463
+ readonly remainingItemCount?: number | undefined;
464
+ readonly resourceVersion?: string | undefined;
465
+ readonly selfLink?: string | undefined;
466
+ readonly shardInfo?: {
467
+ readonly selector: string;
468
+ } | undefined;
469
+ } | undefined;
470
+ readonly reason?: string | undefined;
471
+ readonly status?: string | undefined;
472
+ }, Conflict | NotFound, any>;
260
473
  export declare const DeleteCoordinationV1alpha2CollectionNamespacedLeaseCandidateInput: Schema.Struct<{
261
474
  readonly dryRun: Schema.optional<Schema.String>;
262
475
  }>;
@@ -296,7 +509,37 @@ export type DeleteCoordinationV1alpha2CollectionNamespacedLeaseCandidateOutput =
296
509
  *
297
510
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
298
511
  */
299
- export declare const deleteCoordinationV1alpha2CollectionNamespacedLeaseCandidate: any;
512
+ export declare const deleteCoordinationV1alpha2CollectionNamespacedLeaseCandidate: API.OperationMethod<{
513
+ readonly dryRun?: string | undefined;
514
+ }, {
515
+ readonly apiVersion?: string | undefined;
516
+ readonly code?: number | undefined;
517
+ readonly details?: {
518
+ readonly causes?: readonly {
519
+ readonly field?: string | undefined;
520
+ readonly message?: string | undefined;
521
+ readonly reason?: string | undefined;
522
+ }[] | undefined;
523
+ readonly group?: string | undefined;
524
+ readonly kind?: string | undefined;
525
+ readonly name?: string | undefined;
526
+ readonly retryAfterSeconds?: number | undefined;
527
+ readonly uid?: string | undefined;
528
+ } | undefined;
529
+ readonly kind?: string | undefined;
530
+ readonly message?: string | undefined;
531
+ readonly metadata?: {
532
+ readonly continue?: string | undefined;
533
+ readonly remainingItemCount?: number | undefined;
534
+ readonly resourceVersion?: string | undefined;
535
+ readonly selfLink?: string | undefined;
536
+ readonly shardInfo?: {
537
+ readonly selector: string;
538
+ } | undefined;
539
+ } | undefined;
540
+ readonly reason?: string | undefined;
541
+ readonly status?: string | undefined;
542
+ }, never, any>;
300
543
  export declare const DeleteCoordinationV1alpha2NamespacedLeaseCandidateInput: Schema.Struct<{
301
544
  readonly dryRun: Schema.optional<Schema.String>;
302
545
  }>;
@@ -336,7 +579,37 @@ export type DeleteCoordinationV1alpha2NamespacedLeaseCandidateOutput = typeof De
336
579
  *
337
580
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
338
581
  */
339
- export declare const deleteCoordinationV1alpha2NamespacedLeaseCandidate: any;
582
+ export declare const deleteCoordinationV1alpha2NamespacedLeaseCandidate: API.OperationMethod<{
583
+ readonly dryRun?: string | undefined;
584
+ }, {
585
+ readonly apiVersion?: string | undefined;
586
+ readonly code?: number | undefined;
587
+ readonly details?: {
588
+ readonly causes?: readonly {
589
+ readonly field?: string | undefined;
590
+ readonly message?: string | undefined;
591
+ readonly reason?: string | undefined;
592
+ }[] | undefined;
593
+ readonly group?: string | undefined;
594
+ readonly kind?: string | undefined;
595
+ readonly name?: string | undefined;
596
+ readonly retryAfterSeconds?: number | undefined;
597
+ readonly uid?: string | undefined;
598
+ } | undefined;
599
+ readonly kind?: string | undefined;
600
+ readonly message?: string | undefined;
601
+ readonly metadata?: {
602
+ readonly continue?: string | undefined;
603
+ readonly remainingItemCount?: number | undefined;
604
+ readonly resourceVersion?: string | undefined;
605
+ readonly selfLink?: string | undefined;
606
+ readonly shardInfo?: {
607
+ readonly selector: string;
608
+ } | undefined;
609
+ } | undefined;
610
+ readonly reason?: string | undefined;
611
+ readonly status?: string | undefined;
612
+ }, Conflict | NotFound, any>;
340
613
  export declare const DeleteCoordinationV1beta1CollectionNamespacedLeaseCandidateInput: Schema.Struct<{
341
614
  readonly dryRun: Schema.optional<Schema.String>;
342
615
  }>;
@@ -376,7 +649,37 @@ export type DeleteCoordinationV1beta1CollectionNamespacedLeaseCandidateOutput =
376
649
  *
377
650
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
378
651
  */
379
- export declare const deleteCoordinationV1beta1CollectionNamespacedLeaseCandidate: any;
652
+ export declare const deleteCoordinationV1beta1CollectionNamespacedLeaseCandidate: API.OperationMethod<{
653
+ readonly dryRun?: string | undefined;
654
+ }, {
655
+ readonly apiVersion?: string | undefined;
656
+ readonly code?: number | undefined;
657
+ readonly details?: {
658
+ readonly causes?: readonly {
659
+ readonly field?: string | undefined;
660
+ readonly message?: string | undefined;
661
+ readonly reason?: string | undefined;
662
+ }[] | undefined;
663
+ readonly group?: string | undefined;
664
+ readonly kind?: string | undefined;
665
+ readonly name?: string | undefined;
666
+ readonly retryAfterSeconds?: number | undefined;
667
+ readonly uid?: string | undefined;
668
+ } | undefined;
669
+ readonly kind?: string | undefined;
670
+ readonly message?: string | undefined;
671
+ readonly metadata?: {
672
+ readonly continue?: string | undefined;
673
+ readonly remainingItemCount?: number | undefined;
674
+ readonly resourceVersion?: string | undefined;
675
+ readonly selfLink?: string | undefined;
676
+ readonly shardInfo?: {
677
+ readonly selector: string;
678
+ } | undefined;
679
+ } | undefined;
680
+ readonly reason?: string | undefined;
681
+ readonly status?: string | undefined;
682
+ }, never, any>;
380
683
  export declare const DeleteCoordinationV1beta1NamespacedLeaseCandidateInput: Schema.Struct<{
381
684
  readonly dryRun: Schema.optional<Schema.String>;
382
685
  }>;
@@ -416,7 +719,37 @@ export type DeleteCoordinationV1beta1NamespacedLeaseCandidateOutput = typeof Del
416
719
  *
417
720
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
418
721
  */
419
- export declare const deleteCoordinationV1beta1NamespacedLeaseCandidate: any;
722
+ export declare const deleteCoordinationV1beta1NamespacedLeaseCandidate: API.OperationMethod<{
723
+ readonly dryRun?: string | undefined;
724
+ }, {
725
+ readonly apiVersion?: string | undefined;
726
+ readonly code?: number | undefined;
727
+ readonly details?: {
728
+ readonly causes?: readonly {
729
+ readonly field?: string | undefined;
730
+ readonly message?: string | undefined;
731
+ readonly reason?: string | undefined;
732
+ }[] | undefined;
733
+ readonly group?: string | undefined;
734
+ readonly kind?: string | undefined;
735
+ readonly name?: string | undefined;
736
+ readonly retryAfterSeconds?: number | undefined;
737
+ readonly uid?: string | undefined;
738
+ } | undefined;
739
+ readonly kind?: string | undefined;
740
+ readonly message?: string | undefined;
741
+ readonly metadata?: {
742
+ readonly continue?: string | undefined;
743
+ readonly remainingItemCount?: number | undefined;
744
+ readonly resourceVersion?: string | undefined;
745
+ readonly selfLink?: string | undefined;
746
+ readonly shardInfo?: {
747
+ readonly selector: string;
748
+ } | undefined;
749
+ } | undefined;
750
+ readonly reason?: string | undefined;
751
+ readonly status?: string | undefined;
752
+ }, Conflict | NotFound, any>;
420
753
  export declare const GetCoordinationAPIGroupInput: Schema.Struct<{}>;
421
754
  export type GetCoordinationAPIGroupInput = typeof GetCoordinationAPIGroupInput.Type;
422
755
  export declare const GetCoordinationAPIGroupOutput: Schema.Struct<{
@@ -440,7 +773,23 @@ export type GetCoordinationAPIGroupOutput = typeof GetCoordinationAPIGroupOutput
440
773
  /**
441
774
  * get information of a group
442
775
  */
443
- export declare const getCoordinationAPIGroup: any;
776
+ export declare const getCoordinationAPIGroup: API.OperationMethod<{}, {
777
+ readonly apiVersion?: string | undefined;
778
+ readonly kind?: string | undefined;
779
+ readonly name: string;
780
+ readonly preferredVersion?: {
781
+ readonly groupVersion: string;
782
+ readonly version: string;
783
+ } | undefined;
784
+ readonly serverAddressByClientCIDRs?: readonly {
785
+ readonly clientCIDR: string;
786
+ readonly serverAddress: string;
787
+ }[] | undefined;
788
+ readonly versions: readonly {
789
+ readonly groupVersion: string;
790
+ readonly version: string;
791
+ }[];
792
+ }, never, any>;
444
793
  export declare const GetCoordinationV1APIResourcesInput: Schema.Struct<{}>;
445
794
  export type GetCoordinationV1APIResourcesInput = typeof GetCoordinationV1APIResourcesInput.Type;
446
795
  export declare const GetCoordinationV1APIResourcesOutput: Schema.Struct<{
@@ -464,7 +813,23 @@ export type GetCoordinationV1APIResourcesOutput = typeof GetCoordinationV1APIRes
464
813
  /**
465
814
  * get available resources
466
815
  */
467
- export declare const getCoordinationV1APIResources: any;
816
+ export declare const getCoordinationV1APIResources: API.OperationMethod<{}, {
817
+ readonly apiVersion?: string | undefined;
818
+ readonly groupVersion: string;
819
+ readonly kind?: string | undefined;
820
+ readonly resources: readonly {
821
+ readonly categories?: readonly string[] | undefined;
822
+ readonly group?: string | undefined;
823
+ readonly kind: string;
824
+ readonly name: string;
825
+ readonly namespaced: boolean;
826
+ readonly shortNames?: readonly string[] | undefined;
827
+ readonly singularName: string;
828
+ readonly storageVersionHash?: string | undefined;
829
+ readonly verbs: readonly string[];
830
+ readonly version?: string | undefined;
831
+ }[];
832
+ }, never, any>;
468
833
  export declare const GetCoordinationV1alpha2APIResourcesInput: Schema.Struct<{}>;
469
834
  export type GetCoordinationV1alpha2APIResourcesInput = typeof GetCoordinationV1alpha2APIResourcesInput.Type;
470
835
  export declare const GetCoordinationV1alpha2APIResourcesOutput: Schema.Struct<{
@@ -488,7 +853,23 @@ export type GetCoordinationV1alpha2APIResourcesOutput = typeof GetCoordinationV1
488
853
  /**
489
854
  * get available resources
490
855
  */
491
- export declare const getCoordinationV1alpha2APIResources: any;
856
+ export declare const getCoordinationV1alpha2APIResources: API.OperationMethod<{}, {
857
+ readonly apiVersion?: string | undefined;
858
+ readonly groupVersion: string;
859
+ readonly kind?: string | undefined;
860
+ readonly resources: readonly {
861
+ readonly categories?: readonly string[] | undefined;
862
+ readonly group?: string | undefined;
863
+ readonly kind: string;
864
+ readonly name: string;
865
+ readonly namespaced: boolean;
866
+ readonly shortNames?: readonly string[] | undefined;
867
+ readonly singularName: string;
868
+ readonly storageVersionHash?: string | undefined;
869
+ readonly verbs: readonly string[];
870
+ readonly version?: string | undefined;
871
+ }[];
872
+ }, never, any>;
492
873
  export declare const GetCoordinationV1beta1APIResourcesInput: Schema.Struct<{}>;
493
874
  export type GetCoordinationV1beta1APIResourcesInput = typeof GetCoordinationV1beta1APIResourcesInput.Type;
494
875
  export declare const GetCoordinationV1beta1APIResourcesOutput: Schema.Struct<{
@@ -512,7 +893,23 @@ export type GetCoordinationV1beta1APIResourcesOutput = typeof GetCoordinationV1b
512
893
  /**
513
894
  * get available resources
514
895
  */
515
- export declare const getCoordinationV1beta1APIResources: any;
896
+ export declare const getCoordinationV1beta1APIResources: API.OperationMethod<{}, {
897
+ readonly apiVersion?: string | undefined;
898
+ readonly groupVersion: string;
899
+ readonly kind?: string | undefined;
900
+ readonly resources: readonly {
901
+ readonly categories?: readonly string[] | undefined;
902
+ readonly group?: string | undefined;
903
+ readonly kind: string;
904
+ readonly name: string;
905
+ readonly namespaced: boolean;
906
+ readonly shortNames?: readonly string[] | undefined;
907
+ readonly singularName: string;
908
+ readonly storageVersionHash?: string | undefined;
909
+ readonly verbs: readonly string[];
910
+ readonly version?: string | undefined;
911
+ }[];
912
+ }, never, any>;
516
913
  export declare const ListCoordinationV1LeaseForAllNamespacesInput: Schema.Struct<{}>;
517
914
  export type ListCoordinationV1LeaseForAllNamespacesInput = typeof ListCoordinationV1LeaseForAllNamespacesInput.Type;
518
915
  export declare const ListCoordinationV1LeaseForAllNamespacesOutput: Schema.Struct<{
@@ -577,7 +974,68 @@ export type ListCoordinationV1LeaseForAllNamespacesOutput = typeof ListCoordinat
577
974
  /**
578
975
  * list or watch objects of kind Lease
579
976
  */
580
- export declare const listCoordinationV1LeaseForAllNamespaces: any;
977
+ export declare const listCoordinationV1LeaseForAllNamespaces: API.OperationMethod<{}, {
978
+ readonly apiVersion?: string | undefined;
979
+ readonly items: readonly {
980
+ readonly apiVersion?: string | undefined;
981
+ readonly kind?: string | undefined;
982
+ readonly metadata?: {
983
+ readonly annotations?: {
984
+ readonly [x: string]: string;
985
+ } | undefined;
986
+ readonly creationTimestamp?: string | undefined;
987
+ readonly deletionGracePeriodSeconds?: number | undefined;
988
+ readonly deletionTimestamp?: string | undefined;
989
+ readonly finalizers?: readonly string[] | undefined;
990
+ readonly generateName?: string | undefined;
991
+ readonly generation?: number | undefined;
992
+ readonly labels?: {
993
+ readonly [x: string]: string;
994
+ } | undefined;
995
+ readonly managedFields?: readonly {
996
+ readonly apiVersion?: string | undefined;
997
+ readonly fieldsType?: string | undefined;
998
+ readonly fieldsV1?: unknown;
999
+ readonly manager?: string | undefined;
1000
+ readonly operation?: string | undefined;
1001
+ readonly subresource?: string | undefined;
1002
+ readonly time?: string | undefined;
1003
+ }[] | undefined;
1004
+ readonly name?: string | undefined;
1005
+ readonly namespace?: string | undefined;
1006
+ readonly ownerReferences?: readonly {
1007
+ readonly apiVersion: string;
1008
+ readonly blockOwnerDeletion?: boolean | undefined;
1009
+ readonly controller?: boolean | undefined;
1010
+ readonly kind: string;
1011
+ readonly name: string;
1012
+ readonly uid: string;
1013
+ }[] | undefined;
1014
+ readonly resourceVersion?: string | undefined;
1015
+ readonly selfLink?: string | undefined;
1016
+ readonly uid?: string | undefined;
1017
+ } | undefined;
1018
+ readonly spec?: {
1019
+ readonly acquireTime?: string | undefined;
1020
+ readonly holderIdentity?: string | undefined;
1021
+ readonly leaseDurationSeconds?: number | undefined;
1022
+ readonly leaseTransitions?: number | undefined;
1023
+ readonly preferredHolder?: string | undefined;
1024
+ readonly renewTime?: string | undefined;
1025
+ readonly strategy?: string | undefined;
1026
+ } | undefined;
1027
+ }[];
1028
+ readonly kind?: string | undefined;
1029
+ readonly metadata?: {
1030
+ readonly continue?: string | undefined;
1031
+ readonly remainingItemCount?: number | undefined;
1032
+ readonly resourceVersion?: string | undefined;
1033
+ readonly selfLink?: string | undefined;
1034
+ readonly shardInfo?: {
1035
+ readonly selector: string;
1036
+ } | undefined;
1037
+ } | undefined;
1038
+ }, never, any>;
581
1039
  export declare const ListCoordinationV1NamespacedLeaseInput: Schema.Struct<{}>;
582
1040
  export type ListCoordinationV1NamespacedLeaseInput = typeof ListCoordinationV1NamespacedLeaseInput.Type;
583
1041
  export declare const ListCoordinationV1NamespacedLeaseOutput: Schema.Struct<{
@@ -642,7 +1100,68 @@ export type ListCoordinationV1NamespacedLeaseOutput = typeof ListCoordinationV1N
642
1100
  /**
643
1101
  * list or watch objects of kind Lease
644
1102
  */
645
- export declare const listCoordinationV1NamespacedLease: any;
1103
+ export declare const listCoordinationV1NamespacedLease: API.OperationMethod<{}, {
1104
+ readonly apiVersion?: string | undefined;
1105
+ readonly items: readonly {
1106
+ readonly apiVersion?: string | undefined;
1107
+ readonly kind?: string | undefined;
1108
+ readonly metadata?: {
1109
+ readonly annotations?: {
1110
+ readonly [x: string]: string;
1111
+ } | undefined;
1112
+ readonly creationTimestamp?: string | undefined;
1113
+ readonly deletionGracePeriodSeconds?: number | undefined;
1114
+ readonly deletionTimestamp?: string | undefined;
1115
+ readonly finalizers?: readonly string[] | undefined;
1116
+ readonly generateName?: string | undefined;
1117
+ readonly generation?: number | undefined;
1118
+ readonly labels?: {
1119
+ readonly [x: string]: string;
1120
+ } | undefined;
1121
+ readonly managedFields?: readonly {
1122
+ readonly apiVersion?: string | undefined;
1123
+ readonly fieldsType?: string | undefined;
1124
+ readonly fieldsV1?: unknown;
1125
+ readonly manager?: string | undefined;
1126
+ readonly operation?: string | undefined;
1127
+ readonly subresource?: string | undefined;
1128
+ readonly time?: string | undefined;
1129
+ }[] | undefined;
1130
+ readonly name?: string | undefined;
1131
+ readonly namespace?: string | undefined;
1132
+ readonly ownerReferences?: readonly {
1133
+ readonly apiVersion: string;
1134
+ readonly blockOwnerDeletion?: boolean | undefined;
1135
+ readonly controller?: boolean | undefined;
1136
+ readonly kind: string;
1137
+ readonly name: string;
1138
+ readonly uid: string;
1139
+ }[] | undefined;
1140
+ readonly resourceVersion?: string | undefined;
1141
+ readonly selfLink?: string | undefined;
1142
+ readonly uid?: string | undefined;
1143
+ } | undefined;
1144
+ readonly spec?: {
1145
+ readonly acquireTime?: string | undefined;
1146
+ readonly holderIdentity?: string | undefined;
1147
+ readonly leaseDurationSeconds?: number | undefined;
1148
+ readonly leaseTransitions?: number | undefined;
1149
+ readonly preferredHolder?: string | undefined;
1150
+ readonly renewTime?: string | undefined;
1151
+ readonly strategy?: string | undefined;
1152
+ } | undefined;
1153
+ }[];
1154
+ readonly kind?: string | undefined;
1155
+ readonly metadata?: {
1156
+ readonly continue?: string | undefined;
1157
+ readonly remainingItemCount?: number | undefined;
1158
+ readonly resourceVersion?: string | undefined;
1159
+ readonly selfLink?: string | undefined;
1160
+ readonly shardInfo?: {
1161
+ readonly selector: string;
1162
+ } | undefined;
1163
+ } | undefined;
1164
+ }, never, any>;
646
1165
  export declare const ListCoordinationV1alpha2LeaseCandidateForAllNamespacesInput: Schema.Struct<{}>;
647
1166
  export type ListCoordinationV1alpha2LeaseCandidateForAllNamespacesInput = typeof ListCoordinationV1alpha2LeaseCandidateForAllNamespacesInput.Type;
648
1167
  export declare const ListCoordinationV1alpha2LeaseCandidateForAllNamespacesOutput: Schema.Struct<{
@@ -706,7 +1225,67 @@ export type ListCoordinationV1alpha2LeaseCandidateForAllNamespacesOutput = typeo
706
1225
  /**
707
1226
  * list or watch objects of kind LeaseCandidate
708
1227
  */
709
- export declare const listCoordinationV1alpha2LeaseCandidateForAllNamespaces: any;
1228
+ export declare const listCoordinationV1alpha2LeaseCandidateForAllNamespaces: API.OperationMethod<{}, {
1229
+ readonly apiVersion?: string | undefined;
1230
+ readonly items: readonly {
1231
+ readonly apiVersion?: string | undefined;
1232
+ readonly kind?: string | undefined;
1233
+ readonly metadata?: {
1234
+ readonly annotations?: {
1235
+ readonly [x: string]: string;
1236
+ } | undefined;
1237
+ readonly creationTimestamp?: string | undefined;
1238
+ readonly deletionGracePeriodSeconds?: number | undefined;
1239
+ readonly deletionTimestamp?: string | undefined;
1240
+ readonly finalizers?: readonly string[] | undefined;
1241
+ readonly generateName?: string | undefined;
1242
+ readonly generation?: number | undefined;
1243
+ readonly labels?: {
1244
+ readonly [x: string]: string;
1245
+ } | undefined;
1246
+ readonly managedFields?: readonly {
1247
+ readonly apiVersion?: string | undefined;
1248
+ readonly fieldsType?: string | undefined;
1249
+ readonly fieldsV1?: unknown;
1250
+ readonly manager?: string | undefined;
1251
+ readonly operation?: string | undefined;
1252
+ readonly subresource?: string | undefined;
1253
+ readonly time?: string | undefined;
1254
+ }[] | undefined;
1255
+ readonly name?: string | undefined;
1256
+ readonly namespace?: string | undefined;
1257
+ readonly ownerReferences?: readonly {
1258
+ readonly apiVersion: string;
1259
+ readonly blockOwnerDeletion?: boolean | undefined;
1260
+ readonly controller?: boolean | undefined;
1261
+ readonly kind: string;
1262
+ readonly name: string;
1263
+ readonly uid: string;
1264
+ }[] | undefined;
1265
+ readonly resourceVersion?: string | undefined;
1266
+ readonly selfLink?: string | undefined;
1267
+ readonly uid?: string | undefined;
1268
+ } | undefined;
1269
+ readonly spec: {
1270
+ readonly binaryVersion: string;
1271
+ readonly emulationVersion?: string | undefined;
1272
+ readonly leaseName: string;
1273
+ readonly pingTime?: string | undefined;
1274
+ readonly renewTime?: string | undefined;
1275
+ readonly strategy: string;
1276
+ };
1277
+ }[];
1278
+ readonly kind?: string | undefined;
1279
+ readonly metadata?: {
1280
+ readonly continue?: string | undefined;
1281
+ readonly remainingItemCount?: number | undefined;
1282
+ readonly resourceVersion?: string | undefined;
1283
+ readonly selfLink?: string | undefined;
1284
+ readonly shardInfo?: {
1285
+ readonly selector: string;
1286
+ } | undefined;
1287
+ } | undefined;
1288
+ }, never, any>;
710
1289
  export declare const ListCoordinationV1alpha2NamespacedLeaseCandidateInput: Schema.Struct<{}>;
711
1290
  export type ListCoordinationV1alpha2NamespacedLeaseCandidateInput = typeof ListCoordinationV1alpha2NamespacedLeaseCandidateInput.Type;
712
1291
  export declare const ListCoordinationV1alpha2NamespacedLeaseCandidateOutput: Schema.Struct<{
@@ -770,7 +1349,67 @@ export type ListCoordinationV1alpha2NamespacedLeaseCandidateOutput = typeof List
770
1349
  /**
771
1350
  * list or watch objects of kind LeaseCandidate
772
1351
  */
773
- export declare const listCoordinationV1alpha2NamespacedLeaseCandidate: any;
1352
+ export declare const listCoordinationV1alpha2NamespacedLeaseCandidate: API.OperationMethod<{}, {
1353
+ readonly apiVersion?: string | undefined;
1354
+ readonly items: readonly {
1355
+ readonly apiVersion?: string | undefined;
1356
+ readonly kind?: string | undefined;
1357
+ readonly metadata?: {
1358
+ readonly annotations?: {
1359
+ readonly [x: string]: string;
1360
+ } | undefined;
1361
+ readonly creationTimestamp?: string | undefined;
1362
+ readonly deletionGracePeriodSeconds?: number | undefined;
1363
+ readonly deletionTimestamp?: string | undefined;
1364
+ readonly finalizers?: readonly string[] | undefined;
1365
+ readonly generateName?: string | undefined;
1366
+ readonly generation?: number | undefined;
1367
+ readonly labels?: {
1368
+ readonly [x: string]: string;
1369
+ } | undefined;
1370
+ readonly managedFields?: readonly {
1371
+ readonly apiVersion?: string | undefined;
1372
+ readonly fieldsType?: string | undefined;
1373
+ readonly fieldsV1?: unknown;
1374
+ readonly manager?: string | undefined;
1375
+ readonly operation?: string | undefined;
1376
+ readonly subresource?: string | undefined;
1377
+ readonly time?: string | undefined;
1378
+ }[] | undefined;
1379
+ readonly name?: string | undefined;
1380
+ readonly namespace?: string | undefined;
1381
+ readonly ownerReferences?: readonly {
1382
+ readonly apiVersion: string;
1383
+ readonly blockOwnerDeletion?: boolean | undefined;
1384
+ readonly controller?: boolean | undefined;
1385
+ readonly kind: string;
1386
+ readonly name: string;
1387
+ readonly uid: string;
1388
+ }[] | undefined;
1389
+ readonly resourceVersion?: string | undefined;
1390
+ readonly selfLink?: string | undefined;
1391
+ readonly uid?: string | undefined;
1392
+ } | undefined;
1393
+ readonly spec: {
1394
+ readonly binaryVersion: string;
1395
+ readonly emulationVersion?: string | undefined;
1396
+ readonly leaseName: string;
1397
+ readonly pingTime?: string | undefined;
1398
+ readonly renewTime?: string | undefined;
1399
+ readonly strategy: string;
1400
+ };
1401
+ }[];
1402
+ readonly kind?: string | undefined;
1403
+ readonly metadata?: {
1404
+ readonly continue?: string | undefined;
1405
+ readonly remainingItemCount?: number | undefined;
1406
+ readonly resourceVersion?: string | undefined;
1407
+ readonly selfLink?: string | undefined;
1408
+ readonly shardInfo?: {
1409
+ readonly selector: string;
1410
+ } | undefined;
1411
+ } | undefined;
1412
+ }, never, any>;
774
1413
  export declare const ListCoordinationV1beta1LeaseCandidateForAllNamespacesInput: Schema.Struct<{}>;
775
1414
  export type ListCoordinationV1beta1LeaseCandidateForAllNamespacesInput = typeof ListCoordinationV1beta1LeaseCandidateForAllNamespacesInput.Type;
776
1415
  export declare const ListCoordinationV1beta1LeaseCandidateForAllNamespacesOutput: Schema.Struct<{
@@ -834,7 +1473,67 @@ export type ListCoordinationV1beta1LeaseCandidateForAllNamespacesOutput = typeof
834
1473
  /**
835
1474
  * list or watch objects of kind LeaseCandidate
836
1475
  */
837
- export declare const listCoordinationV1beta1LeaseCandidateForAllNamespaces: any;
1476
+ export declare const listCoordinationV1beta1LeaseCandidateForAllNamespaces: API.OperationMethod<{}, {
1477
+ readonly apiVersion?: string | undefined;
1478
+ readonly items: readonly {
1479
+ readonly apiVersion?: string | undefined;
1480
+ readonly kind?: string | undefined;
1481
+ readonly metadata?: {
1482
+ readonly annotations?: {
1483
+ readonly [x: string]: string;
1484
+ } | undefined;
1485
+ readonly creationTimestamp?: string | undefined;
1486
+ readonly deletionGracePeriodSeconds?: number | undefined;
1487
+ readonly deletionTimestamp?: string | undefined;
1488
+ readonly finalizers?: readonly string[] | undefined;
1489
+ readonly generateName?: string | undefined;
1490
+ readonly generation?: number | undefined;
1491
+ readonly labels?: {
1492
+ readonly [x: string]: string;
1493
+ } | undefined;
1494
+ readonly managedFields?: readonly {
1495
+ readonly apiVersion?: string | undefined;
1496
+ readonly fieldsType?: string | undefined;
1497
+ readonly fieldsV1?: unknown;
1498
+ readonly manager?: string | undefined;
1499
+ readonly operation?: string | undefined;
1500
+ readonly subresource?: string | undefined;
1501
+ readonly time?: string | undefined;
1502
+ }[] | undefined;
1503
+ readonly name?: string | undefined;
1504
+ readonly namespace?: string | undefined;
1505
+ readonly ownerReferences?: readonly {
1506
+ readonly apiVersion: string;
1507
+ readonly blockOwnerDeletion?: boolean | undefined;
1508
+ readonly controller?: boolean | undefined;
1509
+ readonly kind: string;
1510
+ readonly name: string;
1511
+ readonly uid: string;
1512
+ }[] | undefined;
1513
+ readonly resourceVersion?: string | undefined;
1514
+ readonly selfLink?: string | undefined;
1515
+ readonly uid?: string | undefined;
1516
+ } | undefined;
1517
+ readonly spec: {
1518
+ readonly binaryVersion: string;
1519
+ readonly emulationVersion?: string | undefined;
1520
+ readonly leaseName: string;
1521
+ readonly pingTime?: string | undefined;
1522
+ readonly renewTime?: string | undefined;
1523
+ readonly strategy: string;
1524
+ };
1525
+ }[];
1526
+ readonly kind?: string | undefined;
1527
+ readonly metadata?: {
1528
+ readonly continue?: string | undefined;
1529
+ readonly remainingItemCount?: number | undefined;
1530
+ readonly resourceVersion?: string | undefined;
1531
+ readonly selfLink?: string | undefined;
1532
+ readonly shardInfo?: {
1533
+ readonly selector: string;
1534
+ } | undefined;
1535
+ } | undefined;
1536
+ }, never, any>;
838
1537
  export declare const ListCoordinationV1beta1NamespacedLeaseCandidateInput: Schema.Struct<{}>;
839
1538
  export type ListCoordinationV1beta1NamespacedLeaseCandidateInput = typeof ListCoordinationV1beta1NamespacedLeaseCandidateInput.Type;
840
1539
  export declare const ListCoordinationV1beta1NamespacedLeaseCandidateOutput: Schema.Struct<{
@@ -898,7 +1597,67 @@ export type ListCoordinationV1beta1NamespacedLeaseCandidateOutput = typeof ListC
898
1597
  /**
899
1598
  * list or watch objects of kind LeaseCandidate
900
1599
  */
901
- export declare const listCoordinationV1beta1NamespacedLeaseCandidate: any;
1600
+ export declare const listCoordinationV1beta1NamespacedLeaseCandidate: API.OperationMethod<{}, {
1601
+ readonly apiVersion?: string | undefined;
1602
+ readonly items: readonly {
1603
+ readonly apiVersion?: string | undefined;
1604
+ readonly kind?: string | undefined;
1605
+ readonly metadata?: {
1606
+ readonly annotations?: {
1607
+ readonly [x: string]: string;
1608
+ } | undefined;
1609
+ readonly creationTimestamp?: string | undefined;
1610
+ readonly deletionGracePeriodSeconds?: number | undefined;
1611
+ readonly deletionTimestamp?: string | undefined;
1612
+ readonly finalizers?: readonly string[] | undefined;
1613
+ readonly generateName?: string | undefined;
1614
+ readonly generation?: number | undefined;
1615
+ readonly labels?: {
1616
+ readonly [x: string]: string;
1617
+ } | undefined;
1618
+ readonly managedFields?: readonly {
1619
+ readonly apiVersion?: string | undefined;
1620
+ readonly fieldsType?: string | undefined;
1621
+ readonly fieldsV1?: unknown;
1622
+ readonly manager?: string | undefined;
1623
+ readonly operation?: string | undefined;
1624
+ readonly subresource?: string | undefined;
1625
+ readonly time?: string | undefined;
1626
+ }[] | undefined;
1627
+ readonly name?: string | undefined;
1628
+ readonly namespace?: string | undefined;
1629
+ readonly ownerReferences?: readonly {
1630
+ readonly apiVersion: string;
1631
+ readonly blockOwnerDeletion?: boolean | undefined;
1632
+ readonly controller?: boolean | undefined;
1633
+ readonly kind: string;
1634
+ readonly name: string;
1635
+ readonly uid: string;
1636
+ }[] | undefined;
1637
+ readonly resourceVersion?: string | undefined;
1638
+ readonly selfLink?: string | undefined;
1639
+ readonly uid?: string | undefined;
1640
+ } | undefined;
1641
+ readonly spec: {
1642
+ readonly binaryVersion: string;
1643
+ readonly emulationVersion?: string | undefined;
1644
+ readonly leaseName: string;
1645
+ readonly pingTime?: string | undefined;
1646
+ readonly renewTime?: string | undefined;
1647
+ readonly strategy: string;
1648
+ };
1649
+ }[];
1650
+ readonly kind?: string | undefined;
1651
+ readonly metadata?: {
1652
+ readonly continue?: string | undefined;
1653
+ readonly remainingItemCount?: number | undefined;
1654
+ readonly resourceVersion?: string | undefined;
1655
+ readonly selfLink?: string | undefined;
1656
+ readonly shardInfo?: {
1657
+ readonly selector: string;
1658
+ } | undefined;
1659
+ } | undefined;
1660
+ }, never, any>;
902
1661
  export declare const PatchCoordinationV1NamespacedLeaseInput: Schema.Struct<{
903
1662
  readonly dryRun: Schema.optional<Schema.String>;
904
1663
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -956,7 +1715,58 @@ export type PatchCoordinationV1NamespacedLeaseOutput = typeof PatchCoordinationV
956
1715
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
957
1716
  * @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
958
1717
  */
959
- export declare const patchCoordinationV1NamespacedLease: any;
1718
+ export declare const patchCoordinationV1NamespacedLease: API.OperationMethod<{
1719
+ readonly dryRun?: string | undefined;
1720
+ readonly fieldValidation?: string | undefined;
1721
+ }, {
1722
+ readonly apiVersion?: string | undefined;
1723
+ readonly kind?: string | undefined;
1724
+ readonly metadata?: {
1725
+ readonly annotations?: {
1726
+ readonly [x: string]: string;
1727
+ } | undefined;
1728
+ readonly creationTimestamp?: string | undefined;
1729
+ readonly deletionGracePeriodSeconds?: number | undefined;
1730
+ readonly deletionTimestamp?: string | undefined;
1731
+ readonly finalizers?: readonly string[] | undefined;
1732
+ readonly generateName?: string | undefined;
1733
+ readonly generation?: number | undefined;
1734
+ readonly labels?: {
1735
+ readonly [x: string]: string;
1736
+ } | undefined;
1737
+ readonly managedFields?: readonly {
1738
+ readonly apiVersion?: string | undefined;
1739
+ readonly fieldsType?: string | undefined;
1740
+ readonly fieldsV1?: unknown;
1741
+ readonly manager?: string | undefined;
1742
+ readonly operation?: string | undefined;
1743
+ readonly subresource?: string | undefined;
1744
+ readonly time?: string | undefined;
1745
+ }[] | undefined;
1746
+ readonly name?: string | undefined;
1747
+ readonly namespace?: string | undefined;
1748
+ readonly ownerReferences?: readonly {
1749
+ readonly apiVersion: string;
1750
+ readonly blockOwnerDeletion?: boolean | undefined;
1751
+ readonly controller?: boolean | undefined;
1752
+ readonly kind: string;
1753
+ readonly name: string;
1754
+ readonly uid: string;
1755
+ }[] | undefined;
1756
+ readonly resourceVersion?: string | undefined;
1757
+ readonly selfLink?: string | undefined;
1758
+ readonly uid?: string | undefined;
1759
+ } | undefined;
1760
+ readonly spec?: {
1761
+ readonly acquireTime?: string | undefined;
1762
+ readonly holderIdentity?: string | undefined;
1763
+ readonly leaseDurationSeconds?: number | undefined;
1764
+ readonly leaseTransitions?: number | undefined;
1765
+ readonly preferredHolder?: string | undefined;
1766
+ readonly renewTime?: string | undefined;
1767
+ readonly strategy?: string | undefined;
1768
+ } | undefined;
1769
+ }, Conflict | NotFound | UnprocessableEntity, any>;
960
1770
  export declare const PatchCoordinationV1alpha2NamespacedLeaseCandidateInput: Schema.Struct<{
961
1771
  readonly dryRun: Schema.optional<Schema.String>;
962
1772
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -1013,7 +1823,57 @@ export type PatchCoordinationV1alpha2NamespacedLeaseCandidateOutput = typeof Pat
1013
1823
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1014
1824
  * @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
1015
1825
  */
1016
- export declare const patchCoordinationV1alpha2NamespacedLeaseCandidate: any;
1826
+ export declare const patchCoordinationV1alpha2NamespacedLeaseCandidate: API.OperationMethod<{
1827
+ readonly dryRun?: string | undefined;
1828
+ readonly fieldValidation?: string | undefined;
1829
+ }, {
1830
+ readonly apiVersion?: string | undefined;
1831
+ readonly kind?: string | undefined;
1832
+ readonly metadata?: {
1833
+ readonly annotations?: {
1834
+ readonly [x: string]: string;
1835
+ } | undefined;
1836
+ readonly creationTimestamp?: string | undefined;
1837
+ readonly deletionGracePeriodSeconds?: number | undefined;
1838
+ readonly deletionTimestamp?: string | undefined;
1839
+ readonly finalizers?: readonly string[] | undefined;
1840
+ readonly generateName?: string | undefined;
1841
+ readonly generation?: number | undefined;
1842
+ readonly labels?: {
1843
+ readonly [x: string]: string;
1844
+ } | undefined;
1845
+ readonly managedFields?: readonly {
1846
+ readonly apiVersion?: string | undefined;
1847
+ readonly fieldsType?: string | undefined;
1848
+ readonly fieldsV1?: unknown;
1849
+ readonly manager?: string | undefined;
1850
+ readonly operation?: string | undefined;
1851
+ readonly subresource?: string | undefined;
1852
+ readonly time?: string | undefined;
1853
+ }[] | undefined;
1854
+ readonly name?: string | undefined;
1855
+ readonly namespace?: string | undefined;
1856
+ readonly ownerReferences?: readonly {
1857
+ readonly apiVersion: string;
1858
+ readonly blockOwnerDeletion?: boolean | undefined;
1859
+ readonly controller?: boolean | undefined;
1860
+ readonly kind: string;
1861
+ readonly name: string;
1862
+ readonly uid: string;
1863
+ }[] | undefined;
1864
+ readonly resourceVersion?: string | undefined;
1865
+ readonly selfLink?: string | undefined;
1866
+ readonly uid?: string | undefined;
1867
+ } | undefined;
1868
+ readonly spec: {
1869
+ readonly binaryVersion: string;
1870
+ readonly emulationVersion?: string | undefined;
1871
+ readonly leaseName: string;
1872
+ readonly pingTime?: string | undefined;
1873
+ readonly renewTime?: string | undefined;
1874
+ readonly strategy: string;
1875
+ };
1876
+ }, Conflict | NotFound | UnprocessableEntity, any>;
1017
1877
  export declare const PatchCoordinationV1beta1NamespacedLeaseCandidateInput: Schema.Struct<{
1018
1878
  readonly dryRun: Schema.optional<Schema.String>;
1019
1879
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -1070,7 +1930,57 @@ export type PatchCoordinationV1beta1NamespacedLeaseCandidateOutput = typeof Patc
1070
1930
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1071
1931
  * @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
1072
1932
  */
1073
- export declare const patchCoordinationV1beta1NamespacedLeaseCandidate: any;
1933
+ export declare const patchCoordinationV1beta1NamespacedLeaseCandidate: API.OperationMethod<{
1934
+ readonly dryRun?: string | undefined;
1935
+ readonly fieldValidation?: string | undefined;
1936
+ }, {
1937
+ readonly apiVersion?: string | undefined;
1938
+ readonly kind?: string | undefined;
1939
+ readonly metadata?: {
1940
+ readonly annotations?: {
1941
+ readonly [x: string]: string;
1942
+ } | undefined;
1943
+ readonly creationTimestamp?: string | undefined;
1944
+ readonly deletionGracePeriodSeconds?: number | undefined;
1945
+ readonly deletionTimestamp?: string | undefined;
1946
+ readonly finalizers?: readonly string[] | undefined;
1947
+ readonly generateName?: string | undefined;
1948
+ readonly generation?: number | undefined;
1949
+ readonly labels?: {
1950
+ readonly [x: string]: string;
1951
+ } | undefined;
1952
+ readonly managedFields?: readonly {
1953
+ readonly apiVersion?: string | undefined;
1954
+ readonly fieldsType?: string | undefined;
1955
+ readonly fieldsV1?: unknown;
1956
+ readonly manager?: string | undefined;
1957
+ readonly operation?: string | undefined;
1958
+ readonly subresource?: string | undefined;
1959
+ readonly time?: string | undefined;
1960
+ }[] | undefined;
1961
+ readonly name?: string | undefined;
1962
+ readonly namespace?: string | undefined;
1963
+ readonly ownerReferences?: readonly {
1964
+ readonly apiVersion: string;
1965
+ readonly blockOwnerDeletion?: boolean | undefined;
1966
+ readonly controller?: boolean | undefined;
1967
+ readonly kind: string;
1968
+ readonly name: string;
1969
+ readonly uid: string;
1970
+ }[] | undefined;
1971
+ readonly resourceVersion?: string | undefined;
1972
+ readonly selfLink?: string | undefined;
1973
+ readonly uid?: string | undefined;
1974
+ } | undefined;
1975
+ readonly spec: {
1976
+ readonly binaryVersion: string;
1977
+ readonly emulationVersion?: string | undefined;
1978
+ readonly leaseName: string;
1979
+ readonly pingTime?: string | undefined;
1980
+ readonly renewTime?: string | undefined;
1981
+ readonly strategy: string;
1982
+ };
1983
+ }, Conflict | NotFound | UnprocessableEntity, any>;
1074
1984
  export declare const ReadCoordinationV1NamespacedLeaseInput: Schema.Struct<{}>;
1075
1985
  export type ReadCoordinationV1NamespacedLeaseInput = typeof ReadCoordinationV1NamespacedLeaseInput.Type;
1076
1986
  export declare const ReadCoordinationV1NamespacedLeaseOutput: Schema.Struct<{
@@ -1122,7 +2032,55 @@ export type ReadCoordinationV1NamespacedLeaseOutput = typeof ReadCoordinationV1N
1122
2032
  /**
1123
2033
  * read the specified Lease
1124
2034
  */
1125
- export declare const readCoordinationV1NamespacedLease: any;
2035
+ export declare const readCoordinationV1NamespacedLease: API.OperationMethod<{}, {
2036
+ readonly apiVersion?: string | undefined;
2037
+ readonly kind?: string | undefined;
2038
+ readonly metadata?: {
2039
+ readonly annotations?: {
2040
+ readonly [x: string]: string;
2041
+ } | undefined;
2042
+ readonly creationTimestamp?: string | undefined;
2043
+ readonly deletionGracePeriodSeconds?: number | undefined;
2044
+ readonly deletionTimestamp?: string | undefined;
2045
+ readonly finalizers?: readonly string[] | undefined;
2046
+ readonly generateName?: string | undefined;
2047
+ readonly generation?: number | undefined;
2048
+ readonly labels?: {
2049
+ readonly [x: string]: string;
2050
+ } | undefined;
2051
+ readonly managedFields?: readonly {
2052
+ readonly apiVersion?: string | undefined;
2053
+ readonly fieldsType?: string | undefined;
2054
+ readonly fieldsV1?: unknown;
2055
+ readonly manager?: string | undefined;
2056
+ readonly operation?: string | undefined;
2057
+ readonly subresource?: string | undefined;
2058
+ readonly time?: string | undefined;
2059
+ }[] | undefined;
2060
+ readonly name?: string | undefined;
2061
+ readonly namespace?: string | undefined;
2062
+ readonly ownerReferences?: readonly {
2063
+ readonly apiVersion: string;
2064
+ readonly blockOwnerDeletion?: boolean | undefined;
2065
+ readonly controller?: boolean | undefined;
2066
+ readonly kind: string;
2067
+ readonly name: string;
2068
+ readonly uid: string;
2069
+ }[] | undefined;
2070
+ readonly resourceVersion?: string | undefined;
2071
+ readonly selfLink?: string | undefined;
2072
+ readonly uid?: string | undefined;
2073
+ } | undefined;
2074
+ readonly spec?: {
2075
+ readonly acquireTime?: string | undefined;
2076
+ readonly holderIdentity?: string | undefined;
2077
+ readonly leaseDurationSeconds?: number | undefined;
2078
+ readonly leaseTransitions?: number | undefined;
2079
+ readonly preferredHolder?: string | undefined;
2080
+ readonly renewTime?: string | undefined;
2081
+ readonly strategy?: string | undefined;
2082
+ } | undefined;
2083
+ }, NotFound, any>;
1126
2084
  export declare const ReadCoordinationV1alpha2NamespacedLeaseCandidateInput: Schema.Struct<{}>;
1127
2085
  export type ReadCoordinationV1alpha2NamespacedLeaseCandidateInput = typeof ReadCoordinationV1alpha2NamespacedLeaseCandidateInput.Type;
1128
2086
  export declare const ReadCoordinationV1alpha2NamespacedLeaseCandidateOutput: Schema.Struct<{
@@ -1173,7 +2131,54 @@ export type ReadCoordinationV1alpha2NamespacedLeaseCandidateOutput = typeof Read
1173
2131
  /**
1174
2132
  * read the specified LeaseCandidate
1175
2133
  */
1176
- export declare const readCoordinationV1alpha2NamespacedLeaseCandidate: any;
2134
+ export declare const readCoordinationV1alpha2NamespacedLeaseCandidate: API.OperationMethod<{}, {
2135
+ readonly apiVersion?: string | undefined;
2136
+ readonly kind?: string | undefined;
2137
+ readonly metadata?: {
2138
+ readonly annotations?: {
2139
+ readonly [x: string]: string;
2140
+ } | undefined;
2141
+ readonly creationTimestamp?: string | undefined;
2142
+ readonly deletionGracePeriodSeconds?: number | undefined;
2143
+ readonly deletionTimestamp?: string | undefined;
2144
+ readonly finalizers?: readonly string[] | undefined;
2145
+ readonly generateName?: string | undefined;
2146
+ readonly generation?: number | undefined;
2147
+ readonly labels?: {
2148
+ readonly [x: string]: string;
2149
+ } | undefined;
2150
+ readonly managedFields?: readonly {
2151
+ readonly apiVersion?: string | undefined;
2152
+ readonly fieldsType?: string | undefined;
2153
+ readonly fieldsV1?: unknown;
2154
+ readonly manager?: string | undefined;
2155
+ readonly operation?: string | undefined;
2156
+ readonly subresource?: string | undefined;
2157
+ readonly time?: string | undefined;
2158
+ }[] | undefined;
2159
+ readonly name?: string | undefined;
2160
+ readonly namespace?: string | undefined;
2161
+ readonly ownerReferences?: readonly {
2162
+ readonly apiVersion: string;
2163
+ readonly blockOwnerDeletion?: boolean | undefined;
2164
+ readonly controller?: boolean | undefined;
2165
+ readonly kind: string;
2166
+ readonly name: string;
2167
+ readonly uid: string;
2168
+ }[] | undefined;
2169
+ readonly resourceVersion?: string | undefined;
2170
+ readonly selfLink?: string | undefined;
2171
+ readonly uid?: string | undefined;
2172
+ } | undefined;
2173
+ readonly spec: {
2174
+ readonly binaryVersion: string;
2175
+ readonly emulationVersion?: string | undefined;
2176
+ readonly leaseName: string;
2177
+ readonly pingTime?: string | undefined;
2178
+ readonly renewTime?: string | undefined;
2179
+ readonly strategy: string;
2180
+ };
2181
+ }, NotFound, any>;
1177
2182
  export declare const ReadCoordinationV1beta1NamespacedLeaseCandidateInput: Schema.Struct<{}>;
1178
2183
  export type ReadCoordinationV1beta1NamespacedLeaseCandidateInput = typeof ReadCoordinationV1beta1NamespacedLeaseCandidateInput.Type;
1179
2184
  export declare const ReadCoordinationV1beta1NamespacedLeaseCandidateOutput: Schema.Struct<{
@@ -1224,7 +2229,54 @@ export type ReadCoordinationV1beta1NamespacedLeaseCandidateOutput = typeof ReadC
1224
2229
  /**
1225
2230
  * read the specified LeaseCandidate
1226
2231
  */
1227
- export declare const readCoordinationV1beta1NamespacedLeaseCandidate: any;
2232
+ export declare const readCoordinationV1beta1NamespacedLeaseCandidate: API.OperationMethod<{}, {
2233
+ readonly apiVersion?: string | undefined;
2234
+ readonly kind?: string | undefined;
2235
+ readonly metadata?: {
2236
+ readonly annotations?: {
2237
+ readonly [x: string]: string;
2238
+ } | undefined;
2239
+ readonly creationTimestamp?: string | undefined;
2240
+ readonly deletionGracePeriodSeconds?: number | undefined;
2241
+ readonly deletionTimestamp?: string | undefined;
2242
+ readonly finalizers?: readonly string[] | undefined;
2243
+ readonly generateName?: string | undefined;
2244
+ readonly generation?: number | undefined;
2245
+ readonly labels?: {
2246
+ readonly [x: string]: string;
2247
+ } | undefined;
2248
+ readonly managedFields?: readonly {
2249
+ readonly apiVersion?: string | undefined;
2250
+ readonly fieldsType?: string | undefined;
2251
+ readonly fieldsV1?: unknown;
2252
+ readonly manager?: string | undefined;
2253
+ readonly operation?: string | undefined;
2254
+ readonly subresource?: string | undefined;
2255
+ readonly time?: string | undefined;
2256
+ }[] | undefined;
2257
+ readonly name?: string | undefined;
2258
+ readonly namespace?: string | undefined;
2259
+ readonly ownerReferences?: readonly {
2260
+ readonly apiVersion: string;
2261
+ readonly blockOwnerDeletion?: boolean | undefined;
2262
+ readonly controller?: boolean | undefined;
2263
+ readonly kind: string;
2264
+ readonly name: string;
2265
+ readonly uid: string;
2266
+ }[] | undefined;
2267
+ readonly resourceVersion?: string | undefined;
2268
+ readonly selfLink?: string | undefined;
2269
+ readonly uid?: string | undefined;
2270
+ } | undefined;
2271
+ readonly spec: {
2272
+ readonly binaryVersion: string;
2273
+ readonly emulationVersion?: string | undefined;
2274
+ readonly leaseName: string;
2275
+ readonly pingTime?: string | undefined;
2276
+ readonly renewTime?: string | undefined;
2277
+ readonly strategy: string;
2278
+ };
2279
+ }, NotFound, any>;
1228
2280
  export declare const ReplaceCoordinationV1NamespacedLeaseInput: Schema.Struct<{
1229
2281
  readonly dryRun: Schema.optional<Schema.String>;
1230
2282
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -1282,7 +2334,58 @@ export type ReplaceCoordinationV1NamespacedLeaseOutput = typeof ReplaceCoordinat
1282
2334
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1283
2335
  * @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
1284
2336
  */
1285
- export declare const replaceCoordinationV1NamespacedLease: any;
2337
+ export declare const replaceCoordinationV1NamespacedLease: API.OperationMethod<{
2338
+ readonly dryRun?: string | undefined;
2339
+ readonly fieldValidation?: string | undefined;
2340
+ }, {
2341
+ readonly apiVersion?: string | undefined;
2342
+ readonly kind?: string | undefined;
2343
+ readonly metadata?: {
2344
+ readonly annotations?: {
2345
+ readonly [x: string]: string;
2346
+ } | undefined;
2347
+ readonly creationTimestamp?: string | undefined;
2348
+ readonly deletionGracePeriodSeconds?: number | undefined;
2349
+ readonly deletionTimestamp?: string | undefined;
2350
+ readonly finalizers?: readonly string[] | undefined;
2351
+ readonly generateName?: string | undefined;
2352
+ readonly generation?: number | undefined;
2353
+ readonly labels?: {
2354
+ readonly [x: string]: string;
2355
+ } | undefined;
2356
+ readonly managedFields?: readonly {
2357
+ readonly apiVersion?: string | undefined;
2358
+ readonly fieldsType?: string | undefined;
2359
+ readonly fieldsV1?: unknown;
2360
+ readonly manager?: string | undefined;
2361
+ readonly operation?: string | undefined;
2362
+ readonly subresource?: string | undefined;
2363
+ readonly time?: string | undefined;
2364
+ }[] | undefined;
2365
+ readonly name?: string | undefined;
2366
+ readonly namespace?: string | undefined;
2367
+ readonly ownerReferences?: readonly {
2368
+ readonly apiVersion: string;
2369
+ readonly blockOwnerDeletion?: boolean | undefined;
2370
+ readonly controller?: boolean | undefined;
2371
+ readonly kind: string;
2372
+ readonly name: string;
2373
+ readonly uid: string;
2374
+ }[] | undefined;
2375
+ readonly resourceVersion?: string | undefined;
2376
+ readonly selfLink?: string | undefined;
2377
+ readonly uid?: string | undefined;
2378
+ } | undefined;
2379
+ readonly spec?: {
2380
+ readonly acquireTime?: string | undefined;
2381
+ readonly holderIdentity?: string | undefined;
2382
+ readonly leaseDurationSeconds?: number | undefined;
2383
+ readonly leaseTransitions?: number | undefined;
2384
+ readonly preferredHolder?: string | undefined;
2385
+ readonly renewTime?: string | undefined;
2386
+ readonly strategy?: string | undefined;
2387
+ } | undefined;
2388
+ }, Conflict | NotFound | UnprocessableEntity, any>;
1286
2389
  export declare const ReplaceCoordinationV1alpha2NamespacedLeaseCandidateInput: Schema.Struct<{
1287
2390
  readonly dryRun: Schema.optional<Schema.String>;
1288
2391
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -1339,7 +2442,57 @@ export type ReplaceCoordinationV1alpha2NamespacedLeaseCandidateOutput = typeof R
1339
2442
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1340
2443
  * @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
1341
2444
  */
1342
- export declare const replaceCoordinationV1alpha2NamespacedLeaseCandidate: any;
2445
+ export declare const replaceCoordinationV1alpha2NamespacedLeaseCandidate: API.OperationMethod<{
2446
+ readonly dryRun?: string | undefined;
2447
+ readonly fieldValidation?: string | undefined;
2448
+ }, {
2449
+ readonly apiVersion?: string | undefined;
2450
+ readonly kind?: string | undefined;
2451
+ readonly metadata?: {
2452
+ readonly annotations?: {
2453
+ readonly [x: string]: string;
2454
+ } | undefined;
2455
+ readonly creationTimestamp?: string | undefined;
2456
+ readonly deletionGracePeriodSeconds?: number | undefined;
2457
+ readonly deletionTimestamp?: string | undefined;
2458
+ readonly finalizers?: readonly string[] | undefined;
2459
+ readonly generateName?: string | undefined;
2460
+ readonly generation?: number | undefined;
2461
+ readonly labels?: {
2462
+ readonly [x: string]: string;
2463
+ } | undefined;
2464
+ readonly managedFields?: readonly {
2465
+ readonly apiVersion?: string | undefined;
2466
+ readonly fieldsType?: string | undefined;
2467
+ readonly fieldsV1?: unknown;
2468
+ readonly manager?: string | undefined;
2469
+ readonly operation?: string | undefined;
2470
+ readonly subresource?: string | undefined;
2471
+ readonly time?: string | undefined;
2472
+ }[] | undefined;
2473
+ readonly name?: string | undefined;
2474
+ readonly namespace?: string | undefined;
2475
+ readonly ownerReferences?: readonly {
2476
+ readonly apiVersion: string;
2477
+ readonly blockOwnerDeletion?: boolean | undefined;
2478
+ readonly controller?: boolean | undefined;
2479
+ readonly kind: string;
2480
+ readonly name: string;
2481
+ readonly uid: string;
2482
+ }[] | undefined;
2483
+ readonly resourceVersion?: string | undefined;
2484
+ readonly selfLink?: string | undefined;
2485
+ readonly uid?: string | undefined;
2486
+ } | undefined;
2487
+ readonly spec: {
2488
+ readonly binaryVersion: string;
2489
+ readonly emulationVersion?: string | undefined;
2490
+ readonly leaseName: string;
2491
+ readonly pingTime?: string | undefined;
2492
+ readonly renewTime?: string | undefined;
2493
+ readonly strategy: string;
2494
+ };
2495
+ }, Conflict | NotFound | UnprocessableEntity, any>;
1343
2496
  export declare const ReplaceCoordinationV1beta1NamespacedLeaseCandidateInput: Schema.Struct<{
1344
2497
  readonly dryRun: Schema.optional<Schema.String>;
1345
2498
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -1396,7 +2549,57 @@ export type ReplaceCoordinationV1beta1NamespacedLeaseCandidateOutput = typeof Re
1396
2549
  * @param dryRun - When present, indicates that modifications should not be persisted. An invalid or unrecognized dryRun directive will result in an error response and no further processing of the request. Valid values are: - All: all dry run stages will be processed
1397
2550
  * @param fieldValidation - fieldValidation instructs the server on how to handle objects in the request (POST/PUT/PATCH) containing unknown or duplicate fields. Valid values are: - Ignore: This will ignore any unknown fields that are silently dropped from the object, and will ignore all but the last duplicate field that the decoder encounters. This is the default behavior prior to v1.23. - Warn: This will send a warning via the standard warning response header for each unknown field that is dropped from the object, and for each duplicate field that is encountered. The request will still succeed if there are no other errors, and will only persist the last of any duplicate fields. This is the default in v1.23+ - Strict: This will fail the request with a BadRequest error if any unknown fields would be dropped from the object, or if any duplicate fields are present. The error returned from the server will contain all unknown and duplicate fields encountered.
1398
2551
  */
1399
- export declare const replaceCoordinationV1beta1NamespacedLeaseCandidate: any;
2552
+ export declare const replaceCoordinationV1beta1NamespacedLeaseCandidate: API.OperationMethod<{
2553
+ readonly dryRun?: string | undefined;
2554
+ readonly fieldValidation?: string | undefined;
2555
+ }, {
2556
+ readonly apiVersion?: string | undefined;
2557
+ readonly kind?: string | undefined;
2558
+ readonly metadata?: {
2559
+ readonly annotations?: {
2560
+ readonly [x: string]: string;
2561
+ } | undefined;
2562
+ readonly creationTimestamp?: string | undefined;
2563
+ readonly deletionGracePeriodSeconds?: number | undefined;
2564
+ readonly deletionTimestamp?: string | undefined;
2565
+ readonly finalizers?: readonly string[] | undefined;
2566
+ readonly generateName?: string | undefined;
2567
+ readonly generation?: number | undefined;
2568
+ readonly labels?: {
2569
+ readonly [x: string]: string;
2570
+ } | undefined;
2571
+ readonly managedFields?: readonly {
2572
+ readonly apiVersion?: string | undefined;
2573
+ readonly fieldsType?: string | undefined;
2574
+ readonly fieldsV1?: unknown;
2575
+ readonly manager?: string | undefined;
2576
+ readonly operation?: string | undefined;
2577
+ readonly subresource?: string | undefined;
2578
+ readonly time?: string | undefined;
2579
+ }[] | undefined;
2580
+ readonly name?: string | undefined;
2581
+ readonly namespace?: string | undefined;
2582
+ readonly ownerReferences?: readonly {
2583
+ readonly apiVersion: string;
2584
+ readonly blockOwnerDeletion?: boolean | undefined;
2585
+ readonly controller?: boolean | undefined;
2586
+ readonly kind: string;
2587
+ readonly name: string;
2588
+ readonly uid: string;
2589
+ }[] | undefined;
2590
+ readonly resourceVersion?: string | undefined;
2591
+ readonly selfLink?: string | undefined;
2592
+ readonly uid?: string | undefined;
2593
+ } | undefined;
2594
+ readonly spec: {
2595
+ readonly binaryVersion: string;
2596
+ readonly emulationVersion?: string | undefined;
2597
+ readonly leaseName: string;
2598
+ readonly pingTime?: string | undefined;
2599
+ readonly renewTime?: string | undefined;
2600
+ readonly strategy: string;
2601
+ };
2602
+ }, Conflict | NotFound | UnprocessableEntity, any>;
1400
2603
  export declare const WatchCoordinationV1LeaseListForAllNamespacesInput: Schema.Struct<{}>;
1401
2604
  export type WatchCoordinationV1LeaseListForAllNamespacesInput = typeof WatchCoordinationV1LeaseListForAllNamespacesInput.Type;
1402
2605
  export declare const WatchCoordinationV1LeaseListForAllNamespacesOutput: Schema.Struct<{
@@ -1407,7 +2610,10 @@ export type WatchCoordinationV1LeaseListForAllNamespacesOutput = typeof WatchCoo
1407
2610
  /**
1408
2611
  * watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.
1409
2612
  */
1410
- export declare const watchCoordinationV1LeaseListForAllNamespaces: any;
2613
+ export declare const watchCoordinationV1LeaseListForAllNamespaces: API.OperationMethod<{}, {
2614
+ readonly object: unknown;
2615
+ readonly type: string;
2616
+ }, never, any>;
1411
2617
  export declare const WatchCoordinationV1NamespacedLeaseInput: Schema.Struct<{}>;
1412
2618
  export type WatchCoordinationV1NamespacedLeaseInput = typeof WatchCoordinationV1NamespacedLeaseInput.Type;
1413
2619
  export declare const WatchCoordinationV1NamespacedLeaseOutput: Schema.Struct<{
@@ -1418,7 +2624,10 @@ export type WatchCoordinationV1NamespacedLeaseOutput = typeof WatchCoordinationV
1418
2624
  /**
1419
2625
  * watch changes to an object of kind Lease. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
1420
2626
  */
1421
- export declare const watchCoordinationV1NamespacedLease: any;
2627
+ export declare const watchCoordinationV1NamespacedLease: API.OperationMethod<{}, {
2628
+ readonly object: unknown;
2629
+ readonly type: string;
2630
+ }, never, any>;
1422
2631
  export declare const WatchCoordinationV1NamespacedLeaseListInput: Schema.Struct<{}>;
1423
2632
  export type WatchCoordinationV1NamespacedLeaseListInput = typeof WatchCoordinationV1NamespacedLeaseListInput.Type;
1424
2633
  export declare const WatchCoordinationV1NamespacedLeaseListOutput: Schema.Struct<{
@@ -1429,7 +2638,10 @@ export type WatchCoordinationV1NamespacedLeaseListOutput = typeof WatchCoordinat
1429
2638
  /**
1430
2639
  * watch individual changes to a list of Lease. deprecated: use the 'watch' parameter with a list operation instead.
1431
2640
  */
1432
- export declare const watchCoordinationV1NamespacedLeaseList: any;
2641
+ export declare const watchCoordinationV1NamespacedLeaseList: API.OperationMethod<{}, {
2642
+ readonly object: unknown;
2643
+ readonly type: string;
2644
+ }, never, any>;
1433
2645
  export declare const WatchCoordinationV1alpha2LeaseCandidateListForAllNamespacesInput: Schema.Struct<{}>;
1434
2646
  export type WatchCoordinationV1alpha2LeaseCandidateListForAllNamespacesInput = typeof WatchCoordinationV1alpha2LeaseCandidateListForAllNamespacesInput.Type;
1435
2647
  export declare const WatchCoordinationV1alpha2LeaseCandidateListForAllNamespacesOutput: Schema.Struct<{
@@ -1440,7 +2652,10 @@ export type WatchCoordinationV1alpha2LeaseCandidateListForAllNamespacesOutput =
1440
2652
  /**
1441
2653
  * watch individual changes to a list of LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead.
1442
2654
  */
1443
- export declare const watchCoordinationV1alpha2LeaseCandidateListForAllNamespaces: any;
2655
+ export declare const watchCoordinationV1alpha2LeaseCandidateListForAllNamespaces: API.OperationMethod<{}, {
2656
+ readonly object: unknown;
2657
+ readonly type: string;
2658
+ }, never, any>;
1444
2659
  export declare const WatchCoordinationV1alpha2NamespacedLeaseCandidateInput: Schema.Struct<{}>;
1445
2660
  export type WatchCoordinationV1alpha2NamespacedLeaseCandidateInput = typeof WatchCoordinationV1alpha2NamespacedLeaseCandidateInput.Type;
1446
2661
  export declare const WatchCoordinationV1alpha2NamespacedLeaseCandidateOutput: Schema.Struct<{
@@ -1451,7 +2666,10 @@ export type WatchCoordinationV1alpha2NamespacedLeaseCandidateOutput = typeof Wat
1451
2666
  /**
1452
2667
  * watch changes to an object of kind LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
1453
2668
  */
1454
- export declare const watchCoordinationV1alpha2NamespacedLeaseCandidate: any;
2669
+ export declare const watchCoordinationV1alpha2NamespacedLeaseCandidate: API.OperationMethod<{}, {
2670
+ readonly object: unknown;
2671
+ readonly type: string;
2672
+ }, never, any>;
1455
2673
  export declare const WatchCoordinationV1alpha2NamespacedLeaseCandidateListInput: Schema.Struct<{}>;
1456
2674
  export type WatchCoordinationV1alpha2NamespacedLeaseCandidateListInput = typeof WatchCoordinationV1alpha2NamespacedLeaseCandidateListInput.Type;
1457
2675
  export declare const WatchCoordinationV1alpha2NamespacedLeaseCandidateListOutput: Schema.Struct<{
@@ -1462,7 +2680,10 @@ export type WatchCoordinationV1alpha2NamespacedLeaseCandidateListOutput = typeof
1462
2680
  /**
1463
2681
  * watch individual changes to a list of LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead.
1464
2682
  */
1465
- export declare const watchCoordinationV1alpha2NamespacedLeaseCandidateList: any;
2683
+ export declare const watchCoordinationV1alpha2NamespacedLeaseCandidateList: API.OperationMethod<{}, {
2684
+ readonly object: unknown;
2685
+ readonly type: string;
2686
+ }, never, any>;
1466
2687
  export declare const WatchCoordinationV1beta1LeaseCandidateListForAllNamespacesInput: Schema.Struct<{}>;
1467
2688
  export type WatchCoordinationV1beta1LeaseCandidateListForAllNamespacesInput = typeof WatchCoordinationV1beta1LeaseCandidateListForAllNamespacesInput.Type;
1468
2689
  export declare const WatchCoordinationV1beta1LeaseCandidateListForAllNamespacesOutput: Schema.Struct<{
@@ -1473,7 +2694,10 @@ export type WatchCoordinationV1beta1LeaseCandidateListForAllNamespacesOutput = t
1473
2694
  /**
1474
2695
  * watch individual changes to a list of LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead.
1475
2696
  */
1476
- export declare const watchCoordinationV1beta1LeaseCandidateListForAllNamespaces: any;
2697
+ export declare const watchCoordinationV1beta1LeaseCandidateListForAllNamespaces: API.OperationMethod<{}, {
2698
+ readonly object: unknown;
2699
+ readonly type: string;
2700
+ }, never, any>;
1477
2701
  export declare const WatchCoordinationV1beta1NamespacedLeaseCandidateInput: Schema.Struct<{}>;
1478
2702
  export type WatchCoordinationV1beta1NamespacedLeaseCandidateInput = typeof WatchCoordinationV1beta1NamespacedLeaseCandidateInput.Type;
1479
2703
  export declare const WatchCoordinationV1beta1NamespacedLeaseCandidateOutput: Schema.Struct<{
@@ -1484,7 +2708,10 @@ export type WatchCoordinationV1beta1NamespacedLeaseCandidateOutput = typeof Watc
1484
2708
  /**
1485
2709
  * watch changes to an object of kind LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
1486
2710
  */
1487
- export declare const watchCoordinationV1beta1NamespacedLeaseCandidate: any;
2711
+ export declare const watchCoordinationV1beta1NamespacedLeaseCandidate: API.OperationMethod<{}, {
2712
+ readonly object: unknown;
2713
+ readonly type: string;
2714
+ }, never, any>;
1488
2715
  export declare const WatchCoordinationV1beta1NamespacedLeaseCandidateListInput: Schema.Struct<{}>;
1489
2716
  export type WatchCoordinationV1beta1NamespacedLeaseCandidateListInput = typeof WatchCoordinationV1beta1NamespacedLeaseCandidateListInput.Type;
1490
2717
  export declare const WatchCoordinationV1beta1NamespacedLeaseCandidateListOutput: Schema.Struct<{
@@ -1495,5 +2722,8 @@ export type WatchCoordinationV1beta1NamespacedLeaseCandidateListOutput = typeof
1495
2722
  /**
1496
2723
  * watch individual changes to a list of LeaseCandidate. deprecated: use the 'watch' parameter with a list operation instead.
1497
2724
  */
1498
- export declare const watchCoordinationV1beta1NamespacedLeaseCandidateList: any;
2725
+ export declare const watchCoordinationV1beta1NamespacedLeaseCandidateList: API.OperationMethod<{}, {
2726
+ readonly object: unknown;
2727
+ readonly type: string;
2728
+ }, never, any>;
1499
2729
  //# sourceMappingURL=coordination.d.ts.map