@distilled.cloud/kubernetes 0.8.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.
- package/lib/credentials.d.ts +2 -2
- package/lib/credentials.d.ts.map +1 -1
- package/lib/credentials.js +2 -2
- package/lib/credentials.js.map +1 -1
- package/lib/errors.d.ts +2 -2
- package/lib/retry.d.ts +2 -2
- package/lib/retry.d.ts.map +1 -1
- package/lib/retry.js +2 -2
- package/lib/retry.js.map +1 -1
- package/lib/services/admissionregistration.d.ts +90 -0
- package/lib/services/admissionregistration.d.ts.map +1 -1
- package/lib/services/admissionregistration.js +90 -0
- package/lib/services/admissionregistration.js.map +1 -1
- package/lib/services/apiextensions.d.ts +9 -0
- package/lib/services/apiextensions.d.ts.map +1 -1
- package/lib/services/apiextensions.js +9 -0
- package/lib/services/apiextensions.js.map +1 -1
- package/lib/services/apiregistration.d.ts +9 -0
- package/lib/services/apiregistration.d.ts.map +1 -1
- package/lib/services/apiregistration.js +9 -0
- package/lib/services/apiregistration.js.map +1 -1
- package/lib/services/apps.d.ts +60 -0
- package/lib/services/apps.d.ts.map +1 -1
- package/lib/services/apps.js +60 -0
- package/lib/services/apps.js.map +1 -1
- package/lib/services/autoscaling.d.ts +24 -0
- package/lib/services/autoscaling.d.ts.map +1 -1
- package/lib/services/autoscaling.js +24 -0
- package/lib/services/autoscaling.js.map +1 -1
- package/lib/services/batch.d.ts +24 -0
- package/lib/services/batch.d.ts.map +1 -1
- package/lib/services/batch.js +24 -0
- package/lib/services/batch.js.map +1 -1
- package/lib/services/certificates.d.ts +39 -0
- package/lib/services/certificates.d.ts.map +1 -1
- package/lib/services/certificates.js +39 -0
- package/lib/services/certificates.js.map +1 -1
- package/lib/services/coordination.d.ts +36 -0
- package/lib/services/coordination.d.ts.map +1 -1
- package/lib/services/coordination.js +36 -0
- package/lib/services/coordination.js.map +1 -1
- package/lib/services/core.d.ts +230 -0
- package/lib/services/core.d.ts.map +1 -1
- package/lib/services/core.js +230 -0
- package/lib/services/core.js.map +1 -1
- package/lib/services/discovery.d.ts +12 -0
- package/lib/services/discovery.d.ts.map +1 -1
- package/lib/services/discovery.js +12 -0
- package/lib/services/discovery.js.map +1 -1
- package/lib/services/events.d.ts +12 -0
- package/lib/services/events.d.ts.map +1 -1
- package/lib/services/events.js +12 -0
- package/lib/services/events.js.map +1 -1
- package/lib/services/flowcontrol-apiserver.d.ts +18 -0
- package/lib/services/flowcontrol-apiserver.d.ts.map +1 -1
- package/lib/services/flowcontrol-apiserver.js +18 -0
- package/lib/services/flowcontrol-apiserver.js.map +1 -1
- package/lib/services/internal-apiserver.d.ts +9 -0
- package/lib/services/internal-apiserver.d.ts.map +1 -1
- package/lib/services/internal-apiserver.js +9 -0
- package/lib/services/internal-apiserver.js.map +1 -1
- package/lib/services/networking.d.ts +69 -0
- package/lib/services/networking.d.ts.map +1 -1
- package/lib/services/networking.js +69 -0
- package/lib/services/networking.js.map +1 -1
- package/lib/services/node.d.ts +9 -0
- package/lib/services/node.d.ts.map +1 -1
- package/lib/services/node.js +9 -0
- package/lib/services/node.js.map +1 -1
- package/lib/services/policy.d.ts +12 -0
- package/lib/services/policy.d.ts.map +1 -1
- package/lib/services/policy.js +12 -0
- package/lib/services/policy.js.map +1 -1
- package/lib/services/rbac-authorization.d.ts +42 -0
- package/lib/services/rbac-authorization.d.ts.map +1 -1
- package/lib/services/rbac-authorization.js +42 -0
- package/lib/services/rbac-authorization.js.map +1 -1
- package/lib/services/resource.d.ts +994 -0
- package/lib/services/resource.d.ts.map +1 -1
- package/lib/services/resource.js +1160 -46
- package/lib/services/resource.js.map +1 -1
- package/lib/services/scheduling.d.ts +264 -0
- package/lib/services/scheduling.d.ts.map +1 -1
- package/lib/services/scheduling.js +264 -0
- package/lib/services/scheduling.js.map +1 -1
- package/lib/services/storage.d.ts +48 -0
- package/lib/services/storage.d.ts.map +1 -1
- package/lib/services/storage.js +48 -0
- package/lib/services/storage.js.map +1 -1
- package/lib/services/storagemigration.d.ts +9 -0
- package/lib/services/storagemigration.d.ts.map +1 -1
- package/lib/services/storagemigration.js +9 -0
- package/lib/services/storagemigration.js.map +1 -1
- package/package.json +4 -4
- package/src/credentials.ts +2 -2
- package/src/retry.ts +2 -2
- package/src/services/admissionregistration.ts +150 -0
- package/src/services/apiextensions.ts +15 -0
- package/src/services/apiregistration.ts +15 -0
- package/src/services/apps.ts +100 -0
- package/src/services/autoscaling.ts +40 -0
- package/src/services/batch.ts +40 -0
- package/src/services/certificates.ts +65 -0
- package/src/services/coordination.ts +60 -0
- package/src/services/core.ts +394 -0
- package/src/services/discovery.ts +20 -0
- package/src/services/events.ts +20 -0
- package/src/services/flowcontrol-apiserver.ts +30 -0
- package/src/services/internal-apiserver.ts +15 -0
- package/src/services/networking.ts +115 -0
- package/src/services/node.ts +15 -0
- package/src/services/policy.ts +20 -0
- package/src/services/rbac-authorization.ts +70 -0
- package/src/services/resource.ts +1581 -30
- package/src/services/scheduling.ts +472 -0
- package/src/services/storage.ts +80 -0
- package/src/services/storagemigration.ts +15 -0
package/lib/services/resource.js
CHANGED
|
@@ -473,9 +473,13 @@ export const CreateResourceV1ResourceSliceOutput =
|
|
|
473
473
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
474
474
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
475
475
|
bool: Schema.optional(Schema.Boolean),
|
|
476
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
476
477
|
int: Schema.optional(Schema.Number),
|
|
478
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
477
479
|
string: Schema.optional(Schema.String),
|
|
480
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
478
481
|
version: Schema.optional(Schema.String),
|
|
482
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
479
483
|
}))),
|
|
480
484
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
481
485
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -499,6 +503,10 @@ export const CreateResourceV1ResourceSliceOutput =
|
|
|
499
503
|
})),
|
|
500
504
|
}))),
|
|
501
505
|
name: Schema.String,
|
|
506
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
507
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
508
|
+
capacityKey: Schema.optional(Schema.String),
|
|
509
|
+
}))),
|
|
502
510
|
nodeName: Schema.optional(Schema.String),
|
|
503
511
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
504
512
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -646,6 +654,93 @@ export const createResourceV1alpha3DeviceTaintRule =
|
|
|
646
654
|
outputSchema: CreateResourceV1alpha3DeviceTaintRuleOutput,
|
|
647
655
|
}));
|
|
648
656
|
// Input Schema
|
|
657
|
+
export const CreateResourceV1alpha3ResourcePoolStatusRequestInput =
|
|
658
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
659
|
+
dryRun: Schema.optional(Schema.String),
|
|
660
|
+
fieldValidation: Schema.optional(Schema.String),
|
|
661
|
+
}).pipe(T.Http({
|
|
662
|
+
method: "POST",
|
|
663
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests",
|
|
664
|
+
}));
|
|
665
|
+
// Output Schema
|
|
666
|
+
export const CreateResourceV1alpha3ResourcePoolStatusRequestOutput =
|
|
667
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
668
|
+
apiVersion: Schema.optional(Schema.String),
|
|
669
|
+
kind: Schema.optional(Schema.String),
|
|
670
|
+
metadata: Schema.Struct({
|
|
671
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
672
|
+
creationTimestamp: Schema.optional(Schema.String),
|
|
673
|
+
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
674
|
+
deletionTimestamp: Schema.optional(Schema.String),
|
|
675
|
+
finalizers: Schema.optional(Schema.Array(Schema.String)),
|
|
676
|
+
generateName: Schema.optional(Schema.String),
|
|
677
|
+
generation: Schema.optional(Schema.Number),
|
|
678
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
679
|
+
managedFields: Schema.optional(Schema.Array(Schema.Struct({
|
|
680
|
+
apiVersion: Schema.optional(Schema.String),
|
|
681
|
+
fieldsType: Schema.optional(Schema.String),
|
|
682
|
+
fieldsV1: Schema.optional(Schema.Unknown),
|
|
683
|
+
manager: Schema.optional(Schema.String),
|
|
684
|
+
operation: Schema.optional(Schema.String),
|
|
685
|
+
subresource: Schema.optional(Schema.String),
|
|
686
|
+
time: Schema.optional(Schema.String),
|
|
687
|
+
}))),
|
|
688
|
+
name: Schema.optional(Schema.String),
|
|
689
|
+
namespace: Schema.optional(Schema.String),
|
|
690
|
+
ownerReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
691
|
+
apiVersion: Schema.String,
|
|
692
|
+
blockOwnerDeletion: Schema.optional(Schema.Boolean),
|
|
693
|
+
controller: Schema.optional(Schema.Boolean),
|
|
694
|
+
kind: Schema.String,
|
|
695
|
+
name: Schema.String,
|
|
696
|
+
uid: Schema.String,
|
|
697
|
+
}))),
|
|
698
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
699
|
+
selfLink: Schema.optional(Schema.String),
|
|
700
|
+
uid: Schema.optional(Schema.String),
|
|
701
|
+
}),
|
|
702
|
+
spec: Schema.Struct({
|
|
703
|
+
driver: Schema.String,
|
|
704
|
+
limit: Schema.optional(Schema.Number),
|
|
705
|
+
poolName: Schema.optional(Schema.String),
|
|
706
|
+
}),
|
|
707
|
+
status: Schema.optional(Schema.Struct({
|
|
708
|
+
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
709
|
+
lastTransitionTime: Schema.String,
|
|
710
|
+
message: Schema.String,
|
|
711
|
+
observedGeneration: Schema.optional(Schema.Number),
|
|
712
|
+
reason: Schema.String,
|
|
713
|
+
status: Schema.String,
|
|
714
|
+
type: Schema.String,
|
|
715
|
+
}))),
|
|
716
|
+
poolCount: Schema.Number,
|
|
717
|
+
pools: Schema.optional(Schema.Array(Schema.Struct({
|
|
718
|
+
allocatedDevices: Schema.optional(Schema.Number),
|
|
719
|
+
availableDevices: Schema.optional(Schema.Number),
|
|
720
|
+
driver: Schema.String,
|
|
721
|
+
generation: Schema.Number,
|
|
722
|
+
nodeName: Schema.optional(Schema.String),
|
|
723
|
+
poolName: Schema.String,
|
|
724
|
+
resourceSliceCount: Schema.optional(Schema.Number),
|
|
725
|
+
totalDevices: Schema.optional(Schema.Number),
|
|
726
|
+
unavailableDevices: Schema.optional(Schema.Number),
|
|
727
|
+
validationError: Schema.optional(Schema.String),
|
|
728
|
+
}))),
|
|
729
|
+
})),
|
|
730
|
+
});
|
|
731
|
+
// The operation
|
|
732
|
+
/**
|
|
733
|
+
* create a ResourcePoolStatusRequest
|
|
734
|
+
*
|
|
735
|
+
* @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
|
|
736
|
+
* @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.
|
|
737
|
+
*/
|
|
738
|
+
export const createResourceV1alpha3ResourcePoolStatusRequest =
|
|
739
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
740
|
+
inputSchema: CreateResourceV1alpha3ResourcePoolStatusRequestInput,
|
|
741
|
+
outputSchema: CreateResourceV1alpha3ResourcePoolStatusRequestOutput,
|
|
742
|
+
}));
|
|
743
|
+
// Input Schema
|
|
649
744
|
export const CreateResourceV1beta1DeviceClassInput =
|
|
650
745
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
651
746
|
dryRun: Schema.optional(Schema.String),
|
|
@@ -1115,9 +1210,13 @@ export const CreateResourceV1beta1ResourceSliceOutput =
|
|
|
1115
1210
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
1116
1211
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
1117
1212
|
bool: Schema.optional(Schema.Boolean),
|
|
1213
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
1118
1214
|
int: Schema.optional(Schema.Number),
|
|
1215
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
1119
1216
|
string: Schema.optional(Schema.String),
|
|
1217
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
1120
1218
|
version: Schema.optional(Schema.String),
|
|
1219
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
1121
1220
|
}))),
|
|
1122
1221
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
1123
1222
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -1140,6 +1239,10 @@ export const CreateResourceV1beta1ResourceSliceOutput =
|
|
|
1140
1239
|
value: Schema.String,
|
|
1141
1240
|
})),
|
|
1142
1241
|
}))),
|
|
1242
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
1243
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
1244
|
+
capacityKey: Schema.optional(Schema.String),
|
|
1245
|
+
}))),
|
|
1143
1246
|
nodeName: Schema.optional(Schema.String),
|
|
1144
1247
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
1145
1248
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -1761,9 +1864,13 @@ export const CreateResourceV1beta2ResourceSliceOutput =
|
|
|
1761
1864
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
1762
1865
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
1763
1866
|
bool: Schema.optional(Schema.Boolean),
|
|
1867
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
1764
1868
|
int: Schema.optional(Schema.Number),
|
|
1869
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
1765
1870
|
string: Schema.optional(Schema.String),
|
|
1871
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
1766
1872
|
version: Schema.optional(Schema.String),
|
|
1873
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
1767
1874
|
}))),
|
|
1768
1875
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
1769
1876
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -1787,6 +1894,10 @@ export const CreateResourceV1beta2ResourceSliceOutput =
|
|
|
1787
1894
|
})),
|
|
1788
1895
|
}))),
|
|
1789
1896
|
name: Schema.String,
|
|
1897
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
1898
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
1899
|
+
capacityKey: Schema.optional(Schema.String),
|
|
1900
|
+
}))),
|
|
1790
1901
|
nodeName: Schema.optional(Schema.String),
|
|
1791
1902
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
1792
1903
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -1883,6 +1994,9 @@ export const DeleteResourceV1CollectionDeviceClassOutput =
|
|
|
1883
1994
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
1884
1995
|
resourceVersion: Schema.optional(Schema.String),
|
|
1885
1996
|
selfLink: Schema.optional(Schema.String),
|
|
1997
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
1998
|
+
selector: Schema.String,
|
|
1999
|
+
})),
|
|
1886
2000
|
})),
|
|
1887
2001
|
reason: Schema.optional(Schema.String),
|
|
1888
2002
|
status: Schema.optional(Schema.String),
|
|
@@ -1930,6 +2044,9 @@ export const DeleteResourceV1CollectionNamespacedResourceClaimOutput =
|
|
|
1930
2044
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
1931
2045
|
resourceVersion: Schema.optional(Schema.String),
|
|
1932
2046
|
selfLink: Schema.optional(Schema.String),
|
|
2047
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
2048
|
+
selector: Schema.String,
|
|
2049
|
+
})),
|
|
1933
2050
|
})),
|
|
1934
2051
|
reason: Schema.optional(Schema.String),
|
|
1935
2052
|
status: Schema.optional(Schema.String),
|
|
@@ -1977,6 +2094,9 @@ export const DeleteResourceV1CollectionNamespacedResourceClaimTemplateOutput =
|
|
|
1977
2094
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
1978
2095
|
resourceVersion: Schema.optional(Schema.String),
|
|
1979
2096
|
selfLink: Schema.optional(Schema.String),
|
|
2097
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
2098
|
+
selector: Schema.String,
|
|
2099
|
+
})),
|
|
1980
2100
|
})),
|
|
1981
2101
|
reason: Schema.optional(Schema.String),
|
|
1982
2102
|
status: Schema.optional(Schema.String),
|
|
@@ -2024,6 +2144,9 @@ export const DeleteResourceV1CollectionResourceSliceOutput =
|
|
|
2024
2144
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
2025
2145
|
resourceVersion: Schema.optional(Schema.String),
|
|
2026
2146
|
selfLink: Schema.optional(Schema.String),
|
|
2147
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
2148
|
+
selector: Schema.String,
|
|
2149
|
+
})),
|
|
2027
2150
|
})),
|
|
2028
2151
|
reason: Schema.optional(Schema.String),
|
|
2029
2152
|
status: Schema.optional(Schema.String),
|
|
@@ -2504,9 +2627,13 @@ export const DeleteResourceV1ResourceSliceOutput =
|
|
|
2504
2627
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
2505
2628
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
2506
2629
|
bool: Schema.optional(Schema.Boolean),
|
|
2630
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
2507
2631
|
int: Schema.optional(Schema.Number),
|
|
2632
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
2508
2633
|
string: Schema.optional(Schema.String),
|
|
2634
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
2509
2635
|
version: Schema.optional(Schema.String),
|
|
2636
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
2510
2637
|
}))),
|
|
2511
2638
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
2512
2639
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -2530,6 +2657,10 @@ export const DeleteResourceV1ResourceSliceOutput =
|
|
|
2530
2657
|
})),
|
|
2531
2658
|
}))),
|
|
2532
2659
|
name: Schema.String,
|
|
2660
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
2661
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
2662
|
+
capacityKey: Schema.optional(Schema.String),
|
|
2663
|
+
}))),
|
|
2533
2664
|
nodeName: Schema.optional(Schema.String),
|
|
2534
2665
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
2535
2666
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -2625,6 +2756,9 @@ export const DeleteResourceV1alpha3CollectionDeviceTaintRuleOutput =
|
|
|
2625
2756
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
2626
2757
|
resourceVersion: Schema.optional(Schema.String),
|
|
2627
2758
|
selfLink: Schema.optional(Schema.String),
|
|
2759
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
2760
|
+
selector: Schema.String,
|
|
2761
|
+
})),
|
|
2628
2762
|
})),
|
|
2629
2763
|
reason: Schema.optional(Schema.String),
|
|
2630
2764
|
status: Schema.optional(Schema.String),
|
|
@@ -2641,6 +2775,56 @@ export const deleteResourceV1alpha3CollectionDeviceTaintRule =
|
|
|
2641
2775
|
outputSchema: DeleteResourceV1alpha3CollectionDeviceTaintRuleOutput,
|
|
2642
2776
|
}));
|
|
2643
2777
|
// Input Schema
|
|
2778
|
+
export const DeleteResourceV1alpha3CollectionResourcePoolStatusRequestInput =
|
|
2779
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2780
|
+
dryRun: Schema.optional(Schema.String),
|
|
2781
|
+
}).pipe(T.Http({
|
|
2782
|
+
method: "DELETE",
|
|
2783
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests",
|
|
2784
|
+
}));
|
|
2785
|
+
// Output Schema
|
|
2786
|
+
export const DeleteResourceV1alpha3CollectionResourcePoolStatusRequestOutput =
|
|
2787
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2788
|
+
apiVersion: Schema.optional(Schema.String),
|
|
2789
|
+
code: Schema.optional(Schema.Number),
|
|
2790
|
+
details: Schema.optional(Schema.Struct({
|
|
2791
|
+
causes: Schema.optional(Schema.Array(Schema.Struct({
|
|
2792
|
+
field: Schema.optional(Schema.String),
|
|
2793
|
+
message: Schema.optional(Schema.String),
|
|
2794
|
+
reason: Schema.optional(Schema.String),
|
|
2795
|
+
}))),
|
|
2796
|
+
group: Schema.optional(Schema.String),
|
|
2797
|
+
kind: Schema.optional(Schema.String),
|
|
2798
|
+
name: Schema.optional(Schema.String),
|
|
2799
|
+
retryAfterSeconds: Schema.optional(Schema.Number),
|
|
2800
|
+
uid: Schema.optional(Schema.String),
|
|
2801
|
+
})),
|
|
2802
|
+
kind: Schema.optional(Schema.String),
|
|
2803
|
+
message: Schema.optional(Schema.String),
|
|
2804
|
+
metadata: Schema.optional(Schema.Struct({
|
|
2805
|
+
continue: Schema.optional(Schema.String),
|
|
2806
|
+
remainingItemCount: Schema.optional(Schema.Number),
|
|
2807
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
2808
|
+
selfLink: Schema.optional(Schema.String),
|
|
2809
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
2810
|
+
selector: Schema.String,
|
|
2811
|
+
})),
|
|
2812
|
+
})),
|
|
2813
|
+
reason: Schema.optional(Schema.String),
|
|
2814
|
+
status: Schema.optional(Schema.String),
|
|
2815
|
+
});
|
|
2816
|
+
// The operation
|
|
2817
|
+
/**
|
|
2818
|
+
* delete collection of ResourcePoolStatusRequest
|
|
2819
|
+
*
|
|
2820
|
+
* @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
|
|
2821
|
+
*/
|
|
2822
|
+
export const deleteResourceV1alpha3CollectionResourcePoolStatusRequest =
|
|
2823
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2824
|
+
inputSchema: DeleteResourceV1alpha3CollectionResourcePoolStatusRequestInput,
|
|
2825
|
+
outputSchema: DeleteResourceV1alpha3CollectionResourcePoolStatusRequestOutput,
|
|
2826
|
+
}));
|
|
2827
|
+
// Input Schema
|
|
2644
2828
|
export const DeleteResourceV1alpha3DeviceTaintRuleInput =
|
|
2645
2829
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2646
2830
|
dryRun: Schema.optional(Schema.String),
|
|
@@ -2721,6 +2905,91 @@ export const deleteResourceV1alpha3DeviceTaintRule =
|
|
|
2721
2905
|
outputSchema: DeleteResourceV1alpha3DeviceTaintRuleOutput,
|
|
2722
2906
|
}));
|
|
2723
2907
|
// Input Schema
|
|
2908
|
+
export const DeleteResourceV1alpha3ResourcePoolStatusRequestInput =
|
|
2909
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2910
|
+
dryRun: Schema.optional(Schema.String),
|
|
2911
|
+
}).pipe(T.Http({
|
|
2912
|
+
method: "DELETE",
|
|
2913
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}",
|
|
2914
|
+
}));
|
|
2915
|
+
// Output Schema
|
|
2916
|
+
export const DeleteResourceV1alpha3ResourcePoolStatusRequestOutput =
|
|
2917
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2918
|
+
apiVersion: Schema.optional(Schema.String),
|
|
2919
|
+
kind: Schema.optional(Schema.String),
|
|
2920
|
+
metadata: Schema.Struct({
|
|
2921
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
2922
|
+
creationTimestamp: Schema.optional(Schema.String),
|
|
2923
|
+
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
2924
|
+
deletionTimestamp: Schema.optional(Schema.String),
|
|
2925
|
+
finalizers: Schema.optional(Schema.Array(Schema.String)),
|
|
2926
|
+
generateName: Schema.optional(Schema.String),
|
|
2927
|
+
generation: Schema.optional(Schema.Number),
|
|
2928
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
2929
|
+
managedFields: Schema.optional(Schema.Array(Schema.Struct({
|
|
2930
|
+
apiVersion: Schema.optional(Schema.String),
|
|
2931
|
+
fieldsType: Schema.optional(Schema.String),
|
|
2932
|
+
fieldsV1: Schema.optional(Schema.Unknown),
|
|
2933
|
+
manager: Schema.optional(Schema.String),
|
|
2934
|
+
operation: Schema.optional(Schema.String),
|
|
2935
|
+
subresource: Schema.optional(Schema.String),
|
|
2936
|
+
time: Schema.optional(Schema.String),
|
|
2937
|
+
}))),
|
|
2938
|
+
name: Schema.optional(Schema.String),
|
|
2939
|
+
namespace: Schema.optional(Schema.String),
|
|
2940
|
+
ownerReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
2941
|
+
apiVersion: Schema.String,
|
|
2942
|
+
blockOwnerDeletion: Schema.optional(Schema.Boolean),
|
|
2943
|
+
controller: Schema.optional(Schema.Boolean),
|
|
2944
|
+
kind: Schema.String,
|
|
2945
|
+
name: Schema.String,
|
|
2946
|
+
uid: Schema.String,
|
|
2947
|
+
}))),
|
|
2948
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
2949
|
+
selfLink: Schema.optional(Schema.String),
|
|
2950
|
+
uid: Schema.optional(Schema.String),
|
|
2951
|
+
}),
|
|
2952
|
+
spec: Schema.Struct({
|
|
2953
|
+
driver: Schema.String,
|
|
2954
|
+
limit: Schema.optional(Schema.Number),
|
|
2955
|
+
poolName: Schema.optional(Schema.String),
|
|
2956
|
+
}),
|
|
2957
|
+
status: Schema.optional(Schema.Struct({
|
|
2958
|
+
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
2959
|
+
lastTransitionTime: Schema.String,
|
|
2960
|
+
message: Schema.String,
|
|
2961
|
+
observedGeneration: Schema.optional(Schema.Number),
|
|
2962
|
+
reason: Schema.String,
|
|
2963
|
+
status: Schema.String,
|
|
2964
|
+
type: Schema.String,
|
|
2965
|
+
}))),
|
|
2966
|
+
poolCount: Schema.Number,
|
|
2967
|
+
pools: Schema.optional(Schema.Array(Schema.Struct({
|
|
2968
|
+
allocatedDevices: Schema.optional(Schema.Number),
|
|
2969
|
+
availableDevices: Schema.optional(Schema.Number),
|
|
2970
|
+
driver: Schema.String,
|
|
2971
|
+
generation: Schema.Number,
|
|
2972
|
+
nodeName: Schema.optional(Schema.String),
|
|
2973
|
+
poolName: Schema.String,
|
|
2974
|
+
resourceSliceCount: Schema.optional(Schema.Number),
|
|
2975
|
+
totalDevices: Schema.optional(Schema.Number),
|
|
2976
|
+
unavailableDevices: Schema.optional(Schema.Number),
|
|
2977
|
+
validationError: Schema.optional(Schema.String),
|
|
2978
|
+
}))),
|
|
2979
|
+
})),
|
|
2980
|
+
});
|
|
2981
|
+
// The operation
|
|
2982
|
+
/**
|
|
2983
|
+
* delete a ResourcePoolStatusRequest
|
|
2984
|
+
*
|
|
2985
|
+
* @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
|
|
2986
|
+
*/
|
|
2987
|
+
export const deleteResourceV1alpha3ResourcePoolStatusRequest =
|
|
2988
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
2989
|
+
inputSchema: DeleteResourceV1alpha3ResourcePoolStatusRequestInput,
|
|
2990
|
+
outputSchema: DeleteResourceV1alpha3ResourcePoolStatusRequestOutput,
|
|
2991
|
+
}));
|
|
2992
|
+
// Input Schema
|
|
2724
2993
|
export const DeleteResourceV1beta1CollectionDeviceClassInput =
|
|
2725
2994
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
2726
2995
|
dryRun: Schema.optional(Schema.String),
|
|
@@ -2752,6 +3021,9 @@ export const DeleteResourceV1beta1CollectionDeviceClassOutput =
|
|
|
2752
3021
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
2753
3022
|
resourceVersion: Schema.optional(Schema.String),
|
|
2754
3023
|
selfLink: Schema.optional(Schema.String),
|
|
3024
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
3025
|
+
selector: Schema.String,
|
|
3026
|
+
})),
|
|
2755
3027
|
})),
|
|
2756
3028
|
reason: Schema.optional(Schema.String),
|
|
2757
3029
|
status: Schema.optional(Schema.String),
|
|
@@ -2799,6 +3071,9 @@ export const DeleteResourceV1beta1CollectionNamespacedResourceClaimOutput =
|
|
|
2799
3071
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
2800
3072
|
resourceVersion: Schema.optional(Schema.String),
|
|
2801
3073
|
selfLink: Schema.optional(Schema.String),
|
|
3074
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
3075
|
+
selector: Schema.String,
|
|
3076
|
+
})),
|
|
2802
3077
|
})),
|
|
2803
3078
|
reason: Schema.optional(Schema.String),
|
|
2804
3079
|
status: Schema.optional(Schema.String),
|
|
@@ -2846,6 +3121,9 @@ export const DeleteResourceV1beta1CollectionNamespacedResourceClaimTemplateOutpu
|
|
|
2846
3121
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
2847
3122
|
resourceVersion: Schema.optional(Schema.String),
|
|
2848
3123
|
selfLink: Schema.optional(Schema.String),
|
|
3124
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
3125
|
+
selector: Schema.String,
|
|
3126
|
+
})),
|
|
2849
3127
|
})),
|
|
2850
3128
|
reason: Schema.optional(Schema.String),
|
|
2851
3129
|
status: Schema.optional(Schema.String),
|
|
@@ -2893,6 +3171,9 @@ export const DeleteResourceV1beta1CollectionResourceSliceOutput =
|
|
|
2893
3171
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
2894
3172
|
resourceVersion: Schema.optional(Schema.String),
|
|
2895
3173
|
selfLink: Schema.optional(Schema.String),
|
|
3174
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
3175
|
+
selector: Schema.String,
|
|
3176
|
+
})),
|
|
2896
3177
|
})),
|
|
2897
3178
|
reason: Schema.optional(Schema.String),
|
|
2898
3179
|
status: Schema.optional(Schema.String),
|
|
@@ -3371,9 +3652,13 @@ export const DeleteResourceV1beta1ResourceSliceOutput =
|
|
|
3371
3652
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
3372
3653
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
3373
3654
|
bool: Schema.optional(Schema.Boolean),
|
|
3655
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
3374
3656
|
int: Schema.optional(Schema.Number),
|
|
3657
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
3375
3658
|
string: Schema.optional(Schema.String),
|
|
3659
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
3376
3660
|
version: Schema.optional(Schema.String),
|
|
3661
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
3377
3662
|
}))),
|
|
3378
3663
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
3379
3664
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -3396,6 +3681,10 @@ export const DeleteResourceV1beta1ResourceSliceOutput =
|
|
|
3396
3681
|
value: Schema.String,
|
|
3397
3682
|
})),
|
|
3398
3683
|
}))),
|
|
3684
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
3685
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
3686
|
+
capacityKey: Schema.optional(Schema.String),
|
|
3687
|
+
}))),
|
|
3399
3688
|
nodeName: Schema.optional(Schema.String),
|
|
3400
3689
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
3401
3690
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -3493,6 +3782,9 @@ export const DeleteResourceV1beta2CollectionDeviceClassOutput =
|
|
|
3493
3782
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
3494
3783
|
resourceVersion: Schema.optional(Schema.String),
|
|
3495
3784
|
selfLink: Schema.optional(Schema.String),
|
|
3785
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
3786
|
+
selector: Schema.String,
|
|
3787
|
+
})),
|
|
3496
3788
|
})),
|
|
3497
3789
|
reason: Schema.optional(Schema.String),
|
|
3498
3790
|
status: Schema.optional(Schema.String),
|
|
@@ -3540,6 +3832,9 @@ export const DeleteResourceV1beta2CollectionDeviceTaintRuleOutput =
|
|
|
3540
3832
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
3541
3833
|
resourceVersion: Schema.optional(Schema.String),
|
|
3542
3834
|
selfLink: Schema.optional(Schema.String),
|
|
3835
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
3836
|
+
selector: Schema.String,
|
|
3837
|
+
})),
|
|
3543
3838
|
})),
|
|
3544
3839
|
reason: Schema.optional(Schema.String),
|
|
3545
3840
|
status: Schema.optional(Schema.String),
|
|
@@ -3587,6 +3882,9 @@ export const DeleteResourceV1beta2CollectionNamespacedResourceClaimOutput =
|
|
|
3587
3882
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
3588
3883
|
resourceVersion: Schema.optional(Schema.String),
|
|
3589
3884
|
selfLink: Schema.optional(Schema.String),
|
|
3885
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
3886
|
+
selector: Schema.String,
|
|
3887
|
+
})),
|
|
3590
3888
|
})),
|
|
3591
3889
|
reason: Schema.optional(Schema.String),
|
|
3592
3890
|
status: Schema.optional(Schema.String),
|
|
@@ -3634,6 +3932,9 @@ export const DeleteResourceV1beta2CollectionNamespacedResourceClaimTemplateOutpu
|
|
|
3634
3932
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
3635
3933
|
resourceVersion: Schema.optional(Schema.String),
|
|
3636
3934
|
selfLink: Schema.optional(Schema.String),
|
|
3935
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
3936
|
+
selector: Schema.String,
|
|
3937
|
+
})),
|
|
3637
3938
|
})),
|
|
3638
3939
|
reason: Schema.optional(Schema.String),
|
|
3639
3940
|
status: Schema.optional(Schema.String),
|
|
@@ -3681,6 +3982,9 @@ export const DeleteResourceV1beta2CollectionResourceSliceOutput =
|
|
|
3681
3982
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
3682
3983
|
resourceVersion: Schema.optional(Schema.String),
|
|
3683
3984
|
selfLink: Schema.optional(Schema.String),
|
|
3985
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
3986
|
+
selector: Schema.String,
|
|
3987
|
+
})),
|
|
3684
3988
|
})),
|
|
3685
3989
|
reason: Schema.optional(Schema.String),
|
|
3686
3990
|
status: Schema.optional(Schema.String),
|
|
@@ -4242,9 +4546,13 @@ export const DeleteResourceV1beta2ResourceSliceOutput =
|
|
|
4242
4546
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
4243
4547
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
4244
4548
|
bool: Schema.optional(Schema.Boolean),
|
|
4549
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
4245
4550
|
int: Schema.optional(Schema.Number),
|
|
4551
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
4246
4552
|
string: Schema.optional(Schema.String),
|
|
4553
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
4247
4554
|
version: Schema.optional(Schema.String),
|
|
4555
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
4248
4556
|
}))),
|
|
4249
4557
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
4250
4558
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -4268,6 +4576,10 @@ export const DeleteResourceV1beta2ResourceSliceOutput =
|
|
|
4268
4576
|
})),
|
|
4269
4577
|
}))),
|
|
4270
4578
|
name: Schema.String,
|
|
4579
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
4580
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
4581
|
+
capacityKey: Schema.optional(Schema.String),
|
|
4582
|
+
}))),
|
|
4271
4583
|
nodeName: Schema.optional(Schema.String),
|
|
4272
4584
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
4273
4585
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -4547,6 +4859,9 @@ export const ListResourceV1DeviceClassOutput =
|
|
|
4547
4859
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
4548
4860
|
resourceVersion: Schema.optional(Schema.String),
|
|
4549
4861
|
selfLink: Schema.optional(Schema.String),
|
|
4862
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
4863
|
+
selector: Schema.String,
|
|
4864
|
+
})),
|
|
4550
4865
|
})),
|
|
4551
4866
|
});
|
|
4552
4867
|
// The operation
|
|
@@ -4743,6 +5058,9 @@ export const ListResourceV1NamespacedResourceClaimOutput =
|
|
|
4743
5058
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
4744
5059
|
resourceVersion: Schema.optional(Schema.String),
|
|
4745
5060
|
selfLink: Schema.optional(Schema.String),
|
|
5061
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
5062
|
+
selector: Schema.String,
|
|
5063
|
+
})),
|
|
4746
5064
|
})),
|
|
4747
5065
|
});
|
|
4748
5066
|
// The operation
|
|
@@ -4901,6 +5219,9 @@ export const ListResourceV1NamespacedResourceClaimTemplateOutput =
|
|
|
4901
5219
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
4902
5220
|
resourceVersion: Schema.optional(Schema.String),
|
|
4903
5221
|
selfLink: Schema.optional(Schema.String),
|
|
5222
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
5223
|
+
selector: Schema.String,
|
|
5224
|
+
})),
|
|
4904
5225
|
})),
|
|
4905
5226
|
});
|
|
4906
5227
|
// The operation
|
|
@@ -5095,6 +5416,9 @@ export const ListResourceV1ResourceClaimForAllNamespacesOutput =
|
|
|
5095
5416
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
5096
5417
|
resourceVersion: Schema.optional(Schema.String),
|
|
5097
5418
|
selfLink: Schema.optional(Schema.String),
|
|
5419
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
5420
|
+
selector: Schema.String,
|
|
5421
|
+
})),
|
|
5098
5422
|
})),
|
|
5099
5423
|
});
|
|
5100
5424
|
// The operation
|
|
@@ -5253,6 +5577,9 @@ export const ListResourceV1ResourceClaimTemplateForAllNamespacesOutput =
|
|
|
5253
5577
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
5254
5578
|
resourceVersion: Schema.optional(Schema.String),
|
|
5255
5579
|
selfLink: Schema.optional(Schema.String),
|
|
5580
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
5581
|
+
selector: Schema.String,
|
|
5582
|
+
})),
|
|
5256
5583
|
})),
|
|
5257
5584
|
});
|
|
5258
5585
|
// The operation
|
|
@@ -5313,9 +5640,13 @@ export const ListResourceV1ResourceSliceOutput =
|
|
|
5313
5640
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
5314
5641
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
5315
5642
|
bool: Schema.optional(Schema.Boolean),
|
|
5643
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
5316
5644
|
int: Schema.optional(Schema.Number),
|
|
5645
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
5317
5646
|
string: Schema.optional(Schema.String),
|
|
5647
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
5318
5648
|
version: Schema.optional(Schema.String),
|
|
5649
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
5319
5650
|
}))),
|
|
5320
5651
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
5321
5652
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -5339,6 +5670,10 @@ export const ListResourceV1ResourceSliceOutput =
|
|
|
5339
5670
|
})),
|
|
5340
5671
|
}))),
|
|
5341
5672
|
name: Schema.String,
|
|
5673
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
5674
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
5675
|
+
capacityKey: Schema.optional(Schema.String),
|
|
5676
|
+
}))),
|
|
5342
5677
|
nodeName: Schema.optional(Schema.String),
|
|
5343
5678
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
5344
5679
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -5397,6 +5732,9 @@ export const ListResourceV1ResourceSliceOutput =
|
|
|
5397
5732
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
5398
5733
|
resourceVersion: Schema.optional(Schema.String),
|
|
5399
5734
|
selfLink: Schema.optional(Schema.String),
|
|
5735
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
5736
|
+
selector: Schema.String,
|
|
5737
|
+
})),
|
|
5400
5738
|
})),
|
|
5401
5739
|
});
|
|
5402
5740
|
// The operation
|
|
@@ -5482,6 +5820,9 @@ export const ListResourceV1alpha3DeviceTaintRuleOutput =
|
|
|
5482
5820
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
5483
5821
|
resourceVersion: Schema.optional(Schema.String),
|
|
5484
5822
|
selfLink: Schema.optional(Schema.String),
|
|
5823
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
5824
|
+
selector: Schema.String,
|
|
5825
|
+
})),
|
|
5485
5826
|
})),
|
|
5486
5827
|
});
|
|
5487
5828
|
// The operation
|
|
@@ -5494,19 +5835,19 @@ export const listResourceV1alpha3DeviceTaintRule =
|
|
|
5494
5835
|
outputSchema: ListResourceV1alpha3DeviceTaintRuleOutput,
|
|
5495
5836
|
}));
|
|
5496
5837
|
// Input Schema
|
|
5497
|
-
export const
|
|
5838
|
+
export const ListResourceV1alpha3ResourcePoolStatusRequestInput =
|
|
5498
5839
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
5499
5840
|
method: "GET",
|
|
5500
|
-
path: "/apis/resource.k8s.io/
|
|
5841
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests",
|
|
5501
5842
|
}));
|
|
5502
5843
|
// Output Schema
|
|
5503
|
-
export const
|
|
5844
|
+
export const ListResourceV1alpha3ResourcePoolStatusRequestOutput =
|
|
5504
5845
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
5505
5846
|
apiVersion: Schema.optional(Schema.String),
|
|
5506
5847
|
items: Schema.Array(Schema.Struct({
|
|
5507
5848
|
apiVersion: Schema.optional(Schema.String),
|
|
5508
5849
|
kind: Schema.optional(Schema.String),
|
|
5509
|
-
metadata: Schema.
|
|
5850
|
+
metadata: Schema.Struct({
|
|
5510
5851
|
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
5511
5852
|
creationTimestamp: Schema.optional(Schema.String),
|
|
5512
5853
|
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
@@ -5537,21 +5878,35 @@ export const ListResourceV1beta1DeviceClassOutput =
|
|
|
5537
5878
|
resourceVersion: Schema.optional(Schema.String),
|
|
5538
5879
|
selfLink: Schema.optional(Schema.String),
|
|
5539
5880
|
uid: Schema.optional(Schema.String),
|
|
5540
|
-
})
|
|
5881
|
+
}),
|
|
5541
5882
|
spec: Schema.Struct({
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5883
|
+
driver: Schema.String,
|
|
5884
|
+
limit: Schema.optional(Schema.Number),
|
|
5885
|
+
poolName: Schema.optional(Schema.String),
|
|
5886
|
+
}),
|
|
5887
|
+
status: Schema.optional(Schema.Struct({
|
|
5888
|
+
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
5889
|
+
lastTransitionTime: Schema.String,
|
|
5890
|
+
message: Schema.String,
|
|
5891
|
+
observedGeneration: Schema.optional(Schema.Number),
|
|
5892
|
+
reason: Schema.String,
|
|
5893
|
+
status: Schema.String,
|
|
5894
|
+
type: Schema.String,
|
|
5547
5895
|
}))),
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5896
|
+
poolCount: Schema.Number,
|
|
5897
|
+
pools: Schema.optional(Schema.Array(Schema.Struct({
|
|
5898
|
+
allocatedDevices: Schema.optional(Schema.Number),
|
|
5899
|
+
availableDevices: Schema.optional(Schema.Number),
|
|
5900
|
+
driver: Schema.String,
|
|
5901
|
+
generation: Schema.Number,
|
|
5902
|
+
nodeName: Schema.optional(Schema.String),
|
|
5903
|
+
poolName: Schema.String,
|
|
5904
|
+
resourceSliceCount: Schema.optional(Schema.Number),
|
|
5905
|
+
totalDevices: Schema.optional(Schema.Number),
|
|
5906
|
+
unavailableDevices: Schema.optional(Schema.Number),
|
|
5907
|
+
validationError: Schema.optional(Schema.String),
|
|
5553
5908
|
}))),
|
|
5554
|
-
}),
|
|
5909
|
+
})),
|
|
5555
5910
|
})),
|
|
5556
5911
|
kind: Schema.optional(Schema.String),
|
|
5557
5912
|
metadata: Schema.optional(Schema.Struct({
|
|
@@ -5559,25 +5914,28 @@ export const ListResourceV1beta1DeviceClassOutput =
|
|
|
5559
5914
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
5560
5915
|
resourceVersion: Schema.optional(Schema.String),
|
|
5561
5916
|
selfLink: Schema.optional(Schema.String),
|
|
5917
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
5918
|
+
selector: Schema.String,
|
|
5919
|
+
})),
|
|
5562
5920
|
})),
|
|
5563
5921
|
});
|
|
5564
5922
|
// The operation
|
|
5565
5923
|
/**
|
|
5566
|
-
* list or watch objects of kind
|
|
5924
|
+
* list or watch objects of kind ResourcePoolStatusRequest
|
|
5567
5925
|
*/
|
|
5568
|
-
export const
|
|
5926
|
+
export const listResourceV1alpha3ResourcePoolStatusRequest =
|
|
5569
5927
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
5570
|
-
inputSchema:
|
|
5571
|
-
outputSchema:
|
|
5928
|
+
inputSchema: ListResourceV1alpha3ResourcePoolStatusRequestInput,
|
|
5929
|
+
outputSchema: ListResourceV1alpha3ResourcePoolStatusRequestOutput,
|
|
5572
5930
|
}));
|
|
5573
5931
|
// Input Schema
|
|
5574
|
-
export const
|
|
5932
|
+
export const ListResourceV1beta1DeviceClassInput =
|
|
5575
5933
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
5576
5934
|
method: "GET",
|
|
5577
|
-
path: "/apis/resource.k8s.io/v1beta1/
|
|
5935
|
+
path: "/apis/resource.k8s.io/v1beta1/deviceclasses",
|
|
5578
5936
|
}));
|
|
5579
5937
|
// Output Schema
|
|
5580
|
-
export const
|
|
5938
|
+
export const ListResourceV1beta1DeviceClassOutput =
|
|
5581
5939
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
5582
5940
|
apiVersion: Schema.optional(Schema.String),
|
|
5583
5941
|
items: Schema.Array(Schema.Struct({
|
|
@@ -5616,17 +5974,97 @@ export const ListResourceV1beta1NamespacedResourceClaimOutput =
|
|
|
5616
5974
|
uid: Schema.optional(Schema.String),
|
|
5617
5975
|
})),
|
|
5618
5976
|
spec: Schema.Struct({
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5977
|
+
config: Schema.optional(Schema.Array(Schema.Struct({
|
|
5978
|
+
opaque: Schema.optional(Schema.Struct({
|
|
5979
|
+
driver: Schema.String,
|
|
5980
|
+
parameters: Schema.Unknown,
|
|
5981
|
+
})),
|
|
5982
|
+
}))),
|
|
5983
|
+
extendedResourceName: Schema.optional(Schema.String),
|
|
5984
|
+
selectors: Schema.optional(Schema.Array(Schema.Struct({
|
|
5985
|
+
cel: Schema.optional(Schema.Struct({
|
|
5986
|
+
expression: Schema.String,
|
|
5987
|
+
})),
|
|
5988
|
+
}))),
|
|
5989
|
+
}),
|
|
5990
|
+
})),
|
|
5991
|
+
kind: Schema.optional(Schema.String),
|
|
5992
|
+
metadata: Schema.optional(Schema.Struct({
|
|
5993
|
+
continue: Schema.optional(Schema.String),
|
|
5994
|
+
remainingItemCount: Schema.optional(Schema.Number),
|
|
5995
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
5996
|
+
selfLink: Schema.optional(Schema.String),
|
|
5997
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
5998
|
+
selector: Schema.String,
|
|
5999
|
+
})),
|
|
6000
|
+
})),
|
|
6001
|
+
});
|
|
6002
|
+
// The operation
|
|
6003
|
+
/**
|
|
6004
|
+
* list or watch objects of kind DeviceClass
|
|
6005
|
+
*/
|
|
6006
|
+
export const listResourceV1beta1DeviceClass =
|
|
6007
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
6008
|
+
inputSchema: ListResourceV1beta1DeviceClassInput,
|
|
6009
|
+
outputSchema: ListResourceV1beta1DeviceClassOutput,
|
|
6010
|
+
}));
|
|
6011
|
+
// Input Schema
|
|
6012
|
+
export const ListResourceV1beta1NamespacedResourceClaimInput =
|
|
6013
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
6014
|
+
method: "GET",
|
|
6015
|
+
path: "/apis/resource.k8s.io/v1beta1/namespaces/{namespace}/resourceclaims",
|
|
6016
|
+
}));
|
|
6017
|
+
// Output Schema
|
|
6018
|
+
export const ListResourceV1beta1NamespacedResourceClaimOutput =
|
|
6019
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6020
|
+
apiVersion: Schema.optional(Schema.String),
|
|
6021
|
+
items: Schema.Array(Schema.Struct({
|
|
6022
|
+
apiVersion: Schema.optional(Schema.String),
|
|
6023
|
+
kind: Schema.optional(Schema.String),
|
|
6024
|
+
metadata: Schema.optional(Schema.Struct({
|
|
6025
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
6026
|
+
creationTimestamp: Schema.optional(Schema.String),
|
|
6027
|
+
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
6028
|
+
deletionTimestamp: Schema.optional(Schema.String),
|
|
6029
|
+
finalizers: Schema.optional(Schema.Array(Schema.String)),
|
|
6030
|
+
generateName: Schema.optional(Schema.String),
|
|
6031
|
+
generation: Schema.optional(Schema.Number),
|
|
6032
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
6033
|
+
managedFields: Schema.optional(Schema.Array(Schema.Struct({
|
|
6034
|
+
apiVersion: Schema.optional(Schema.String),
|
|
6035
|
+
fieldsType: Schema.optional(Schema.String),
|
|
6036
|
+
fieldsV1: Schema.optional(Schema.Unknown),
|
|
6037
|
+
manager: Schema.optional(Schema.String),
|
|
6038
|
+
operation: Schema.optional(Schema.String),
|
|
6039
|
+
subresource: Schema.optional(Schema.String),
|
|
6040
|
+
time: Schema.optional(Schema.String),
|
|
6041
|
+
}))),
|
|
6042
|
+
name: Schema.optional(Schema.String),
|
|
6043
|
+
namespace: Schema.optional(Schema.String),
|
|
6044
|
+
ownerReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
6045
|
+
apiVersion: Schema.String,
|
|
6046
|
+
blockOwnerDeletion: Schema.optional(Schema.Boolean),
|
|
6047
|
+
controller: Schema.optional(Schema.Boolean),
|
|
6048
|
+
kind: Schema.String,
|
|
6049
|
+
name: Schema.String,
|
|
6050
|
+
uid: Schema.String,
|
|
6051
|
+
}))),
|
|
6052
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
6053
|
+
selfLink: Schema.optional(Schema.String),
|
|
6054
|
+
uid: Schema.optional(Schema.String),
|
|
6055
|
+
})),
|
|
6056
|
+
spec: Schema.Struct({
|
|
6057
|
+
devices: Schema.optional(Schema.Struct({
|
|
6058
|
+
config: Schema.optional(Schema.Array(Schema.Struct({
|
|
6059
|
+
opaque: Schema.optional(Schema.Struct({
|
|
6060
|
+
driver: Schema.String,
|
|
6061
|
+
parameters: Schema.Unknown,
|
|
6062
|
+
})),
|
|
6063
|
+
requests: Schema.optional(Schema.Array(Schema.String)),
|
|
6064
|
+
}))),
|
|
6065
|
+
constraints: Schema.optional(Schema.Array(Schema.Struct({
|
|
6066
|
+
distinctAttribute: Schema.optional(Schema.String),
|
|
6067
|
+
matchAttribute: Schema.optional(Schema.String),
|
|
5630
6068
|
requests: Schema.optional(Schema.Array(Schema.String)),
|
|
5631
6069
|
}))),
|
|
5632
6070
|
requests: Schema.optional(Schema.Array(Schema.Struct({
|
|
@@ -5754,6 +6192,9 @@ export const ListResourceV1beta1NamespacedResourceClaimOutput =
|
|
|
5754
6192
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
5755
6193
|
resourceVersion: Schema.optional(Schema.String),
|
|
5756
6194
|
selfLink: Schema.optional(Schema.String),
|
|
6195
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
6196
|
+
selector: Schema.String,
|
|
6197
|
+
})),
|
|
5757
6198
|
})),
|
|
5758
6199
|
});
|
|
5759
6200
|
// The operation
|
|
@@ -5910,6 +6351,9 @@ export const ListResourceV1beta1NamespacedResourceClaimTemplateOutput =
|
|
|
5910
6351
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
5911
6352
|
resourceVersion: Schema.optional(Schema.String),
|
|
5912
6353
|
selfLink: Schema.optional(Schema.String),
|
|
6354
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
6355
|
+
selector: Schema.String,
|
|
6356
|
+
})),
|
|
5913
6357
|
})),
|
|
5914
6358
|
});
|
|
5915
6359
|
// The operation
|
|
@@ -6105,6 +6549,9 @@ export const ListResourceV1beta1ResourceClaimForAllNamespacesOutput =
|
|
|
6105
6549
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
6106
6550
|
resourceVersion: Schema.optional(Schema.String),
|
|
6107
6551
|
selfLink: Schema.optional(Schema.String),
|
|
6552
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
6553
|
+
selector: Schema.String,
|
|
6554
|
+
})),
|
|
6108
6555
|
})),
|
|
6109
6556
|
});
|
|
6110
6557
|
// The operation
|
|
@@ -6261,6 +6708,9 @@ export const ListResourceV1beta1ResourceClaimTemplateForAllNamespacesOutput =
|
|
|
6261
6708
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
6262
6709
|
resourceVersion: Schema.optional(Schema.String),
|
|
6263
6710
|
selfLink: Schema.optional(Schema.String),
|
|
6711
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
6712
|
+
selector: Schema.String,
|
|
6713
|
+
})),
|
|
6264
6714
|
})),
|
|
6265
6715
|
});
|
|
6266
6716
|
// The operation
|
|
@@ -6325,9 +6775,13 @@ export const ListResourceV1beta1ResourceSliceOutput =
|
|
|
6325
6775
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
6326
6776
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
6327
6777
|
bool: Schema.optional(Schema.Boolean),
|
|
6778
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
6328
6779
|
int: Schema.optional(Schema.Number),
|
|
6780
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
6329
6781
|
string: Schema.optional(Schema.String),
|
|
6782
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
6330
6783
|
version: Schema.optional(Schema.String),
|
|
6784
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
6331
6785
|
}))),
|
|
6332
6786
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
6333
6787
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -6350,6 +6804,10 @@ export const ListResourceV1beta1ResourceSliceOutput =
|
|
|
6350
6804
|
value: Schema.String,
|
|
6351
6805
|
})),
|
|
6352
6806
|
}))),
|
|
6807
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
6808
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
6809
|
+
capacityKey: Schema.optional(Schema.String),
|
|
6810
|
+
}))),
|
|
6353
6811
|
nodeName: Schema.optional(Schema.String),
|
|
6354
6812
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
6355
6813
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -6410,6 +6868,9 @@ export const ListResourceV1beta1ResourceSliceOutput =
|
|
|
6410
6868
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
6411
6869
|
resourceVersion: Schema.optional(Schema.String),
|
|
6412
6870
|
selfLink: Schema.optional(Schema.String),
|
|
6871
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
6872
|
+
selector: Schema.String,
|
|
6873
|
+
})),
|
|
6413
6874
|
})),
|
|
6414
6875
|
});
|
|
6415
6876
|
// The operation
|
|
@@ -6487,6 +6948,9 @@ export const ListResourceV1beta2DeviceClassOutput =
|
|
|
6487
6948
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
6488
6949
|
resourceVersion: Schema.optional(Schema.String),
|
|
6489
6950
|
selfLink: Schema.optional(Schema.String),
|
|
6951
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
6952
|
+
selector: Schema.String,
|
|
6953
|
+
})),
|
|
6490
6954
|
})),
|
|
6491
6955
|
});
|
|
6492
6956
|
// The operation
|
|
@@ -6573,6 +7037,9 @@ export const ListResourceV1beta2DeviceTaintRuleOutput =
|
|
|
6573
7037
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
6574
7038
|
resourceVersion: Schema.optional(Schema.String),
|
|
6575
7039
|
selfLink: Schema.optional(Schema.String),
|
|
7040
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
7041
|
+
selector: Schema.String,
|
|
7042
|
+
})),
|
|
6576
7043
|
})),
|
|
6577
7044
|
});
|
|
6578
7045
|
// The operation
|
|
@@ -6770,6 +7237,9 @@ export const ListResourceV1beta2NamespacedResourceClaimOutput =
|
|
|
6770
7237
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
6771
7238
|
resourceVersion: Schema.optional(Schema.String),
|
|
6772
7239
|
selfLink: Schema.optional(Schema.String),
|
|
7240
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
7241
|
+
selector: Schema.String,
|
|
7242
|
+
})),
|
|
6773
7243
|
})),
|
|
6774
7244
|
});
|
|
6775
7245
|
// The operation
|
|
@@ -6928,6 +7398,9 @@ export const ListResourceV1beta2NamespacedResourceClaimTemplateOutput =
|
|
|
6928
7398
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
6929
7399
|
resourceVersion: Schema.optional(Schema.String),
|
|
6930
7400
|
selfLink: Schema.optional(Schema.String),
|
|
7401
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
7402
|
+
selector: Schema.String,
|
|
7403
|
+
})),
|
|
6931
7404
|
})),
|
|
6932
7405
|
});
|
|
6933
7406
|
// The operation
|
|
@@ -7125,6 +7598,9 @@ export const ListResourceV1beta2ResourceClaimForAllNamespacesOutput =
|
|
|
7125
7598
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
7126
7599
|
resourceVersion: Schema.optional(Schema.String),
|
|
7127
7600
|
selfLink: Schema.optional(Schema.String),
|
|
7601
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
7602
|
+
selector: Schema.String,
|
|
7603
|
+
})),
|
|
7128
7604
|
})),
|
|
7129
7605
|
});
|
|
7130
7606
|
// The operation
|
|
@@ -7283,6 +7759,9 @@ export const ListResourceV1beta2ResourceClaimTemplateForAllNamespacesOutput =
|
|
|
7283
7759
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
7284
7760
|
resourceVersion: Schema.optional(Schema.String),
|
|
7285
7761
|
selfLink: Schema.optional(Schema.String),
|
|
7762
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
7763
|
+
selector: Schema.String,
|
|
7764
|
+
})),
|
|
7286
7765
|
})),
|
|
7287
7766
|
});
|
|
7288
7767
|
// The operation
|
|
@@ -7346,9 +7825,13 @@ export const ListResourceV1beta2ResourceSliceOutput =
|
|
|
7346
7825
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
7347
7826
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
7348
7827
|
bool: Schema.optional(Schema.Boolean),
|
|
7828
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
7349
7829
|
int: Schema.optional(Schema.Number),
|
|
7830
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
7350
7831
|
string: Schema.optional(Schema.String),
|
|
7832
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
7351
7833
|
version: Schema.optional(Schema.String),
|
|
7834
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
7352
7835
|
}))),
|
|
7353
7836
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
7354
7837
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -7372,6 +7855,10 @@ export const ListResourceV1beta2ResourceSliceOutput =
|
|
|
7372
7855
|
})),
|
|
7373
7856
|
}))),
|
|
7374
7857
|
name: Schema.String,
|
|
7858
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
7859
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
7860
|
+
capacityKey: Schema.optional(Schema.String),
|
|
7861
|
+
}))),
|
|
7375
7862
|
nodeName: Schema.optional(Schema.String),
|
|
7376
7863
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
7377
7864
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -7430,6 +7917,9 @@ export const ListResourceV1beta2ResourceSliceOutput =
|
|
|
7430
7917
|
remainingItemCount: Schema.optional(Schema.Number),
|
|
7431
7918
|
resourceVersion: Schema.optional(Schema.String),
|
|
7432
7919
|
selfLink: Schema.optional(Schema.String),
|
|
7920
|
+
shardInfo: Schema.optional(Schema.Struct({
|
|
7921
|
+
selector: Schema.String,
|
|
7922
|
+
})),
|
|
7433
7923
|
})),
|
|
7434
7924
|
});
|
|
7435
7925
|
// The operation
|
|
@@ -8106,9 +8596,13 @@ export const PatchResourceV1ResourceSliceOutput =
|
|
|
8106
8596
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
8107
8597
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
8108
8598
|
bool: Schema.optional(Schema.Boolean),
|
|
8599
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
8109
8600
|
int: Schema.optional(Schema.Number),
|
|
8601
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
8110
8602
|
string: Schema.optional(Schema.String),
|
|
8603
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
8111
8604
|
version: Schema.optional(Schema.String),
|
|
8605
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
8112
8606
|
}))),
|
|
8113
8607
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
8114
8608
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -8132,6 +8626,10 @@ export const PatchResourceV1ResourceSliceOutput =
|
|
|
8132
8626
|
})),
|
|
8133
8627
|
}))),
|
|
8134
8628
|
name: Schema.String,
|
|
8629
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
8630
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
8631
|
+
capacityKey: Schema.optional(Schema.String),
|
|
8632
|
+
}))),
|
|
8135
8633
|
nodeName: Schema.optional(Schema.String),
|
|
8136
8634
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
8137
8635
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -8361,6 +8859,180 @@ export const patchResourceV1alpha3DeviceTaintRuleStatus =
|
|
|
8361
8859
|
outputSchema: PatchResourceV1alpha3DeviceTaintRuleStatusOutput,
|
|
8362
8860
|
}));
|
|
8363
8861
|
// Input Schema
|
|
8862
|
+
export const PatchResourceV1alpha3ResourcePoolStatusRequestInput =
|
|
8863
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8864
|
+
dryRun: Schema.optional(Schema.String),
|
|
8865
|
+
fieldValidation: Schema.optional(Schema.String),
|
|
8866
|
+
}).pipe(T.Http({
|
|
8867
|
+
method: "PATCH",
|
|
8868
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}",
|
|
8869
|
+
}));
|
|
8870
|
+
// Output Schema
|
|
8871
|
+
export const PatchResourceV1alpha3ResourcePoolStatusRequestOutput =
|
|
8872
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8873
|
+
apiVersion: Schema.optional(Schema.String),
|
|
8874
|
+
kind: Schema.optional(Schema.String),
|
|
8875
|
+
metadata: Schema.Struct({
|
|
8876
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
8877
|
+
creationTimestamp: Schema.optional(Schema.String),
|
|
8878
|
+
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
8879
|
+
deletionTimestamp: Schema.optional(Schema.String),
|
|
8880
|
+
finalizers: Schema.optional(Schema.Array(Schema.String)),
|
|
8881
|
+
generateName: Schema.optional(Schema.String),
|
|
8882
|
+
generation: Schema.optional(Schema.Number),
|
|
8883
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
8884
|
+
managedFields: Schema.optional(Schema.Array(Schema.Struct({
|
|
8885
|
+
apiVersion: Schema.optional(Schema.String),
|
|
8886
|
+
fieldsType: Schema.optional(Schema.String),
|
|
8887
|
+
fieldsV1: Schema.optional(Schema.Unknown),
|
|
8888
|
+
manager: Schema.optional(Schema.String),
|
|
8889
|
+
operation: Schema.optional(Schema.String),
|
|
8890
|
+
subresource: Schema.optional(Schema.String),
|
|
8891
|
+
time: Schema.optional(Schema.String),
|
|
8892
|
+
}))),
|
|
8893
|
+
name: Schema.optional(Schema.String),
|
|
8894
|
+
namespace: Schema.optional(Schema.String),
|
|
8895
|
+
ownerReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
8896
|
+
apiVersion: Schema.String,
|
|
8897
|
+
blockOwnerDeletion: Schema.optional(Schema.Boolean),
|
|
8898
|
+
controller: Schema.optional(Schema.Boolean),
|
|
8899
|
+
kind: Schema.String,
|
|
8900
|
+
name: Schema.String,
|
|
8901
|
+
uid: Schema.String,
|
|
8902
|
+
}))),
|
|
8903
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
8904
|
+
selfLink: Schema.optional(Schema.String),
|
|
8905
|
+
uid: Schema.optional(Schema.String),
|
|
8906
|
+
}),
|
|
8907
|
+
spec: Schema.Struct({
|
|
8908
|
+
driver: Schema.String,
|
|
8909
|
+
limit: Schema.optional(Schema.Number),
|
|
8910
|
+
poolName: Schema.optional(Schema.String),
|
|
8911
|
+
}),
|
|
8912
|
+
status: Schema.optional(Schema.Struct({
|
|
8913
|
+
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
8914
|
+
lastTransitionTime: Schema.String,
|
|
8915
|
+
message: Schema.String,
|
|
8916
|
+
observedGeneration: Schema.optional(Schema.Number),
|
|
8917
|
+
reason: Schema.String,
|
|
8918
|
+
status: Schema.String,
|
|
8919
|
+
type: Schema.String,
|
|
8920
|
+
}))),
|
|
8921
|
+
poolCount: Schema.Number,
|
|
8922
|
+
pools: Schema.optional(Schema.Array(Schema.Struct({
|
|
8923
|
+
allocatedDevices: Schema.optional(Schema.Number),
|
|
8924
|
+
availableDevices: Schema.optional(Schema.Number),
|
|
8925
|
+
driver: Schema.String,
|
|
8926
|
+
generation: Schema.Number,
|
|
8927
|
+
nodeName: Schema.optional(Schema.String),
|
|
8928
|
+
poolName: Schema.String,
|
|
8929
|
+
resourceSliceCount: Schema.optional(Schema.Number),
|
|
8930
|
+
totalDevices: Schema.optional(Schema.Number),
|
|
8931
|
+
unavailableDevices: Schema.optional(Schema.Number),
|
|
8932
|
+
validationError: Schema.optional(Schema.String),
|
|
8933
|
+
}))),
|
|
8934
|
+
})),
|
|
8935
|
+
});
|
|
8936
|
+
// The operation
|
|
8937
|
+
/**
|
|
8938
|
+
* partially update the specified ResourcePoolStatusRequest
|
|
8939
|
+
*
|
|
8940
|
+
* @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
|
|
8941
|
+
* @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.
|
|
8942
|
+
*/
|
|
8943
|
+
export const patchResourceV1alpha3ResourcePoolStatusRequest =
|
|
8944
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
8945
|
+
inputSchema: PatchResourceV1alpha3ResourcePoolStatusRequestInput,
|
|
8946
|
+
outputSchema: PatchResourceV1alpha3ResourcePoolStatusRequestOutput,
|
|
8947
|
+
}));
|
|
8948
|
+
// Input Schema
|
|
8949
|
+
export const PatchResourceV1alpha3ResourcePoolStatusRequestStatusInput =
|
|
8950
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8951
|
+
dryRun: Schema.optional(Schema.String),
|
|
8952
|
+
fieldValidation: Schema.optional(Schema.String),
|
|
8953
|
+
}).pipe(T.Http({
|
|
8954
|
+
method: "PATCH",
|
|
8955
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}/status",
|
|
8956
|
+
}));
|
|
8957
|
+
// Output Schema
|
|
8958
|
+
export const PatchResourceV1alpha3ResourcePoolStatusRequestStatusOutput =
|
|
8959
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8960
|
+
apiVersion: Schema.optional(Schema.String),
|
|
8961
|
+
kind: Schema.optional(Schema.String),
|
|
8962
|
+
metadata: Schema.Struct({
|
|
8963
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
8964
|
+
creationTimestamp: Schema.optional(Schema.String),
|
|
8965
|
+
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
8966
|
+
deletionTimestamp: Schema.optional(Schema.String),
|
|
8967
|
+
finalizers: Schema.optional(Schema.Array(Schema.String)),
|
|
8968
|
+
generateName: Schema.optional(Schema.String),
|
|
8969
|
+
generation: Schema.optional(Schema.Number),
|
|
8970
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
8971
|
+
managedFields: Schema.optional(Schema.Array(Schema.Struct({
|
|
8972
|
+
apiVersion: Schema.optional(Schema.String),
|
|
8973
|
+
fieldsType: Schema.optional(Schema.String),
|
|
8974
|
+
fieldsV1: Schema.optional(Schema.Unknown),
|
|
8975
|
+
manager: Schema.optional(Schema.String),
|
|
8976
|
+
operation: Schema.optional(Schema.String),
|
|
8977
|
+
subresource: Schema.optional(Schema.String),
|
|
8978
|
+
time: Schema.optional(Schema.String),
|
|
8979
|
+
}))),
|
|
8980
|
+
name: Schema.optional(Schema.String),
|
|
8981
|
+
namespace: Schema.optional(Schema.String),
|
|
8982
|
+
ownerReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
8983
|
+
apiVersion: Schema.String,
|
|
8984
|
+
blockOwnerDeletion: Schema.optional(Schema.Boolean),
|
|
8985
|
+
controller: Schema.optional(Schema.Boolean),
|
|
8986
|
+
kind: Schema.String,
|
|
8987
|
+
name: Schema.String,
|
|
8988
|
+
uid: Schema.String,
|
|
8989
|
+
}))),
|
|
8990
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
8991
|
+
selfLink: Schema.optional(Schema.String),
|
|
8992
|
+
uid: Schema.optional(Schema.String),
|
|
8993
|
+
}),
|
|
8994
|
+
spec: Schema.Struct({
|
|
8995
|
+
driver: Schema.String,
|
|
8996
|
+
limit: Schema.optional(Schema.Number),
|
|
8997
|
+
poolName: Schema.optional(Schema.String),
|
|
8998
|
+
}),
|
|
8999
|
+
status: Schema.optional(Schema.Struct({
|
|
9000
|
+
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
9001
|
+
lastTransitionTime: Schema.String,
|
|
9002
|
+
message: Schema.String,
|
|
9003
|
+
observedGeneration: Schema.optional(Schema.Number),
|
|
9004
|
+
reason: Schema.String,
|
|
9005
|
+
status: Schema.String,
|
|
9006
|
+
type: Schema.String,
|
|
9007
|
+
}))),
|
|
9008
|
+
poolCount: Schema.Number,
|
|
9009
|
+
pools: Schema.optional(Schema.Array(Schema.Struct({
|
|
9010
|
+
allocatedDevices: Schema.optional(Schema.Number),
|
|
9011
|
+
availableDevices: Schema.optional(Schema.Number),
|
|
9012
|
+
driver: Schema.String,
|
|
9013
|
+
generation: Schema.Number,
|
|
9014
|
+
nodeName: Schema.optional(Schema.String),
|
|
9015
|
+
poolName: Schema.String,
|
|
9016
|
+
resourceSliceCount: Schema.optional(Schema.Number),
|
|
9017
|
+
totalDevices: Schema.optional(Schema.Number),
|
|
9018
|
+
unavailableDevices: Schema.optional(Schema.Number),
|
|
9019
|
+
validationError: Schema.optional(Schema.String),
|
|
9020
|
+
}))),
|
|
9021
|
+
})),
|
|
9022
|
+
});
|
|
9023
|
+
// The operation
|
|
9024
|
+
/**
|
|
9025
|
+
* partially update status of the specified ResourcePoolStatusRequest
|
|
9026
|
+
*
|
|
9027
|
+
* @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
|
|
9028
|
+
* @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.
|
|
9029
|
+
*/
|
|
9030
|
+
export const patchResourceV1alpha3ResourcePoolStatusRequestStatus =
|
|
9031
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
9032
|
+
inputSchema: PatchResourceV1alpha3ResourcePoolStatusRequestStatusInput,
|
|
9033
|
+
outputSchema: PatchResourceV1alpha3ResourcePoolStatusRequestStatusOutput,
|
|
9034
|
+
}));
|
|
9035
|
+
// Input Schema
|
|
8364
9036
|
export const PatchResourceV1beta1DeviceClassInput =
|
|
8365
9037
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
8366
9038
|
dryRun: Schema.optional(Schema.String),
|
|
@@ -9021,9 +9693,13 @@ export const PatchResourceV1beta1ResourceSliceOutput =
|
|
|
9021
9693
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
9022
9694
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
9023
9695
|
bool: Schema.optional(Schema.Boolean),
|
|
9696
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
9024
9697
|
int: Schema.optional(Schema.Number),
|
|
9698
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
9025
9699
|
string: Schema.optional(Schema.String),
|
|
9700
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
9026
9701
|
version: Schema.optional(Schema.String),
|
|
9702
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
9027
9703
|
}))),
|
|
9028
9704
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
9029
9705
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -9046,6 +9722,10 @@ export const PatchResourceV1beta1ResourceSliceOutput =
|
|
|
9046
9722
|
value: Schema.String,
|
|
9047
9723
|
})),
|
|
9048
9724
|
}))),
|
|
9725
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
9726
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
9727
|
+
capacityKey: Schema.optional(Schema.String),
|
|
9728
|
+
}))),
|
|
9049
9729
|
nodeName: Schema.optional(Schema.String),
|
|
9050
9730
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
9051
9731
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -9942,9 +10622,13 @@ export const PatchResourceV1beta2ResourceSliceOutput =
|
|
|
9942
10622
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
9943
10623
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
9944
10624
|
bool: Schema.optional(Schema.Boolean),
|
|
10625
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
9945
10626
|
int: Schema.optional(Schema.Number),
|
|
10627
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
9946
10628
|
string: Schema.optional(Schema.String),
|
|
10629
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
9947
10630
|
version: Schema.optional(Schema.String),
|
|
10631
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
9948
10632
|
}))),
|
|
9949
10633
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
9950
10634
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -9968,6 +10652,10 @@ export const PatchResourceV1beta2ResourceSliceOutput =
|
|
|
9968
10652
|
})),
|
|
9969
10653
|
}))),
|
|
9970
10654
|
name: Schema.String,
|
|
10655
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
10656
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
10657
|
+
capacityKey: Schema.optional(Schema.String),
|
|
10658
|
+
}))),
|
|
9971
10659
|
nodeName: Schema.optional(Schema.String),
|
|
9972
10660
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
9973
10661
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -10670,9 +11358,13 @@ export const ReadResourceV1ResourceSliceOutput =
|
|
|
10670
11358
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
10671
11359
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
10672
11360
|
bool: Schema.optional(Schema.Boolean),
|
|
11361
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
10673
11362
|
int: Schema.optional(Schema.Number),
|
|
11363
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
10674
11364
|
string: Schema.optional(Schema.String),
|
|
11365
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
10675
11366
|
version: Schema.optional(Schema.String),
|
|
11367
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
10676
11368
|
}))),
|
|
10677
11369
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
10678
11370
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -10696,6 +11388,10 @@ export const ReadResourceV1ResourceSliceOutput =
|
|
|
10696
11388
|
})),
|
|
10697
11389
|
}))),
|
|
10698
11390
|
name: Schema.String,
|
|
11391
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
11392
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
11393
|
+
capacityKey: Schema.optional(Schema.String),
|
|
11394
|
+
}))),
|
|
10699
11395
|
nodeName: Schema.optional(Schema.String),
|
|
10700
11396
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
10701
11397
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -10909,17 +11605,17 @@ export const readResourceV1alpha3DeviceTaintRuleStatus =
|
|
|
10909
11605
|
outputSchema: ReadResourceV1alpha3DeviceTaintRuleStatusOutput,
|
|
10910
11606
|
}));
|
|
10911
11607
|
// Input Schema
|
|
10912
|
-
export const
|
|
11608
|
+
export const ReadResourceV1alpha3ResourcePoolStatusRequestInput =
|
|
10913
11609
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
10914
11610
|
method: "GET",
|
|
10915
|
-
path: "/apis/resource.k8s.io/
|
|
11611
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}",
|
|
10916
11612
|
}));
|
|
10917
11613
|
// Output Schema
|
|
10918
|
-
export const
|
|
11614
|
+
export const ReadResourceV1alpha3ResourcePoolStatusRequestOutput =
|
|
10919
11615
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
10920
11616
|
apiVersion: Schema.optional(Schema.String),
|
|
10921
11617
|
kind: Schema.optional(Schema.String),
|
|
10922
|
-
metadata: Schema.
|
|
11618
|
+
metadata: Schema.Struct({
|
|
10923
11619
|
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
10924
11620
|
creationTimestamp: Schema.optional(Schema.String),
|
|
10925
11621
|
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
@@ -10950,15 +11646,177 @@ export const ReadResourceV1beta1DeviceClassOutput =
|
|
|
10950
11646
|
resourceVersion: Schema.optional(Schema.String),
|
|
10951
11647
|
selfLink: Schema.optional(Schema.String),
|
|
10952
11648
|
uid: Schema.optional(Schema.String),
|
|
10953
|
-
})
|
|
11649
|
+
}),
|
|
10954
11650
|
spec: Schema.Struct({
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
11651
|
+
driver: Schema.String,
|
|
11652
|
+
limit: Schema.optional(Schema.Number),
|
|
11653
|
+
poolName: Schema.optional(Schema.String),
|
|
11654
|
+
}),
|
|
11655
|
+
status: Schema.optional(Schema.Struct({
|
|
11656
|
+
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
11657
|
+
lastTransitionTime: Schema.String,
|
|
11658
|
+
message: Schema.String,
|
|
11659
|
+
observedGeneration: Schema.optional(Schema.Number),
|
|
11660
|
+
reason: Schema.String,
|
|
11661
|
+
status: Schema.String,
|
|
11662
|
+
type: Schema.String,
|
|
11663
|
+
}))),
|
|
11664
|
+
poolCount: Schema.Number,
|
|
11665
|
+
pools: Schema.optional(Schema.Array(Schema.Struct({
|
|
11666
|
+
allocatedDevices: Schema.optional(Schema.Number),
|
|
11667
|
+
availableDevices: Schema.optional(Schema.Number),
|
|
11668
|
+
driver: Schema.String,
|
|
11669
|
+
generation: Schema.Number,
|
|
11670
|
+
nodeName: Schema.optional(Schema.String),
|
|
11671
|
+
poolName: Schema.String,
|
|
11672
|
+
resourceSliceCount: Schema.optional(Schema.Number),
|
|
11673
|
+
totalDevices: Schema.optional(Schema.Number),
|
|
11674
|
+
unavailableDevices: Schema.optional(Schema.Number),
|
|
11675
|
+
validationError: Schema.optional(Schema.String),
|
|
11676
|
+
}))),
|
|
11677
|
+
})),
|
|
11678
|
+
});
|
|
11679
|
+
// The operation
|
|
11680
|
+
/**
|
|
11681
|
+
* read the specified ResourcePoolStatusRequest
|
|
11682
|
+
*/
|
|
11683
|
+
export const readResourceV1alpha3ResourcePoolStatusRequest =
|
|
11684
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
11685
|
+
inputSchema: ReadResourceV1alpha3ResourcePoolStatusRequestInput,
|
|
11686
|
+
outputSchema: ReadResourceV1alpha3ResourcePoolStatusRequestOutput,
|
|
11687
|
+
}));
|
|
11688
|
+
// Input Schema
|
|
11689
|
+
export const ReadResourceV1alpha3ResourcePoolStatusRequestStatusInput =
|
|
11690
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
11691
|
+
method: "GET",
|
|
11692
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}/status",
|
|
11693
|
+
}));
|
|
11694
|
+
// Output Schema
|
|
11695
|
+
export const ReadResourceV1alpha3ResourcePoolStatusRequestStatusOutput =
|
|
11696
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
11697
|
+
apiVersion: Schema.optional(Schema.String),
|
|
11698
|
+
kind: Schema.optional(Schema.String),
|
|
11699
|
+
metadata: Schema.Struct({
|
|
11700
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
11701
|
+
creationTimestamp: Schema.optional(Schema.String),
|
|
11702
|
+
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
11703
|
+
deletionTimestamp: Schema.optional(Schema.String),
|
|
11704
|
+
finalizers: Schema.optional(Schema.Array(Schema.String)),
|
|
11705
|
+
generateName: Schema.optional(Schema.String),
|
|
11706
|
+
generation: Schema.optional(Schema.Number),
|
|
11707
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
11708
|
+
managedFields: Schema.optional(Schema.Array(Schema.Struct({
|
|
11709
|
+
apiVersion: Schema.optional(Schema.String),
|
|
11710
|
+
fieldsType: Schema.optional(Schema.String),
|
|
11711
|
+
fieldsV1: Schema.optional(Schema.Unknown),
|
|
11712
|
+
manager: Schema.optional(Schema.String),
|
|
11713
|
+
operation: Schema.optional(Schema.String),
|
|
11714
|
+
subresource: Schema.optional(Schema.String),
|
|
11715
|
+
time: Schema.optional(Schema.String),
|
|
11716
|
+
}))),
|
|
11717
|
+
name: Schema.optional(Schema.String),
|
|
11718
|
+
namespace: Schema.optional(Schema.String),
|
|
11719
|
+
ownerReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
11720
|
+
apiVersion: Schema.String,
|
|
11721
|
+
blockOwnerDeletion: Schema.optional(Schema.Boolean),
|
|
11722
|
+
controller: Schema.optional(Schema.Boolean),
|
|
11723
|
+
kind: Schema.String,
|
|
11724
|
+
name: Schema.String,
|
|
11725
|
+
uid: Schema.String,
|
|
11726
|
+
}))),
|
|
11727
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
11728
|
+
selfLink: Schema.optional(Schema.String),
|
|
11729
|
+
uid: Schema.optional(Schema.String),
|
|
11730
|
+
}),
|
|
11731
|
+
spec: Schema.Struct({
|
|
11732
|
+
driver: Schema.String,
|
|
11733
|
+
limit: Schema.optional(Schema.Number),
|
|
11734
|
+
poolName: Schema.optional(Schema.String),
|
|
11735
|
+
}),
|
|
11736
|
+
status: Schema.optional(Schema.Struct({
|
|
11737
|
+
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
11738
|
+
lastTransitionTime: Schema.String,
|
|
11739
|
+
message: Schema.String,
|
|
11740
|
+
observedGeneration: Schema.optional(Schema.Number),
|
|
11741
|
+
reason: Schema.String,
|
|
11742
|
+
status: Schema.String,
|
|
11743
|
+
type: Schema.String,
|
|
11744
|
+
}))),
|
|
11745
|
+
poolCount: Schema.Number,
|
|
11746
|
+
pools: Schema.optional(Schema.Array(Schema.Struct({
|
|
11747
|
+
allocatedDevices: Schema.optional(Schema.Number),
|
|
11748
|
+
availableDevices: Schema.optional(Schema.Number),
|
|
11749
|
+
driver: Schema.String,
|
|
11750
|
+
generation: Schema.Number,
|
|
11751
|
+
nodeName: Schema.optional(Schema.String),
|
|
11752
|
+
poolName: Schema.String,
|
|
11753
|
+
resourceSliceCount: Schema.optional(Schema.Number),
|
|
11754
|
+
totalDevices: Schema.optional(Schema.Number),
|
|
11755
|
+
unavailableDevices: Schema.optional(Schema.Number),
|
|
11756
|
+
validationError: Schema.optional(Schema.String),
|
|
11757
|
+
}))),
|
|
11758
|
+
})),
|
|
11759
|
+
});
|
|
11760
|
+
// The operation
|
|
11761
|
+
/**
|
|
11762
|
+
* read status of the specified ResourcePoolStatusRequest
|
|
11763
|
+
*/
|
|
11764
|
+
export const readResourceV1alpha3ResourcePoolStatusRequestStatus =
|
|
11765
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
11766
|
+
inputSchema: ReadResourceV1alpha3ResourcePoolStatusRequestStatusInput,
|
|
11767
|
+
outputSchema: ReadResourceV1alpha3ResourcePoolStatusRequestStatusOutput,
|
|
11768
|
+
}));
|
|
11769
|
+
// Input Schema
|
|
11770
|
+
export const ReadResourceV1beta1DeviceClassInput =
|
|
11771
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
11772
|
+
method: "GET",
|
|
11773
|
+
path: "/apis/resource.k8s.io/v1beta1/deviceclasses/{name}",
|
|
11774
|
+
}));
|
|
11775
|
+
// Output Schema
|
|
11776
|
+
export const ReadResourceV1beta1DeviceClassOutput =
|
|
11777
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
11778
|
+
apiVersion: Schema.optional(Schema.String),
|
|
11779
|
+
kind: Schema.optional(Schema.String),
|
|
11780
|
+
metadata: Schema.optional(Schema.Struct({
|
|
11781
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
11782
|
+
creationTimestamp: Schema.optional(Schema.String),
|
|
11783
|
+
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
11784
|
+
deletionTimestamp: Schema.optional(Schema.String),
|
|
11785
|
+
finalizers: Schema.optional(Schema.Array(Schema.String)),
|
|
11786
|
+
generateName: Schema.optional(Schema.String),
|
|
11787
|
+
generation: Schema.optional(Schema.Number),
|
|
11788
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
11789
|
+
managedFields: Schema.optional(Schema.Array(Schema.Struct({
|
|
11790
|
+
apiVersion: Schema.optional(Schema.String),
|
|
11791
|
+
fieldsType: Schema.optional(Schema.String),
|
|
11792
|
+
fieldsV1: Schema.optional(Schema.Unknown),
|
|
11793
|
+
manager: Schema.optional(Schema.String),
|
|
11794
|
+
operation: Schema.optional(Schema.String),
|
|
11795
|
+
subresource: Schema.optional(Schema.String),
|
|
11796
|
+
time: Schema.optional(Schema.String),
|
|
11797
|
+
}))),
|
|
11798
|
+
name: Schema.optional(Schema.String),
|
|
11799
|
+
namespace: Schema.optional(Schema.String),
|
|
11800
|
+
ownerReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
11801
|
+
apiVersion: Schema.String,
|
|
11802
|
+
blockOwnerDeletion: Schema.optional(Schema.Boolean),
|
|
11803
|
+
controller: Schema.optional(Schema.Boolean),
|
|
11804
|
+
kind: Schema.String,
|
|
11805
|
+
name: Schema.String,
|
|
11806
|
+
uid: Schema.String,
|
|
11807
|
+
}))),
|
|
11808
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
11809
|
+
selfLink: Schema.optional(Schema.String),
|
|
11810
|
+
uid: Schema.optional(Schema.String),
|
|
11811
|
+
})),
|
|
11812
|
+
spec: Schema.Struct({
|
|
11813
|
+
config: Schema.optional(Schema.Array(Schema.Struct({
|
|
11814
|
+
opaque: Schema.optional(Schema.Struct({
|
|
11815
|
+
driver: Schema.String,
|
|
11816
|
+
parameters: Schema.Unknown,
|
|
11817
|
+
})),
|
|
11818
|
+
}))),
|
|
11819
|
+
extendedResourceName: Schema.optional(Schema.String),
|
|
10962
11820
|
selectors: Schema.optional(Schema.Array(Schema.Struct({
|
|
10963
11821
|
cel: Schema.optional(Schema.Struct({
|
|
10964
11822
|
expression: Schema.String,
|
|
@@ -11542,9 +12400,13 @@ export const ReadResourceV1beta1ResourceSliceOutput =
|
|
|
11542
12400
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
11543
12401
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
11544
12402
|
bool: Schema.optional(Schema.Boolean),
|
|
12403
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
11545
12404
|
int: Schema.optional(Schema.Number),
|
|
12405
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
11546
12406
|
string: Schema.optional(Schema.String),
|
|
12407
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
11547
12408
|
version: Schema.optional(Schema.String),
|
|
12409
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
11548
12410
|
}))),
|
|
11549
12411
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
11550
12412
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -11567,6 +12429,10 @@ export const ReadResourceV1beta1ResourceSliceOutput =
|
|
|
11567
12429
|
value: Schema.String,
|
|
11568
12430
|
})),
|
|
11569
12431
|
}))),
|
|
12432
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
12433
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
12434
|
+
capacityKey: Schema.optional(Schema.String),
|
|
12435
|
+
}))),
|
|
11570
12436
|
nodeName: Schema.optional(Schema.String),
|
|
11571
12437
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
11572
12438
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -12421,9 +13287,13 @@ export const ReadResourceV1beta2ResourceSliceOutput =
|
|
|
12421
13287
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
12422
13288
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
12423
13289
|
bool: Schema.optional(Schema.Boolean),
|
|
13290
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
12424
13291
|
int: Schema.optional(Schema.Number),
|
|
13292
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
12425
13293
|
string: Schema.optional(Schema.String),
|
|
13294
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
12426
13295
|
version: Schema.optional(Schema.String),
|
|
13296
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
12427
13297
|
}))),
|
|
12428
13298
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
12429
13299
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -12447,6 +13317,10 @@ export const ReadResourceV1beta2ResourceSliceOutput =
|
|
|
12447
13317
|
})),
|
|
12448
13318
|
}))),
|
|
12449
13319
|
name: Schema.String,
|
|
13320
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
13321
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
13322
|
+
capacityKey: Schema.optional(Schema.String),
|
|
13323
|
+
}))),
|
|
12450
13324
|
nodeName: Schema.optional(Schema.String),
|
|
12451
13325
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
12452
13326
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -13174,9 +14048,13 @@ export const ReplaceResourceV1ResourceSliceOutput =
|
|
|
13174
14048
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
13175
14049
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
13176
14050
|
bool: Schema.optional(Schema.Boolean),
|
|
14051
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
13177
14052
|
int: Schema.optional(Schema.Number),
|
|
14053
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
13178
14054
|
string: Schema.optional(Schema.String),
|
|
14055
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
13179
14056
|
version: Schema.optional(Schema.String),
|
|
14057
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
13180
14058
|
}))),
|
|
13181
14059
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
13182
14060
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -13200,6 +14078,10 @@ export const ReplaceResourceV1ResourceSliceOutput =
|
|
|
13200
14078
|
})),
|
|
13201
14079
|
}))),
|
|
13202
14080
|
name: Schema.String,
|
|
14081
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
14082
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
14083
|
+
capacityKey: Schema.optional(Schema.String),
|
|
14084
|
+
}))),
|
|
13203
14085
|
nodeName: Schema.optional(Schema.String),
|
|
13204
14086
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
13205
14087
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -13429,6 +14311,180 @@ export const replaceResourceV1alpha3DeviceTaintRuleStatus =
|
|
|
13429
14311
|
outputSchema: ReplaceResourceV1alpha3DeviceTaintRuleStatusOutput,
|
|
13430
14312
|
}));
|
|
13431
14313
|
// Input Schema
|
|
14314
|
+
export const ReplaceResourceV1alpha3ResourcePoolStatusRequestInput =
|
|
14315
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14316
|
+
dryRun: Schema.optional(Schema.String),
|
|
14317
|
+
fieldValidation: Schema.optional(Schema.String),
|
|
14318
|
+
}).pipe(T.Http({
|
|
14319
|
+
method: "PUT",
|
|
14320
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}",
|
|
14321
|
+
}));
|
|
14322
|
+
// Output Schema
|
|
14323
|
+
export const ReplaceResourceV1alpha3ResourcePoolStatusRequestOutput =
|
|
14324
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14325
|
+
apiVersion: Schema.optional(Schema.String),
|
|
14326
|
+
kind: Schema.optional(Schema.String),
|
|
14327
|
+
metadata: Schema.Struct({
|
|
14328
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
14329
|
+
creationTimestamp: Schema.optional(Schema.String),
|
|
14330
|
+
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
14331
|
+
deletionTimestamp: Schema.optional(Schema.String),
|
|
14332
|
+
finalizers: Schema.optional(Schema.Array(Schema.String)),
|
|
14333
|
+
generateName: Schema.optional(Schema.String),
|
|
14334
|
+
generation: Schema.optional(Schema.Number),
|
|
14335
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
14336
|
+
managedFields: Schema.optional(Schema.Array(Schema.Struct({
|
|
14337
|
+
apiVersion: Schema.optional(Schema.String),
|
|
14338
|
+
fieldsType: Schema.optional(Schema.String),
|
|
14339
|
+
fieldsV1: Schema.optional(Schema.Unknown),
|
|
14340
|
+
manager: Schema.optional(Schema.String),
|
|
14341
|
+
operation: Schema.optional(Schema.String),
|
|
14342
|
+
subresource: Schema.optional(Schema.String),
|
|
14343
|
+
time: Schema.optional(Schema.String),
|
|
14344
|
+
}))),
|
|
14345
|
+
name: Schema.optional(Schema.String),
|
|
14346
|
+
namespace: Schema.optional(Schema.String),
|
|
14347
|
+
ownerReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
14348
|
+
apiVersion: Schema.String,
|
|
14349
|
+
blockOwnerDeletion: Schema.optional(Schema.Boolean),
|
|
14350
|
+
controller: Schema.optional(Schema.Boolean),
|
|
14351
|
+
kind: Schema.String,
|
|
14352
|
+
name: Schema.String,
|
|
14353
|
+
uid: Schema.String,
|
|
14354
|
+
}))),
|
|
14355
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
14356
|
+
selfLink: Schema.optional(Schema.String),
|
|
14357
|
+
uid: Schema.optional(Schema.String),
|
|
14358
|
+
}),
|
|
14359
|
+
spec: Schema.Struct({
|
|
14360
|
+
driver: Schema.String,
|
|
14361
|
+
limit: Schema.optional(Schema.Number),
|
|
14362
|
+
poolName: Schema.optional(Schema.String),
|
|
14363
|
+
}),
|
|
14364
|
+
status: Schema.optional(Schema.Struct({
|
|
14365
|
+
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
14366
|
+
lastTransitionTime: Schema.String,
|
|
14367
|
+
message: Schema.String,
|
|
14368
|
+
observedGeneration: Schema.optional(Schema.Number),
|
|
14369
|
+
reason: Schema.String,
|
|
14370
|
+
status: Schema.String,
|
|
14371
|
+
type: Schema.String,
|
|
14372
|
+
}))),
|
|
14373
|
+
poolCount: Schema.Number,
|
|
14374
|
+
pools: Schema.optional(Schema.Array(Schema.Struct({
|
|
14375
|
+
allocatedDevices: Schema.optional(Schema.Number),
|
|
14376
|
+
availableDevices: Schema.optional(Schema.Number),
|
|
14377
|
+
driver: Schema.String,
|
|
14378
|
+
generation: Schema.Number,
|
|
14379
|
+
nodeName: Schema.optional(Schema.String),
|
|
14380
|
+
poolName: Schema.String,
|
|
14381
|
+
resourceSliceCount: Schema.optional(Schema.Number),
|
|
14382
|
+
totalDevices: Schema.optional(Schema.Number),
|
|
14383
|
+
unavailableDevices: Schema.optional(Schema.Number),
|
|
14384
|
+
validationError: Schema.optional(Schema.String),
|
|
14385
|
+
}))),
|
|
14386
|
+
})),
|
|
14387
|
+
});
|
|
14388
|
+
// The operation
|
|
14389
|
+
/**
|
|
14390
|
+
* replace the specified ResourcePoolStatusRequest
|
|
14391
|
+
*
|
|
14392
|
+
* @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
|
|
14393
|
+
* @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.
|
|
14394
|
+
*/
|
|
14395
|
+
export const replaceResourceV1alpha3ResourcePoolStatusRequest =
|
|
14396
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14397
|
+
inputSchema: ReplaceResourceV1alpha3ResourcePoolStatusRequestInput,
|
|
14398
|
+
outputSchema: ReplaceResourceV1alpha3ResourcePoolStatusRequestOutput,
|
|
14399
|
+
}));
|
|
14400
|
+
// Input Schema
|
|
14401
|
+
export const ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusInput =
|
|
14402
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14403
|
+
dryRun: Schema.optional(Schema.String),
|
|
14404
|
+
fieldValidation: Schema.optional(Schema.String),
|
|
14405
|
+
}).pipe(T.Http({
|
|
14406
|
+
method: "PUT",
|
|
14407
|
+
path: "/apis/resource.k8s.io/v1alpha3/resourcepoolstatusrequests/{name}/status",
|
|
14408
|
+
}));
|
|
14409
|
+
// Output Schema
|
|
14410
|
+
export const ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusOutput =
|
|
14411
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14412
|
+
apiVersion: Schema.optional(Schema.String),
|
|
14413
|
+
kind: Schema.optional(Schema.String),
|
|
14414
|
+
metadata: Schema.Struct({
|
|
14415
|
+
annotations: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
14416
|
+
creationTimestamp: Schema.optional(Schema.String),
|
|
14417
|
+
deletionGracePeriodSeconds: Schema.optional(Schema.Number),
|
|
14418
|
+
deletionTimestamp: Schema.optional(Schema.String),
|
|
14419
|
+
finalizers: Schema.optional(Schema.Array(Schema.String)),
|
|
14420
|
+
generateName: Schema.optional(Schema.String),
|
|
14421
|
+
generation: Schema.optional(Schema.Number),
|
|
14422
|
+
labels: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
14423
|
+
managedFields: Schema.optional(Schema.Array(Schema.Struct({
|
|
14424
|
+
apiVersion: Schema.optional(Schema.String),
|
|
14425
|
+
fieldsType: Schema.optional(Schema.String),
|
|
14426
|
+
fieldsV1: Schema.optional(Schema.Unknown),
|
|
14427
|
+
manager: Schema.optional(Schema.String),
|
|
14428
|
+
operation: Schema.optional(Schema.String),
|
|
14429
|
+
subresource: Schema.optional(Schema.String),
|
|
14430
|
+
time: Schema.optional(Schema.String),
|
|
14431
|
+
}))),
|
|
14432
|
+
name: Schema.optional(Schema.String),
|
|
14433
|
+
namespace: Schema.optional(Schema.String),
|
|
14434
|
+
ownerReferences: Schema.optional(Schema.Array(Schema.Struct({
|
|
14435
|
+
apiVersion: Schema.String,
|
|
14436
|
+
blockOwnerDeletion: Schema.optional(Schema.Boolean),
|
|
14437
|
+
controller: Schema.optional(Schema.Boolean),
|
|
14438
|
+
kind: Schema.String,
|
|
14439
|
+
name: Schema.String,
|
|
14440
|
+
uid: Schema.String,
|
|
14441
|
+
}))),
|
|
14442
|
+
resourceVersion: Schema.optional(Schema.String),
|
|
14443
|
+
selfLink: Schema.optional(Schema.String),
|
|
14444
|
+
uid: Schema.optional(Schema.String),
|
|
14445
|
+
}),
|
|
14446
|
+
spec: Schema.Struct({
|
|
14447
|
+
driver: Schema.String,
|
|
14448
|
+
limit: Schema.optional(Schema.Number),
|
|
14449
|
+
poolName: Schema.optional(Schema.String),
|
|
14450
|
+
}),
|
|
14451
|
+
status: Schema.optional(Schema.Struct({
|
|
14452
|
+
conditions: Schema.optional(Schema.Array(Schema.Struct({
|
|
14453
|
+
lastTransitionTime: Schema.String,
|
|
14454
|
+
message: Schema.String,
|
|
14455
|
+
observedGeneration: Schema.optional(Schema.Number),
|
|
14456
|
+
reason: Schema.String,
|
|
14457
|
+
status: Schema.String,
|
|
14458
|
+
type: Schema.String,
|
|
14459
|
+
}))),
|
|
14460
|
+
poolCount: Schema.Number,
|
|
14461
|
+
pools: Schema.optional(Schema.Array(Schema.Struct({
|
|
14462
|
+
allocatedDevices: Schema.optional(Schema.Number),
|
|
14463
|
+
availableDevices: Schema.optional(Schema.Number),
|
|
14464
|
+
driver: Schema.String,
|
|
14465
|
+
generation: Schema.Number,
|
|
14466
|
+
nodeName: Schema.optional(Schema.String),
|
|
14467
|
+
poolName: Schema.String,
|
|
14468
|
+
resourceSliceCount: Schema.optional(Schema.Number),
|
|
14469
|
+
totalDevices: Schema.optional(Schema.Number),
|
|
14470
|
+
unavailableDevices: Schema.optional(Schema.Number),
|
|
14471
|
+
validationError: Schema.optional(Schema.String),
|
|
14472
|
+
}))),
|
|
14473
|
+
})),
|
|
14474
|
+
});
|
|
14475
|
+
// The operation
|
|
14476
|
+
/**
|
|
14477
|
+
* replace status of the specified ResourcePoolStatusRequest
|
|
14478
|
+
*
|
|
14479
|
+
* @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
|
|
14480
|
+
* @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.
|
|
14481
|
+
*/
|
|
14482
|
+
export const replaceResourceV1alpha3ResourcePoolStatusRequestStatus =
|
|
14483
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
14484
|
+
inputSchema: ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusInput,
|
|
14485
|
+
outputSchema: ReplaceResourceV1alpha3ResourcePoolStatusRequestStatusOutput,
|
|
14486
|
+
}));
|
|
14487
|
+
// Input Schema
|
|
13432
14488
|
export const ReplaceResourceV1beta1DeviceClassInput =
|
|
13433
14489
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13434
14490
|
dryRun: Schema.optional(Schema.String),
|
|
@@ -14089,9 +15145,13 @@ export const ReplaceResourceV1beta1ResourceSliceOutput =
|
|
|
14089
15145
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
14090
15146
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
14091
15147
|
bool: Schema.optional(Schema.Boolean),
|
|
15148
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
14092
15149
|
int: Schema.optional(Schema.Number),
|
|
15150
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
14093
15151
|
string: Schema.optional(Schema.String),
|
|
15152
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
14094
15153
|
version: Schema.optional(Schema.String),
|
|
15154
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
14095
15155
|
}))),
|
|
14096
15156
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
14097
15157
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -14114,6 +15174,10 @@ export const ReplaceResourceV1beta1ResourceSliceOutput =
|
|
|
14114
15174
|
value: Schema.String,
|
|
14115
15175
|
})),
|
|
14116
15176
|
}))),
|
|
15177
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
15178
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
15179
|
+
capacityKey: Schema.optional(Schema.String),
|
|
15180
|
+
}))),
|
|
14117
15181
|
nodeName: Schema.optional(Schema.String),
|
|
14118
15182
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
14119
15183
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -15010,9 +16074,13 @@ export const ReplaceResourceV1beta2ResourceSliceOutput =
|
|
|
15010
16074
|
allowMultipleAllocations: Schema.optional(Schema.Boolean),
|
|
15011
16075
|
attributes: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
15012
16076
|
bool: Schema.optional(Schema.Boolean),
|
|
16077
|
+
bools: Schema.optional(Schema.Array(Schema.Boolean)),
|
|
15013
16078
|
int: Schema.optional(Schema.Number),
|
|
16079
|
+
ints: Schema.optional(Schema.Array(Schema.Number)),
|
|
15014
16080
|
string: Schema.optional(Schema.String),
|
|
16081
|
+
strings: Schema.optional(Schema.Array(Schema.String)),
|
|
15015
16082
|
version: Schema.optional(Schema.String),
|
|
16083
|
+
versions: Schema.optional(Schema.Array(Schema.String)),
|
|
15016
16084
|
}))),
|
|
15017
16085
|
bindingConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
15018
16086
|
bindingFailureConditions: Schema.optional(Schema.Array(Schema.String)),
|
|
@@ -15036,6 +16104,10 @@ export const ReplaceResourceV1beta2ResourceSliceOutput =
|
|
|
15036
16104
|
})),
|
|
15037
16105
|
}))),
|
|
15038
16106
|
name: Schema.String,
|
|
16107
|
+
nodeAllocatableResourceMappings: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
|
|
16108
|
+
allocationMultiplier: Schema.optional(Schema.String),
|
|
16109
|
+
capacityKey: Schema.optional(Schema.String),
|
|
16110
|
+
}))),
|
|
15039
16111
|
nodeName: Schema.optional(Schema.String),
|
|
15040
16112
|
nodeSelector: Schema.optional(Schema.Struct({
|
|
15041
16113
|
nodeSelectorTerms: Schema.Array(Schema.Struct({
|
|
@@ -15352,6 +16424,48 @@ export const watchResourceV1alpha3DeviceTaintRuleList =
|
|
|
15352
16424
|
outputSchema: WatchResourceV1alpha3DeviceTaintRuleListOutput,
|
|
15353
16425
|
}));
|
|
15354
16426
|
// Input Schema
|
|
16427
|
+
export const WatchResourceV1alpha3ResourcePoolStatusRequestInput =
|
|
16428
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
16429
|
+
method: "GET",
|
|
16430
|
+
path: "/apis/resource.k8s.io/v1alpha3/watch/resourcepoolstatusrequests/{name}",
|
|
16431
|
+
}));
|
|
16432
|
+
// Output Schema
|
|
16433
|
+
export const WatchResourceV1alpha3ResourcePoolStatusRequestOutput =
|
|
16434
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16435
|
+
object: Schema.Unknown,
|
|
16436
|
+
type: Schema.String,
|
|
16437
|
+
});
|
|
16438
|
+
// The operation
|
|
16439
|
+
/**
|
|
16440
|
+
* 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.
|
|
16441
|
+
*/
|
|
16442
|
+
export const watchResourceV1alpha3ResourcePoolStatusRequest =
|
|
16443
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
16444
|
+
inputSchema: WatchResourceV1alpha3ResourcePoolStatusRequestInput,
|
|
16445
|
+
outputSchema: WatchResourceV1alpha3ResourcePoolStatusRequestOutput,
|
|
16446
|
+
}));
|
|
16447
|
+
// Input Schema
|
|
16448
|
+
export const WatchResourceV1alpha3ResourcePoolStatusRequestListInput =
|
|
16449
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
16450
|
+
method: "GET",
|
|
16451
|
+
path: "/apis/resource.k8s.io/v1alpha3/watch/resourcepoolstatusrequests",
|
|
16452
|
+
}));
|
|
16453
|
+
// Output Schema
|
|
16454
|
+
export const WatchResourceV1alpha3ResourcePoolStatusRequestListOutput =
|
|
16455
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
16456
|
+
object: Schema.Unknown,
|
|
16457
|
+
type: Schema.String,
|
|
16458
|
+
});
|
|
16459
|
+
// The operation
|
|
16460
|
+
/**
|
|
16461
|
+
* watch individual changes to a list of ResourcePoolStatusRequest. deprecated: use the 'watch' parameter with a list operation instead.
|
|
16462
|
+
*/
|
|
16463
|
+
export const watchResourceV1alpha3ResourcePoolStatusRequestList =
|
|
16464
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
16465
|
+
inputSchema: WatchResourceV1alpha3ResourcePoolStatusRequestListInput,
|
|
16466
|
+
outputSchema: WatchResourceV1alpha3ResourcePoolStatusRequestListOutput,
|
|
16467
|
+
}));
|
|
16468
|
+
// Input Schema
|
|
15355
16469
|
export const WatchResourceV1beta1DeviceClassInput =
|
|
15356
16470
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({}).pipe(T.Http({
|
|
15357
16471
|
method: "GET",
|