mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[compute|go_grid] move go_grid compute to its own shared area (namespacing should probably be corrected)
This commit is contained in:
parent
fca3bdb4cd
commit
cfb88dc3fe
21 changed files with 7 additions and 7 deletions
|
@ -21,7 +21,7 @@ module Fog
|
|||
require 'fog/compute/ecloud'
|
||||
Fog::Compute::Ecloud.new(attributes)
|
||||
when :gogrid
|
||||
require 'fog/compute/go_grid'
|
||||
require 'fog/go_grid/compute'
|
||||
Fog::Compute::GoGrid.new(attributes)
|
||||
when :linode
|
||||
require 'fog/linode/compute'
|
||||
|
|
|
@ -5,7 +5,7 @@ module Fog
|
|||
|
||||
extend Fog::Provider
|
||||
|
||||
service(:compute, 'compute/go_grid')
|
||||
service(:compute, 'go_grid/compute')
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,7 +5,7 @@ module Fog
|
|||
requires :go_grid_api_key, :go_grid_shared_secret
|
||||
recognizes :host, :path, :port, :scheme, :persistent
|
||||
|
||||
model_path 'fog/compute/models/go_grid'
|
||||
model_path 'fog/go_grid/models/compute'
|
||||
model :image
|
||||
collection :images
|
||||
model :server
|
||||
|
@ -13,7 +13,7 @@ module Fog
|
|||
model :password
|
||||
collection :passwords
|
||||
|
||||
request_path 'fog/compute/requests/go_grid'
|
||||
request_path 'fog/go_grid/requests/compute'
|
||||
request :common_lookup_list
|
||||
request :grid_image_get
|
||||
request :grid_image_list
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/compute/models/go_grid/image'
|
||||
require 'fog/go_grid/models/compute/image'
|
||||
|
||||
module Fog
|
||||
module Compute
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/compute/models/go_grid/password'
|
||||
require 'fog/go_grid/models/compute/password'
|
||||
|
||||
module Fog
|
||||
module Compute
|
|
@ -1,5 +1,5 @@
|
|||
require 'fog/core/collection'
|
||||
require 'fog/compute/models/go_grid/server'
|
||||
require 'fog/go_grid/models/compute/server'
|
||||
|
||||
module Fog
|
||||
module Compute
|
Loading…
Add table
Reference in a new issue