class OpenNebula::ImagePool
Constants
- IMAGE_POOL_METHODS
-
Constants and Class attribute accessors
Public Class Methods
Source
Public Instance Methods
Source
# File lib/opennebula/image_pool.rb, line 43 def factory(element_xml) OpenNebula::Image.new(element_xml,@client) end
Default Factory Method for the Pools
Source
# File lib/opennebula/image_pool.rb, line 52 def info(*args) case args.size when 0 info_filter(IMAGE_POOL_METHODS[:info],@user_id,-1,-1) when 3 info_filter(IMAGE_POOL_METHODS[:info],args[0],args[1],args[2]) end end
Retrieves all or part of the Images in the pool.
Also aliased as: info!
Source
# File lib/opennebula/image_pool.rb, line 61 def info_all() return super(IMAGE_POOL_METHODS[:info]) end
Calls superclass method
Also aliased as: info_all!
Source
# File lib/opennebula/image_pool.rb, line 69 def info_group() return super(IMAGE_POOL_METHODS[:info]) end
Calls superclass method
Also aliased as: info_group!
Source
# File lib/opennebula/image_pool.rb, line 65 def info_mine() return super(IMAGE_POOL_METHODS[:info]) end
Calls superclass method
Also aliased as: info_mine!