Sha256: 3129f7261df3a26fefd68947733f2c29a80b20fb11b6dce0e43aafdb30eddb99

Contents?: true

Size: 409 Bytes

Versions: 11

Compression:

Stored size: 409 Bytes

Contents

module Fog
  module Libvirt
    class Compute
      class Real
        def list_pool_volumes(uuid)
          pool = client.lookup_storage_pool_by_uuid uuid
          pool.list_volumes.map do |volume_name|
            volume_to_attributes(pool.lookup_volume_by_name(volume_name))
          end
        end
      end

      class Mock
        def list_pool_volumes(uuid)
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
fog-libvirt-0.12.2 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-0.12.1 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-0.12.0 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-0.11.0 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-0.10.1 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-0.10.0 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-csem-0.9.0 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-0.9.0 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-0.8.0 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-0.7.0 lib/fog/libvirt/requests/compute/list_pool_volumes.rb
fog-libvirt-0.6.0 lib/fog/libvirt/requests/compute/list_pool_volumes.rb