@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 CreateInternalApiserverV1alpha1StorageVersionInput: Schema.Struct<{
9
11
  readonly dryRun: Schema.optional<Schema.String>;
10
12
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -71,7 +73,67 @@ export type CreateInternalApiserverV1alpha1StorageVersionOutput = typeof CreateI
71
73
  * @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
72
74
  * @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.
73
75
  */
74
- export declare const createInternalApiserverV1alpha1StorageVersion: any;
76
+ export declare const createInternalApiserverV1alpha1StorageVersion: API.OperationMethod<{
77
+ readonly dryRun?: string | undefined;
78
+ readonly fieldValidation?: string | undefined;
79
+ }, {
80
+ readonly apiVersion?: string | undefined;
81
+ readonly kind?: string | undefined;
82
+ readonly metadata: {
83
+ readonly annotations?: {
84
+ readonly [x: string]: string;
85
+ } | undefined;
86
+ readonly creationTimestamp?: string | undefined;
87
+ readonly deletionGracePeriodSeconds?: number | undefined;
88
+ readonly deletionTimestamp?: string | undefined;
89
+ readonly finalizers?: readonly string[] | undefined;
90
+ readonly generateName?: string | undefined;
91
+ readonly generation?: number | undefined;
92
+ readonly labels?: {
93
+ readonly [x: string]: string;
94
+ } | undefined;
95
+ readonly managedFields?: readonly {
96
+ readonly apiVersion?: string | undefined;
97
+ readonly fieldsType?: string | undefined;
98
+ readonly fieldsV1?: unknown;
99
+ readonly manager?: string | undefined;
100
+ readonly operation?: string | undefined;
101
+ readonly subresource?: string | undefined;
102
+ readonly time?: string | undefined;
103
+ }[] | undefined;
104
+ readonly name?: string | undefined;
105
+ readonly namespace?: string | undefined;
106
+ readonly ownerReferences?: readonly {
107
+ readonly apiVersion: string;
108
+ readonly blockOwnerDeletion?: boolean | undefined;
109
+ readonly controller?: boolean | undefined;
110
+ readonly kind: string;
111
+ readonly name: string;
112
+ readonly uid: string;
113
+ }[] | undefined;
114
+ readonly resourceVersion?: string | undefined;
115
+ readonly selfLink?: string | undefined;
116
+ readonly uid?: string | undefined;
117
+ };
118
+ readonly spec?: unknown;
119
+ readonly status?: {
120
+ readonly commonEncodingVersion?: string | undefined;
121
+ readonly conditions?: readonly {
122
+ readonly lastTransitionTime?: string | undefined;
123
+ readonly message: string;
124
+ readonly observedGeneration?: number | undefined;
125
+ readonly reason: string;
126
+ readonly status: string;
127
+ readonly type: string;
128
+ }[] | undefined;
129
+ readonly storageVersions?: readonly {
130
+ readonly apiServerID: string;
131
+ readonly decodableVersions: readonly string[];
132
+ readonly encodingVersion: string;
133
+ readonly servedVersions?: readonly string[] | undefined;
134
+ }[] | undefined;
135
+ } | undefined;
136
+ }, Conflict | UnprocessableEntity, any>;
75
137
  export declare const DeleteInternalApiserverV1alpha1CollectionStorageVersionInput: Schema.Struct<{
76
138
  readonly dryRun: Schema.optional<Schema.String>;
77
139
  }>;
@@ -111,7 +173,37 @@ export type DeleteInternalApiserverV1alpha1CollectionStorageVersionOutput = type
111
173
  *
112
174
  * @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
113
175
  */
114
- export declare const deleteInternalApiserverV1alpha1CollectionStorageVersion: any;
176
+ export declare const deleteInternalApiserverV1alpha1CollectionStorageVersion: API.OperationMethod<{
177
+ readonly dryRun?: string | undefined;
178
+ }, {
179
+ readonly apiVersion?: string | undefined;
180
+ readonly code?: number | undefined;
181
+ readonly details?: {
182
+ readonly causes?: readonly {
183
+ readonly field?: string | undefined;
184
+ readonly message?: string | undefined;
185
+ readonly reason?: string | undefined;
186
+ }[] | undefined;
187
+ readonly group?: string | undefined;
188
+ readonly kind?: string | undefined;
189
+ readonly name?: string | undefined;
190
+ readonly retryAfterSeconds?: number | undefined;
191
+ readonly uid?: string | undefined;
192
+ } | undefined;
193
+ readonly kind?: string | undefined;
194
+ readonly message?: string | undefined;
195
+ readonly metadata?: {
196
+ readonly continue?: string | undefined;
197
+ readonly remainingItemCount?: number | undefined;
198
+ readonly resourceVersion?: string | undefined;
199
+ readonly selfLink?: string | undefined;
200
+ readonly shardInfo?: {
201
+ readonly selector: string;
202
+ } | undefined;
203
+ } | undefined;
204
+ readonly reason?: string | undefined;
205
+ readonly status?: string | undefined;
206
+ }, never, any>;
115
207
  export declare const DeleteInternalApiserverV1alpha1StorageVersionInput: Schema.Struct<{
116
208
  readonly dryRun: Schema.optional<Schema.String>;
117
209
  }>;
@@ -151,7 +243,37 @@ export type DeleteInternalApiserverV1alpha1StorageVersionOutput = typeof DeleteI
151
243
  *
152
244
  * @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
153
245
  */
154
- export declare const deleteInternalApiserverV1alpha1StorageVersion: any;
246
+ export declare const deleteInternalApiserverV1alpha1StorageVersion: API.OperationMethod<{
247
+ readonly dryRun?: string | undefined;
248
+ }, {
249
+ readonly apiVersion?: string | undefined;
250
+ readonly code?: number | undefined;
251
+ readonly details?: {
252
+ readonly causes?: readonly {
253
+ readonly field?: string | undefined;
254
+ readonly message?: string | undefined;
255
+ readonly reason?: string | undefined;
256
+ }[] | undefined;
257
+ readonly group?: string | undefined;
258
+ readonly kind?: string | undefined;
259
+ readonly name?: string | undefined;
260
+ readonly retryAfterSeconds?: number | undefined;
261
+ readonly uid?: string | undefined;
262
+ } | undefined;
263
+ readonly kind?: string | undefined;
264
+ readonly message?: string | undefined;
265
+ readonly metadata?: {
266
+ readonly continue?: string | undefined;
267
+ readonly remainingItemCount?: number | undefined;
268
+ readonly resourceVersion?: string | undefined;
269
+ readonly selfLink?: string | undefined;
270
+ readonly shardInfo?: {
271
+ readonly selector: string;
272
+ } | undefined;
273
+ } | undefined;
274
+ readonly reason?: string | undefined;
275
+ readonly status?: string | undefined;
276
+ }, Conflict | NotFound, any>;
155
277
  export declare const GetInternalApiserverAPIGroupInput: Schema.Struct<{}>;
156
278
  export type GetInternalApiserverAPIGroupInput = typeof GetInternalApiserverAPIGroupInput.Type;
157
279
  export declare const GetInternalApiserverAPIGroupOutput: Schema.Struct<{
@@ -175,7 +297,23 @@ export type GetInternalApiserverAPIGroupOutput = typeof GetInternalApiserverAPIG
175
297
  /**
176
298
  * get information of a group
177
299
  */
178
- export declare const getInternalApiserverAPIGroup: any;
300
+ export declare const getInternalApiserverAPIGroup: API.OperationMethod<{}, {
301
+ readonly apiVersion?: string | undefined;
302
+ readonly kind?: string | undefined;
303
+ readonly name: string;
304
+ readonly preferredVersion?: {
305
+ readonly groupVersion: string;
306
+ readonly version: string;
307
+ } | undefined;
308
+ readonly serverAddressByClientCIDRs?: readonly {
309
+ readonly clientCIDR: string;
310
+ readonly serverAddress: string;
311
+ }[] | undefined;
312
+ readonly versions: readonly {
313
+ readonly groupVersion: string;
314
+ readonly version: string;
315
+ }[];
316
+ }, never, any>;
179
317
  export declare const GetInternalApiserverV1alpha1APIResourcesInput: Schema.Struct<{}>;
180
318
  export type GetInternalApiserverV1alpha1APIResourcesInput = typeof GetInternalApiserverV1alpha1APIResourcesInput.Type;
181
319
  export declare const GetInternalApiserverV1alpha1APIResourcesOutput: Schema.Struct<{
@@ -199,7 +337,23 @@ export type GetInternalApiserverV1alpha1APIResourcesOutput = typeof GetInternalA
199
337
  /**
200
338
  * get available resources
201
339
  */
202
- export declare const getInternalApiserverV1alpha1APIResources: any;
340
+ export declare const getInternalApiserverV1alpha1APIResources: API.OperationMethod<{}, {
341
+ readonly apiVersion?: string | undefined;
342
+ readonly groupVersion: string;
343
+ readonly kind?: string | undefined;
344
+ readonly resources: readonly {
345
+ readonly categories?: readonly string[] | undefined;
346
+ readonly group?: string | undefined;
347
+ readonly kind: string;
348
+ readonly name: string;
349
+ readonly namespaced: boolean;
350
+ readonly shortNames?: readonly string[] | undefined;
351
+ readonly singularName: string;
352
+ readonly storageVersionHash?: string | undefined;
353
+ readonly verbs: readonly string[];
354
+ readonly version?: string | undefined;
355
+ }[];
356
+ }, never, any>;
203
357
  export declare const ListInternalApiserverV1alpha1StorageVersionInput: Schema.Struct<{}>;
204
358
  export type ListInternalApiserverV1alpha1StorageVersionInput = typeof ListInternalApiserverV1alpha1StorageVersionInput.Type;
205
359
  export declare const ListInternalApiserverV1alpha1StorageVersionOutput: Schema.Struct<{
@@ -273,7 +427,77 @@ export type ListInternalApiserverV1alpha1StorageVersionOutput = typeof ListInter
273
427
  /**
274
428
  * list or watch objects of kind StorageVersion
275
429
  */
276
- export declare const listInternalApiserverV1alpha1StorageVersion: any;
430
+ export declare const listInternalApiserverV1alpha1StorageVersion: API.OperationMethod<{}, {
431
+ readonly apiVersion?: string | undefined;
432
+ readonly items: readonly {
433
+ readonly apiVersion?: string | undefined;
434
+ readonly kind?: string | undefined;
435
+ readonly metadata: {
436
+ readonly annotations?: {
437
+ readonly [x: string]: string;
438
+ } | undefined;
439
+ readonly creationTimestamp?: string | undefined;
440
+ readonly deletionGracePeriodSeconds?: number | undefined;
441
+ readonly deletionTimestamp?: string | undefined;
442
+ readonly finalizers?: readonly string[] | undefined;
443
+ readonly generateName?: string | undefined;
444
+ readonly generation?: number | undefined;
445
+ readonly labels?: {
446
+ readonly [x: string]: string;
447
+ } | undefined;
448
+ readonly managedFields?: readonly {
449
+ readonly apiVersion?: string | undefined;
450
+ readonly fieldsType?: string | undefined;
451
+ readonly fieldsV1?: unknown;
452
+ readonly manager?: string | undefined;
453
+ readonly operation?: string | undefined;
454
+ readonly subresource?: string | undefined;
455
+ readonly time?: string | undefined;
456
+ }[] | undefined;
457
+ readonly name?: string | undefined;
458
+ readonly namespace?: string | undefined;
459
+ readonly ownerReferences?: readonly {
460
+ readonly apiVersion: string;
461
+ readonly blockOwnerDeletion?: boolean | undefined;
462
+ readonly controller?: boolean | undefined;
463
+ readonly kind: string;
464
+ readonly name: string;
465
+ readonly uid: string;
466
+ }[] | undefined;
467
+ readonly resourceVersion?: string | undefined;
468
+ readonly selfLink?: string | undefined;
469
+ readonly uid?: string | undefined;
470
+ };
471
+ readonly spec?: unknown;
472
+ readonly status?: {
473
+ readonly commonEncodingVersion?: string | undefined;
474
+ readonly conditions?: readonly {
475
+ readonly lastTransitionTime?: string | undefined;
476
+ readonly message: string;
477
+ readonly observedGeneration?: number | undefined;
478
+ readonly reason: string;
479
+ readonly status: string;
480
+ readonly type: string;
481
+ }[] | undefined;
482
+ readonly storageVersions?: readonly {
483
+ readonly apiServerID: string;
484
+ readonly decodableVersions: readonly string[];
485
+ readonly encodingVersion: string;
486
+ readonly servedVersions?: readonly string[] | undefined;
487
+ }[] | undefined;
488
+ } | undefined;
489
+ }[];
490
+ readonly kind?: string | undefined;
491
+ readonly metadata?: {
492
+ readonly continue?: string | undefined;
493
+ readonly remainingItemCount?: number | undefined;
494
+ readonly resourceVersion?: string | undefined;
495
+ readonly selfLink?: string | undefined;
496
+ readonly shardInfo?: {
497
+ readonly selector: string;
498
+ } | undefined;
499
+ } | undefined;
500
+ }, never, any>;
277
501
  export declare const PatchInternalApiserverV1alpha1StorageVersionInput: Schema.Struct<{
278
502
  readonly dryRun: Schema.optional<Schema.String>;
279
503
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -340,7 +564,67 @@ export type PatchInternalApiserverV1alpha1StorageVersionOutput = typeof PatchInt
340
564
  * @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
341
565
  * @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.
342
566
  */
343
- export declare const patchInternalApiserverV1alpha1StorageVersion: any;
567
+ export declare const patchInternalApiserverV1alpha1StorageVersion: API.OperationMethod<{
568
+ readonly dryRun?: string | undefined;
569
+ readonly fieldValidation?: string | undefined;
570
+ }, {
571
+ readonly apiVersion?: string | undefined;
572
+ readonly kind?: string | undefined;
573
+ readonly metadata: {
574
+ readonly annotations?: {
575
+ readonly [x: string]: string;
576
+ } | undefined;
577
+ readonly creationTimestamp?: string | undefined;
578
+ readonly deletionGracePeriodSeconds?: number | undefined;
579
+ readonly deletionTimestamp?: string | undefined;
580
+ readonly finalizers?: readonly string[] | undefined;
581
+ readonly generateName?: string | undefined;
582
+ readonly generation?: number | undefined;
583
+ readonly labels?: {
584
+ readonly [x: string]: string;
585
+ } | undefined;
586
+ readonly managedFields?: readonly {
587
+ readonly apiVersion?: string | undefined;
588
+ readonly fieldsType?: string | undefined;
589
+ readonly fieldsV1?: unknown;
590
+ readonly manager?: string | undefined;
591
+ readonly operation?: string | undefined;
592
+ readonly subresource?: string | undefined;
593
+ readonly time?: string | undefined;
594
+ }[] | undefined;
595
+ readonly name?: string | undefined;
596
+ readonly namespace?: string | undefined;
597
+ readonly ownerReferences?: readonly {
598
+ readonly apiVersion: string;
599
+ readonly blockOwnerDeletion?: boolean | undefined;
600
+ readonly controller?: boolean | undefined;
601
+ readonly kind: string;
602
+ readonly name: string;
603
+ readonly uid: string;
604
+ }[] | undefined;
605
+ readonly resourceVersion?: string | undefined;
606
+ readonly selfLink?: string | undefined;
607
+ readonly uid?: string | undefined;
608
+ };
609
+ readonly spec?: unknown;
610
+ readonly status?: {
611
+ readonly commonEncodingVersion?: string | undefined;
612
+ readonly conditions?: readonly {
613
+ readonly lastTransitionTime?: string | undefined;
614
+ readonly message: string;
615
+ readonly observedGeneration?: number | undefined;
616
+ readonly reason: string;
617
+ readonly status: string;
618
+ readonly type: string;
619
+ }[] | undefined;
620
+ readonly storageVersions?: readonly {
621
+ readonly apiServerID: string;
622
+ readonly decodableVersions: readonly string[];
623
+ readonly encodingVersion: string;
624
+ readonly servedVersions?: readonly string[] | undefined;
625
+ }[] | undefined;
626
+ } | undefined;
627
+ }, Conflict | NotFound | UnprocessableEntity, any>;
344
628
  export declare const PatchInternalApiserverV1alpha1StorageVersionStatusInput: Schema.Struct<{
345
629
  readonly dryRun: Schema.optional<Schema.String>;
346
630
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -407,7 +691,67 @@ export type PatchInternalApiserverV1alpha1StorageVersionStatusOutput = typeof Pa
407
691
  * @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
408
692
  * @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.
409
693
  */
410
- export declare const patchInternalApiserverV1alpha1StorageVersionStatus: any;
694
+ export declare const patchInternalApiserverV1alpha1StorageVersionStatus: API.OperationMethod<{
695
+ readonly dryRun?: string | undefined;
696
+ readonly fieldValidation?: string | undefined;
697
+ }, {
698
+ readonly apiVersion?: string | undefined;
699
+ readonly kind?: string | undefined;
700
+ readonly metadata: {
701
+ readonly annotations?: {
702
+ readonly [x: string]: string;
703
+ } | undefined;
704
+ readonly creationTimestamp?: string | undefined;
705
+ readonly deletionGracePeriodSeconds?: number | undefined;
706
+ readonly deletionTimestamp?: string | undefined;
707
+ readonly finalizers?: readonly string[] | undefined;
708
+ readonly generateName?: string | undefined;
709
+ readonly generation?: number | undefined;
710
+ readonly labels?: {
711
+ readonly [x: string]: string;
712
+ } | undefined;
713
+ readonly managedFields?: readonly {
714
+ readonly apiVersion?: string | undefined;
715
+ readonly fieldsType?: string | undefined;
716
+ readonly fieldsV1?: unknown;
717
+ readonly manager?: string | undefined;
718
+ readonly operation?: string | undefined;
719
+ readonly subresource?: string | undefined;
720
+ readonly time?: string | undefined;
721
+ }[] | undefined;
722
+ readonly name?: string | undefined;
723
+ readonly namespace?: string | undefined;
724
+ readonly ownerReferences?: readonly {
725
+ readonly apiVersion: string;
726
+ readonly blockOwnerDeletion?: boolean | undefined;
727
+ readonly controller?: boolean | undefined;
728
+ readonly kind: string;
729
+ readonly name: string;
730
+ readonly uid: string;
731
+ }[] | undefined;
732
+ readonly resourceVersion?: string | undefined;
733
+ readonly selfLink?: string | undefined;
734
+ readonly uid?: string | undefined;
735
+ };
736
+ readonly spec?: unknown;
737
+ readonly status?: {
738
+ readonly commonEncodingVersion?: string | undefined;
739
+ readonly conditions?: readonly {
740
+ readonly lastTransitionTime?: string | undefined;
741
+ readonly message: string;
742
+ readonly observedGeneration?: number | undefined;
743
+ readonly reason: string;
744
+ readonly status: string;
745
+ readonly type: string;
746
+ }[] | undefined;
747
+ readonly storageVersions?: readonly {
748
+ readonly apiServerID: string;
749
+ readonly decodableVersions: readonly string[];
750
+ readonly encodingVersion: string;
751
+ readonly servedVersions?: readonly string[] | undefined;
752
+ }[] | undefined;
753
+ } | undefined;
754
+ }, Conflict | NotFound | UnprocessableEntity, any>;
411
755
  export declare const ReadInternalApiserverV1alpha1StorageVersionInput: Schema.Struct<{}>;
412
756
  export type ReadInternalApiserverV1alpha1StorageVersionInput = typeof ReadInternalApiserverV1alpha1StorageVersionInput.Type;
413
757
  export declare const ReadInternalApiserverV1alpha1StorageVersionOutput: Schema.Struct<{
@@ -468,7 +812,64 @@ export type ReadInternalApiserverV1alpha1StorageVersionOutput = typeof ReadInter
468
812
  /**
469
813
  * read the specified StorageVersion
470
814
  */
471
- export declare const readInternalApiserverV1alpha1StorageVersion: any;
815
+ export declare const readInternalApiserverV1alpha1StorageVersion: API.OperationMethod<{}, {
816
+ readonly apiVersion?: string | undefined;
817
+ readonly kind?: string | undefined;
818
+ readonly metadata: {
819
+ readonly annotations?: {
820
+ readonly [x: string]: string;
821
+ } | undefined;
822
+ readonly creationTimestamp?: string | undefined;
823
+ readonly deletionGracePeriodSeconds?: number | undefined;
824
+ readonly deletionTimestamp?: string | undefined;
825
+ readonly finalizers?: readonly string[] | undefined;
826
+ readonly generateName?: string | undefined;
827
+ readonly generation?: number | undefined;
828
+ readonly labels?: {
829
+ readonly [x: string]: string;
830
+ } | undefined;
831
+ readonly managedFields?: readonly {
832
+ readonly apiVersion?: string | undefined;
833
+ readonly fieldsType?: string | undefined;
834
+ readonly fieldsV1?: unknown;
835
+ readonly manager?: string | undefined;
836
+ readonly operation?: string | undefined;
837
+ readonly subresource?: string | undefined;
838
+ readonly time?: string | undefined;
839
+ }[] | undefined;
840
+ readonly name?: string | undefined;
841
+ readonly namespace?: string | undefined;
842
+ readonly ownerReferences?: readonly {
843
+ readonly apiVersion: string;
844
+ readonly blockOwnerDeletion?: boolean | undefined;
845
+ readonly controller?: boolean | undefined;
846
+ readonly kind: string;
847
+ readonly name: string;
848
+ readonly uid: string;
849
+ }[] | undefined;
850
+ readonly resourceVersion?: string | undefined;
851
+ readonly selfLink?: string | undefined;
852
+ readonly uid?: string | undefined;
853
+ };
854
+ readonly spec?: unknown;
855
+ readonly status?: {
856
+ readonly commonEncodingVersion?: string | undefined;
857
+ readonly conditions?: readonly {
858
+ readonly lastTransitionTime?: string | undefined;
859
+ readonly message: string;
860
+ readonly observedGeneration?: number | undefined;
861
+ readonly reason: string;
862
+ readonly status: string;
863
+ readonly type: string;
864
+ }[] | undefined;
865
+ readonly storageVersions?: readonly {
866
+ readonly apiServerID: string;
867
+ readonly decodableVersions: readonly string[];
868
+ readonly encodingVersion: string;
869
+ readonly servedVersions?: readonly string[] | undefined;
870
+ }[] | undefined;
871
+ } | undefined;
872
+ }, NotFound, any>;
472
873
  export declare const ReadInternalApiserverV1alpha1StorageVersionStatusInput: Schema.Struct<{}>;
473
874
  export type ReadInternalApiserverV1alpha1StorageVersionStatusInput = typeof ReadInternalApiserverV1alpha1StorageVersionStatusInput.Type;
474
875
  export declare const ReadInternalApiserverV1alpha1StorageVersionStatusOutput: Schema.Struct<{
@@ -529,7 +930,64 @@ export type ReadInternalApiserverV1alpha1StorageVersionStatusOutput = typeof Rea
529
930
  /**
530
931
  * read status of the specified StorageVersion
531
932
  */
532
- export declare const readInternalApiserverV1alpha1StorageVersionStatus: any;
933
+ export declare const readInternalApiserverV1alpha1StorageVersionStatus: API.OperationMethod<{}, {
934
+ readonly apiVersion?: string | undefined;
935
+ readonly kind?: string | undefined;
936
+ readonly metadata: {
937
+ readonly annotations?: {
938
+ readonly [x: string]: string;
939
+ } | undefined;
940
+ readonly creationTimestamp?: string | undefined;
941
+ readonly deletionGracePeriodSeconds?: number | undefined;
942
+ readonly deletionTimestamp?: string | undefined;
943
+ readonly finalizers?: readonly string[] | undefined;
944
+ readonly generateName?: string | undefined;
945
+ readonly generation?: number | undefined;
946
+ readonly labels?: {
947
+ readonly [x: string]: string;
948
+ } | undefined;
949
+ readonly managedFields?: readonly {
950
+ readonly apiVersion?: string | undefined;
951
+ readonly fieldsType?: string | undefined;
952
+ readonly fieldsV1?: unknown;
953
+ readonly manager?: string | undefined;
954
+ readonly operation?: string | undefined;
955
+ readonly subresource?: string | undefined;
956
+ readonly time?: string | undefined;
957
+ }[] | undefined;
958
+ readonly name?: string | undefined;
959
+ readonly namespace?: string | undefined;
960
+ readonly ownerReferences?: readonly {
961
+ readonly apiVersion: string;
962
+ readonly blockOwnerDeletion?: boolean | undefined;
963
+ readonly controller?: boolean | undefined;
964
+ readonly kind: string;
965
+ readonly name: string;
966
+ readonly uid: string;
967
+ }[] | undefined;
968
+ readonly resourceVersion?: string | undefined;
969
+ readonly selfLink?: string | undefined;
970
+ readonly uid?: string | undefined;
971
+ };
972
+ readonly spec?: unknown;
973
+ readonly status?: {
974
+ readonly commonEncodingVersion?: string | undefined;
975
+ readonly conditions?: readonly {
976
+ readonly lastTransitionTime?: string | undefined;
977
+ readonly message: string;
978
+ readonly observedGeneration?: number | undefined;
979
+ readonly reason: string;
980
+ readonly status: string;
981
+ readonly type: string;
982
+ }[] | undefined;
983
+ readonly storageVersions?: readonly {
984
+ readonly apiServerID: string;
985
+ readonly decodableVersions: readonly string[];
986
+ readonly encodingVersion: string;
987
+ readonly servedVersions?: readonly string[] | undefined;
988
+ }[] | undefined;
989
+ } | undefined;
990
+ }, NotFound, any>;
533
991
  export declare const ReplaceInternalApiserverV1alpha1StorageVersionInput: Schema.Struct<{
534
992
  readonly dryRun: Schema.optional<Schema.String>;
535
993
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -596,7 +1054,67 @@ export type ReplaceInternalApiserverV1alpha1StorageVersionOutput = typeof Replac
596
1054
  * @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
597
1055
  * @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.
598
1056
  */
599
- export declare const replaceInternalApiserverV1alpha1StorageVersion: any;
1057
+ export declare const replaceInternalApiserverV1alpha1StorageVersion: API.OperationMethod<{
1058
+ readonly dryRun?: string | undefined;
1059
+ readonly fieldValidation?: string | undefined;
1060
+ }, {
1061
+ readonly apiVersion?: string | undefined;
1062
+ readonly kind?: string | undefined;
1063
+ readonly metadata: {
1064
+ readonly annotations?: {
1065
+ readonly [x: string]: string;
1066
+ } | undefined;
1067
+ readonly creationTimestamp?: string | undefined;
1068
+ readonly deletionGracePeriodSeconds?: number | undefined;
1069
+ readonly deletionTimestamp?: string | undefined;
1070
+ readonly finalizers?: readonly string[] | undefined;
1071
+ readonly generateName?: string | undefined;
1072
+ readonly generation?: number | undefined;
1073
+ readonly labels?: {
1074
+ readonly [x: string]: string;
1075
+ } | undefined;
1076
+ readonly managedFields?: readonly {
1077
+ readonly apiVersion?: string | undefined;
1078
+ readonly fieldsType?: string | undefined;
1079
+ readonly fieldsV1?: unknown;
1080
+ readonly manager?: string | undefined;
1081
+ readonly operation?: string | undefined;
1082
+ readonly subresource?: string | undefined;
1083
+ readonly time?: string | undefined;
1084
+ }[] | undefined;
1085
+ readonly name?: string | undefined;
1086
+ readonly namespace?: string | undefined;
1087
+ readonly ownerReferences?: readonly {
1088
+ readonly apiVersion: string;
1089
+ readonly blockOwnerDeletion?: boolean | undefined;
1090
+ readonly controller?: boolean | undefined;
1091
+ readonly kind: string;
1092
+ readonly name: string;
1093
+ readonly uid: string;
1094
+ }[] | undefined;
1095
+ readonly resourceVersion?: string | undefined;
1096
+ readonly selfLink?: string | undefined;
1097
+ readonly uid?: string | undefined;
1098
+ };
1099
+ readonly spec?: unknown;
1100
+ readonly status?: {
1101
+ readonly commonEncodingVersion?: string | undefined;
1102
+ readonly conditions?: readonly {
1103
+ readonly lastTransitionTime?: string | undefined;
1104
+ readonly message: string;
1105
+ readonly observedGeneration?: number | undefined;
1106
+ readonly reason: string;
1107
+ readonly status: string;
1108
+ readonly type: string;
1109
+ }[] | undefined;
1110
+ readonly storageVersions?: readonly {
1111
+ readonly apiServerID: string;
1112
+ readonly decodableVersions: readonly string[];
1113
+ readonly encodingVersion: string;
1114
+ readonly servedVersions?: readonly string[] | undefined;
1115
+ }[] | undefined;
1116
+ } | undefined;
1117
+ }, Conflict | NotFound | UnprocessableEntity, any>;
600
1118
  export declare const ReplaceInternalApiserverV1alpha1StorageVersionStatusInput: Schema.Struct<{
601
1119
  readonly dryRun: Schema.optional<Schema.String>;
602
1120
  readonly fieldValidation: Schema.optional<Schema.String>;
@@ -663,7 +1181,67 @@ export type ReplaceInternalApiserverV1alpha1StorageVersionStatusOutput = typeof
663
1181
  * @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
664
1182
  * @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.
665
1183
  */
666
- export declare const replaceInternalApiserverV1alpha1StorageVersionStatus: any;
1184
+ export declare const replaceInternalApiserverV1alpha1StorageVersionStatus: API.OperationMethod<{
1185
+ readonly dryRun?: string | undefined;
1186
+ readonly fieldValidation?: string | undefined;
1187
+ }, {
1188
+ readonly apiVersion?: string | undefined;
1189
+ readonly kind?: string | undefined;
1190
+ readonly metadata: {
1191
+ readonly annotations?: {
1192
+ readonly [x: string]: string;
1193
+ } | undefined;
1194
+ readonly creationTimestamp?: string | undefined;
1195
+ readonly deletionGracePeriodSeconds?: number | undefined;
1196
+ readonly deletionTimestamp?: string | undefined;
1197
+ readonly finalizers?: readonly string[] | undefined;
1198
+ readonly generateName?: string | undefined;
1199
+ readonly generation?: number | undefined;
1200
+ readonly labels?: {
1201
+ readonly [x: string]: string;
1202
+ } | undefined;
1203
+ readonly managedFields?: readonly {
1204
+ readonly apiVersion?: string | undefined;
1205
+ readonly fieldsType?: string | undefined;
1206
+ readonly fieldsV1?: unknown;
1207
+ readonly manager?: string | undefined;
1208
+ readonly operation?: string | undefined;
1209
+ readonly subresource?: string | undefined;
1210
+ readonly time?: string | undefined;
1211
+ }[] | undefined;
1212
+ readonly name?: string | undefined;
1213
+ readonly namespace?: string | undefined;
1214
+ readonly ownerReferences?: readonly {
1215
+ readonly apiVersion: string;
1216
+ readonly blockOwnerDeletion?: boolean | undefined;
1217
+ readonly controller?: boolean | undefined;
1218
+ readonly kind: string;
1219
+ readonly name: string;
1220
+ readonly uid: string;
1221
+ }[] | undefined;
1222
+ readonly resourceVersion?: string | undefined;
1223
+ readonly selfLink?: string | undefined;
1224
+ readonly uid?: string | undefined;
1225
+ };
1226
+ readonly spec?: unknown;
1227
+ readonly status?: {
1228
+ readonly commonEncodingVersion?: string | undefined;
1229
+ readonly conditions?: readonly {
1230
+ readonly lastTransitionTime?: string | undefined;
1231
+ readonly message: string;
1232
+ readonly observedGeneration?: number | undefined;
1233
+ readonly reason: string;
1234
+ readonly status: string;
1235
+ readonly type: string;
1236
+ }[] | undefined;
1237
+ readonly storageVersions?: readonly {
1238
+ readonly apiServerID: string;
1239
+ readonly decodableVersions: readonly string[];
1240
+ readonly encodingVersion: string;
1241
+ readonly servedVersions?: readonly string[] | undefined;
1242
+ }[] | undefined;
1243
+ } | undefined;
1244
+ }, Conflict | NotFound | UnprocessableEntity, any>;
667
1245
  export declare const WatchInternalApiserverV1alpha1StorageVersionInput: Schema.Struct<{}>;
668
1246
  export type WatchInternalApiserverV1alpha1StorageVersionInput = typeof WatchInternalApiserverV1alpha1StorageVersionInput.Type;
669
1247
  export declare const WatchInternalApiserverV1alpha1StorageVersionOutput: Schema.Struct<{
@@ -674,7 +1252,10 @@ export type WatchInternalApiserverV1alpha1StorageVersionOutput = typeof WatchInt
674
1252
  /**
675
1253
  * watch changes to an object of kind StorageVersion. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
676
1254
  */
677
- export declare const watchInternalApiserverV1alpha1StorageVersion: any;
1255
+ export declare const watchInternalApiserverV1alpha1StorageVersion: API.OperationMethod<{}, {
1256
+ readonly object: unknown;
1257
+ readonly type: string;
1258
+ }, never, any>;
678
1259
  export declare const WatchInternalApiserverV1alpha1StorageVersionListInput: Schema.Struct<{}>;
679
1260
  export type WatchInternalApiserverV1alpha1StorageVersionListInput = typeof WatchInternalApiserverV1alpha1StorageVersionListInput.Type;
680
1261
  export declare const WatchInternalApiserverV1alpha1StorageVersionListOutput: Schema.Struct<{
@@ -685,5 +1266,8 @@ export type WatchInternalApiserverV1alpha1StorageVersionListOutput = typeof Watc
685
1266
  /**
686
1267
  * watch individual changes to a list of StorageVersion. deprecated: use the 'watch' parameter with a list operation instead.
687
1268
  */
688
- export declare const watchInternalApiserverV1alpha1StorageVersionList: any;
1269
+ export declare const watchInternalApiserverV1alpha1StorageVersionList: API.OperationMethod<{}, {
1270
+ readonly object: unknown;
1271
+ readonly type: string;
1272
+ }, never, any>;
689
1273
  //# sourceMappingURL=internal-apiserver.d.ts.map