module Vx::Lib::Container

Constants

VERSION

Public Instance Methods

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