Sha256: 0efaed510456e0ec25ca0c6a1b445cf1d78ca9813f6cbe1c2b04d643eff5de59

Contents?: true

Size: 739 Bytes

Versions: 18

Compression:

Stored size: 739 Bytes

Contents

module Fog
  module Compute
    class Fogdocker
      class Real
        def image_all(filters = {})
          Docker::Image.all.map do |image|
            downcase_hash_keys(image.json)
          end
        end
      end
      class Mock
        def image_all(filters = {})
          [
            {'id'=>'a6b02c7ca29a22619f7d0e59062323247739bc0cd375d619f305f0b519af4ef2',
             'repotags' => ['repo/one'],
             'created' => 1389877693,
             'size' => 3265536},
            {'id'=>'a6b02c7ca29a22619f7d0e59062323247739bc0cd375d619f305f0b519af4ef3',
             'repotags' => ['repo/other'],
             'created' => 1389877693,
             'size' => 3265536}
          ]
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 4 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.27.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.26.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.25.0 lib/fog/fogdocker/requests/compute/image_all.rb
nsidc-fog-1.24.1 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.24.0 lib/fog/fogdocker/requests/compute/image_all.rb
ns-fog-1.22.11 lib/fog/fogdocker/requests/compute/image_all.rb
ns-fog-1.22.10 lib/fog/fogdocker/requests/compute/image_all.rb
ns-fog-1.22.9 lib/fog/fogdocker/requests/compute/image_all.rb
ns-fog-1.22.8 lib/fog/fogdocker/requests/compute/image_all.rb
ns-fog-1.22.7 lib/fog/fogdocker/requests/compute/image_all.rb
ns-fog-1.22.6 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.23.0 lib/fog/fogdocker/requests/compute/image_all.rb
ns-fog-1.22.4 lib/fog/fogdocker/requests/compute/image_all.rb
ns-fog-1.22.3 lib/fog/fogdocker/requests/compute/image_all.rb
ns-fog-1.22.2 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.22.1 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.22.0 lib/fog/fogdocker/requests/compute/image_all.rb