Module: Bosh::CloudFoundry::Providers
- Extended by:
- Providers
- Included in:
- Providers
- Defined in:
- lib/bosh-cloudfoundry/providers.rb,
lib/bosh-cloudfoundry/providers/aws.rb
Defined Under Namespace
Classes: AWS
Instance Method Summary collapse
-
#for_bosh_provider_name(system_config) ⇒ Object
returns a BOSH provider (CPI) specific object with helpers related to that provider.
Instance Method Details
#for_bosh_provider_name(system_config) ⇒ Object
returns a BOSH provider (CPI) specific object with helpers related to that provider
9 10 11 12 13 14 15 16 |
# File 'lib/bosh-cloudfoundry/providers.rb', line 9 def for_bosh_provider_name(system_config) case system_config.bosh_provider.to_sym when :aws Bosh::CloudFoundry::Providers::AWS.new(system_config.microbosh.fog_compute) else raise "please support #{system_config.bosh_provider} provider" end end |