Class: Minke::Config::Task
- Inherits:
-
Object
- Object
- Minke::Config::Task
- Defined in:
- lib/minke/config/config.rb
Overview
Task encapsulates the configuration for the various rake tasks like build, run, etc.
Instance Attribute Summary collapse
-
#consul_loader ⇒ Object
consul_loader will specify that the given config file is loaded into Consul.
-
#docker ⇒ Object
docker config allows you to override the main docker configuration on a per task basis.
-
#health_check ⇒ Object
health_check is the string representation of a url to check before continuing with the rest of the task a successfull 200 response from the endpoint is required to contine.
-
#ports ⇒ Object
ports contains an array of Minke::Config::ContainerAddress which holds the details for the address the public and private ports of any containers which will be started by this task.
-
#post ⇒ Object
post tasks will run after the main task executes.
-
#pre ⇒ Object
pre tasks will run before the main task executes.
Instance Attribute Details
#consul_loader ⇒ Object
consul_loader will specify that the given config file is loaded into Consul. instance of Minke::Config::ConsulLoader
- Optional
221 222 223 |
# File 'lib/minke/config/config.rb', line 221 def consul_loader @consul_loader end |
#docker ⇒ Object
docker config allows you to override the main docker configuration on a per task basis. instance of Minke::Config::TaskRunSettings
- Optional
249 250 251 |
# File 'lib/minke/config/config.rb', line 249 def docker @docker end |
#health_check ⇒ Object
health_check is the string representation of a url to check before continuing with the rest of the task a successfull 200 response from the endpoint is required to contine.
- Optional
228 229 230 |
# File 'lib/minke/config/config.rb', line 228 def health_check @health_check end |
#ports ⇒ Object
ports contains an array of Minke::Config::ContainerAddress which holds the details for the address the public and private ports of any containers which will be started by this task.
255 256 257 |
# File 'lib/minke/config/config.rb', line 255 def ports @ports end |
#post ⇒ Object
post tasks will run after the main task executes. instance of Minke::Config::TaskRunSettings
- Optional
242 243 244 |
# File 'lib/minke/config/config.rb', line 242 def post @post end |
#pre ⇒ Object
pre tasks will run before the main task executes. instance of Minke::Config::TaskRunSettings
- Optional
235 236 237 |
# File 'lib/minke/config/config.rb', line 235 def pre @pre end |