Class: Nomad::Resources
Constant Summary
Constants inherited from Response
Nomad::Response::BUILTIN_LOADERS
Instance Attribute Summary collapse
-
#cpu ⇒ Integer
readonly
The node cpu.
-
#disk ⇒ Size
readonly
The node disk.
-
#iops ⇒ Integer
readonly
The node iops.
-
#memory ⇒ Size
readonly
The node memory.
-
#networks ⇒ Array<Network>
readonly
The node networks.
Method Summary
Methods inherited from Response
#==, decode, #initialize, #to_h
Constructor Details
This class inherits a constructor from Nomad::Response
Instance Attribute Details
#cpu ⇒ Integer (readonly)
The node cpu.
188 |
# File 'lib/nomad/api/node.rb', line 188 field :CPU, as: :cpu |
#disk ⇒ Size (readonly)
The node disk.
198 |
# File 'lib/nomad/api/node.rb', line 198 field :DiskMB, as: :disk, load: :int_as_size_in_megabytes |
#iops ⇒ Integer (readonly)
The node iops.
203 |
# File 'lib/nomad/api/node.rb', line 203 field :IOPS, as: :iops |
#memory ⇒ Size (readonly)
The node memory.
193 |
# File 'lib/nomad/api/node.rb', line 193 field :MemoryMB, as: :memory, load: :int_as_size_in_megabytes |