@distilled.cloud/kubernetes 0.10.1 → 0.11.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 CreateDiscoveryV1NamespacedEndpointSliceInput: Schema.Struct<{
9
11
  readonly dryRun: Schema.optional<Schema.String>;
10
12
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -89,7 +91,87 @@ export type CreateDiscoveryV1NamespacedEndpointSliceOutput = typeof CreateDiscov
89
91
  * @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
90
92
  * @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.
91
93
  */
92
- export declare const createDiscoveryV1NamespacedEndpointSlice: any;
94
+ export declare const createDiscoveryV1NamespacedEndpointSlice: API.OperationMethod<{
95
+ readonly dryRun?: string | undefined;
96
+ readonly fieldValidation?: string | undefined;
97
+ }, {
98
+ readonly addressType: string;
99
+ readonly apiVersion?: string | undefined;
100
+ readonly endpoints?: readonly {
101
+ readonly addresses: readonly string[];
102
+ readonly conditions?: {
103
+ readonly ready?: boolean | undefined;
104
+ readonly serving?: boolean | undefined;
105
+ readonly terminating?: boolean | undefined;
106
+ } | undefined;
107
+ readonly deprecatedTopology?: {
108
+ readonly [x: string]: string;
109
+ } | undefined;
110
+ readonly hints?: {
111
+ readonly forNodes?: readonly {
112
+ readonly name: string;
113
+ }[] | undefined;
114
+ readonly forZones?: readonly {
115
+ readonly name: string;
116
+ }[] | undefined;
117
+ } | undefined;
118
+ readonly hostname?: string | undefined;
119
+ readonly nodeName?: string | undefined;
120
+ readonly targetRef?: {
121
+ readonly apiVersion?: string | undefined;
122
+ readonly fieldPath?: string | undefined;
123
+ readonly kind?: string | undefined;
124
+ readonly name?: string | undefined;
125
+ readonly namespace?: string | undefined;
126
+ readonly resourceVersion?: string | undefined;
127
+ readonly uid?: string | undefined;
128
+ } | undefined;
129
+ readonly zone?: string | undefined;
130
+ }[] | undefined;
131
+ readonly kind?: string | undefined;
132
+ readonly metadata?: {
133
+ readonly annotations?: {
134
+ readonly [x: string]: string;
135
+ } | undefined;
136
+ readonly creationTimestamp?: string | undefined;
137
+ readonly deletionGracePeriodSeconds?: number | undefined;
138
+ readonly deletionTimestamp?: string | undefined;
139
+ readonly finalizers?: readonly string[] | undefined;
140
+ readonly generateName?: string | undefined;
141
+ readonly generation?: number | undefined;
142
+ readonly labels?: {
143
+ readonly [x: string]: string;
144
+ } | undefined;
145
+ readonly managedFields?: readonly {
146
+ readonly apiVersion?: string | undefined;
147
+ readonly fieldsType?: string | undefined;
148
+ readonly fieldsV1?: unknown;
149
+ readonly manager?: string | undefined;
150
+ readonly operation?: string | undefined;
151
+ readonly subresource?: string | undefined;
152
+ readonly time?: string | undefined;
153
+ }[] | undefined;
154
+ readonly name?: string | undefined;
155
+ readonly namespace?: string | undefined;
156
+ readonly ownerReferences?: readonly {
157
+ readonly apiVersion: string;
158
+ readonly blockOwnerDeletion?: boolean | undefined;
159
+ readonly controller?: boolean | undefined;
160
+ readonly kind: string;
161
+ readonly name: string;
162
+ readonly uid: string;
163
+ }[] | undefined;
164
+ readonly resourceVersion?: string | undefined;
165
+ readonly selfLink?: string | undefined;
166
+ readonly uid?: string | undefined;
167
+ } | undefined;
168
+ readonly ports?: readonly {
169
+ readonly appProtocol?: string | undefined;
170
+ readonly name?: string | undefined;
171
+ readonly port?: number | undefined;
172
+ readonly protocol?: string | undefined;
173
+ }[] | undefined;
174
+ }, Conflict | UnprocessableEntity, any>;
93
175
  export declare const DeleteDiscoveryV1CollectionNamespacedEndpointSliceInput: Schema.Struct<{
94
176
  readonly dryRun: Schema.optional<Schema.String>;
95
177
  }>;
@@ -129,7 +211,37 @@ export type DeleteDiscoveryV1CollectionNamespacedEndpointSliceOutput = typeof De
129
211
  *
130
212
  * @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
131
213
  */
132
- export declare const deleteDiscoveryV1CollectionNamespacedEndpointSlice: any;
214
+ export declare const deleteDiscoveryV1CollectionNamespacedEndpointSlice: API.OperationMethod<{
215
+ readonly dryRun?: string | undefined;
216
+ }, {
217
+ readonly apiVersion?: string | undefined;
218
+ readonly code?: number | undefined;
219
+ readonly details?: {
220
+ readonly causes?: readonly {
221
+ readonly field?: string | undefined;
222
+ readonly message?: string | undefined;
223
+ readonly reason?: string | undefined;
224
+ }[] | undefined;
225
+ readonly group?: string | undefined;
226
+ readonly kind?: string | undefined;
227
+ readonly name?: string | undefined;
228
+ readonly retryAfterSeconds?: number | undefined;
229
+ readonly uid?: string | undefined;
230
+ } | undefined;
231
+ readonly kind?: string | undefined;
232
+ readonly message?: string | undefined;
233
+ readonly metadata?: {
234
+ readonly continue?: string | undefined;
235
+ readonly remainingItemCount?: number | undefined;
236
+ readonly resourceVersion?: string | undefined;
237
+ readonly selfLink?: string | undefined;
238
+ readonly shardInfo?: {
239
+ readonly selector: string;
240
+ } | undefined;
241
+ } | undefined;
242
+ readonly reason?: string | undefined;
243
+ readonly status?: string | undefined;
244
+ }, never, any>;
133
245
  export declare const DeleteDiscoveryV1NamespacedEndpointSliceInput: Schema.Struct<{
134
246
  readonly dryRun: Schema.optional<Schema.String>;
135
247
  }>;
@@ -169,7 +281,37 @@ export type DeleteDiscoveryV1NamespacedEndpointSliceOutput = typeof DeleteDiscov
169
281
  *
170
282
  * @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
171
283
  */
172
- export declare const deleteDiscoveryV1NamespacedEndpointSlice: any;
284
+ export declare const deleteDiscoveryV1NamespacedEndpointSlice: API.OperationMethod<{
285
+ readonly dryRun?: string | undefined;
286
+ }, {
287
+ readonly apiVersion?: string | undefined;
288
+ readonly code?: number | undefined;
289
+ readonly details?: {
290
+ readonly causes?: readonly {
291
+ readonly field?: string | undefined;
292
+ readonly message?: string | undefined;
293
+ readonly reason?: string | undefined;
294
+ }[] | undefined;
295
+ readonly group?: string | undefined;
296
+ readonly kind?: string | undefined;
297
+ readonly name?: string | undefined;
298
+ readonly retryAfterSeconds?: number | undefined;
299
+ readonly uid?: string | undefined;
300
+ } | undefined;
301
+ readonly kind?: string | undefined;
302
+ readonly message?: string | undefined;
303
+ readonly metadata?: {
304
+ readonly continue?: string | undefined;
305
+ readonly remainingItemCount?: number | undefined;
306
+ readonly resourceVersion?: string | undefined;
307
+ readonly selfLink?: string | undefined;
308
+ readonly shardInfo?: {
309
+ readonly selector: string;
310
+ } | undefined;
311
+ } | undefined;
312
+ readonly reason?: string | undefined;
313
+ readonly status?: string | undefined;
314
+ }, Conflict | NotFound, any>;
173
315
  export declare const GetDiscoveryAPIGroupInput: Schema.Struct<{}>;
174
316
  export type GetDiscoveryAPIGroupInput = typeof GetDiscoveryAPIGroupInput.Type;
175
317
  export declare const GetDiscoveryAPIGroupOutput: Schema.Struct<{
@@ -193,7 +335,23 @@ export type GetDiscoveryAPIGroupOutput = typeof GetDiscoveryAPIGroupOutput.Type;
193
335
  /**
194
336
  * get information of a group
195
337
  */
196
- export declare const getDiscoveryAPIGroup: any;
338
+ export declare const getDiscoveryAPIGroup: API.OperationMethod<{}, {
339
+ readonly apiVersion?: string | undefined;
340
+ readonly kind?: string | undefined;
341
+ readonly name: string;
342
+ readonly preferredVersion?: {
343
+ readonly groupVersion: string;
344
+ readonly version: string;
345
+ } | undefined;
346
+ readonly serverAddressByClientCIDRs?: readonly {
347
+ readonly clientCIDR: string;
348
+ readonly serverAddress: string;
349
+ }[] | undefined;
350
+ readonly versions: readonly {
351
+ readonly groupVersion: string;
352
+ readonly version: string;
353
+ }[];
354
+ }, never, any>;
197
355
  export declare const GetDiscoveryV1APIResourcesInput: Schema.Struct<{}>;
198
356
  export type GetDiscoveryV1APIResourcesInput = typeof GetDiscoveryV1APIResourcesInput.Type;
199
357
  export declare const GetDiscoveryV1APIResourcesOutput: Schema.Struct<{
@@ -217,7 +375,23 @@ export type GetDiscoveryV1APIResourcesOutput = typeof GetDiscoveryV1APIResources
217
375
  /**
218
376
  * get available resources
219
377
  */
220
- export declare const getDiscoveryV1APIResources: any;
378
+ export declare const getDiscoveryV1APIResources: API.OperationMethod<{}, {
379
+ readonly apiVersion?: string | undefined;
380
+ readonly groupVersion: string;
381
+ readonly kind?: string | undefined;
382
+ readonly resources: readonly {
383
+ readonly categories?: readonly string[] | undefined;
384
+ readonly group?: string | undefined;
385
+ readonly kind: string;
386
+ readonly name: string;
387
+ readonly namespaced: boolean;
388
+ readonly shortNames?: readonly string[] | undefined;
389
+ readonly singularName: string;
390
+ readonly storageVersionHash?: string | undefined;
391
+ readonly verbs: readonly string[];
392
+ readonly version?: string | undefined;
393
+ }[];
394
+ }, never, any>;
221
395
  export declare const ListDiscoveryV1EndpointSliceForAllNamespacesInput: Schema.Struct<{}>;
222
396
  export type ListDiscoveryV1EndpointSliceForAllNamespacesInput = typeof ListDiscoveryV1EndpointSliceForAllNamespacesInput.Type;
223
397
  export declare const ListDiscoveryV1EndpointSliceForAllNamespacesOutput: Schema.Struct<{
@@ -309,7 +483,97 @@ export type ListDiscoveryV1EndpointSliceForAllNamespacesOutput = typeof ListDisc
309
483
  /**
310
484
  * list or watch objects of kind EndpointSlice
311
485
  */
312
- export declare const listDiscoveryV1EndpointSliceForAllNamespaces: any;
486
+ export declare const listDiscoveryV1EndpointSliceForAllNamespaces: API.OperationMethod<{}, {
487
+ readonly apiVersion?: string | undefined;
488
+ readonly items: readonly {
489
+ readonly addressType: string;
490
+ readonly apiVersion?: string | undefined;
491
+ readonly endpoints?: readonly {
492
+ readonly addresses: readonly string[];
493
+ readonly conditions?: {
494
+ readonly ready?: boolean | undefined;
495
+ readonly serving?: boolean | undefined;
496
+ readonly terminating?: boolean | undefined;
497
+ } | undefined;
498
+ readonly deprecatedTopology?: {
499
+ readonly [x: string]: string;
500
+ } | undefined;
501
+ readonly hints?: {
502
+ readonly forNodes?: readonly {
503
+ readonly name: string;
504
+ }[] | undefined;
505
+ readonly forZones?: readonly {
506
+ readonly name: string;
507
+ }[] | undefined;
508
+ } | undefined;
509
+ readonly hostname?: string | undefined;
510
+ readonly nodeName?: string | undefined;
511
+ readonly targetRef?: {
512
+ readonly apiVersion?: string | undefined;
513
+ readonly fieldPath?: string | undefined;
514
+ readonly kind?: string | undefined;
515
+ readonly name?: string | undefined;
516
+ readonly namespace?: string | undefined;
517
+ readonly resourceVersion?: string | undefined;
518
+ readonly uid?: string | undefined;
519
+ } | undefined;
520
+ readonly zone?: string | undefined;
521
+ }[] | undefined;
522
+ readonly kind?: string | undefined;
523
+ readonly metadata?: {
524
+ readonly annotations?: {
525
+ readonly [x: string]: string;
526
+ } | undefined;
527
+ readonly creationTimestamp?: string | undefined;
528
+ readonly deletionGracePeriodSeconds?: number | undefined;
529
+ readonly deletionTimestamp?: string | undefined;
530
+ readonly finalizers?: readonly string[] | undefined;
531
+ readonly generateName?: string | undefined;
532
+ readonly generation?: number | undefined;
533
+ readonly labels?: {
534
+ readonly [x: string]: string;
535
+ } | undefined;
536
+ readonly managedFields?: readonly {
537
+ readonly apiVersion?: string | undefined;
538
+ readonly fieldsType?: string | undefined;
539
+ readonly fieldsV1?: unknown;
540
+ readonly manager?: string | undefined;
541
+ readonly operation?: string | undefined;
542
+ readonly subresource?: string | undefined;
543
+ readonly time?: string | undefined;
544
+ }[] | undefined;
545
+ readonly name?: string | undefined;
546
+ readonly namespace?: string | undefined;
547
+ readonly ownerReferences?: readonly {
548
+ readonly apiVersion: string;
549
+ readonly blockOwnerDeletion?: boolean | undefined;
550
+ readonly controller?: boolean | undefined;
551
+ readonly kind: string;
552
+ readonly name: string;
553
+ readonly uid: string;
554
+ }[] | undefined;
555
+ readonly resourceVersion?: string | undefined;
556
+ readonly selfLink?: string | undefined;
557
+ readonly uid?: string | undefined;
558
+ } | undefined;
559
+ readonly ports?: readonly {
560
+ readonly appProtocol?: string | undefined;
561
+ readonly name?: string | undefined;
562
+ readonly port?: number | undefined;
563
+ readonly protocol?: string | undefined;
564
+ }[] | undefined;
565
+ }[];
566
+ readonly kind?: string | undefined;
567
+ readonly metadata?: {
568
+ readonly continue?: string | undefined;
569
+ readonly remainingItemCount?: number | undefined;
570
+ readonly resourceVersion?: string | undefined;
571
+ readonly selfLink?: string | undefined;
572
+ readonly shardInfo?: {
573
+ readonly selector: string;
574
+ } | undefined;
575
+ } | undefined;
576
+ }, never, any>;
313
577
  export declare const ListDiscoveryV1NamespacedEndpointSliceInput: Schema.Struct<{}>;
314
578
  export type ListDiscoveryV1NamespacedEndpointSliceInput = typeof ListDiscoveryV1NamespacedEndpointSliceInput.Type;
315
579
  export declare const ListDiscoveryV1NamespacedEndpointSliceOutput: Schema.Struct<{
@@ -401,7 +665,97 @@ export type ListDiscoveryV1NamespacedEndpointSliceOutput = typeof ListDiscoveryV
401
665
  /**
402
666
  * list or watch objects of kind EndpointSlice
403
667
  */
404
- export declare const listDiscoveryV1NamespacedEndpointSlice: any;
668
+ export declare const listDiscoveryV1NamespacedEndpointSlice: API.OperationMethod<{}, {
669
+ readonly apiVersion?: string | undefined;
670
+ readonly items: readonly {
671
+ readonly addressType: string;
672
+ readonly apiVersion?: string | undefined;
673
+ readonly endpoints?: readonly {
674
+ readonly addresses: readonly string[];
675
+ readonly conditions?: {
676
+ readonly ready?: boolean | undefined;
677
+ readonly serving?: boolean | undefined;
678
+ readonly terminating?: boolean | undefined;
679
+ } | undefined;
680
+ readonly deprecatedTopology?: {
681
+ readonly [x: string]: string;
682
+ } | undefined;
683
+ readonly hints?: {
684
+ readonly forNodes?: readonly {
685
+ readonly name: string;
686
+ }[] | undefined;
687
+ readonly forZones?: readonly {
688
+ readonly name: string;
689
+ }[] | undefined;
690
+ } | undefined;
691
+ readonly hostname?: string | undefined;
692
+ readonly nodeName?: string | undefined;
693
+ readonly targetRef?: {
694
+ readonly apiVersion?: string | undefined;
695
+ readonly fieldPath?: string | undefined;
696
+ readonly kind?: string | undefined;
697
+ readonly name?: string | undefined;
698
+ readonly namespace?: string | undefined;
699
+ readonly resourceVersion?: string | undefined;
700
+ readonly uid?: string | undefined;
701
+ } | undefined;
702
+ readonly zone?: string | undefined;
703
+ }[] | undefined;
704
+ readonly kind?: string | undefined;
705
+ readonly metadata?: {
706
+ readonly annotations?: {
707
+ readonly [x: string]: string;
708
+ } | undefined;
709
+ readonly creationTimestamp?: string | undefined;
710
+ readonly deletionGracePeriodSeconds?: number | undefined;
711
+ readonly deletionTimestamp?: string | undefined;
712
+ readonly finalizers?: readonly string[] | undefined;
713
+ readonly generateName?: string | undefined;
714
+ readonly generation?: number | undefined;
715
+ readonly labels?: {
716
+ readonly [x: string]: string;
717
+ } | undefined;
718
+ readonly managedFields?: readonly {
719
+ readonly apiVersion?: string | undefined;
720
+ readonly fieldsType?: string | undefined;
721
+ readonly fieldsV1?: unknown;
722
+ readonly manager?: string | undefined;
723
+ readonly operation?: string | undefined;
724
+ readonly subresource?: string | undefined;
725
+ readonly time?: string | undefined;
726
+ }[] | undefined;
727
+ readonly name?: string | undefined;
728
+ readonly namespace?: string | undefined;
729
+ readonly ownerReferences?: readonly {
730
+ readonly apiVersion: string;
731
+ readonly blockOwnerDeletion?: boolean | undefined;
732
+ readonly controller?: boolean | undefined;
733
+ readonly kind: string;
734
+ readonly name: string;
735
+ readonly uid: string;
736
+ }[] | undefined;
737
+ readonly resourceVersion?: string | undefined;
738
+ readonly selfLink?: string | undefined;
739
+ readonly uid?: string | undefined;
740
+ } | undefined;
741
+ readonly ports?: readonly {
742
+ readonly appProtocol?: string | undefined;
743
+ readonly name?: string | undefined;
744
+ readonly port?: number | undefined;
745
+ readonly protocol?: string | undefined;
746
+ }[] | undefined;
747
+ }[];
748
+ readonly kind?: string | undefined;
749
+ readonly metadata?: {
750
+ readonly continue?: string | undefined;
751
+ readonly remainingItemCount?: number | undefined;
752
+ readonly resourceVersion?: string | undefined;
753
+ readonly selfLink?: string | undefined;
754
+ readonly shardInfo?: {
755
+ readonly selector: string;
756
+ } | undefined;
757
+ } | undefined;
758
+ }, never, any>;
405
759
  export declare const PatchDiscoveryV1NamespacedEndpointSliceInput: Schema.Struct<{
406
760
  readonly dryRun: Schema.optional<Schema.String>;
407
761
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -486,7 +840,87 @@ export type PatchDiscoveryV1NamespacedEndpointSliceOutput = typeof PatchDiscover
486
840
  * @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
487
841
  * @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.
488
842
  */
489
- export declare const patchDiscoveryV1NamespacedEndpointSlice: any;
843
+ export declare const patchDiscoveryV1NamespacedEndpointSlice: API.OperationMethod<{
844
+ readonly dryRun?: string | undefined;
845
+ readonly fieldValidation?: string | undefined;
846
+ }, {
847
+ readonly addressType: string;
848
+ readonly apiVersion?: string | undefined;
849
+ readonly endpoints?: readonly {
850
+ readonly addresses: readonly string[];
851
+ readonly conditions?: {
852
+ readonly ready?: boolean | undefined;
853
+ readonly serving?: boolean | undefined;
854
+ readonly terminating?: boolean | undefined;
855
+ } | undefined;
856
+ readonly deprecatedTopology?: {
857
+ readonly [x: string]: string;
858
+ } | undefined;
859
+ readonly hints?: {
860
+ readonly forNodes?: readonly {
861
+ readonly name: string;
862
+ }[] | undefined;
863
+ readonly forZones?: readonly {
864
+ readonly name: string;
865
+ }[] | undefined;
866
+ } | undefined;
867
+ readonly hostname?: string | undefined;
868
+ readonly nodeName?: string | undefined;
869
+ readonly targetRef?: {
870
+ readonly apiVersion?: string | undefined;
871
+ readonly fieldPath?: string | undefined;
872
+ readonly kind?: string | undefined;
873
+ readonly name?: string | undefined;
874
+ readonly namespace?: string | undefined;
875
+ readonly resourceVersion?: string | undefined;
876
+ readonly uid?: string | undefined;
877
+ } | undefined;
878
+ readonly zone?: string | undefined;
879
+ }[] | undefined;
880
+ readonly kind?: string | undefined;
881
+ readonly metadata?: {
882
+ readonly annotations?: {
883
+ readonly [x: string]: string;
884
+ } | undefined;
885
+ readonly creationTimestamp?: string | undefined;
886
+ readonly deletionGracePeriodSeconds?: number | undefined;
887
+ readonly deletionTimestamp?: string | undefined;
888
+ readonly finalizers?: readonly string[] | undefined;
889
+ readonly generateName?: string | undefined;
890
+ readonly generation?: number | undefined;
891
+ readonly labels?: {
892
+ readonly [x: string]: string;
893
+ } | undefined;
894
+ readonly managedFields?: readonly {
895
+ readonly apiVersion?: string | undefined;
896
+ readonly fieldsType?: string | undefined;
897
+ readonly fieldsV1?: unknown;
898
+ readonly manager?: string | undefined;
899
+ readonly operation?: string | undefined;
900
+ readonly subresource?: string | undefined;
901
+ readonly time?: string | undefined;
902
+ }[] | undefined;
903
+ readonly name?: string | undefined;
904
+ readonly namespace?: string | undefined;
905
+ readonly ownerReferences?: readonly {
906
+ readonly apiVersion: string;
907
+ readonly blockOwnerDeletion?: boolean | undefined;
908
+ readonly controller?: boolean | undefined;
909
+ readonly kind: string;
910
+ readonly name: string;
911
+ readonly uid: string;
912
+ }[] | undefined;
913
+ readonly resourceVersion?: string | undefined;
914
+ readonly selfLink?: string | undefined;
915
+ readonly uid?: string | undefined;
916
+ } | undefined;
917
+ readonly ports?: readonly {
918
+ readonly appProtocol?: string | undefined;
919
+ readonly name?: string | undefined;
920
+ readonly port?: number | undefined;
921
+ readonly protocol?: string | undefined;
922
+ }[] | undefined;
923
+ }, Conflict | NotFound | UnprocessableEntity, any>;
490
924
  export declare const ReadDiscoveryV1NamespacedEndpointSliceInput: Schema.Struct<{}>;
491
925
  export type ReadDiscoveryV1NamespacedEndpointSliceInput = typeof ReadDiscoveryV1NamespacedEndpointSliceInput.Type;
492
926
  export declare const ReadDiscoveryV1NamespacedEndpointSliceOutput: Schema.Struct<{
@@ -565,7 +999,84 @@ export type ReadDiscoveryV1NamespacedEndpointSliceOutput = typeof ReadDiscoveryV
565
999
  /**
566
1000
  * read the specified EndpointSlice
567
1001
  */
568
- export declare const readDiscoveryV1NamespacedEndpointSlice: any;
1002
+ export declare const readDiscoveryV1NamespacedEndpointSlice: API.OperationMethod<{}, {
1003
+ readonly addressType: string;
1004
+ readonly apiVersion?: string | undefined;
1005
+ readonly endpoints?: readonly {
1006
+ readonly addresses: readonly string[];
1007
+ readonly conditions?: {
1008
+ readonly ready?: boolean | undefined;
1009
+ readonly serving?: boolean | undefined;
1010
+ readonly terminating?: boolean | undefined;
1011
+ } | undefined;
1012
+ readonly deprecatedTopology?: {
1013
+ readonly [x: string]: string;
1014
+ } | undefined;
1015
+ readonly hints?: {
1016
+ readonly forNodes?: readonly {
1017
+ readonly name: string;
1018
+ }[] | undefined;
1019
+ readonly forZones?: readonly {
1020
+ readonly name: string;
1021
+ }[] | undefined;
1022
+ } | undefined;
1023
+ readonly hostname?: string | undefined;
1024
+ readonly nodeName?: string | undefined;
1025
+ readonly targetRef?: {
1026
+ readonly apiVersion?: string | undefined;
1027
+ readonly fieldPath?: string | undefined;
1028
+ readonly kind?: string | undefined;
1029
+ readonly name?: string | undefined;
1030
+ readonly namespace?: string | undefined;
1031
+ readonly resourceVersion?: string | undefined;
1032
+ readonly uid?: string | undefined;
1033
+ } | undefined;
1034
+ readonly zone?: string | undefined;
1035
+ }[] | undefined;
1036
+ readonly kind?: string | undefined;
1037
+ readonly metadata?: {
1038
+ readonly annotations?: {
1039
+ readonly [x: string]: string;
1040
+ } | undefined;
1041
+ readonly creationTimestamp?: string | undefined;
1042
+ readonly deletionGracePeriodSeconds?: number | undefined;
1043
+ readonly deletionTimestamp?: string | undefined;
1044
+ readonly finalizers?: readonly string[] | undefined;
1045
+ readonly generateName?: string | undefined;
1046
+ readonly generation?: number | undefined;
1047
+ readonly labels?: {
1048
+ readonly [x: string]: string;
1049
+ } | undefined;
1050
+ readonly managedFields?: readonly {
1051
+ readonly apiVersion?: string | undefined;
1052
+ readonly fieldsType?: string | undefined;
1053
+ readonly fieldsV1?: unknown;
1054
+ readonly manager?: string | undefined;
1055
+ readonly operation?: string | undefined;
1056
+ readonly subresource?: string | undefined;
1057
+ readonly time?: string | undefined;
1058
+ }[] | undefined;
1059
+ readonly name?: string | undefined;
1060
+ readonly namespace?: string | undefined;
1061
+ readonly ownerReferences?: readonly {
1062
+ readonly apiVersion: string;
1063
+ readonly blockOwnerDeletion?: boolean | undefined;
1064
+ readonly controller?: boolean | undefined;
1065
+ readonly kind: string;
1066
+ readonly name: string;
1067
+ readonly uid: string;
1068
+ }[] | undefined;
1069
+ readonly resourceVersion?: string | undefined;
1070
+ readonly selfLink?: string | undefined;
1071
+ readonly uid?: string | undefined;
1072
+ } | undefined;
1073
+ readonly ports?: readonly {
1074
+ readonly appProtocol?: string | undefined;
1075
+ readonly name?: string | undefined;
1076
+ readonly port?: number | undefined;
1077
+ readonly protocol?: string | undefined;
1078
+ }[] | undefined;
1079
+ }, NotFound, any>;
569
1080
  export declare const ReplaceDiscoveryV1NamespacedEndpointSliceInput: Schema.Struct<{
570
1081
  readonly dryRun: Schema.optional<Schema.String>;
571
1082
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -650,7 +1161,87 @@ export type ReplaceDiscoveryV1NamespacedEndpointSliceOutput = typeof ReplaceDisc
650
1161
  * @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
651
1162
  * @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.
652
1163
  */
653
- export declare const replaceDiscoveryV1NamespacedEndpointSlice: any;
1164
+ export declare const replaceDiscoveryV1NamespacedEndpointSlice: API.OperationMethod<{
1165
+ readonly dryRun?: string | undefined;
1166
+ readonly fieldValidation?: string | undefined;
1167
+ }, {
1168
+ readonly addressType: string;
1169
+ readonly apiVersion?: string | undefined;
1170
+ readonly endpoints?: readonly {
1171
+ readonly addresses: readonly string[];
1172
+ readonly conditions?: {
1173
+ readonly ready?: boolean | undefined;
1174
+ readonly serving?: boolean | undefined;
1175
+ readonly terminating?: boolean | undefined;
1176
+ } | undefined;
1177
+ readonly deprecatedTopology?: {
1178
+ readonly [x: string]: string;
1179
+ } | undefined;
1180
+ readonly hints?: {
1181
+ readonly forNodes?: readonly {
1182
+ readonly name: string;
1183
+ }[] | undefined;
1184
+ readonly forZones?: readonly {
1185
+ readonly name: string;
1186
+ }[] | undefined;
1187
+ } | undefined;
1188
+ readonly hostname?: string | undefined;
1189
+ readonly nodeName?: string | undefined;
1190
+ readonly targetRef?: {
1191
+ readonly apiVersion?: string | undefined;
1192
+ readonly fieldPath?: string | undefined;
1193
+ readonly kind?: string | undefined;
1194
+ readonly name?: string | undefined;
1195
+ readonly namespace?: string | undefined;
1196
+ readonly resourceVersion?: string | undefined;
1197
+ readonly uid?: string | undefined;
1198
+ } | undefined;
1199
+ readonly zone?: string | undefined;
1200
+ }[] | undefined;
1201
+ readonly kind?: string | undefined;
1202
+ readonly metadata?: {
1203
+ readonly annotations?: {
1204
+ readonly [x: string]: string;
1205
+ } | undefined;
1206
+ readonly creationTimestamp?: string | undefined;
1207
+ readonly deletionGracePeriodSeconds?: number | undefined;
1208
+ readonly deletionTimestamp?: string | undefined;
1209
+ readonly finalizers?: readonly string[] | undefined;
1210
+ readonly generateName?: string | undefined;
1211
+ readonly generation?: number | undefined;
1212
+ readonly labels?: {
1213
+ readonly [x: string]: string;
1214
+ } | undefined;
1215
+ readonly managedFields?: readonly {
1216
+ readonly apiVersion?: string | undefined;
1217
+ readonly fieldsType?: string | undefined;
1218
+ readonly fieldsV1?: unknown;
1219
+ readonly manager?: string | undefined;
1220
+ readonly operation?: string | undefined;
1221
+ readonly subresource?: string | undefined;
1222
+ readonly time?: string | undefined;
1223
+ }[] | undefined;
1224
+ readonly name?: string | undefined;
1225
+ readonly namespace?: string | undefined;
1226
+ readonly ownerReferences?: readonly {
1227
+ readonly apiVersion: string;
1228
+ readonly blockOwnerDeletion?: boolean | undefined;
1229
+ readonly controller?: boolean | undefined;
1230
+ readonly kind: string;
1231
+ readonly name: string;
1232
+ readonly uid: string;
1233
+ }[] | undefined;
1234
+ readonly resourceVersion?: string | undefined;
1235
+ readonly selfLink?: string | undefined;
1236
+ readonly uid?: string | undefined;
1237
+ } | undefined;
1238
+ readonly ports?: readonly {
1239
+ readonly appProtocol?: string | undefined;
1240
+ readonly name?: string | undefined;
1241
+ readonly port?: number | undefined;
1242
+ readonly protocol?: string | undefined;
1243
+ }[] | undefined;
1244
+ }, Conflict | NotFound | UnprocessableEntity, any>;
654
1245
  export declare const WatchDiscoveryV1EndpointSliceListForAllNamespacesInput: Schema.Struct<{}>;
655
1246
  export type WatchDiscoveryV1EndpointSliceListForAllNamespacesInput = typeof WatchDiscoveryV1EndpointSliceListForAllNamespacesInput.Type;
656
1247
  export declare const WatchDiscoveryV1EndpointSliceListForAllNamespacesOutput: Schema.Struct<{
@@ -661,7 +1252,10 @@ export type WatchDiscoveryV1EndpointSliceListForAllNamespacesOutput = typeof Wat
661
1252
  /**
662
1253
  * watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.
663
1254
  */
664
- export declare const watchDiscoveryV1EndpointSliceListForAllNamespaces: any;
1255
+ export declare const watchDiscoveryV1EndpointSliceListForAllNamespaces: API.OperationMethod<{}, {
1256
+ readonly object: unknown;
1257
+ readonly type: string;
1258
+ }, never, any>;
665
1259
  export declare const WatchDiscoveryV1NamespacedEndpointSliceInput: Schema.Struct<{}>;
666
1260
  export type WatchDiscoveryV1NamespacedEndpointSliceInput = typeof WatchDiscoveryV1NamespacedEndpointSliceInput.Type;
667
1261
  export declare const WatchDiscoveryV1NamespacedEndpointSliceOutput: Schema.Struct<{
@@ -672,7 +1266,10 @@ export type WatchDiscoveryV1NamespacedEndpointSliceOutput = typeof WatchDiscover
672
1266
  /**
673
1267
  * watch changes to an object of kind EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
674
1268
  */
675
- export declare const watchDiscoveryV1NamespacedEndpointSlice: any;
1269
+ export declare const watchDiscoveryV1NamespacedEndpointSlice: API.OperationMethod<{}, {
1270
+ readonly object: unknown;
1271
+ readonly type: string;
1272
+ }, never, any>;
676
1273
  export declare const WatchDiscoveryV1NamespacedEndpointSliceListInput: Schema.Struct<{}>;
677
1274
  export type WatchDiscoveryV1NamespacedEndpointSliceListInput = typeof WatchDiscoveryV1NamespacedEndpointSliceListInput.Type;
678
1275
  export declare const WatchDiscoveryV1NamespacedEndpointSliceListOutput: Schema.Struct<{
@@ -683,5 +1280,8 @@ export type WatchDiscoveryV1NamespacedEndpointSliceListOutput = typeof WatchDisc
683
1280
  /**
684
1281
  * watch individual changes to a list of EndpointSlice. deprecated: use the 'watch' parameter with a list operation instead.
685
1282
  */
686
- export declare const watchDiscoveryV1NamespacedEndpointSliceList: any;
1283
+ export declare const watchDiscoveryV1NamespacedEndpointSliceList: API.OperationMethod<{}, {
1284
+ readonly object: unknown;
1285
+ readonly type: string;
1286
+ }, never, any>;
687
1287
  //# sourceMappingURL=discovery.d.ts.map