Module: Vx::Lib::Container
- Extended by:
- Container
- Included in:
- Container
- Defined in:
- lib/vx/lib/container.rb,
lib/vx/lib/container/local.rb,
lib/vx/lib/container/docker.rb,
lib/vx/lib/container/errors.rb,
lib/vx/lib/container/version.rb,
lib/vx/lib/container/mixin/upload.rb,
lib/vx/lib/container/local/spawner.rb,
lib/vx/lib/container/docker/spawner.rb,
lib/vx/lib/container/mixin/retriable.rb,
lib/vx/lib/container/mixin/instrument.rb
Defined Under Namespace
Modules: Instrument, Retriable, Upload Classes: Docker, Local, NotFoundConnector
Constant Summary collapse
- VERSION =
"0.5.7"
Instance Attribute Summary collapse
-
#instrumenter ⇒ Object
Returns the value of attribute instrumenter.
Instance Method Summary collapse
Instance Attribute Details
#instrumenter ⇒ Object
Returns the value of attribute instrumenter.
16 17 18 |
# File 'lib/vx/lib/container.rb', line 16 def instrumenter @instrumenter end |
Instance Method Details
#lookup(name, options = {}) ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/vx/lib/container.rb', line 18 def lookup(name, = {}) case name.to_sym when :docker Container::Docker.new when :local Container::Local.new else raise NotFoundConnector.new("No available connector for #{name.inspect} found") end end |