Class: Nomad::TaskEvent
Constant Summary
Constants inherited from Response
Instance Attribute Summary collapse
-
#disk_limit ⇒ Size
readonly
The disk limit of the task event.
-
#disk_size ⇒ Size
readonly
The disk size of the task event.
-
#download_error ⇒ String
readonly
The download error of the task event.
-
#driver_error ⇒ String
readonly
The driver error of the task event.
-
#driver_message ⇒ String
readonly
The driver message of the task event.
-
#exit_code ⇒ Integer
readonly
The exit_code of the task event.
-
#failed_sibling ⇒ String
readonly
The failed sibling of the task event.
-
#fails_task ⇒ Boolean
readonly
Whether the task failed.
-
#kill_error ⇒ String
readonly
The kill error of the task event.
-
#kill_reason ⇒ String
readonly
The kill_reason of the task event.
-
#kill_timeout ⇒ Duration
readonly
The kill timeout of the task event.
-
#message ⇒ String
readonly
The message of the task event.
-
#restart_reason ⇒ String
readonly
The reason for the restart of the task event.
-
#setup_error ⇒ String
readonly
The setup error of the task event.
-
#signal ⇒ Integer
readonly
The signal of the task event.
-
#start_delay ⇒ String
readonly
The start delay of the task event.
-
#task_signal ⇒ String
readonly
The task signal of the task event.
-
#task_signal_reason ⇒ String
readonly
The task signal reason of the task event.
-
#time ⇒ String
readonly
The time of the task event.
-
#type ⇒ String
readonly
The type of the task event.
-
#validation_error ⇒ String
readonly
The validation error of the task event.
-
#vault_error ⇒ String
readonly
The vault error of the task event.
Method Summary
Methods inherited from Response
#==, decode, #initialize, #to_h
Constructor Details
This class inherits a constructor from Nomad::Response
Instance Attribute Details
#disk_limit ⇒ Size (readonly)
The disk limit of the task event
330 |
# File 'lib/nomad/api/job.rb', line 330 field :DiskLimit, as: :disk_limit, load: :int_as_size_in_megabytes |
#disk_size ⇒ Size (readonly)
The disk size of the task event
335 |
# File 'lib/nomad/api/job.rb', line 335 field :DiskSize, as: :disk_size, load: :int_as_size_in_megabytes |
#download_error ⇒ String (readonly)
The download error of the task event
320 |
# File 'lib/nomad/api/job.rb', line 320 field :DownloadError, as: :download_error, load: :string_as_nil |
#driver_error ⇒ String (readonly)
The driver error of the task event
275 |
# File 'lib/nomad/api/job.rb', line 275 field :DriverError, as: :driver_error, load: :string_as_nil |
#driver_message ⇒ String (readonly)
The driver message of the task event
280 |
# File 'lib/nomad/api/job.rb', line 280 field :DriverMessage, as: :driver_message, load: :string_as_nil |
#exit_code ⇒ Integer (readonly)
The exit_code of the task event
285 |
# File 'lib/nomad/api/job.rb', line 285 field :ExitCode, as: :exit_code |
#failed_sibling ⇒ String (readonly)
The failed sibling of the task event
340 |
# File 'lib/nomad/api/job.rb', line 340 field :FailedSibling, as: :failed_sibling, load: :string_as_nil |
#fails_task ⇒ Boolean (readonly)
Whether the task failed
260 |
# File 'lib/nomad/api/job.rb', line 260 field :FailsTask, as: :fails_task |
#kill_error ⇒ String (readonly)
The kill error of the task event
310 |
# File 'lib/nomad/api/job.rb', line 310 field :KillError, as: :kill_error, load: :string_as_nil |
#kill_reason ⇒ String (readonly)
The kill_reason of the task event
300 |
# File 'lib/nomad/api/job.rb', line 300 field :KillReason, as: :kill_reason, load: :string_as_nil |
#kill_timeout ⇒ Duration (readonly)
The kill timeout of the task event
305 |
# File 'lib/nomad/api/job.rb', line 305 field :KillTimeout, as: :kill_timeout, load: :nanoseconds_as_duration |
#message ⇒ String (readonly)
The message of the task event
295 |
# File 'lib/nomad/api/job.rb', line 295 field :Message, as: :message, load: :string_as_nil |
#restart_reason ⇒ String (readonly)
The reason for the restart of the task event
265 |
# File 'lib/nomad/api/job.rb', line 265 field :RestartReason, as: :restart_reason, load: :string_as_nil |
#setup_error ⇒ String (readonly)
The setup error of the task event
270 |
# File 'lib/nomad/api/job.rb', line 270 field :SetupError, as: :setup_error, load: :string_as_nil |
#signal ⇒ Integer (readonly)
The signal of the task event
290 |
# File 'lib/nomad/api/job.rb', line 290 field :Signal, as: :signal |
#start_delay ⇒ String (readonly)
The start delay of the task event
315 |
# File 'lib/nomad/api/job.rb', line 315 field :StartDelay, as: :start_delay, load: :nanoseconds_as_duration |
#task_signal ⇒ String (readonly)
The task signal of the task event
355 |
# File 'lib/nomad/api/job.rb', line 355 field :TaskSignal, as: :task_signal, load: :string_as_nil |
#task_signal_reason ⇒ String (readonly)
The task signal reason of the task event
350 |
# File 'lib/nomad/api/job.rb', line 350 field :TaskSignalReason, as: :task_signal_reason, load: :string_as_nil |
#time ⇒ String (readonly)
The time of the task event
255 |
# File 'lib/nomad/api/job.rb', line 255 field :Time, as: :time, load: :nanoseconds_as_timestamp |
#type ⇒ String (readonly)
The type of the task event
250 |
# File 'lib/nomad/api/job.rb', line 250 field :Type, as: :type, load: :string_as_nil |
#validation_error ⇒ String (readonly)
The validation error of the task event
325 |
# File 'lib/nomad/api/job.rb', line 325 field :ValidationError, as: :validation_error, load: :string_as_nil |
#vault_error ⇒ String (readonly)
The vault error of the task event
345 |
# File 'lib/nomad/api/job.rb', line 345 field :VaultError, as: :vault_error, load: :string_as_nil |