Class: Minke::Config::Task

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

Instance Attribute Details

#consul_loaderObject

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

#dockerObject

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_checkObject

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

#portsObject

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

#postObject

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

#preObject

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