Class: KubeDSL::DSL::V1::NodeSystemInfo
- Inherits:
-
KubeDSL::DSLObject
- Object
- KubeDSL::DSLObject
- KubeDSL::DSL::V1::NodeSystemInfo
- Defined in:
- lib/kube-dsl/dsl/v1/node_system_info.rb
Instance Method Summary collapse
Methods inherited from KubeDSL::DSLObject
Methods included from ValueFields
#array_field, #object_field, #value_field, #value_fields
Constructor Details
This class inherits a constructor from KubeDSL::DSLObject
Instance Method Details
#kind_sym ⇒ Object
20 21 22 |
# File 'lib/kube-dsl/dsl/v1/node_system_info.rb', line 20 def kind_sym :node_system_info end |
#serialize ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/kube-dsl/dsl/v1/node_system_info.rb', line 5 def serialize {}.tap do |result| result[:architecture] = architecture result[:bootID] = boot_id result[:containerRuntimeVersion] = container_runtime_version result[:kernelVersion] = kernel_version result[:kubeProxyVersion] = kube_proxy_version result[:kubeletVersion] = kubelet_version result[:machineID] = machine_id result[:operatingSystem] = result[:osImage] = os_image result[:systemUUID] = system_uuid end end |