Sha256: d4e2afb0994bb05ebb415b0a950b63d5aba48678e33fcc868f7c0d1c16192878
Contents?: true
Size: 772 Bytes
Versions: 26
Compression:
Stored size: 772 Bytes
Contents
module Fog module Compute class Fogdocker class Real def image_search(query = {}) Docker::Util.parse_json(@connection.get('/images/search', query)).map do |image| downcase_hash_keys(image) end end end class Mock def image_search(query = {}) [ {"description" => "", "is_official" => false, "is_automated" => false, "name" => "wma55/u1210sshd", "star_count" => 0}, {"description" => "", "is_official" => false, "is_automated" => false, "name" => "jdswinbank/sshd", "star_count" => 0} ] end end end end end
Version data entries
26 entries across 24 versions & 4 rubygems