module Vx::ContainerConnector

Constants

VERSION

Attributes

instrumenter[RW]

Public Instance Methods

lookup(name, options = {}) click to toggle source
# File lib/vx/container_connector.rb, line 16
def lookup(name, options = {})
  case name.to_sym
  when :docker
    Docker.new options
  when :local
    Local.new options
  else
    raise NotFoundConnector.new("No available connector for #{name.inspect} found")
  end
end