DRA API: rename DeviceCapacity.Quantity to DeviceCapacity.Value

Based on review
feedback (https://github.com/kubernetes/kubernetes/pull/127511#discussion_r1823521172).
This commit is contained in:
Patrick Ohly
2024-10-31 21:30:28 +01:00
parent 0b8a85c54a
commit 30f5282656
23 changed files with 164 additions and 165 deletions

View File

@@ -16343,13 +16343,13 @@
"io.k8s.api.resource.v1beta1.DeviceCapacity": {
"description": "DeviceCapacity describes a quantity associated with a device.",
"properties": {
"quantity": {
"value": {
"$ref": "#/definitions/io.k8s.apimachinery.pkg.api.resource.Quantity",
"description": "Quantity defines how much of a certain device capacity is available."
"description": "Value defines how much of a certain device capacity is available."
}
},
"required": [
"quantity"
"value"
],
"type": "object"
},

View File

@@ -264,17 +264,17 @@
"io.k8s.api.resource.v1beta1.DeviceCapacity": {
"description": "DeviceCapacity describes a quantity associated with a device.",
"properties": {
"quantity": {
"value": {
"allOf": [
{
"$ref": "#/components/schemas/io.k8s.apimachinery.pkg.api.resource.Quantity"
}
],
"description": "Quantity defines how much of a certain device capacity is available."
"description": "Value defines how much of a certain device capacity is available."
}
},
"required": [
"quantity"
"value"
],
"type": "object"
},