Class: Nomad::JobServiceCheck

Inherits:
Response
  • Object
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

#argsString (readonly)

The check args.



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

field :Args, as: :args, load: :array_of_strings

#commandString (readonly)

The check command.



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

field :Command, as: :command, load: :string_as_nil

#initial_statusString (readonly)

The check initial_status.



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

field :InitialStatus, as: :initial_status, load: :string_as_nil

#intervalDuration (readonly)

The check interval.



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

field :Interval, as: :interval, load: :nanoseconds_as_duration

#nameString (readonly)

The check name.



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

field :Name, as: :name, load: :string_as_nil

#pathString (readonly)

The check path.



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

field :Path, as: :path, load: :string_as_nil

#port_labelString (readonly)

The check port_label.



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

field :PortLabel, as: :port_label, load: :string_as_nil

#protocolString (readonly)

The check protocol.



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

field :Protocol, as: :protocol, load: :string_as_nil

#timeoutDuration (readonly)

The check timeout.



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

field :Timeout, as: :timeout, load: :nanoseconds_as_duration

#tls_skip_verifyBoolean (readonly)

The check tls_skip_verify.



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

field :TLSSkipVerify, as: :tls_skip_verify

#typeString (readonly)

The check type.



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

field :Type, as: :type, load: :string_as_nil