Class: Nomad::JobTemplate
Constant Summary
Constants inherited from Response
Instance Attribute Summary collapse
-
#change_mode ⇒ String
readonly
The template change_mode.
-
#change_signal ⇒ String
readonly
The template change_signal.
-
#data ⇒ String
readonly
The raw template data (will be nil if a path is given instead).
-
#destination ⇒ String
readonly
The template destination.
-
#env ⇒ Boolean
readonly
The template env.
-
#left_delim ⇒ String
readonly
The template left_delim.
-
#permissions ⇒ String
readonly
The template permissions.
-
#right_delim ⇒ String
readonly
The template right_delim.
-
#source ⇒ String
readonly
The template source.
-
#splay ⇒ Duration
readonly
The template splay.
Method Summary
Methods inherited from Response
#==, decode, #initialize, #to_h
Constructor Details
This class inherits a constructor from Nomad::Response
Instance Attribute Details
#change_mode ⇒ String (readonly)
The template change_mode.
994 |
# File 'lib/nomad/api/job.rb', line 994 field :ChangeMode, as: :change_mode, load: :string_as_nil |
#change_signal ⇒ String (readonly)
The template change_signal.
999 |
# File 'lib/nomad/api/job.rb', line 999 field :ChangeSignal, as: :change_signal, load: :string_as_nil |
#data ⇒ String (readonly)
The raw template data (will be nil if a path is given instead).
989 |
# File 'lib/nomad/api/job.rb', line 989 field :EmbeddedTmpl, as: :data, load: :string_as_nil |
#destination ⇒ String (readonly)
The template destination.
984 |
# File 'lib/nomad/api/job.rb', line 984 field :DestPath, as: :destination, load: :string_as_nil |
#env ⇒ Boolean (readonly)
The template env.
1024 |
# File 'lib/nomad/api/job.rb', line 1024 field :Envvars, as: :env |
#left_delim ⇒ String (readonly)
The template left_delim.
1014 |
# File 'lib/nomad/api/job.rb', line 1014 field :LeftDelim, as: :left_delim, load: :string_as_nil |
#permissions ⇒ String (readonly)
The template permissions.
1009 |
# File 'lib/nomad/api/job.rb', line 1009 field :Perms, as: :permissions, load: :string_as_nil |
#right_delim ⇒ String (readonly)
The template right_delim.
1019 |
# File 'lib/nomad/api/job.rb', line 1019 field :RightDelim, as: :right_delim, load: :string_as_nil |
#source ⇒ String (readonly)
The template source.
979 |
# File 'lib/nomad/api/job.rb', line 979 field :SourcePath, as: :source, load: :string_as_nil |
#splay ⇒ Duration (readonly)
The template splay.
1004 |
# File 'lib/nomad/api/job.rb', line 1004 field :Splay, as: :splay, load: :nanoseconds_as_duration |