Sha256: b385c0a153454ef6ced9ec531b4b8a21d255a38e427ad6b21a625cee5a417074

Contents?: true

Size: 756 Bytes

Versions: 26

Compression:

Stored size: 756 Bytes

Contents

module Fog
  module Compute
    class Fogdocker
      class Real
        def image_all(filters = {})
          Docker::Image.all({}, @connection).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

26 entries across 24 versions & 4 rubygems

Version Path
fog-2.3.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-ifeel-2.2.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-2.2.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-2.1.0 lib/fog/fogdocker/requests/compute/image_all.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-1.42.1/lib/fog/fogdocker/requests/compute/image_all.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-1.42.1/lib/fog/fogdocker/requests/compute/image_all.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-1.42.1/lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.42.1 lib/fog/fogdocker/requests/compute/image_all.rb
fog-2.0.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.42.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.41.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.40.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.39.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.38.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.37.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.36.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.35.0 lib/fog/fogdocker/requests/compute/image_all.rb
fog-2.0.0.pre.0 lib/fog/fogdocker/requests/compute/image_all.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/lib/fog/fogdocker/requests/compute/image_all.rb
fog-1.34.0 lib/fog/fogdocker/requests/compute/image_all.rb