@distilled.cloud/kubernetes 0.9.0 → 0.10.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 (106) hide show
  1. package/lib/services/admissionregistration.d.ts +90 -0
  2. package/lib/services/admissionregistration.d.ts.map +1 -1
  3. package/lib/services/admissionregistration.js +90 -0
  4. package/lib/services/admissionregistration.js.map +1 -1
  5. package/lib/services/apiextensions.d.ts +9 -0
  6. package/lib/services/apiextensions.d.ts.map +1 -1
  7. package/lib/services/apiextensions.js +9 -0
  8. package/lib/services/apiextensions.js.map +1 -1
  9. package/lib/services/apiregistration.d.ts +9 -0
  10. package/lib/services/apiregistration.d.ts.map +1 -1
  11. package/lib/services/apiregistration.js +9 -0
  12. package/lib/services/apiregistration.js.map +1 -1
  13. package/lib/services/apps.d.ts +60 -0
  14. package/lib/services/apps.d.ts.map +1 -1
  15. package/lib/services/apps.js +60 -0
  16. package/lib/services/apps.js.map +1 -1
  17. package/lib/services/autoscaling.d.ts +24 -0
  18. package/lib/services/autoscaling.d.ts.map +1 -1
  19. package/lib/services/autoscaling.js +24 -0
  20. package/lib/services/autoscaling.js.map +1 -1
  21. package/lib/services/batch.d.ts +24 -0
  22. package/lib/services/batch.d.ts.map +1 -1
  23. package/lib/services/batch.js +24 -0
  24. package/lib/services/batch.js.map +1 -1
  25. package/lib/services/certificates.d.ts +39 -0
  26. package/lib/services/certificates.d.ts.map +1 -1
  27. package/lib/services/certificates.js +39 -0
  28. package/lib/services/certificates.js.map +1 -1
  29. package/lib/services/coordination.d.ts +36 -0
  30. package/lib/services/coordination.d.ts.map +1 -1
  31. package/lib/services/coordination.js +36 -0
  32. package/lib/services/coordination.js.map +1 -1
  33. package/lib/services/core.d.ts +230 -0
  34. package/lib/services/core.d.ts.map +1 -1
  35. package/lib/services/core.js +230 -0
  36. package/lib/services/core.js.map +1 -1
  37. package/lib/services/discovery.d.ts +12 -0
  38. package/lib/services/discovery.d.ts.map +1 -1
  39. package/lib/services/discovery.js +12 -0
  40. package/lib/services/discovery.js.map +1 -1
  41. package/lib/services/events.d.ts +12 -0
  42. package/lib/services/events.d.ts.map +1 -1
  43. package/lib/services/events.js +12 -0
  44. package/lib/services/events.js.map +1 -1
  45. package/lib/services/flowcontrol-apiserver.d.ts +18 -0
  46. package/lib/services/flowcontrol-apiserver.d.ts.map +1 -1
  47. package/lib/services/flowcontrol-apiserver.js +18 -0
  48. package/lib/services/flowcontrol-apiserver.js.map +1 -1
  49. package/lib/services/internal-apiserver.d.ts +9 -0
  50. package/lib/services/internal-apiserver.d.ts.map +1 -1
  51. package/lib/services/internal-apiserver.js +9 -0
  52. package/lib/services/internal-apiserver.js.map +1 -1
  53. package/lib/services/networking.d.ts +69 -0
  54. package/lib/services/networking.d.ts.map +1 -1
  55. package/lib/services/networking.js +69 -0
  56. package/lib/services/networking.js.map +1 -1
  57. package/lib/services/node.d.ts +9 -0
  58. package/lib/services/node.d.ts.map +1 -1
  59. package/lib/services/node.js +9 -0
  60. package/lib/services/node.js.map +1 -1
  61. package/lib/services/policy.d.ts +12 -0
  62. package/lib/services/policy.d.ts.map +1 -1
  63. package/lib/services/policy.js +12 -0
  64. package/lib/services/policy.js.map +1 -1
  65. package/lib/services/rbac-authorization.d.ts +42 -0
  66. package/lib/services/rbac-authorization.d.ts.map +1 -1
  67. package/lib/services/rbac-authorization.js +42 -0
  68. package/lib/services/rbac-authorization.js.map +1 -1
  69. package/lib/services/resource.d.ts +994 -0
  70. package/lib/services/resource.d.ts.map +1 -1
  71. package/lib/services/resource.js +1160 -46
  72. package/lib/services/resource.js.map +1 -1
  73. package/lib/services/scheduling.d.ts +264 -0
  74. package/lib/services/scheduling.d.ts.map +1 -1
  75. package/lib/services/scheduling.js +264 -0
  76. package/lib/services/scheduling.js.map +1 -1
  77. package/lib/services/storage.d.ts +48 -0
  78. package/lib/services/storage.d.ts.map +1 -1
  79. package/lib/services/storage.js +48 -0
  80. package/lib/services/storage.js.map +1 -1
  81. package/lib/services/storagemigration.d.ts +9 -0
  82. package/lib/services/storagemigration.d.ts.map +1 -1
  83. package/lib/services/storagemigration.js +9 -0
  84. package/lib/services/storagemigration.js.map +1 -1
  85. package/package.json +4 -4
  86. package/src/services/admissionregistration.ts +150 -0
  87. package/src/services/apiextensions.ts +15 -0
  88. package/src/services/apiregistration.ts +15 -0
  89. package/src/services/apps.ts +100 -0
  90. package/src/services/autoscaling.ts +40 -0
  91. package/src/services/batch.ts +40 -0
  92. package/src/services/certificates.ts +65 -0
  93. package/src/services/coordination.ts +60 -0
  94. package/src/services/core.ts +394 -0
  95. package/src/services/discovery.ts +20 -0
  96. package/src/services/events.ts +20 -0
  97. package/src/services/flowcontrol-apiserver.ts +30 -0
  98. package/src/services/internal-apiserver.ts +15 -0
  99. package/src/services/networking.ts +115 -0
  100. package/src/services/node.ts +15 -0
  101. package/src/services/policy.ts +20 -0
  102. package/src/services/rbac-authorization.ts +70 -0
  103. package/src/services/resource.ts +1581 -30
  104. package/src/services/scheduling.ts +472 -0
  105. package/src/services/storage.ts +80 -0
  106. package/src/services/storagemigration.ts +15 -0
@@ -734,9 +734,13 @@ export const CreateResourceV1ResourceSliceOutput =
734
734
  Schema.String,
735
735
  Schema.Struct({
736
736
  bool: Schema.optional(Schema.Boolean),
737
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
737
738
  int: Schema.optional(Schema.Number),
739
+ ints: Schema.optional(Schema.Array(Schema.Number)),
738
740
  string: Schema.optional(Schema.String),
741
+ strings: Schema.optional(Schema.Array(Schema.String)),
739
742
  version: Schema.optional(Schema.String),
743
+ versions: Schema.optional(Schema.Array(Schema.String)),
740
744
  }),
741
745
  ),
742
746
  ),
@@ -780,6 +784,15 @@ export const CreateResourceV1ResourceSliceOutput =
780
784
  ),
781
785
  ),
782
786
  name: Schema.String,
787
+ nodeAllocatableResourceMappings: Schema.optional(
788
+ Schema.Record(
789
+ Schema.String,
790
+ Schema.Struct({
791
+ allocationMultiplier: Schema.optional(Schema.String),
792
+ capacityKey: Schema.optional(Schema.String),
793
+ }),
794
+ ),
795
+ ),
783
796
  nodeName: Schema.optional(Schema.String),
784
797
  nodeSelector: Schema.optional(
785
798
  Schema.Struct({
@@ -995,6 +1008,119 @@ export const createResourceV1alpha3DeviceTaintRule =
995
1008
  outputSchema: CreateResourceV1alpha3DeviceTaintRuleOutput,
996
1009
  }));
997
1010
  // Input Schema
1011
+ export const CreateResourceV1alpha3ResourcePoolStatusRequestInput =
1012
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1013
+ dryRun: Schema.optional(Schema.String),
1014
+ fieldValidation: Schema.optional(Schema.String),
1015
+ }).pipe(
1016
+ T.Http({
1017
+ method: "POST",
1018
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests",
1019
+ }),
1020
+ );
1021
+ export type CreateResourceV1alpha3ResourcePoolStatusRequestInput =
1022
+ typeof CreateResourceV1alpha3ResourcePoolStatusRequestInput.Type;
1023
+
1024
+ // Output Schema
1025
+ export const CreateResourceV1alpha3ResourcePoolStatusRequestOutput =
1026
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1027
+ apiVersion: Schema.optional(Schema.String),
1028
+ kind: Schema.optional(Schema.String),
1029
+ metadata: Schema.Struct({
1030
+ annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1031
+ creationTimestamp: Schema.optional(Schema.String),
1032
+ deletionGracePeriodSeconds: Schema.optional(Schema.Number),
1033
+ deletionTimestamp: Schema.optional(Schema.String),
1034
+ finalizers: Schema.optional(Schema.Array(Schema.String)),
1035
+ generateName: Schema.optional(Schema.String),
1036
+ generation: Schema.optional(Schema.Number),
1037
+ labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
1038
+ managedFields: Schema.optional(
1039
+ Schema.Array(
1040
+ Schema.Struct({
1041
+ apiVersion: Schema.optional(Schema.String),
1042
+ fieldsType: Schema.optional(Schema.String),
1043
+ fieldsV1: Schema.optional(Schema.Unknown),
1044
+ manager: Schema.optional(Schema.String),
1045
+ operation: Schema.optional(Schema.String),
1046
+ subresource: Schema.optional(Schema.String),
1047
+ time: Schema.optional(Schema.String),
1048
+ }),
1049
+ ),
1050
+ ),
1051
+ name: Schema.optional(Schema.String),
1052
+ namespace: Schema.optional(Schema.String),
1053
+ ownerReferences: Schema.optional(
1054
+ Schema.Array(
1055
+ Schema.Struct({
1056
+ apiVersion: Schema.String,
1057
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
1058
+ controller: Schema.optional(Schema.Boolean),
1059
+ kind: Schema.String,
1060
+ name: Schema.String,
1061
+ uid: Schema.String,
1062
+ }),
1063
+ ),
1064
+ ),
1065
+ resourceVersion: Schema.optional(Schema.String),
1066
+ selfLink: Schema.optional(Schema.String),
1067
+ uid: Schema.optional(Schema.String),
1068
+ }),
1069
+ spec: Schema.Struct({
1070
+ driver: Schema.String,
1071
+ limit: Schema.optional(Schema.Number),
1072
+ poolName: Schema.optional(Schema.String),
1073
+ }),
1074
+ status: Schema.optional(
1075
+ Schema.Struct({
1076
+ conditions: Schema.optional(
1077
+ Schema.Array(
1078
+ Schema.Struct({
1079
+ lastTransitionTime: Schema.String,
1080
+ message: Schema.String,
1081
+ observedGeneration: Schema.optional(Schema.Number),
1082
+ reason: Schema.String,
1083
+ status: Schema.String,
1084
+ type: Schema.String,
1085
+ }),
1086
+ ),
1087
+ ),
1088
+ poolCount: Schema.Number,
1089
+ pools: Schema.optional(
1090
+ Schema.Array(
1091
+ Schema.Struct({
1092
+ allocatedDevices: Schema.optional(Schema.Number),
1093
+ availableDevices: Schema.optional(Schema.Number),
1094
+ driver: Schema.String,
1095
+ generation: Schema.Number,
1096
+ nodeName: Schema.optional(Schema.String),
1097
+ poolName: Schema.String,
1098
+ resourceSliceCount: Schema.optional(Schema.Number),
1099
+ totalDevices: Schema.optional(Schema.Number),
1100
+ unavailableDevices: Schema.optional(Schema.Number),
1101
+ validationError: Schema.optional(Schema.String),
1102
+ }),
1103
+ ),
1104
+ ),
1105
+ }),
1106
+ ),
1107
+ });
1108
+ export type CreateResourceV1alpha3ResourcePoolStatusRequestOutput =
1109
+ typeof CreateResourceV1alpha3ResourcePoolStatusRequestOutput.Type;
1110
+
1111
+ // The operation
1112
+ /**
1113
+ * create a ResourcePoolStatusRequest
1114
+ *
1115
+ * @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
1116
+ * @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.
1117
+ */
1118
+ export const createResourceV1alpha3ResourcePoolStatusRequest =
1119
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
1120
+ inputSchema: CreateResourceV1alpha3ResourcePoolStatusRequestInput,
1121
+ outputSchema: CreateResourceV1alpha3ResourcePoolStatusRequestOutput,
1122
+ }));
1123
+ // Input Schema
998
1124
  export const CreateResourceV1beta1DeviceClassInput =
999
1125
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1000
1126
  dryRun: Schema.optional(Schema.String),
@@ -1719,9 +1845,13 @@ export const CreateResourceV1beta1ResourceSliceOutput =
1719
1845
  Schema.String,
1720
1846
  Schema.Struct({
1721
1847
  bool: Schema.optional(Schema.Boolean),
1848
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
1722
1849
  int: Schema.optional(Schema.Number),
1850
+ ints: Schema.optional(Schema.Array(Schema.Number)),
1723
1851
  string: Schema.optional(Schema.String),
1852
+ strings: Schema.optional(Schema.Array(Schema.String)),
1724
1853
  version: Schema.optional(Schema.String),
1854
+ versions: Schema.optional(Schema.Array(Schema.String)),
1725
1855
  }),
1726
1856
  ),
1727
1857
  ),
@@ -1766,6 +1896,15 @@ export const CreateResourceV1beta1ResourceSliceOutput =
1766
1896
  }),
1767
1897
  ),
1768
1898
  ),
1899
+ nodeAllocatableResourceMappings: Schema.optional(
1900
+ Schema.Record(
1901
+ Schema.String,
1902
+ Schema.Struct({
1903
+ allocationMultiplier: Schema.optional(Schema.String),
1904
+ capacityKey: Schema.optional(Schema.String),
1905
+ }),
1906
+ ),
1907
+ ),
1769
1908
  nodeName: Schema.optional(Schema.String),
1770
1909
  nodeSelector: Schema.optional(
1771
1910
  Schema.Struct({
@@ -2718,9 +2857,13 @@ export const CreateResourceV1beta2ResourceSliceOutput =
2718
2857
  Schema.String,
2719
2858
  Schema.Struct({
2720
2859
  bool: Schema.optional(Schema.Boolean),
2860
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
2721
2861
  int: Schema.optional(Schema.Number),
2862
+ ints: Schema.optional(Schema.Array(Schema.Number)),
2722
2863
  string: Schema.optional(Schema.String),
2864
+ strings: Schema.optional(Schema.Array(Schema.String)),
2723
2865
  version: Schema.optional(Schema.String),
2866
+ versions: Schema.optional(Schema.Array(Schema.String)),
2724
2867
  }),
2725
2868
  ),
2726
2869
  ),
@@ -2764,6 +2907,15 @@ export const CreateResourceV1beta2ResourceSliceOutput =
2764
2907
  ),
2765
2908
  ),
2766
2909
  name: Schema.String,
2910
+ nodeAllocatableResourceMappings: Schema.optional(
2911
+ Schema.Record(
2912
+ Schema.String,
2913
+ Schema.Struct({
2914
+ allocationMultiplier: Schema.optional(Schema.String),
2915
+ capacityKey: Schema.optional(Schema.String),
2916
+ }),
2917
+ ),
2918
+ ),
2767
2919
  nodeName: Schema.optional(Schema.String),
2768
2920
  nodeSelector: Schema.optional(
2769
2921
  Schema.Struct({
@@ -2912,6 +3064,11 @@ export const DeleteResourceV1CollectionDeviceClassOutput =
2912
3064
  remainingItemCount: Schema.optional(Schema.Number),
2913
3065
  resourceVersion: Schema.optional(Schema.String),
2914
3066
  selfLink: Schema.optional(Schema.String),
3067
+ shardInfo: Schema.optional(
3068
+ Schema.Struct({
3069
+ selector: Schema.String,
3070
+ }),
3071
+ ),
2915
3072
  }),
2916
3073
  ),
2917
3074
  reason: Schema.optional(Schema.String),
@@ -2975,6 +3132,11 @@ export const DeleteResourceV1CollectionNamespacedResourceClaimOutput =
2975
3132
  remainingItemCount: Schema.optional(Schema.Number),
2976
3133
  resourceVersion: Schema.optional(Schema.String),
2977
3134
  selfLink: Schema.optional(Schema.String),
3135
+ shardInfo: Schema.optional(
3136
+ Schema.Struct({
3137
+ selector: Schema.String,
3138
+ }),
3139
+ ),
2978
3140
  }),
2979
3141
  ),
2980
3142
  reason: Schema.optional(Schema.String),
@@ -3038,6 +3200,11 @@ export const DeleteResourceV1CollectionNamespacedResourceClaimTemplateOutput =
3038
3200
  remainingItemCount: Schema.optional(Schema.Number),
3039
3201
  resourceVersion: Schema.optional(Schema.String),
3040
3202
  selfLink: Schema.optional(Schema.String),
3203
+ shardInfo: Schema.optional(
3204
+ Schema.Struct({
3205
+ selector: Schema.String,
3206
+ }),
3207
+ ),
3041
3208
  }),
3042
3209
  ),
3043
3210
  reason: Schema.optional(Schema.String),
@@ -3102,6 +3269,11 @@ export const DeleteResourceV1CollectionResourceSliceOutput =
3102
3269
  remainingItemCount: Schema.optional(Schema.Number),
3103
3270
  resourceVersion: Schema.optional(Schema.String),
3104
3271
  selfLink: Schema.optional(Schema.String),
3272
+ shardInfo: Schema.optional(
3273
+ Schema.Struct({
3274
+ selector: Schema.String,
3275
+ }),
3276
+ ),
3105
3277
  }),
3106
3278
  ),
3107
3279
  reason: Schema.optional(Schema.String),
@@ -3846,9 +4018,13 @@ export const DeleteResourceV1ResourceSliceOutput =
3846
4018
  Schema.String,
3847
4019
  Schema.Struct({
3848
4020
  bool: Schema.optional(Schema.Boolean),
4021
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
3849
4022
  int: Schema.optional(Schema.Number),
4023
+ ints: Schema.optional(Schema.Array(Schema.Number)),
3850
4024
  string: Schema.optional(Schema.String),
4025
+ strings: Schema.optional(Schema.Array(Schema.String)),
3851
4026
  version: Schema.optional(Schema.String),
4027
+ versions: Schema.optional(Schema.Array(Schema.String)),
3852
4028
  }),
3853
4029
  ),
3854
4030
  ),
@@ -3892,6 +4068,15 @@ export const DeleteResourceV1ResourceSliceOutput =
3892
4068
  ),
3893
4069
  ),
3894
4070
  name: Schema.String,
4071
+ nodeAllocatableResourceMappings: Schema.optional(
4072
+ Schema.Record(
4073
+ Schema.String,
4074
+ Schema.Struct({
4075
+ allocationMultiplier: Schema.optional(Schema.String),
4076
+ capacityKey: Schema.optional(Schema.String),
4077
+ }),
4078
+ ),
4079
+ ),
3895
4080
  nodeName: Schema.optional(Schema.String),
3896
4081
  nodeSelector: Schema.optional(
3897
4082
  Schema.Struct({
@@ -4039,6 +4224,11 @@ export const DeleteResourceV1alpha3CollectionDeviceTaintRuleOutput =
4039
4224
  remainingItemCount: Schema.optional(Schema.Number),
4040
4225
  resourceVersion: Schema.optional(Schema.String),
4041
4226
  selfLink: Schema.optional(Schema.String),
4227
+ shardInfo: Schema.optional(
4228
+ Schema.Struct({
4229
+ selector: Schema.String,
4230
+ }),
4231
+ ),
4042
4232
  }),
4043
4233
  ),
4044
4234
  reason: Schema.optional(Schema.String),
@@ -4059,6 +4249,75 @@ export const deleteResourceV1alpha3CollectionDeviceTaintRule =
4059
4249
  outputSchema: DeleteResourceV1alpha3CollectionDeviceTaintRuleOutput,
4060
4250
  }));
4061
4251
  // Input Schema
4252
+ export const DeleteResourceV1alpha3CollectionResourcePoolStatusRequestInput =
4253
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4254
+ dryRun: Schema.optional(Schema.String),
4255
+ }).pipe(
4256
+ T.Http({
4257
+ method: "DELETE",
4258
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests",
4259
+ }),
4260
+ );
4261
+ export type DeleteResourceV1alpha3CollectionResourcePoolStatusRequestInput =
4262
+ typeof DeleteResourceV1alpha3CollectionResourcePoolStatusRequestInput.Type;
4263
+
4264
+ // Output Schema
4265
+ export const DeleteResourceV1alpha3CollectionResourcePoolStatusRequestOutput =
4266
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4267
+ apiVersion: Schema.optional(Schema.String),
4268
+ code: Schema.optional(Schema.Number),
4269
+ details: Schema.optional(
4270
+ Schema.Struct({
4271
+ causes: Schema.optional(
4272
+ Schema.Array(
4273
+ Schema.Struct({
4274
+ field: Schema.optional(Schema.String),
4275
+ message: Schema.optional(Schema.String),
4276
+ reason: Schema.optional(Schema.String),
4277
+ }),
4278
+ ),
4279
+ ),
4280
+ group: Schema.optional(Schema.String),
4281
+ kind: Schema.optional(Schema.String),
4282
+ name: Schema.optional(Schema.String),
4283
+ retryAfterSeconds: Schema.optional(Schema.Number),
4284
+ uid: Schema.optional(Schema.String),
4285
+ }),
4286
+ ),
4287
+ kind: Schema.optional(Schema.String),
4288
+ message: Schema.optional(Schema.String),
4289
+ metadata: Schema.optional(
4290
+ Schema.Struct({
4291
+ continue: Schema.optional(Schema.String),
4292
+ remainingItemCount: Schema.optional(Schema.Number),
4293
+ resourceVersion: Schema.optional(Schema.String),
4294
+ selfLink: Schema.optional(Schema.String),
4295
+ shardInfo: Schema.optional(
4296
+ Schema.Struct({
4297
+ selector: Schema.String,
4298
+ }),
4299
+ ),
4300
+ }),
4301
+ ),
4302
+ reason: Schema.optional(Schema.String),
4303
+ status: Schema.optional(Schema.String),
4304
+ });
4305
+ export type DeleteResourceV1alpha3CollectionResourcePoolStatusRequestOutput =
4306
+ typeof DeleteResourceV1alpha3CollectionResourcePoolStatusRequestOutput.Type;
4307
+
4308
+ // The operation
4309
+ /**
4310
+ * delete collection of ResourcePoolStatusRequest
4311
+ *
4312
+ * @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
4313
+ */
4314
+ export const deleteResourceV1alpha3CollectionResourcePoolStatusRequest =
4315
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4316
+ inputSchema: DeleteResourceV1alpha3CollectionResourcePoolStatusRequestInput,
4317
+ outputSchema:
4318
+ DeleteResourceV1alpha3CollectionResourcePoolStatusRequestOutput,
4319
+ }));
4320
+ // Input Schema
4062
4321
  export const DeleteResourceV1alpha3DeviceTaintRuleInput =
4063
4322
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4064
4323
  dryRun: Schema.optional(Schema.String),
@@ -4167,6 +4426,117 @@ export const deleteResourceV1alpha3DeviceTaintRule =
4167
4426
  outputSchema: DeleteResourceV1alpha3DeviceTaintRuleOutput,
4168
4427
  }));
4169
4428
  // Input Schema
4429
+ export const DeleteResourceV1alpha3ResourcePoolStatusRequestInput =
4430
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4431
+ dryRun: Schema.optional(Schema.String),
4432
+ }).pipe(
4433
+ T.Http({
4434
+ method: "DELETE",
4435
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}",
4436
+ }),
4437
+ );
4438
+ export type DeleteResourceV1alpha3ResourcePoolStatusRequestInput =
4439
+ typeof DeleteResourceV1alpha3ResourcePoolStatusRequestInput.Type;
4440
+
4441
+ // Output Schema
4442
+ export const DeleteResourceV1alpha3ResourcePoolStatusRequestOutput =
4443
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4444
+ apiVersion: Schema.optional(Schema.String),
4445
+ kind: Schema.optional(Schema.String),
4446
+ metadata: Schema.Struct({
4447
+ annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
4448
+ creationTimestamp: Schema.optional(Schema.String),
4449
+ deletionGracePeriodSeconds: Schema.optional(Schema.Number),
4450
+ deletionTimestamp: Schema.optional(Schema.String),
4451
+ finalizers: Schema.optional(Schema.Array(Schema.String)),
4452
+ generateName: Schema.optional(Schema.String),
4453
+ generation: Schema.optional(Schema.Number),
4454
+ labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
4455
+ managedFields: Schema.optional(
4456
+ Schema.Array(
4457
+ Schema.Struct({
4458
+ apiVersion: Schema.optional(Schema.String),
4459
+ fieldsType: Schema.optional(Schema.String),
4460
+ fieldsV1: Schema.optional(Schema.Unknown),
4461
+ manager: Schema.optional(Schema.String),
4462
+ operation: Schema.optional(Schema.String),
4463
+ subresource: Schema.optional(Schema.String),
4464
+ time: Schema.optional(Schema.String),
4465
+ }),
4466
+ ),
4467
+ ),
4468
+ name: Schema.optional(Schema.String),
4469
+ namespace: Schema.optional(Schema.String),
4470
+ ownerReferences: Schema.optional(
4471
+ Schema.Array(
4472
+ Schema.Struct({
4473
+ apiVersion: Schema.String,
4474
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
4475
+ controller: Schema.optional(Schema.Boolean),
4476
+ kind: Schema.String,
4477
+ name: Schema.String,
4478
+ uid: Schema.String,
4479
+ }),
4480
+ ),
4481
+ ),
4482
+ resourceVersion: Schema.optional(Schema.String),
4483
+ selfLink: Schema.optional(Schema.String),
4484
+ uid: Schema.optional(Schema.String),
4485
+ }),
4486
+ spec: Schema.Struct({
4487
+ driver: Schema.String,
4488
+ limit: Schema.optional(Schema.Number),
4489
+ poolName: Schema.optional(Schema.String),
4490
+ }),
4491
+ status: Schema.optional(
4492
+ Schema.Struct({
4493
+ conditions: Schema.optional(
4494
+ Schema.Array(
4495
+ Schema.Struct({
4496
+ lastTransitionTime: Schema.String,
4497
+ message: Schema.String,
4498
+ observedGeneration: Schema.optional(Schema.Number),
4499
+ reason: Schema.String,
4500
+ status: Schema.String,
4501
+ type: Schema.String,
4502
+ }),
4503
+ ),
4504
+ ),
4505
+ poolCount: Schema.Number,
4506
+ pools: Schema.optional(
4507
+ Schema.Array(
4508
+ Schema.Struct({
4509
+ allocatedDevices: Schema.optional(Schema.Number),
4510
+ availableDevices: Schema.optional(Schema.Number),
4511
+ driver: Schema.String,
4512
+ generation: Schema.Number,
4513
+ nodeName: Schema.optional(Schema.String),
4514
+ poolName: Schema.String,
4515
+ resourceSliceCount: Schema.optional(Schema.Number),
4516
+ totalDevices: Schema.optional(Schema.Number),
4517
+ unavailableDevices: Schema.optional(Schema.Number),
4518
+ validationError: Schema.optional(Schema.String),
4519
+ }),
4520
+ ),
4521
+ ),
4522
+ }),
4523
+ ),
4524
+ });
4525
+ export type DeleteResourceV1alpha3ResourcePoolStatusRequestOutput =
4526
+ typeof DeleteResourceV1alpha3ResourcePoolStatusRequestOutput.Type;
4527
+
4528
+ // The operation
4529
+ /**
4530
+ * delete a ResourcePoolStatusRequest
4531
+ *
4532
+ * @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
4533
+ */
4534
+ export const deleteResourceV1alpha3ResourcePoolStatusRequest =
4535
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
4536
+ inputSchema: DeleteResourceV1alpha3ResourcePoolStatusRequestInput,
4537
+ outputSchema: DeleteResourceV1alpha3ResourcePoolStatusRequestOutput,
4538
+ }));
4539
+ // Input Schema
4170
4540
  export const DeleteResourceV1beta1CollectionDeviceClassInput =
4171
4541
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
4172
4542
  dryRun: Schema.optional(Schema.String),
@@ -4210,6 +4580,11 @@ export const DeleteResourceV1beta1CollectionDeviceClassOutput =
4210
4580
  remainingItemCount: Schema.optional(Schema.Number),
4211
4581
  resourceVersion: Schema.optional(Schema.String),
4212
4582
  selfLink: Schema.optional(Schema.String),
4583
+ shardInfo: Schema.optional(
4584
+ Schema.Struct({
4585
+ selector: Schema.String,
4586
+ }),
4587
+ ),
4213
4588
  }),
4214
4589
  ),
4215
4590
  reason: Schema.optional(Schema.String),
@@ -4273,6 +4648,11 @@ export const DeleteResourceV1beta1CollectionNamespacedResourceClaimOutput =
4273
4648
  remainingItemCount: Schema.optional(Schema.Number),
4274
4649
  resourceVersion: Schema.optional(Schema.String),
4275
4650
  selfLink: Schema.optional(Schema.String),
4651
+ shardInfo: Schema.optional(
4652
+ Schema.Struct({
4653
+ selector: Schema.String,
4654
+ }),
4655
+ ),
4276
4656
  }),
4277
4657
  ),
4278
4658
  reason: Schema.optional(Schema.String),
@@ -4336,6 +4716,11 @@ export const DeleteResourceV1beta1CollectionNamespacedResourceClaimTemplateOutpu
4336
4716
  remainingItemCount: Schema.optional(Schema.Number),
4337
4717
  resourceVersion: Schema.optional(Schema.String),
4338
4718
  selfLink: Schema.optional(Schema.String),
4719
+ shardInfo: Schema.optional(
4720
+ Schema.Struct({
4721
+ selector: Schema.String,
4722
+ }),
4723
+ ),
4339
4724
  }),
4340
4725
  ),
4341
4726
  reason: Schema.optional(Schema.String),
@@ -4401,6 +4786,11 @@ export const DeleteResourceV1beta1CollectionResourceSliceOutput =
4401
4786
  remainingItemCount: Schema.optional(Schema.Number),
4402
4787
  resourceVersion: Schema.optional(Schema.String),
4403
4788
  selfLink: Schema.optional(Schema.String),
4789
+ shardInfo: Schema.optional(
4790
+ Schema.Struct({
4791
+ selector: Schema.String,
4792
+ }),
4793
+ ),
4404
4794
  }),
4405
4795
  ),
4406
4796
  reason: Schema.optional(Schema.String),
@@ -5138,9 +5528,13 @@ export const DeleteResourceV1beta1ResourceSliceOutput =
5138
5528
  Schema.String,
5139
5529
  Schema.Struct({
5140
5530
  bool: Schema.optional(Schema.Boolean),
5531
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
5141
5532
  int: Schema.optional(Schema.Number),
5533
+ ints: Schema.optional(Schema.Array(Schema.Number)),
5142
5534
  string: Schema.optional(Schema.String),
5535
+ strings: Schema.optional(Schema.Array(Schema.String)),
5143
5536
  version: Schema.optional(Schema.String),
5537
+ versions: Schema.optional(Schema.Array(Schema.String)),
5144
5538
  }),
5145
5539
  ),
5146
5540
  ),
@@ -5185,6 +5579,15 @@ export const DeleteResourceV1beta1ResourceSliceOutput =
5185
5579
  }),
5186
5580
  ),
5187
5581
  ),
5582
+ nodeAllocatableResourceMappings: Schema.optional(
5583
+ Schema.Record(
5584
+ Schema.String,
5585
+ Schema.Struct({
5586
+ allocationMultiplier: Schema.optional(Schema.String),
5587
+ capacityKey: Schema.optional(Schema.String),
5588
+ }),
5589
+ ),
5590
+ ),
5188
5591
  nodeName: Schema.optional(Schema.String),
5189
5592
  nodeSelector: Schema.optional(
5190
5593
  Schema.Struct({
@@ -5339,6 +5742,11 @@ export const DeleteResourceV1beta2CollectionDeviceClassOutput =
5339
5742
  remainingItemCount: Schema.optional(Schema.Number),
5340
5743
  resourceVersion: Schema.optional(Schema.String),
5341
5744
  selfLink: Schema.optional(Schema.String),
5745
+ shardInfo: Schema.optional(
5746
+ Schema.Struct({
5747
+ selector: Schema.String,
5748
+ }),
5749
+ ),
5342
5750
  }),
5343
5751
  ),
5344
5752
  reason: Schema.optional(Schema.String),
@@ -5402,6 +5810,11 @@ export const DeleteResourceV1beta2CollectionDeviceTaintRuleOutput =
5402
5810
  remainingItemCount: Schema.optional(Schema.Number),
5403
5811
  resourceVersion: Schema.optional(Schema.String),
5404
5812
  selfLink: Schema.optional(Schema.String),
5813
+ shardInfo: Schema.optional(
5814
+ Schema.Struct({
5815
+ selector: Schema.String,
5816
+ }),
5817
+ ),
5405
5818
  }),
5406
5819
  ),
5407
5820
  reason: Schema.optional(Schema.String),
@@ -5465,6 +5878,11 @@ export const DeleteResourceV1beta2CollectionNamespacedResourceClaimOutput =
5465
5878
  remainingItemCount: Schema.optional(Schema.Number),
5466
5879
  resourceVersion: Schema.optional(Schema.String),
5467
5880
  selfLink: Schema.optional(Schema.String),
5881
+ shardInfo: Schema.optional(
5882
+ Schema.Struct({
5883
+ selector: Schema.String,
5884
+ }),
5885
+ ),
5468
5886
  }),
5469
5887
  ),
5470
5888
  reason: Schema.optional(Schema.String),
@@ -5528,6 +5946,11 @@ export const DeleteResourceV1beta2CollectionNamespacedResourceClaimTemplateOutpu
5528
5946
  remainingItemCount: Schema.optional(Schema.Number),
5529
5947
  resourceVersion: Schema.optional(Schema.String),
5530
5948
  selfLink: Schema.optional(Schema.String),
5949
+ shardInfo: Schema.optional(
5950
+ Schema.Struct({
5951
+ selector: Schema.String,
5952
+ }),
5953
+ ),
5531
5954
  }),
5532
5955
  ),
5533
5956
  reason: Schema.optional(Schema.String),
@@ -5593,6 +6016,11 @@ export const DeleteResourceV1beta2CollectionResourceSliceOutput =
5593
6016
  remainingItemCount: Schema.optional(Schema.Number),
5594
6017
  resourceVersion: Schema.optional(Schema.String),
5595
6018
  selfLink: Schema.optional(Schema.String),
6019
+ shardInfo: Schema.optional(
6020
+ Schema.Struct({
6021
+ selector: Schema.String,
6022
+ }),
6023
+ ),
5596
6024
  }),
5597
6025
  ),
5598
6026
  reason: Schema.optional(Schema.String),
@@ -6444,9 +6872,13 @@ export const DeleteResourceV1beta2ResourceSliceOutput =
6444
6872
  Schema.String,
6445
6873
  Schema.Struct({
6446
6874
  bool: Schema.optional(Schema.Boolean),
6875
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
6447
6876
  int: Schema.optional(Schema.Number),
6877
+ ints: Schema.optional(Schema.Array(Schema.Number)),
6448
6878
  string: Schema.optional(Schema.String),
6879
+ strings: Schema.optional(Schema.Array(Schema.String)),
6449
6880
  version: Schema.optional(Schema.String),
6881
+ versions: Schema.optional(Schema.Array(Schema.String)),
6450
6882
  }),
6451
6883
  ),
6452
6884
  ),
@@ -6490,6 +6922,15 @@ export const DeleteResourceV1beta2ResourceSliceOutput =
6490
6922
  ),
6491
6923
  ),
6492
6924
  name: Schema.String,
6925
+ nodeAllocatableResourceMappings: Schema.optional(
6926
+ Schema.Record(
6927
+ Schema.String,
6928
+ Schema.Struct({
6929
+ allocationMultiplier: Schema.optional(Schema.String),
6930
+ capacityKey: Schema.optional(Schema.String),
6931
+ }),
6932
+ ),
6933
+ ),
6493
6934
  nodeName: Schema.optional(Schema.String),
6494
6935
  nodeSelector: Schema.optional(
6495
6936
  Schema.Struct({
@@ -6899,8 +7340,13 @@ export const ListResourceV1DeviceClassOutput =
6899
7340
  remainingItemCount: Schema.optional(Schema.Number),
6900
7341
  resourceVersion: Schema.optional(Schema.String),
6901
7342
  selfLink: Schema.optional(Schema.String),
6902
- }),
6903
- ),
7343
+ shardInfo: Schema.optional(
7344
+ Schema.Struct({
7345
+ selector: Schema.String,
7346
+ }),
7347
+ ),
7348
+ }),
7349
+ ),
6904
7350
  });
6905
7351
  export type ListResourceV1DeviceClassOutput =
6906
7352
  typeof ListResourceV1DeviceClassOutput.Type;
@@ -7235,6 +7681,11 @@ export const ListResourceV1NamespacedResourceClaimOutput =
7235
7681
  remainingItemCount: Schema.optional(Schema.Number),
7236
7682
  resourceVersion: Schema.optional(Schema.String),
7237
7683
  selfLink: Schema.optional(Schema.String),
7684
+ shardInfo: Schema.optional(
7685
+ Schema.Struct({
7686
+ selector: Schema.String,
7687
+ }),
7688
+ ),
7238
7689
  }),
7239
7690
  ),
7240
7691
  });
@@ -7487,6 +7938,11 @@ export const ListResourceV1NamespacedResourceClaimTemplateOutput =
7487
7938
  remainingItemCount: Schema.optional(Schema.Number),
7488
7939
  resourceVersion: Schema.optional(Schema.String),
7489
7940
  selfLink: Schema.optional(Schema.String),
7941
+ shardInfo: Schema.optional(
7942
+ Schema.Struct({
7943
+ selector: Schema.String,
7944
+ }),
7945
+ ),
7490
7946
  }),
7491
7947
  ),
7492
7948
  });
@@ -7819,6 +8275,11 @@ export const ListResourceV1ResourceClaimForAllNamespacesOutput =
7819
8275
  remainingItemCount: Schema.optional(Schema.Number),
7820
8276
  resourceVersion: Schema.optional(Schema.String),
7821
8277
  selfLink: Schema.optional(Schema.String),
8278
+ shardInfo: Schema.optional(
8279
+ Schema.Struct({
8280
+ selector: Schema.String,
8281
+ }),
8282
+ ),
7822
8283
  }),
7823
8284
  ),
7824
8285
  });
@@ -8071,6 +8532,11 @@ export const ListResourceV1ResourceClaimTemplateForAllNamespacesOutput =
8071
8532
  remainingItemCount: Schema.optional(Schema.Number),
8072
8533
  resourceVersion: Schema.optional(Schema.String),
8073
8534
  selfLink: Schema.optional(Schema.String),
8535
+ shardInfo: Schema.optional(
8536
+ Schema.Struct({
8537
+ selector: Schema.String,
8538
+ }),
8539
+ ),
8074
8540
  }),
8075
8541
  ),
8076
8542
  });
@@ -8160,9 +8626,13 @@ export const ListResourceV1ResourceSliceOutput =
8160
8626
  Schema.String,
8161
8627
  Schema.Struct({
8162
8628
  bool: Schema.optional(Schema.Boolean),
8629
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
8163
8630
  int: Schema.optional(Schema.Number),
8631
+ ints: Schema.optional(Schema.Array(Schema.Number)),
8164
8632
  string: Schema.optional(Schema.String),
8633
+ strings: Schema.optional(Schema.Array(Schema.String)),
8165
8634
  version: Schema.optional(Schema.String),
8635
+ versions: Schema.optional(Schema.Array(Schema.String)),
8166
8636
  }),
8167
8637
  ),
8168
8638
  ),
@@ -8208,6 +8678,15 @@ export const ListResourceV1ResourceSliceOutput =
8208
8678
  ),
8209
8679
  ),
8210
8680
  name: Schema.String,
8681
+ nodeAllocatableResourceMappings: Schema.optional(
8682
+ Schema.Record(
8683
+ Schema.String,
8684
+ Schema.Struct({
8685
+ allocationMultiplier: Schema.optional(Schema.String),
8686
+ capacityKey: Schema.optional(Schema.String),
8687
+ }),
8688
+ ),
8689
+ ),
8211
8690
  nodeName: Schema.optional(Schema.String),
8212
8691
  nodeSelector: Schema.optional(
8213
8692
  Schema.Struct({
@@ -8309,6 +8788,11 @@ export const ListResourceV1ResourceSliceOutput =
8309
8788
  remainingItemCount: Schema.optional(Schema.Number),
8310
8789
  resourceVersion: Schema.optional(Schema.String),
8311
8790
  selfLink: Schema.optional(Schema.String),
8791
+ shardInfo: Schema.optional(
8792
+ Schema.Struct({
8793
+ selector: Schema.String,
8794
+ }),
8795
+ ),
8312
8796
  }),
8313
8797
  ),
8314
8798
  });
@@ -8430,6 +8914,11 @@ export const ListResourceV1alpha3DeviceTaintRuleOutput =
8430
8914
  remainingItemCount: Schema.optional(Schema.Number),
8431
8915
  resourceVersion: Schema.optional(Schema.String),
8432
8916
  selfLink: Schema.optional(Schema.String),
8917
+ shardInfo: Schema.optional(
8918
+ Schema.Struct({
8919
+ selector: Schema.String,
8920
+ }),
8921
+ ),
8433
8922
  }),
8434
8923
  ),
8435
8924
  });
@@ -8446,6 +8935,134 @@ export const listResourceV1alpha3DeviceTaintRule =
8446
8935
  outputSchema: ListResourceV1alpha3DeviceTaintRuleOutput,
8447
8936
  }));
8448
8937
  // Input Schema
8938
+ export const ListResourceV1alpha3ResourcePoolStatusRequestInput =
8939
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
8940
+ T.Http({
8941
+ method: "GET",
8942
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests",
8943
+ }),
8944
+ );
8945
+ export type ListResourceV1alpha3ResourcePoolStatusRequestInput =
8946
+ typeof ListResourceV1alpha3ResourcePoolStatusRequestInput.Type;
8947
+
8948
+ // Output Schema
8949
+ export const ListResourceV1alpha3ResourcePoolStatusRequestOutput =
8950
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
8951
+ apiVersion: Schema.optional(Schema.String),
8952
+ items: Schema.Array(
8953
+ Schema.Struct({
8954
+ apiVersion: Schema.optional(Schema.String),
8955
+ kind: Schema.optional(Schema.String),
8956
+ metadata: Schema.Struct({
8957
+ annotations: Schema.optional(
8958
+ Schema.Record(Schema.String, Schema.String),
8959
+ ),
8960
+ creationTimestamp: Schema.optional(Schema.String),
8961
+ deletionGracePeriodSeconds: Schema.optional(Schema.Number),
8962
+ deletionTimestamp: Schema.optional(Schema.String),
8963
+ finalizers: Schema.optional(Schema.Array(Schema.String)),
8964
+ generateName: Schema.optional(Schema.String),
8965
+ generation: Schema.optional(Schema.Number),
8966
+ labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
8967
+ managedFields: Schema.optional(
8968
+ Schema.Array(
8969
+ Schema.Struct({
8970
+ apiVersion: Schema.optional(Schema.String),
8971
+ fieldsType: Schema.optional(Schema.String),
8972
+ fieldsV1: Schema.optional(Schema.Unknown),
8973
+ manager: Schema.optional(Schema.String),
8974
+ operation: Schema.optional(Schema.String),
8975
+ subresource: Schema.optional(Schema.String),
8976
+ time: Schema.optional(Schema.String),
8977
+ }),
8978
+ ),
8979
+ ),
8980
+ name: Schema.optional(Schema.String),
8981
+ namespace: Schema.optional(Schema.String),
8982
+ ownerReferences: Schema.optional(
8983
+ Schema.Array(
8984
+ Schema.Struct({
8985
+ apiVersion: Schema.String,
8986
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
8987
+ controller: Schema.optional(Schema.Boolean),
8988
+ kind: Schema.String,
8989
+ name: Schema.String,
8990
+ uid: Schema.String,
8991
+ }),
8992
+ ),
8993
+ ),
8994
+ resourceVersion: Schema.optional(Schema.String),
8995
+ selfLink: Schema.optional(Schema.String),
8996
+ uid: Schema.optional(Schema.String),
8997
+ }),
8998
+ spec: Schema.Struct({
8999
+ driver: Schema.String,
9000
+ limit: Schema.optional(Schema.Number),
9001
+ poolName: Schema.optional(Schema.String),
9002
+ }),
9003
+ status: Schema.optional(
9004
+ Schema.Struct({
9005
+ conditions: Schema.optional(
9006
+ Schema.Array(
9007
+ Schema.Struct({
9008
+ lastTransitionTime: Schema.String,
9009
+ message: Schema.String,
9010
+ observedGeneration: Schema.optional(Schema.Number),
9011
+ reason: Schema.String,
9012
+ status: Schema.String,
9013
+ type: Schema.String,
9014
+ }),
9015
+ ),
9016
+ ),
9017
+ poolCount: Schema.Number,
9018
+ pools: Schema.optional(
9019
+ Schema.Array(
9020
+ Schema.Struct({
9021
+ allocatedDevices: Schema.optional(Schema.Number),
9022
+ availableDevices: Schema.optional(Schema.Number),
9023
+ driver: Schema.String,
9024
+ generation: Schema.Number,
9025
+ nodeName: Schema.optional(Schema.String),
9026
+ poolName: Schema.String,
9027
+ resourceSliceCount: Schema.optional(Schema.Number),
9028
+ totalDevices: Schema.optional(Schema.Number),
9029
+ unavailableDevices: Schema.optional(Schema.Number),
9030
+ validationError: Schema.optional(Schema.String),
9031
+ }),
9032
+ ),
9033
+ ),
9034
+ }),
9035
+ ),
9036
+ }),
9037
+ ),
9038
+ kind: Schema.optional(Schema.String),
9039
+ metadata: Schema.optional(
9040
+ Schema.Struct({
9041
+ continue: Schema.optional(Schema.String),
9042
+ remainingItemCount: Schema.optional(Schema.Number),
9043
+ resourceVersion: Schema.optional(Schema.String),
9044
+ selfLink: Schema.optional(Schema.String),
9045
+ shardInfo: Schema.optional(
9046
+ Schema.Struct({
9047
+ selector: Schema.String,
9048
+ }),
9049
+ ),
9050
+ }),
9051
+ ),
9052
+ });
9053
+ export type ListResourceV1alpha3ResourcePoolStatusRequestOutput =
9054
+ typeof ListResourceV1alpha3ResourcePoolStatusRequestOutput.Type;
9055
+
9056
+ // The operation
9057
+ /**
9058
+ * list or watch objects of kind ResourcePoolStatusRequest
9059
+ */
9060
+ export const listResourceV1alpha3ResourcePoolStatusRequest =
9061
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
9062
+ inputSchema: ListResourceV1alpha3ResourcePoolStatusRequestInput,
9063
+ outputSchema: ListResourceV1alpha3ResourcePoolStatusRequestOutput,
9064
+ }));
9065
+ // Input Schema
8449
9066
  export const ListResourceV1beta1DeviceClassInput =
8450
9067
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
8451
9068
  T.Http({
@@ -8545,6 +9162,11 @@ export const ListResourceV1beta1DeviceClassOutput =
8545
9162
  remainingItemCount: Schema.optional(Schema.Number),
8546
9163
  resourceVersion: Schema.optional(Schema.String),
8547
9164
  selfLink: Schema.optional(Schema.String),
9165
+ shardInfo: Schema.optional(
9166
+ Schema.Struct({
9167
+ selector: Schema.String,
9168
+ }),
9169
+ ),
8548
9170
  }),
8549
9171
  ),
8550
9172
  });
@@ -8876,6 +9498,11 @@ export const ListResourceV1beta1NamespacedResourceClaimOutput =
8876
9498
  remainingItemCount: Schema.optional(Schema.Number),
8877
9499
  resourceVersion: Schema.optional(Schema.String),
8878
9500
  selfLink: Schema.optional(Schema.String),
9501
+ shardInfo: Schema.optional(
9502
+ Schema.Struct({
9503
+ selector: Schema.String,
9504
+ }),
9505
+ ),
8879
9506
  }),
8880
9507
  ),
8881
9508
  });
@@ -9122,6 +9749,11 @@ export const ListResourceV1beta1NamespacedResourceClaimTemplateOutput =
9122
9749
  remainingItemCount: Schema.optional(Schema.Number),
9123
9750
  resourceVersion: Schema.optional(Schema.String),
9124
9751
  selfLink: Schema.optional(Schema.String),
9752
+ shardInfo: Schema.optional(
9753
+ Schema.Struct({
9754
+ selector: Schema.String,
9755
+ }),
9756
+ ),
9125
9757
  }),
9126
9758
  ),
9127
9759
  });
@@ -9453,6 +10085,11 @@ export const ListResourceV1beta1ResourceClaimForAllNamespacesOutput =
9453
10085
  remainingItemCount: Schema.optional(Schema.Number),
9454
10086
  resourceVersion: Schema.optional(Schema.String),
9455
10087
  selfLink: Schema.optional(Schema.String),
10088
+ shardInfo: Schema.optional(
10089
+ Schema.Struct({
10090
+ selector: Schema.String,
10091
+ }),
10092
+ ),
9456
10093
  }),
9457
10094
  ),
9458
10095
  });
@@ -9699,6 +10336,11 @@ export const ListResourceV1beta1ResourceClaimTemplateForAllNamespacesOutput =
9699
10336
  remainingItemCount: Schema.optional(Schema.Number),
9700
10337
  resourceVersion: Schema.optional(Schema.String),
9701
10338
  selfLink: Schema.optional(Schema.String),
10339
+ shardInfo: Schema.optional(
10340
+ Schema.Struct({
10341
+ selector: Schema.String,
10342
+ }),
10343
+ ),
9702
10344
  }),
9703
10345
  ),
9704
10346
  });
@@ -9794,9 +10436,15 @@ export const ListResourceV1beta1ResourceSliceOutput =
9794
10436
  Schema.String,
9795
10437
  Schema.Struct({
9796
10438
  bool: Schema.optional(Schema.Boolean),
10439
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
9797
10440
  int: Schema.optional(Schema.Number),
10441
+ ints: Schema.optional(Schema.Array(Schema.Number)),
9798
10442
  string: Schema.optional(Schema.String),
10443
+ strings: Schema.optional(Schema.Array(Schema.String)),
9799
10444
  version: Schema.optional(Schema.String),
10445
+ versions: Schema.optional(
10446
+ Schema.Array(Schema.String),
10447
+ ),
9800
10448
  }),
9801
10449
  ),
9802
10450
  ),
@@ -9843,6 +10491,15 @@ export const ListResourceV1beta1ResourceSliceOutput =
9843
10491
  }),
9844
10492
  ),
9845
10493
  ),
10494
+ nodeAllocatableResourceMappings: Schema.optional(
10495
+ Schema.Record(
10496
+ Schema.String,
10497
+ Schema.Struct({
10498
+ allocationMultiplier: Schema.optional(Schema.String),
10499
+ capacityKey: Schema.optional(Schema.String),
10500
+ }),
10501
+ ),
10502
+ ),
9846
10503
  nodeName: Schema.optional(Schema.String),
9847
10504
  nodeSelector: Schema.optional(
9848
10505
  Schema.Struct({
@@ -9947,6 +10604,11 @@ export const ListResourceV1beta1ResourceSliceOutput =
9947
10604
  remainingItemCount: Schema.optional(Schema.Number),
9948
10605
  resourceVersion: Schema.optional(Schema.String),
9949
10606
  selfLink: Schema.optional(Schema.String),
10607
+ shardInfo: Schema.optional(
10608
+ Schema.Struct({
10609
+ selector: Schema.String,
10610
+ }),
10611
+ ),
9950
10612
  }),
9951
10613
  ),
9952
10614
  });
@@ -10062,6 +10724,11 @@ export const ListResourceV1beta2DeviceClassOutput =
10062
10724
  remainingItemCount: Schema.optional(Schema.Number),
10063
10725
  resourceVersion: Schema.optional(Schema.String),
10064
10726
  selfLink: Schema.optional(Schema.String),
10727
+ shardInfo: Schema.optional(
10728
+ Schema.Struct({
10729
+ selector: Schema.String,
10730
+ }),
10731
+ ),
10065
10732
  }),
10066
10733
  ),
10067
10734
  });
@@ -10182,6 +10849,11 @@ export const ListResourceV1beta2DeviceTaintRuleOutput =
10182
10849
  remainingItemCount: Schema.optional(Schema.Number),
10183
10850
  resourceVersion: Schema.optional(Schema.String),
10184
10851
  selfLink: Schema.optional(Schema.String),
10852
+ shardInfo: Schema.optional(
10853
+ Schema.Struct({
10854
+ selector: Schema.String,
10855
+ }),
10856
+ ),
10185
10857
  }),
10186
10858
  ),
10187
10859
  });
@@ -10517,6 +11189,11 @@ export const ListResourceV1beta2NamespacedResourceClaimOutput =
10517
11189
  remainingItemCount: Schema.optional(Schema.Number),
10518
11190
  resourceVersion: Schema.optional(Schema.String),
10519
11191
  selfLink: Schema.optional(Schema.String),
11192
+ shardInfo: Schema.optional(
11193
+ Schema.Struct({
11194
+ selector: Schema.String,
11195
+ }),
11196
+ ),
10520
11197
  }),
10521
11198
  ),
10522
11199
  });
@@ -10769,6 +11446,11 @@ export const ListResourceV1beta2NamespacedResourceClaimTemplateOutput =
10769
11446
  remainingItemCount: Schema.optional(Schema.Number),
10770
11447
  resourceVersion: Schema.optional(Schema.String),
10771
11448
  selfLink: Schema.optional(Schema.String),
11449
+ shardInfo: Schema.optional(
11450
+ Schema.Struct({
11451
+ selector: Schema.String,
11452
+ }),
11453
+ ),
10772
11454
  }),
10773
11455
  ),
10774
11456
  });
@@ -11104,6 +11786,11 @@ export const ListResourceV1beta2ResourceClaimForAllNamespacesOutput =
11104
11786
  remainingItemCount: Schema.optional(Schema.Number),
11105
11787
  resourceVersion: Schema.optional(Schema.String),
11106
11788
  selfLink: Schema.optional(Schema.String),
11789
+ shardInfo: Schema.optional(
11790
+ Schema.Struct({
11791
+ selector: Schema.String,
11792
+ }),
11793
+ ),
11107
11794
  }),
11108
11795
  ),
11109
11796
  });
@@ -11356,6 +12043,11 @@ export const ListResourceV1beta2ResourceClaimTemplateForAllNamespacesOutput =
11356
12043
  remainingItemCount: Schema.optional(Schema.Number),
11357
12044
  resourceVersion: Schema.optional(Schema.String),
11358
12045
  selfLink: Schema.optional(Schema.String),
12046
+ shardInfo: Schema.optional(
12047
+ Schema.Struct({
12048
+ selector: Schema.String,
12049
+ }),
12050
+ ),
11359
12051
  }),
11360
12052
  ),
11361
12053
  });
@@ -11449,9 +12141,13 @@ export const ListResourceV1beta2ResourceSliceOutput =
11449
12141
  Schema.String,
11450
12142
  Schema.Struct({
11451
12143
  bool: Schema.optional(Schema.Boolean),
12144
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
11452
12145
  int: Schema.optional(Schema.Number),
12146
+ ints: Schema.optional(Schema.Array(Schema.Number)),
11453
12147
  string: Schema.optional(Schema.String),
12148
+ strings: Schema.optional(Schema.Array(Schema.String)),
11454
12149
  version: Schema.optional(Schema.String),
12150
+ versions: Schema.optional(Schema.Array(Schema.String)),
11455
12151
  }),
11456
12152
  ),
11457
12153
  ),
@@ -11497,6 +12193,15 @@ export const ListResourceV1beta2ResourceSliceOutput =
11497
12193
  ),
11498
12194
  ),
11499
12195
  name: Schema.String,
12196
+ nodeAllocatableResourceMappings: Schema.optional(
12197
+ Schema.Record(
12198
+ Schema.String,
12199
+ Schema.Struct({
12200
+ allocationMultiplier: Schema.optional(Schema.String),
12201
+ capacityKey: Schema.optional(Schema.String),
12202
+ }),
12203
+ ),
12204
+ ),
11500
12205
  nodeName: Schema.optional(Schema.String),
11501
12206
  nodeSelector: Schema.optional(
11502
12207
  Schema.Struct({
@@ -11598,6 +12303,11 @@ export const ListResourceV1beta2ResourceSliceOutput =
11598
12303
  remainingItemCount: Schema.optional(Schema.Number),
11599
12304
  resourceVersion: Schema.optional(Schema.String),
11600
12305
  selfLink: Schema.optional(Schema.String),
12306
+ shardInfo: Schema.optional(
12307
+ Schema.Struct({
12308
+ selector: Schema.String,
12309
+ }),
12310
+ ),
11601
12311
  }),
11602
12312
  ),
11603
12313
  });
@@ -12660,9 +13370,13 @@ export const PatchResourceV1ResourceSliceOutput =
12660
13370
  Schema.String,
12661
13371
  Schema.Struct({
12662
13372
  bool: Schema.optional(Schema.Boolean),
13373
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
12663
13374
  int: Schema.optional(Schema.Number),
13375
+ ints: Schema.optional(Schema.Array(Schema.Number)),
12664
13376
  string: Schema.optional(Schema.String),
13377
+ strings: Schema.optional(Schema.Array(Schema.String)),
12665
13378
  version: Schema.optional(Schema.String),
13379
+ versions: Schema.optional(Schema.Array(Schema.String)),
12666
13380
  }),
12667
13381
  ),
12668
13382
  ),
@@ -12706,6 +13420,15 @@ export const PatchResourceV1ResourceSliceOutput =
12706
13420
  ),
12707
13421
  ),
12708
13422
  name: Schema.String,
13423
+ nodeAllocatableResourceMappings: Schema.optional(
13424
+ Schema.Record(
13425
+ Schema.String,
13426
+ Schema.Struct({
13427
+ allocationMultiplier: Schema.optional(Schema.String),
13428
+ capacityKey: Schema.optional(Schema.String),
13429
+ }),
13430
+ ),
13431
+ ),
12709
13432
  nodeName: Schema.optional(Schema.String),
12710
13433
  nodeSelector: Schema.optional(
12711
13434
  Schema.Struct({
@@ -13031,6 +13754,232 @@ export const patchResourceV1alpha3DeviceTaintRuleStatus =
13031
13754
  outputSchema: PatchResourceV1alpha3DeviceTaintRuleStatusOutput,
13032
13755
  }));
13033
13756
  // Input Schema
13757
+ export const PatchResourceV1alpha3ResourcePoolStatusRequestInput =
13758
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13759
+ dryRun: Schema.optional(Schema.String),
13760
+ fieldValidation: Schema.optional(Schema.String),
13761
+ }).pipe(
13762
+ T.Http({
13763
+ method: "PATCH",
13764
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}",
13765
+ }),
13766
+ );
13767
+ export type PatchResourceV1alpha3ResourcePoolStatusRequestInput =
13768
+ typeof PatchResourceV1alpha3ResourcePoolStatusRequestInput.Type;
13769
+
13770
+ // Output Schema
13771
+ export const PatchResourceV1alpha3ResourcePoolStatusRequestOutput =
13772
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13773
+ apiVersion: Schema.optional(Schema.String),
13774
+ kind: Schema.optional(Schema.String),
13775
+ metadata: Schema.Struct({
13776
+ annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
13777
+ creationTimestamp: Schema.optional(Schema.String),
13778
+ deletionGracePeriodSeconds: Schema.optional(Schema.Number),
13779
+ deletionTimestamp: Schema.optional(Schema.String),
13780
+ finalizers: Schema.optional(Schema.Array(Schema.String)),
13781
+ generateName: Schema.optional(Schema.String),
13782
+ generation: Schema.optional(Schema.Number),
13783
+ labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
13784
+ managedFields: Schema.optional(
13785
+ Schema.Array(
13786
+ Schema.Struct({
13787
+ apiVersion: Schema.optional(Schema.String),
13788
+ fieldsType: Schema.optional(Schema.String),
13789
+ fieldsV1: Schema.optional(Schema.Unknown),
13790
+ manager: Schema.optional(Schema.String),
13791
+ operation: Schema.optional(Schema.String),
13792
+ subresource: Schema.optional(Schema.String),
13793
+ time: Schema.optional(Schema.String),
13794
+ }),
13795
+ ),
13796
+ ),
13797
+ name: Schema.optional(Schema.String),
13798
+ namespace: Schema.optional(Schema.String),
13799
+ ownerReferences: Schema.optional(
13800
+ Schema.Array(
13801
+ Schema.Struct({
13802
+ apiVersion: Schema.String,
13803
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
13804
+ controller: Schema.optional(Schema.Boolean),
13805
+ kind: Schema.String,
13806
+ name: Schema.String,
13807
+ uid: Schema.String,
13808
+ }),
13809
+ ),
13810
+ ),
13811
+ resourceVersion: Schema.optional(Schema.String),
13812
+ selfLink: Schema.optional(Schema.String),
13813
+ uid: Schema.optional(Schema.String),
13814
+ }),
13815
+ spec: Schema.Struct({
13816
+ driver: Schema.String,
13817
+ limit: Schema.optional(Schema.Number),
13818
+ poolName: Schema.optional(Schema.String),
13819
+ }),
13820
+ status: Schema.optional(
13821
+ Schema.Struct({
13822
+ conditions: Schema.optional(
13823
+ Schema.Array(
13824
+ Schema.Struct({
13825
+ lastTransitionTime: Schema.String,
13826
+ message: Schema.String,
13827
+ observedGeneration: Schema.optional(Schema.Number),
13828
+ reason: Schema.String,
13829
+ status: Schema.String,
13830
+ type: Schema.String,
13831
+ }),
13832
+ ),
13833
+ ),
13834
+ poolCount: Schema.Number,
13835
+ pools: Schema.optional(
13836
+ Schema.Array(
13837
+ Schema.Struct({
13838
+ allocatedDevices: Schema.optional(Schema.Number),
13839
+ availableDevices: Schema.optional(Schema.Number),
13840
+ driver: Schema.String,
13841
+ generation: Schema.Number,
13842
+ nodeName: Schema.optional(Schema.String),
13843
+ poolName: Schema.String,
13844
+ resourceSliceCount: Schema.optional(Schema.Number),
13845
+ totalDevices: Schema.optional(Schema.Number),
13846
+ unavailableDevices: Schema.optional(Schema.Number),
13847
+ validationError: Schema.optional(Schema.String),
13848
+ }),
13849
+ ),
13850
+ ),
13851
+ }),
13852
+ ),
13853
+ });
13854
+ export type PatchResourceV1alpha3ResourcePoolStatusRequestOutput =
13855
+ typeof PatchResourceV1alpha3ResourcePoolStatusRequestOutput.Type;
13856
+
13857
+ // The operation
13858
+ /**
13859
+ * partially update the specified ResourcePoolStatusRequest
13860
+ *
13861
+ * @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
13862
+ * @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.
13863
+ */
13864
+ export const patchResourceV1alpha3ResourcePoolStatusRequest =
13865
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13866
+ inputSchema: PatchResourceV1alpha3ResourcePoolStatusRequestInput,
13867
+ outputSchema: PatchResourceV1alpha3ResourcePoolStatusRequestOutput,
13868
+ }));
13869
+ // Input Schema
13870
+ export const PatchResourceV1alpha3ResourcePoolStatusRequestStatusInput =
13871
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13872
+ dryRun: Schema.optional(Schema.String),
13873
+ fieldValidation: Schema.optional(Schema.String),
13874
+ }).pipe(
13875
+ T.Http({
13876
+ method: "PATCH",
13877
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}/status",
13878
+ }),
13879
+ );
13880
+ export type PatchResourceV1alpha3ResourcePoolStatusRequestStatusInput =
13881
+ typeof PatchResourceV1alpha3ResourcePoolStatusRequestStatusInput.Type;
13882
+
13883
+ // Output Schema
13884
+ export const PatchResourceV1alpha3ResourcePoolStatusRequestStatusOutput =
13885
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13886
+ apiVersion: Schema.optional(Schema.String),
13887
+ kind: Schema.optional(Schema.String),
13888
+ metadata: Schema.Struct({
13889
+ annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
13890
+ creationTimestamp: Schema.optional(Schema.String),
13891
+ deletionGracePeriodSeconds: Schema.optional(Schema.Number),
13892
+ deletionTimestamp: Schema.optional(Schema.String),
13893
+ finalizers: Schema.optional(Schema.Array(Schema.String)),
13894
+ generateName: Schema.optional(Schema.String),
13895
+ generation: Schema.optional(Schema.Number),
13896
+ labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
13897
+ managedFields: Schema.optional(
13898
+ Schema.Array(
13899
+ Schema.Struct({
13900
+ apiVersion: Schema.optional(Schema.String),
13901
+ fieldsType: Schema.optional(Schema.String),
13902
+ fieldsV1: Schema.optional(Schema.Unknown),
13903
+ manager: Schema.optional(Schema.String),
13904
+ operation: Schema.optional(Schema.String),
13905
+ subresource: Schema.optional(Schema.String),
13906
+ time: Schema.optional(Schema.String),
13907
+ }),
13908
+ ),
13909
+ ),
13910
+ name: Schema.optional(Schema.String),
13911
+ namespace: Schema.optional(Schema.String),
13912
+ ownerReferences: Schema.optional(
13913
+ Schema.Array(
13914
+ Schema.Struct({
13915
+ apiVersion: Schema.String,
13916
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
13917
+ controller: Schema.optional(Schema.Boolean),
13918
+ kind: Schema.String,
13919
+ name: Schema.String,
13920
+ uid: Schema.String,
13921
+ }),
13922
+ ),
13923
+ ),
13924
+ resourceVersion: Schema.optional(Schema.String),
13925
+ selfLink: Schema.optional(Schema.String),
13926
+ uid: Schema.optional(Schema.String),
13927
+ }),
13928
+ spec: Schema.Struct({
13929
+ driver: Schema.String,
13930
+ limit: Schema.optional(Schema.Number),
13931
+ poolName: Schema.optional(Schema.String),
13932
+ }),
13933
+ status: Schema.optional(
13934
+ Schema.Struct({
13935
+ conditions: Schema.optional(
13936
+ Schema.Array(
13937
+ Schema.Struct({
13938
+ lastTransitionTime: Schema.String,
13939
+ message: Schema.String,
13940
+ observedGeneration: Schema.optional(Schema.Number),
13941
+ reason: Schema.String,
13942
+ status: Schema.String,
13943
+ type: Schema.String,
13944
+ }),
13945
+ ),
13946
+ ),
13947
+ poolCount: Schema.Number,
13948
+ pools: Schema.optional(
13949
+ Schema.Array(
13950
+ Schema.Struct({
13951
+ allocatedDevices: Schema.optional(Schema.Number),
13952
+ availableDevices: Schema.optional(Schema.Number),
13953
+ driver: Schema.String,
13954
+ generation: Schema.Number,
13955
+ nodeName: Schema.optional(Schema.String),
13956
+ poolName: Schema.String,
13957
+ resourceSliceCount: Schema.optional(Schema.Number),
13958
+ totalDevices: Schema.optional(Schema.Number),
13959
+ unavailableDevices: Schema.optional(Schema.Number),
13960
+ validationError: Schema.optional(Schema.String),
13961
+ }),
13962
+ ),
13963
+ ),
13964
+ }),
13965
+ ),
13966
+ });
13967
+ export type PatchResourceV1alpha3ResourcePoolStatusRequestStatusOutput =
13968
+ typeof PatchResourceV1alpha3ResourcePoolStatusRequestStatusOutput.Type;
13969
+
13970
+ // The operation
13971
+ /**
13972
+ * partially update status of the specified ResourcePoolStatusRequest
13973
+ *
13974
+ * @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
13975
+ * @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.
13976
+ */
13977
+ export const patchResourceV1alpha3ResourcePoolStatusRequestStatus =
13978
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
13979
+ inputSchema: PatchResourceV1alpha3ResourcePoolStatusRequestStatusInput,
13980
+ outputSchema: PatchResourceV1alpha3ResourcePoolStatusRequestStatusOutput,
13981
+ }));
13982
+ // Input Schema
13034
13983
  export const PatchResourceV1beta1DeviceClassInput =
13035
13984
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13036
13985
  dryRun: Schema.optional(Schema.String),
@@ -14066,9 +15015,13 @@ export const PatchResourceV1beta1ResourceSliceOutput =
14066
15015
  Schema.String,
14067
15016
  Schema.Struct({
14068
15017
  bool: Schema.optional(Schema.Boolean),
15018
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
14069
15019
  int: Schema.optional(Schema.Number),
15020
+ ints: Schema.optional(Schema.Array(Schema.Number)),
14070
15021
  string: Schema.optional(Schema.String),
15022
+ strings: Schema.optional(Schema.Array(Schema.String)),
14071
15023
  version: Schema.optional(Schema.String),
15024
+ versions: Schema.optional(Schema.Array(Schema.String)),
14072
15025
  }),
14073
15026
  ),
14074
15027
  ),
@@ -14113,6 +15066,15 @@ export const PatchResourceV1beta1ResourceSliceOutput =
14113
15066
  }),
14114
15067
  ),
14115
15068
  ),
15069
+ nodeAllocatableResourceMappings: Schema.optional(
15070
+ Schema.Record(
15071
+ Schema.String,
15072
+ Schema.Struct({
15073
+ allocationMultiplier: Schema.optional(Schema.String),
15074
+ capacityKey: Schema.optional(Schema.String),
15075
+ }),
15076
+ ),
15077
+ ),
14116
15078
  nodeName: Schema.optional(Schema.String),
14117
15079
  nodeSelector: Schema.optional(
14118
15080
  Schema.Struct({
@@ -15490,9 +16452,13 @@ export const PatchResourceV1beta2ResourceSliceOutput =
15490
16452
  Schema.String,
15491
16453
  Schema.Struct({
15492
16454
  bool: Schema.optional(Schema.Boolean),
16455
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
15493
16456
  int: Schema.optional(Schema.Number),
16457
+ ints: Schema.optional(Schema.Array(Schema.Number)),
15494
16458
  string: Schema.optional(Schema.String),
16459
+ strings: Schema.optional(Schema.Array(Schema.String)),
15495
16460
  version: Schema.optional(Schema.String),
16461
+ versions: Schema.optional(Schema.Array(Schema.String)),
15496
16462
  }),
15497
16463
  ),
15498
16464
  ),
@@ -15536,6 +16502,15 @@ export const PatchResourceV1beta2ResourceSliceOutput =
15536
16502
  ),
15537
16503
  ),
15538
16504
  name: Schema.String,
16505
+ nodeAllocatableResourceMappings: Schema.optional(
16506
+ Schema.Record(
16507
+ Schema.String,
16508
+ Schema.Struct({
16509
+ allocationMultiplier: Schema.optional(Schema.String),
16510
+ capacityKey: Schema.optional(Schema.String),
16511
+ }),
16512
+ ),
16513
+ ),
15539
16514
  nodeName: Schema.optional(Schema.String),
15540
16515
  nodeSelector: Schema.optional(
15541
16516
  Schema.Struct({
@@ -16660,9 +17635,13 @@ export const ReadResourceV1ResourceSliceOutput =
16660
17635
  Schema.String,
16661
17636
  Schema.Struct({
16662
17637
  bool: Schema.optional(Schema.Boolean),
17638
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
16663
17639
  int: Schema.optional(Schema.Number),
17640
+ ints: Schema.optional(Schema.Array(Schema.Number)),
16664
17641
  string: Schema.optional(Schema.String),
17642
+ strings: Schema.optional(Schema.Array(Schema.String)),
16665
17643
  version: Schema.optional(Schema.String),
17644
+ versions: Schema.optional(Schema.Array(Schema.String)),
16666
17645
  }),
16667
17646
  ),
16668
17647
  ),
@@ -16706,6 +17685,15 @@ export const ReadResourceV1ResourceSliceOutput =
16706
17685
  ),
16707
17686
  ),
16708
17687
  name: Schema.String,
17688
+ nodeAllocatableResourceMappings: Schema.optional(
17689
+ Schema.Record(
17690
+ Schema.String,
17691
+ Schema.Struct({
17692
+ allocationMultiplier: Schema.optional(Schema.String),
17693
+ capacityKey: Schema.optional(Schema.String),
17694
+ }),
17695
+ ),
17696
+ ),
16709
17697
  nodeName: Schema.optional(Schema.String),
16710
17698
  nodeSelector: Schema.optional(
16711
17699
  Schema.Struct({
@@ -16958,34 +17946,231 @@ export const ReadResourceV1alpha3DeviceTaintRuleStatusOutput =
16958
17946
  ownerReferences: Schema.optional(
16959
17947
  Schema.Array(
16960
17948
  Schema.Struct({
16961
- apiVersion: Schema.String,
16962
- blockOwnerDeletion: Schema.optional(Schema.Boolean),
16963
- controller: Schema.optional(Schema.Boolean),
16964
- kind: Schema.String,
16965
- name: Schema.String,
16966
- uid: Schema.String,
17949
+ apiVersion: Schema.String,
17950
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
17951
+ controller: Schema.optional(Schema.Boolean),
17952
+ kind: Schema.String,
17953
+ name: Schema.String,
17954
+ uid: Schema.String,
17955
+ }),
17956
+ ),
17957
+ ),
17958
+ resourceVersion: Schema.optional(Schema.String),
17959
+ selfLink: Schema.optional(Schema.String),
17960
+ uid: Schema.optional(Schema.String),
17961
+ }),
17962
+ ),
17963
+ spec: Schema.Struct({
17964
+ deviceSelector: Schema.optional(
17965
+ Schema.Struct({
17966
+ device: Schema.optional(Schema.String),
17967
+ driver: Schema.optional(Schema.String),
17968
+ pool: Schema.optional(Schema.String),
17969
+ }),
17970
+ ),
17971
+ taint: Schema.Struct({
17972
+ effect: Schema.String,
17973
+ key: Schema.String,
17974
+ timeAdded: Schema.optional(Schema.String),
17975
+ value: Schema.optional(Schema.String),
17976
+ }),
17977
+ }),
17978
+ status: Schema.optional(
17979
+ Schema.Struct({
17980
+ conditions: Schema.optional(
17981
+ Schema.Array(
17982
+ Schema.Struct({
17983
+ lastTransitionTime: Schema.String,
17984
+ message: Schema.String,
17985
+ observedGeneration: Schema.optional(Schema.Number),
17986
+ reason: Schema.String,
17987
+ status: Schema.String,
17988
+ type: Schema.String,
17989
+ }),
17990
+ ),
17991
+ ),
17992
+ }),
17993
+ ),
17994
+ });
17995
+ export type ReadResourceV1alpha3DeviceTaintRuleStatusOutput =
17996
+ typeof ReadResourceV1alpha3DeviceTaintRuleStatusOutput.Type;
17997
+
17998
+ // The operation
17999
+ /**
18000
+ * read status of the specified DeviceTaintRule
18001
+ */
18002
+ export const readResourceV1alpha3DeviceTaintRuleStatus =
18003
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
18004
+ inputSchema: ReadResourceV1alpha3DeviceTaintRuleStatusInput,
18005
+ outputSchema: ReadResourceV1alpha3DeviceTaintRuleStatusOutput,
18006
+ }));
18007
+ // Input Schema
18008
+ export const ReadResourceV1alpha3ResourcePoolStatusRequestInput =
18009
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
18010
+ T.Http({
18011
+ method: "GET",
18012
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}",
18013
+ }),
18014
+ );
18015
+ export type ReadResourceV1alpha3ResourcePoolStatusRequestInput =
18016
+ typeof ReadResourceV1alpha3ResourcePoolStatusRequestInput.Type;
18017
+
18018
+ // Output Schema
18019
+ export const ReadResourceV1alpha3ResourcePoolStatusRequestOutput =
18020
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
18021
+ apiVersion: Schema.optional(Schema.String),
18022
+ kind: Schema.optional(Schema.String),
18023
+ metadata: Schema.Struct({
18024
+ annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
18025
+ creationTimestamp: Schema.optional(Schema.String),
18026
+ deletionGracePeriodSeconds: Schema.optional(Schema.Number),
18027
+ deletionTimestamp: Schema.optional(Schema.String),
18028
+ finalizers: Schema.optional(Schema.Array(Schema.String)),
18029
+ generateName: Schema.optional(Schema.String),
18030
+ generation: Schema.optional(Schema.Number),
18031
+ labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
18032
+ managedFields: Schema.optional(
18033
+ Schema.Array(
18034
+ Schema.Struct({
18035
+ apiVersion: Schema.optional(Schema.String),
18036
+ fieldsType: Schema.optional(Schema.String),
18037
+ fieldsV1: Schema.optional(Schema.Unknown),
18038
+ manager: Schema.optional(Schema.String),
18039
+ operation: Schema.optional(Schema.String),
18040
+ subresource: Schema.optional(Schema.String),
18041
+ time: Schema.optional(Schema.String),
18042
+ }),
18043
+ ),
18044
+ ),
18045
+ name: Schema.optional(Schema.String),
18046
+ namespace: Schema.optional(Schema.String),
18047
+ ownerReferences: Schema.optional(
18048
+ Schema.Array(
18049
+ Schema.Struct({
18050
+ apiVersion: Schema.String,
18051
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
18052
+ controller: Schema.optional(Schema.Boolean),
18053
+ kind: Schema.String,
18054
+ name: Schema.String,
18055
+ uid: Schema.String,
18056
+ }),
18057
+ ),
18058
+ ),
18059
+ resourceVersion: Schema.optional(Schema.String),
18060
+ selfLink: Schema.optional(Schema.String),
18061
+ uid: Schema.optional(Schema.String),
18062
+ }),
18063
+ spec: Schema.Struct({
18064
+ driver: Schema.String,
18065
+ limit: Schema.optional(Schema.Number),
18066
+ poolName: Schema.optional(Schema.String),
18067
+ }),
18068
+ status: Schema.optional(
18069
+ Schema.Struct({
18070
+ conditions: Schema.optional(
18071
+ Schema.Array(
18072
+ Schema.Struct({
18073
+ lastTransitionTime: Schema.String,
18074
+ message: Schema.String,
18075
+ observedGeneration: Schema.optional(Schema.Number),
18076
+ reason: Schema.String,
18077
+ status: Schema.String,
18078
+ type: Schema.String,
18079
+ }),
18080
+ ),
18081
+ ),
18082
+ poolCount: Schema.Number,
18083
+ pools: Schema.optional(
18084
+ Schema.Array(
18085
+ Schema.Struct({
18086
+ allocatedDevices: Schema.optional(Schema.Number),
18087
+ availableDevices: Schema.optional(Schema.Number),
18088
+ driver: Schema.String,
18089
+ generation: Schema.Number,
18090
+ nodeName: Schema.optional(Schema.String),
18091
+ poolName: Schema.String,
18092
+ resourceSliceCount: Schema.optional(Schema.Number),
18093
+ totalDevices: Schema.optional(Schema.Number),
18094
+ unavailableDevices: Schema.optional(Schema.Number),
18095
+ validationError: Schema.optional(Schema.String),
16967
18096
  }),
16968
18097
  ),
16969
18098
  ),
16970
- resourceVersion: Schema.optional(Schema.String),
16971
- selfLink: Schema.optional(Schema.String),
16972
- uid: Schema.optional(Schema.String),
16973
18099
  }),
16974
18100
  ),
16975
- spec: Schema.Struct({
16976
- deviceSelector: Schema.optional(
16977
- Schema.Struct({
16978
- device: Schema.optional(Schema.String),
16979
- driver: Schema.optional(Schema.String),
16980
- pool: Schema.optional(Schema.String),
16981
- }),
18101
+ });
18102
+ export type ReadResourceV1alpha3ResourcePoolStatusRequestOutput =
18103
+ typeof ReadResourceV1alpha3ResourcePoolStatusRequestOutput.Type;
18104
+
18105
+ // The operation
18106
+ /**
18107
+ * read the specified ResourcePoolStatusRequest
18108
+ */
18109
+ export const readResourceV1alpha3ResourcePoolStatusRequest =
18110
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
18111
+ inputSchema: ReadResourceV1alpha3ResourcePoolStatusRequestInput,
18112
+ outputSchema: ReadResourceV1alpha3ResourcePoolStatusRequestOutput,
18113
+ }));
18114
+ // Input Schema
18115
+ export const ReadResourceV1alpha3ResourcePoolStatusRequestStatusInput =
18116
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
18117
+ T.Http({
18118
+ method: "GET",
18119
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}/status",
18120
+ }),
18121
+ );
18122
+ export type ReadResourceV1alpha3ResourcePoolStatusRequestStatusInput =
18123
+ typeof ReadResourceV1alpha3ResourcePoolStatusRequestStatusInput.Type;
18124
+
18125
+ // Output Schema
18126
+ export const ReadResourceV1alpha3ResourcePoolStatusRequestStatusOutput =
18127
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
18128
+ apiVersion: Schema.optional(Schema.String),
18129
+ kind: Schema.optional(Schema.String),
18130
+ metadata: Schema.Struct({
18131
+ annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
18132
+ creationTimestamp: Schema.optional(Schema.String),
18133
+ deletionGracePeriodSeconds: Schema.optional(Schema.Number),
18134
+ deletionTimestamp: Schema.optional(Schema.String),
18135
+ finalizers: Schema.optional(Schema.Array(Schema.String)),
18136
+ generateName: Schema.optional(Schema.String),
18137
+ generation: Schema.optional(Schema.Number),
18138
+ labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
18139
+ managedFields: Schema.optional(
18140
+ Schema.Array(
18141
+ Schema.Struct({
18142
+ apiVersion: Schema.optional(Schema.String),
18143
+ fieldsType: Schema.optional(Schema.String),
18144
+ fieldsV1: Schema.optional(Schema.Unknown),
18145
+ manager: Schema.optional(Schema.String),
18146
+ operation: Schema.optional(Schema.String),
18147
+ subresource: Schema.optional(Schema.String),
18148
+ time: Schema.optional(Schema.String),
18149
+ }),
18150
+ ),
16982
18151
  ),
16983
- taint: Schema.Struct({
16984
- effect: Schema.String,
16985
- key: Schema.String,
16986
- timeAdded: Schema.optional(Schema.String),
16987
- value: Schema.optional(Schema.String),
16988
- }),
18152
+ name: Schema.optional(Schema.String),
18153
+ namespace: Schema.optional(Schema.String),
18154
+ ownerReferences: Schema.optional(
18155
+ Schema.Array(
18156
+ Schema.Struct({
18157
+ apiVersion: Schema.String,
18158
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
18159
+ controller: Schema.optional(Schema.Boolean),
18160
+ kind: Schema.String,
18161
+ name: Schema.String,
18162
+ uid: Schema.String,
18163
+ }),
18164
+ ),
18165
+ ),
18166
+ resourceVersion: Schema.optional(Schema.String),
18167
+ selfLink: Schema.optional(Schema.String),
18168
+ uid: Schema.optional(Schema.String),
18169
+ }),
18170
+ spec: Schema.Struct({
18171
+ driver: Schema.String,
18172
+ limit: Schema.optional(Schema.Number),
18173
+ poolName: Schema.optional(Schema.String),
16989
18174
  }),
16990
18175
  status: Schema.optional(
16991
18176
  Schema.Struct({
@@ -17001,20 +18186,37 @@ export const ReadResourceV1alpha3DeviceTaintRuleStatusOutput =
17001
18186
  }),
17002
18187
  ),
17003
18188
  ),
18189
+ poolCount: Schema.Number,
18190
+ pools: Schema.optional(
18191
+ Schema.Array(
18192
+ Schema.Struct({
18193
+ allocatedDevices: Schema.optional(Schema.Number),
18194
+ availableDevices: Schema.optional(Schema.Number),
18195
+ driver: Schema.String,
18196
+ generation: Schema.Number,
18197
+ nodeName: Schema.optional(Schema.String),
18198
+ poolName: Schema.String,
18199
+ resourceSliceCount: Schema.optional(Schema.Number),
18200
+ totalDevices: Schema.optional(Schema.Number),
18201
+ unavailableDevices: Schema.optional(Schema.Number),
18202
+ validationError: Schema.optional(Schema.String),
18203
+ }),
18204
+ ),
18205
+ ),
17004
18206
  }),
17005
18207
  ),
17006
18208
  });
17007
- export type ReadResourceV1alpha3DeviceTaintRuleStatusOutput =
17008
- typeof ReadResourceV1alpha3DeviceTaintRuleStatusOutput.Type;
18209
+ export type ReadResourceV1alpha3ResourcePoolStatusRequestStatusOutput =
18210
+ typeof ReadResourceV1alpha3ResourcePoolStatusRequestStatusOutput.Type;
17009
18211
 
17010
18212
  // The operation
17011
18213
  /**
17012
- * read status of the specified DeviceTaintRule
18214
+ * read status of the specified ResourcePoolStatusRequest
17013
18215
  */
17014
- export const readResourceV1alpha3DeviceTaintRuleStatus =
18216
+ export const readResourceV1alpha3ResourcePoolStatusRequestStatus =
17015
18217
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
17016
- inputSchema: ReadResourceV1alpha3DeviceTaintRuleStatusInput,
17017
- outputSchema: ReadResourceV1alpha3DeviceTaintRuleStatusOutput,
18218
+ inputSchema: ReadResourceV1alpha3ResourcePoolStatusRequestStatusInput,
18219
+ outputSchema: ReadResourceV1alpha3ResourcePoolStatusRequestStatusOutput,
17018
18220
  }));
17019
18221
  // Input Schema
17020
18222
  export const ReadResourceV1beta1DeviceClassInput =
@@ -18025,9 +19227,13 @@ export const ReadResourceV1beta1ResourceSliceOutput =
18025
19227
  Schema.String,
18026
19228
  Schema.Struct({
18027
19229
  bool: Schema.optional(Schema.Boolean),
19230
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
18028
19231
  int: Schema.optional(Schema.Number),
19232
+ ints: Schema.optional(Schema.Array(Schema.Number)),
18029
19233
  string: Schema.optional(Schema.String),
19234
+ strings: Schema.optional(Schema.Array(Schema.String)),
18030
19235
  version: Schema.optional(Schema.String),
19236
+ versions: Schema.optional(Schema.Array(Schema.String)),
18031
19237
  }),
18032
19238
  ),
18033
19239
  ),
@@ -18072,6 +19278,15 @@ export const ReadResourceV1beta1ResourceSliceOutput =
18072
19278
  }),
18073
19279
  ),
18074
19280
  ),
19281
+ nodeAllocatableResourceMappings: Schema.optional(
19282
+ Schema.Record(
19283
+ Schema.String,
19284
+ Schema.Struct({
19285
+ allocationMultiplier: Schema.optional(Schema.String),
19286
+ capacityKey: Schema.optional(Schema.String),
19287
+ }),
19288
+ ),
19289
+ ),
18075
19290
  nodeName: Schema.optional(Schema.String),
18076
19291
  nodeSelector: Schema.optional(
18077
19292
  Schema.Struct({
@@ -19407,9 +20622,13 @@ export const ReadResourceV1beta2ResourceSliceOutput =
19407
20622
  Schema.String,
19408
20623
  Schema.Struct({
19409
20624
  bool: Schema.optional(Schema.Boolean),
20625
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
19410
20626
  int: Schema.optional(Schema.Number),
20627
+ ints: Schema.optional(Schema.Array(Schema.Number)),
19411
20628
  string: Schema.optional(Schema.String),
20629
+ strings: Schema.optional(Schema.Array(Schema.String)),
19412
20630
  version: Schema.optional(Schema.String),
20631
+ versions: Schema.optional(Schema.Array(Schema.String)),
19413
20632
  }),
19414
20633
  ),
19415
20634
  ),
@@ -19453,6 +20672,15 @@ export const ReadResourceV1beta2ResourceSliceOutput =
19453
20672
  ),
19454
20673
  ),
19455
20674
  name: Schema.String,
20675
+ nodeAllocatableResourceMappings: Schema.optional(
20676
+ Schema.Record(
20677
+ Schema.String,
20678
+ Schema.Struct({
20679
+ allocationMultiplier: Schema.optional(Schema.String),
20680
+ capacityKey: Schema.optional(Schema.String),
20681
+ }),
20682
+ ),
20683
+ ),
19456
20684
  nodeName: Schema.optional(Schema.String),
19457
20685
  nodeSelector: Schema.optional(
19458
20686
  Schema.Struct({
@@ -20600,9 +21828,13 @@ export const ReplaceResourceV1ResourceSliceOutput =
20600
21828
  Schema.String,
20601
21829
  Schema.Struct({
20602
21830
  bool: Schema.optional(Schema.Boolean),
21831
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
20603
21832
  int: Schema.optional(Schema.Number),
21833
+ ints: Schema.optional(Schema.Array(Schema.Number)),
20604
21834
  string: Schema.optional(Schema.String),
21835
+ strings: Schema.optional(Schema.Array(Schema.String)),
20605
21836
  version: Schema.optional(Schema.String),
21837
+ versions: Schema.optional(Schema.Array(Schema.String)),
20606
21838
  }),
20607
21839
  ),
20608
21840
  ),
@@ -20646,6 +21878,15 @@ export const ReplaceResourceV1ResourceSliceOutput =
20646
21878
  ),
20647
21879
  ),
20648
21880
  name: Schema.String,
21881
+ nodeAllocatableResourceMappings: Schema.optional(
21882
+ Schema.Record(
21883
+ Schema.String,
21884
+ Schema.Struct({
21885
+ allocationMultiplier: Schema.optional(Schema.String),
21886
+ capacityKey: Schema.optional(Schema.String),
21887
+ }),
21888
+ ),
21889
+ ),
20649
21890
  nodeName: Schema.optional(Schema.String),
20650
21891
  nodeSelector: Schema.optional(
20651
21892
  Schema.Struct({
@@ -20971,6 +22212,232 @@ export const replaceResourceV1alpha3DeviceTaintRuleStatus =
20971
22212
  outputSchema: ReplaceResourceV1alpha3DeviceTaintRuleStatusOutput,
20972
22213
  }));
20973
22214
  // Input Schema
22215
+ export const ReplaceResourceV1alpha3ResourcePoolStatusRequestInput =
22216
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22217
+ dryRun: Schema.optional(Schema.String),
22218
+ fieldValidation: Schema.optional(Schema.String),
22219
+ }).pipe(
22220
+ T.Http({
22221
+ method: "PUT",
22222
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}",
22223
+ }),
22224
+ );
22225
+ export type ReplaceResourceV1alpha3ResourcePoolStatusRequestInput =
22226
+ typeof ReplaceResourceV1alpha3ResourcePoolStatusRequestInput.Type;
22227
+
22228
+ // Output Schema
22229
+ export const ReplaceResourceV1alpha3ResourcePoolStatusRequestOutput =
22230
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22231
+ apiVersion: Schema.optional(Schema.String),
22232
+ kind: Schema.optional(Schema.String),
22233
+ metadata: Schema.Struct({
22234
+ annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
22235
+ creationTimestamp: Schema.optional(Schema.String),
22236
+ deletionGracePeriodSeconds: Schema.optional(Schema.Number),
22237
+ deletionTimestamp: Schema.optional(Schema.String),
22238
+ finalizers: Schema.optional(Schema.Array(Schema.String)),
22239
+ generateName: Schema.optional(Schema.String),
22240
+ generation: Schema.optional(Schema.Number),
22241
+ labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
22242
+ managedFields: Schema.optional(
22243
+ Schema.Array(
22244
+ Schema.Struct({
22245
+ apiVersion: Schema.optional(Schema.String),
22246
+ fieldsType: Schema.optional(Schema.String),
22247
+ fieldsV1: Schema.optional(Schema.Unknown),
22248
+ manager: Schema.optional(Schema.String),
22249
+ operation: Schema.optional(Schema.String),
22250
+ subresource: Schema.optional(Schema.String),
22251
+ time: Schema.optional(Schema.String),
22252
+ }),
22253
+ ),
22254
+ ),
22255
+ name: Schema.optional(Schema.String),
22256
+ namespace: Schema.optional(Schema.String),
22257
+ ownerReferences: Schema.optional(
22258
+ Schema.Array(
22259
+ Schema.Struct({
22260
+ apiVersion: Schema.String,
22261
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
22262
+ controller: Schema.optional(Schema.Boolean),
22263
+ kind: Schema.String,
22264
+ name: Schema.String,
22265
+ uid: Schema.String,
22266
+ }),
22267
+ ),
22268
+ ),
22269
+ resourceVersion: Schema.optional(Schema.String),
22270
+ selfLink: Schema.optional(Schema.String),
22271
+ uid: Schema.optional(Schema.String),
22272
+ }),
22273
+ spec: Schema.Struct({
22274
+ driver: Schema.String,
22275
+ limit: Schema.optional(Schema.Number),
22276
+ poolName: Schema.optional(Schema.String),
22277
+ }),
22278
+ status: Schema.optional(
22279
+ Schema.Struct({
22280
+ conditions: Schema.optional(
22281
+ Schema.Array(
22282
+ Schema.Struct({
22283
+ lastTransitionTime: Schema.String,
22284
+ message: Schema.String,
22285
+ observedGeneration: Schema.optional(Schema.Number),
22286
+ reason: Schema.String,
22287
+ status: Schema.String,
22288
+ type: Schema.String,
22289
+ }),
22290
+ ),
22291
+ ),
22292
+ poolCount: Schema.Number,
22293
+ pools: Schema.optional(
22294
+ Schema.Array(
22295
+ Schema.Struct({
22296
+ allocatedDevices: Schema.optional(Schema.Number),
22297
+ availableDevices: Schema.optional(Schema.Number),
22298
+ driver: Schema.String,
22299
+ generation: Schema.Number,
22300
+ nodeName: Schema.optional(Schema.String),
22301
+ poolName: Schema.String,
22302
+ resourceSliceCount: Schema.optional(Schema.Number),
22303
+ totalDevices: Schema.optional(Schema.Number),
22304
+ unavailableDevices: Schema.optional(Schema.Number),
22305
+ validationError: Schema.optional(Schema.String),
22306
+ }),
22307
+ ),
22308
+ ),
22309
+ }),
22310
+ ),
22311
+ });
22312
+ export type ReplaceResourceV1alpha3ResourcePoolStatusRequestOutput =
22313
+ typeof ReplaceResourceV1alpha3ResourcePoolStatusRequestOutput.Type;
22314
+
22315
+ // The operation
22316
+ /**
22317
+ * replace the specified ResourcePoolStatusRequest
22318
+ *
22319
+ * @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
22320
+ * @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.
22321
+ */
22322
+ export const replaceResourceV1alpha3ResourcePoolStatusRequest =
22323
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
22324
+ inputSchema: ReplaceResourceV1alpha3ResourcePoolStatusRequestInput,
22325
+ outputSchema: ReplaceResourceV1alpha3ResourcePoolStatusRequestOutput,
22326
+ }));
22327
+ // Input Schema
22328
+ export const ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusInput =
22329
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22330
+ dryRun: Schema.optional(Schema.String),
22331
+ fieldValidation: Schema.optional(Schema.String),
22332
+ }).pipe(
22333
+ T.Http({
22334
+ method: "PUT",
22335
+ path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}/status",
22336
+ }),
22337
+ );
22338
+ export type ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusInput =
22339
+ typeof ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusInput.Type;
22340
+
22341
+ // Output Schema
22342
+ export const ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusOutput =
22343
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
22344
+ apiVersion: Schema.optional(Schema.String),
22345
+ kind: Schema.optional(Schema.String),
22346
+ metadata: Schema.Struct({
22347
+ annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
22348
+ creationTimestamp: Schema.optional(Schema.String),
22349
+ deletionGracePeriodSeconds: Schema.optional(Schema.Number),
22350
+ deletionTimestamp: Schema.optional(Schema.String),
22351
+ finalizers: Schema.optional(Schema.Array(Schema.String)),
22352
+ generateName: Schema.optional(Schema.String),
22353
+ generation: Schema.optional(Schema.Number),
22354
+ labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
22355
+ managedFields: Schema.optional(
22356
+ Schema.Array(
22357
+ Schema.Struct({
22358
+ apiVersion: Schema.optional(Schema.String),
22359
+ fieldsType: Schema.optional(Schema.String),
22360
+ fieldsV1: Schema.optional(Schema.Unknown),
22361
+ manager: Schema.optional(Schema.String),
22362
+ operation: Schema.optional(Schema.String),
22363
+ subresource: Schema.optional(Schema.String),
22364
+ time: Schema.optional(Schema.String),
22365
+ }),
22366
+ ),
22367
+ ),
22368
+ name: Schema.optional(Schema.String),
22369
+ namespace: Schema.optional(Schema.String),
22370
+ ownerReferences: Schema.optional(
22371
+ Schema.Array(
22372
+ Schema.Struct({
22373
+ apiVersion: Schema.String,
22374
+ blockOwnerDeletion: Schema.optional(Schema.Boolean),
22375
+ controller: Schema.optional(Schema.Boolean),
22376
+ kind: Schema.String,
22377
+ name: Schema.String,
22378
+ uid: Schema.String,
22379
+ }),
22380
+ ),
22381
+ ),
22382
+ resourceVersion: Schema.optional(Schema.String),
22383
+ selfLink: Schema.optional(Schema.String),
22384
+ uid: Schema.optional(Schema.String),
22385
+ }),
22386
+ spec: Schema.Struct({
22387
+ driver: Schema.String,
22388
+ limit: Schema.optional(Schema.Number),
22389
+ poolName: Schema.optional(Schema.String),
22390
+ }),
22391
+ status: Schema.optional(
22392
+ Schema.Struct({
22393
+ conditions: Schema.optional(
22394
+ Schema.Array(
22395
+ Schema.Struct({
22396
+ lastTransitionTime: Schema.String,
22397
+ message: Schema.String,
22398
+ observedGeneration: Schema.optional(Schema.Number),
22399
+ reason: Schema.String,
22400
+ status: Schema.String,
22401
+ type: Schema.String,
22402
+ }),
22403
+ ),
22404
+ ),
22405
+ poolCount: Schema.Number,
22406
+ pools: Schema.optional(
22407
+ Schema.Array(
22408
+ Schema.Struct({
22409
+ allocatedDevices: Schema.optional(Schema.Number),
22410
+ availableDevices: Schema.optional(Schema.Number),
22411
+ driver: Schema.String,
22412
+ generation: Schema.Number,
22413
+ nodeName: Schema.optional(Schema.String),
22414
+ poolName: Schema.String,
22415
+ resourceSliceCount: Schema.optional(Schema.Number),
22416
+ totalDevices: Schema.optional(Schema.Number),
22417
+ unavailableDevices: Schema.optional(Schema.Number),
22418
+ validationError: Schema.optional(Schema.String),
22419
+ }),
22420
+ ),
22421
+ ),
22422
+ }),
22423
+ ),
22424
+ });
22425
+ export type ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusOutput =
22426
+ typeof ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusOutput.Type;
22427
+
22428
+ // The operation
22429
+ /**
22430
+ * replace status of the specified ResourcePoolStatusRequest
22431
+ *
22432
+ * @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
22433
+ * @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.
22434
+ */
22435
+ export const replaceResourceV1alpha3ResourcePoolStatusRequestStatus =
22436
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
22437
+ inputSchema: ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusInput,
22438
+ outputSchema: ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusOutput,
22439
+ }));
22440
+ // Input Schema
20974
22441
  export const ReplaceResourceV1beta1DeviceClassInput =
20975
22442
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
20976
22443
  dryRun: Schema.optional(Schema.String),
@@ -22006,9 +23473,13 @@ export const ReplaceResourceV1beta1ResourceSliceOutput =
22006
23473
  Schema.String,
22007
23474
  Schema.Struct({
22008
23475
  bool: Schema.optional(Schema.Boolean),
23476
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
22009
23477
  int: Schema.optional(Schema.Number),
23478
+ ints: Schema.optional(Schema.Array(Schema.Number)),
22010
23479
  string: Schema.optional(Schema.String),
23480
+ strings: Schema.optional(Schema.Array(Schema.String)),
22011
23481
  version: Schema.optional(Schema.String),
23482
+ versions: Schema.optional(Schema.Array(Schema.String)),
22012
23483
  }),
22013
23484
  ),
22014
23485
  ),
@@ -22053,6 +23524,15 @@ export const ReplaceResourceV1beta1ResourceSliceOutput =
22053
23524
  }),
22054
23525
  ),
22055
23526
  ),
23527
+ nodeAllocatableResourceMappings: Schema.optional(
23528
+ Schema.Record(
23529
+ Schema.String,
23530
+ Schema.Struct({
23531
+ allocationMultiplier: Schema.optional(Schema.String),
23532
+ capacityKey: Schema.optional(Schema.String),
23533
+ }),
23534
+ ),
23535
+ ),
22056
23536
  nodeName: Schema.optional(Schema.String),
22057
23537
  nodeSelector: Schema.optional(
22058
23538
  Schema.Struct({
@@ -23430,9 +24910,13 @@ export const ReplaceResourceV1beta2ResourceSliceOutput =
23430
24910
  Schema.String,
23431
24911
  Schema.Struct({
23432
24912
  bool: Schema.optional(Schema.Boolean),
24913
+ bools: Schema.optional(Schema.Array(Schema.Boolean)),
23433
24914
  int: Schema.optional(Schema.Number),
24915
+ ints: Schema.optional(Schema.Array(Schema.Number)),
23434
24916
  string: Schema.optional(Schema.String),
24917
+ strings: Schema.optional(Schema.Array(Schema.String)),
23435
24918
  version: Schema.optional(Schema.String),
24919
+ versions: Schema.optional(Schema.Array(Schema.String)),
23436
24920
  }),
23437
24921
  ),
23438
24922
  ),
@@ -23476,6 +24960,15 @@ export const ReplaceResourceV1beta2ResourceSliceOutput =
23476
24960
  ),
23477
24961
  ),
23478
24962
  name: Schema.String,
24963
+ nodeAllocatableResourceMappings: Schema.optional(
24964
+ Schema.Record(
24965
+ Schema.String,
24966
+ Schema.Struct({
24967
+ allocationMultiplier: Schema.optional(Schema.String),
24968
+ capacityKey: Schema.optional(Schema.String),
24969
+ }),
24970
+ ),
24971
+ ),
23479
24972
  nodeName: Schema.optional(Schema.String),
23480
24973
  nodeSelector: Schema.optional(
23481
24974
  Schema.Struct({
@@ -23931,6 +25424,64 @@ export const watchResourceV1alpha3DeviceTaintRuleList =
23931
25424
  outputSchema: WatchResourceV1alpha3DeviceTaintRuleListOutput,
23932
25425
  }));
23933
25426
  // Input Schema
25427
+ export const WatchResourceV1alpha3ResourcePoolStatusRequestInput =
25428
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
25429
+ T.Http({
25430
+ method: "GET",
25431
+ path: "/apis/resource.k8s.io/v1alpha3/watch/resourcepoolstatusrequests/{name}",
25432
+ }),
25433
+ );
25434
+ export type WatchResourceV1alpha3ResourcePoolStatusRequestInput =
25435
+ typeof WatchResourceV1alpha3ResourcePoolStatusRequestInput.Type;
25436
+
25437
+ // Output Schema
25438
+ export const WatchResourceV1alpha3ResourcePoolStatusRequestOutput =
25439
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25440
+ object: Schema.Unknown,
25441
+ type: Schema.String,
25442
+ });
25443
+ export type WatchResourceV1alpha3ResourcePoolStatusRequestOutput =
25444
+ typeof WatchResourceV1alpha3ResourcePoolStatusRequestOutput.Type;
25445
+
25446
+ // The operation
25447
+ /**
25448
+ * watch changes to an object of kind ResourcePoolStatusRequest. deprecated: use the 'watch' parameter with a list operation instead, filtered to a single item with the 'fieldSelector' parameter.
25449
+ */
25450
+ export const watchResourceV1alpha3ResourcePoolStatusRequest =
25451
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
25452
+ inputSchema: WatchResourceV1alpha3ResourcePoolStatusRequestInput,
25453
+ outputSchema: WatchResourceV1alpha3ResourcePoolStatusRequestOutput,
25454
+ }));
25455
+ // Input Schema
25456
+ export const WatchResourceV1alpha3ResourcePoolStatusRequestListInput =
25457
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
25458
+ T.Http({
25459
+ method: "GET",
25460
+ path: "/apis/resource.k8s.io/v1alpha3/watch/resourcepoolstatusrequests",
25461
+ }),
25462
+ );
25463
+ export type WatchResourceV1alpha3ResourcePoolStatusRequestListInput =
25464
+ typeof WatchResourceV1alpha3ResourcePoolStatusRequestListInput.Type;
25465
+
25466
+ // Output Schema
25467
+ export const WatchResourceV1alpha3ResourcePoolStatusRequestListOutput =
25468
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
25469
+ object: Schema.Unknown,
25470
+ type: Schema.String,
25471
+ });
25472
+ export type WatchResourceV1alpha3ResourcePoolStatusRequestListOutput =
25473
+ typeof WatchResourceV1alpha3ResourcePoolStatusRequestListOutput.Type;
25474
+
25475
+ // The operation
25476
+ /**
25477
+ * watch individual changes to a list of ResourcePoolStatusRequest. deprecated: use the 'watch' parameter with a list operation instead.
25478
+ */
25479
+ export const watchResourceV1alpha3ResourcePoolStatusRequestList =
25480
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
25481
+ inputSchema: WatchResourceV1alpha3ResourcePoolStatusRequestListInput,
25482
+ outputSchema: WatchResourceV1alpha3ResourcePoolStatusRequestListOutput,
25483
+ }));
25484
+ // Input Schema
23934
25485
  export const WatchResourceV1beta1DeviceClassInput =
23935
25486
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(
23936
25487
  T.Http({