Sha256: 7e9693b337657c8d9e4cf3e91c9ee2904f13e9cfafe7fcf28d0bdcadc6a88f35

Contents?: true

Size: 262 Bytes

Versions: 33

Compression:

Stored size: 262 Bytes

Contents

module Bosh::Bootstrap::NetworkProviders
  extend self
  def register_provider(provider_name, provider_klass)
    @providers ||= {}
    @providers[provider_name] = provider_klass
  end

  def provider_class(provider_name)
    @providers[provider_name]
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
bosh-bootstrap-0.18.1 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.18.0 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.17.1 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.17.0 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.16.2 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.16.1 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.16.0 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.15.0 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.14.5 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.14.4 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.14.3 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.14.2 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.14.1 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.14.0 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.13.2 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.13.1 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.13.0 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.12.0 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.11.15 lib/bosh-bootstrap/network_providers.rb
bosh-bootstrap-0.11.14 lib/bosh-bootstrap/network_providers.rb