Module: Vx::ContainerConnector
- Extended by:
- ContainerConnector
- Included in:
- ContainerConnector
- Defined in:
- lib/vx/container_connector.rb,
lib/vx/container_connector/local.rb,
lib/vx/container_connector/docker.rb,
lib/vx/container_connector/errors.rb,
lib/vx/container_connector/version.rb,
lib/vx/container_connector/local/spawner.rb,
lib/vx/container_connector/docker/default.rb,
lib/vx/container_connector/docker/spawner.rb,
lib/vx/container_connector/mixin/retriable.rb,
lib/vx/container_connector/mixin/instrument.rb
Defined Under Namespace
Modules: Instrument, Retriable Classes: Docker, Local, NotFoundConnector
Constant Summary collapse
- VERSION =
"0.5.3"
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.
14 15 16 |
# File 'lib/vx/container_connector.rb', line 14 def instrumenter @instrumenter end |
Instance Method Details
#lookup(name, options = {}) ⇒ Object
16 17 18 19 20 21 22 23 24 25 |
# File 'lib/vx/container_connector.rb', line 16 def lookup(name, = {}) case name.to_sym when :docker Docker.new when :local Local.new else raise NotFoundConnector.new("No available connector for #{name.inspect} found") end end |