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


208
209
210
# File 'lib/minke/config/config.rb', line 208

def consul_loader
  @consul_loader
end

#container_addressesObject

container_addresses 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.



242
243
244
# File 'lib/minke/config/config.rb', line 242

def container_addresses
  @container_addresses
end

#dockerObject

docker config allows you to override the main docker configuration on a per task basis. instance of Minke::Config::TaskRunSettings

Optional


236
237
238
# File 'lib/minke/config/config.rb', line 236

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


215
216
217
# File 'lib/minke/config/config.rb', line 215

def health_check
  @health_check
end

#postObject

post tasks will run after the main task executes. instance of Minke::Config::TaskRunSettings

Optional


229
230
231
# File 'lib/minke/config/config.rb', line 229

def post
  @post
end

#preObject

pre tasks will run before the main task executes. instance of Minke::Config::TaskRunSettings

Optional


222
223
224
# File 'lib/minke/config/config.rb', line 222

def pre
  @pre
end