Class: Fog::Compute::Fogdocker::Images

Inherits:
Fog::Collection
  • Object
show all
Defined in:
lib/fog/fogdocker/models/compute/images.rb

Instance Method Summary collapse

Instance Method Details

#all(filters = {}) ⇒ Object



10
11
12
# File 'lib/fog/fogdocker/models/compute/images.rb', line 10

def all(filters = {})
  load service.image_all(filters)
end

#get(id) ⇒ Object



14
15
16
# File 'lib/fog/fogdocker/models/compute/images.rb', line 14

def get(id)
  new service.image_get(id)
end

#image_search(query = {}) ⇒ Object



18
19
20
# File 'lib/fog/fogdocker/models/compute/images.rb', line 18

def image_search(query = {})
  service.image_search(query)
end