Sha256: 78b303e64821c18b2f1abd807adda4b2b5981a7c93cc8bc4c49c22b28de53acb
Contents?: true
Size: 753 Bytes
Versions: 28
Compression:
Stored size: 753 Bytes
Contents
require 'ops_manager_ui_drivers/version17/settings' using OpsManagerUiDrivers::BackportRefinements module OpsManagerUiDrivers module Version18 module Settings def self.for(test_settings) iaas_type = test_settings.dig('iaas_type') settings_class = [Vcloud, Vsphere, AWS, OpenStack].find do |klass| klass.works_with?(iaas_type) end or fail("Unsupported IaaS: #{iaas_type.inspect}") settings_class.new(test_settings) end class Vcloud < Version17::Settings::Vcloud end class Vsphere < Version17::Settings::Vsphere end class AWS < Version17::Settings::AWS end class OpenStack < Version17::Settings::OpenStack end end end end
Version data entries
28 entries across 28 versions & 1 rubygems