Class: Nomad::JobUpdate

Inherits:
Response show all
Defined in:
lib/nomad/api/job.rb

Constant Summary

Constants inherited from Response

Response::BUILTIN_LOADERS

Instance Attribute Summary collapse

Method Summary

Methods inherited from Response

#==, decode, #initialize, #to_h

Constructor Details

This class inherits a constructor from Nomad::Response

Instance Attribute Details

#auto_revertBoolean (readonly)

The job auto_revert.

Returns:

  • (Boolean)


640
# File 'lib/nomad/api/job.rb', line 640

field :AutoRevert, as: :auto_revert

#canaryInteger (readonly)

The job canary.

Returns:

  • (Integer)


645
# File 'lib/nomad/api/job.rb', line 645

field :Canary, as: :canary

#health_checkString (readonly)

The job health_check.

Returns:

  • (String)


625
# File 'lib/nomad/api/job.rb', line 625

field :HealthCheck, as: :health_check, load: :string_as_nil

#healthy_deadlineDuration (readonly)

The job healthy_deadline.

Returns:



635
# File 'lib/nomad/api/job.rb', line 635

field :HealthyDeadline, as: :healthy_deadline, load: :nanoseconds_as_duration

#max_parallelInteger (readonly)

The job max_parallel.

Returns:

  • (Integer)


620
# File 'lib/nomad/api/job.rb', line 620

field :MaxParallel, as: :max_parallel

#min_healthy_timeDuration (readonly)

The job min_healthy_time.

Returns:



630
# File 'lib/nomad/api/job.rb', line 630

field :MinHealthyTime, as: :min_healthy_time, load: :nanoseconds_as_duration

#staggerDuration (readonly)

The job stagger.

Returns:



615
# File 'lib/nomad/api/job.rb', line 615

field :Stagger, as: :stagger, load: :nanoseconds_as_duration