Sha256: 2eaf2bfad0f4b2914380451b859c2a1400b92b7be7b51e6fcc523bc29ac96071
Contents?: true
Size: 1.61 KB
Versions: 5
Compression:
Stored size: 1.61 KB
Contents
module Fog module OpenStack class Volume < Fog::Service autoload :V1, 'fog/openstack/volume/v1' autoload :V2, 'fog/openstack/volume/v2' autoload :V3, 'fog/openstack/volume/v3' @@recognizes = [:openstack_auth_token, :openstack_management_url, :persistent, :openstack_service_type, :openstack_service_name, :openstack_tenant, :openstack_tenant_id, :openstack_api_key, :openstack_username, :openstack_identity_endpoint, :current_user, :current_tenant, :openstack_region, :openstack_endpoint_type, :openstack_cache_ttl, :openstack_project_name, :openstack_project_id, :openstack_project_domain, :openstack_user_domain, :openstack_domain_name, :openstack_project_domain_id, :openstack_user_domain_id, :openstack_domain_id, :openstack_identity_api_version] # Fog::OpenStack::Image.new() will return a Fog::OpenStack::Volume::V3 or a Fog::OpenStack::Volume::V2 or a # Fog::OpenStack::Volume::V1, choosing the V3 by default, as V2 is deprecated since OpenStackWallaby and V1 is # deprecated since OpenStack Juno def self.new(args = {}) @openstack_auth_uri = URI.parse(args[:openstack_auth_url]) if args[:openstack_auth_url] if inspect == 'Fog::OpenStack::Volume' Fog::OpenStack::Volume::V3.new(args) \ || Fog::OpenStack::Volume::V2.new(args) \ || Fog::OpenStack::Volume::V1.new(args) else super end end end end end
Version data entries
5 entries across 5 versions & 2 rubygems