Class V1NodeSystemInfo
java.lang.Object
io.kubernetes.client.openapi.models.V1NodeSystemInfo
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1NodeSystemInfo
extends Object
NodeSystemInfo is a set of ids/uuids to uniquely identify the node.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchitecture
(String architecture) containerRuntimeVersion
(String containerRuntimeVersion) boolean
static V1NodeSystemInfo
Create an instance of V1NodeSystemInfo given an JSON stringThe Architecture reported by the nodeBoot ID reported by the node.ContainerRuntime Version reported by the node through runtime remote API (e.g.Kernel Version reported by the node from 'uname -r' (e.g.Kubelet Version reported by the node.KubeProxy Version reported by the node.MachineID reported by the node.The Operating System reported by the nodeOS Image reported by the node from /etc/os-release (e.g.SystemUUID reported by the node.int
hashCode()
kernelVersion
(String kernelVersion) kubeletVersion
(String kubeletVersion) kubeProxyVersion
(String kubeProxyVersion) operatingSystem
(String operatingSystem) void
setArchitecture
(String architecture) void
void
setContainerRuntimeVersion
(String containerRuntimeVersion) void
setKernelVersion
(String kernelVersion) void
setKubeletVersion
(String kubeletVersion) void
setKubeProxyVersion
(String kubeProxyVersion) void
setMachineID
(String machineID) void
setOperatingSystem
(String operatingSystem) void
setOsImage
(String osImage) void
setSystemUUID
(String systemUUID) systemUUID
(String systemUUID) toJson()
Convert an instance of V1NodeSystemInfo to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ARCHITECTURE
- See Also:
-
SERIALIZED_NAME_BOOT_I_D
- See Also:
-
SERIALIZED_NAME_CONTAINER_RUNTIME_VERSION
- See Also:
-
SERIALIZED_NAME_KERNEL_VERSION
- See Also:
-
SERIALIZED_NAME_KUBE_PROXY_VERSION
- See Also:
-
SERIALIZED_NAME_KUBELET_VERSION
- See Also:
-
SERIALIZED_NAME_MACHINE_I_D
- See Also:
-
SERIALIZED_NAME_OPERATING_SYSTEM
- See Also:
-
SERIALIZED_NAME_OS_IMAGE
- See Also:
-
SERIALIZED_NAME_SYSTEM_U_U_I_D
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1NodeSystemInfo
public V1NodeSystemInfo()
-
-
Method Details
-
architecture
-
getArchitecture
The Architecture reported by the node- Returns:
- architecture
-
setArchitecture
-
bootID
-
getBootID
Boot ID reported by the node.- Returns:
- bootID
-
setBootID
-
containerRuntimeVersion
-
getContainerRuntimeVersion
ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).- Returns:
- containerRuntimeVersion
-
setContainerRuntimeVersion
-
kernelVersion
-
getKernelVersion
Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).- Returns:
- kernelVersion
-
setKernelVersion
-
kubeProxyVersion
-
getKubeProxyVersion
KubeProxy Version reported by the node.- Returns:
- kubeProxyVersion
-
setKubeProxyVersion
-
kubeletVersion
-
getKubeletVersion
Kubelet Version reported by the node.- Returns:
- kubeletVersion
-
setKubeletVersion
-
machineID
-
getMachineID
MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html- Returns:
- machineID
-
setMachineID
-
operatingSystem
-
getOperatingSystem
The Operating System reported by the node- Returns:
- operatingSystem
-
setOperatingSystem
-
osImage
-
getOsImage
OS Image reported by the node from /etc/os-release (e.g. Debian GNU/Linux 7 (wheezy)).- Returns:
- osImage
-
setOsImage
-
systemUUID
-
getSystemUUID
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- Returns:
- systemUUID
-
setSystemUUID
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1NodeSystemInfo
-
fromJson
Create an instance of V1NodeSystemInfo given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1NodeSystemInfo
- Throws:
IOException
- if the JSON string is invalid with respect to V1NodeSystemInfo
-
toJson
Convert an instance of V1NodeSystemInfo to an JSON string- Returns:
- JSON string
-