From ee4ac3d70a305779c575678bce13dfc00ddea851 Mon Sep 17 00:00:00 2001 From: Itamar Holder Date: Thu, 13 Feb 2025 10:31:58 +0200 Subject: [PATCH] add auto-generated files: ./hack/update-openapi-spec.sh Signed-off-by: Itamar Holder --- api/openapi-spec/swagger.json | 15 +++++++++++++++ api/openapi-spec/v3/api__v1_openapi.json | 19 +++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index e07367312f2..bf02216be1f 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -8739,6 +8739,17 @@ }, "type": "object" }, + "io.k8s.api.core.v1.NodeSwapStatus": { + "description": "NodeSwapStatus represents swap memory information.", + "properties": { + "capacity": { + "description": "Total amount of swap memory in bytes.", + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, "io.k8s.api.core.v1.NodeSystemInfo": { "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", "properties": { @@ -8778,6 +8789,10 @@ "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", "type": "string" }, + "swap": { + "$ref": "#/definitions/io.k8s.api.core.v1.NodeSwapStatus", + "description": "Swap Info reported by the node." + }, "systemUUID": { "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid", "type": "string" diff --git a/api/openapi-spec/v3/api__v1_openapi.json b/api/openapi-spec/v3/api__v1_openapi.json index 75f3b90f9d6..9ab9bbcbfca 100644 --- a/api/openapi-spec/v3/api__v1_openapi.json +++ b/api/openapi-spec/v3/api__v1_openapi.json @@ -4149,6 +4149,17 @@ }, "type": "object" }, + "io.k8s.api.core.v1.NodeSwapStatus": { + "description": "NodeSwapStatus represents swap memory information.", + "properties": { + "capacity": { + "description": "Total amount of swap memory in bytes.", + "format": "int64", + "type": "integer" + } + }, + "type": "object" + }, "io.k8s.api.core.v1.NodeSystemInfo": { "description": "NodeSystemInfo is a set of ids/uuids to uniquely identify the node.", "properties": { @@ -4197,6 +4208,14 @@ "description": "OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).", "type": "string" }, + "swap": { + "allOf": [ + { + "$ref": "#/components/schemas/io.k8s.api.core.v1.NodeSwapStatus" + } + ], + "description": "Swap Info reported by the node." + }, "systemUUID": { "default": "", "description": "SystemUUID reported by the node. For unique machine identification MachineID is preferred. This field is specific to Red Hat hosts https://access.redhat.com/documentation/en-us/red_hat_subscription_management/1/html/rhsm/uuid",