Class: Fog::Compute::Glesys::Templates

Inherits:
Fog::Collection
  • Object
show all
Defined in:
lib/fog/glesys/models/compute/templates.rb

Instance Method Summary collapse

Instance Method Details

#allObject



10
11
12
13
14
15
# File 'lib/fog/glesys/models/compute/templates.rb', line 10

def all
  # Only select OpenVZ and Xen platforms
  # Glesys only offers Xen and OpenVZ but they have other platforms in the list
  images = platform :openvz, :xen
  load(images)
end

#openvzObject



17
18
19
20
# File 'lib/fog/glesys/models/compute/templates.rb', line 17

def openvz
  images = platform :openvz
  load(images)
end

#xenObject



22
23
24
25
# File 'lib/fog/glesys/models/compute/templates.rb', line 22

def xen
  images = platform :xen
  load(images)
end