Sha256: 2a3f5283a83ea2f98c9e56135cf20a9e0965b4e8e1e0bef27c9cccf809ed962f

Contents?: true

Size: 956 Bytes

Versions: 10

Compression:

Stored size: 956 Bytes

Contents

module Fog
  module GoGrid
    class Real

      # List images
      #
      # ==== Parameters
      # * options<~Hash>:
      #   * 'datacenter'<~String> - datacenter to limit results to
      #   * 'isPublic'<~String>   - If true only returns public images, in ['false', 'true']
      #   * 'num_items'<~Integer> - Number of items to return
      #   * 'page'<~Integer>      - Page index for paginated results
      #   * 'state'<~String>      - state to limit results to, in ['Saving', 'Available']
      #   * 'type'<~String>       - image type to limit results to
      #
      # ==== Returns
      # * response<~Excon::Response>:
      #   * body<~Array>:
      # TODO: docs
      def grid_image_list(options={})
        request(
          :path     => 'grid/image/list',
          :query    => options
        )
      end

    end

    class Mock

      def grid_image_list(options={})
        Fog::Mock.not_implemented
      end

    end
  end
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
fog-0.2.30 lib/fog/go_grid/requests/grid_image_list.rb
fog-0.2.28 lib/fog/go_grid/requests/grid_image_list.rb
fog-0.2.27 lib/fog/go_grid/requests/grid_image_list.rb
fog-0.2.26 lib/fog/go_grid/requests/grid_image_list.rb
fog-0.2.25 lib/fog/go_grid/requests/grid_image_list.rb
fog-0.2.24 lib/fog/go_grid/requests/grid_image_list.rb
tecnh-fog-0.2.23.vpc lib/fog/go_grid/requests/grid_image_list.rb
fog-0.2.23 lib/fog/go_grid/requests/grid_image_list.rb
fog-0.2.22 lib/fog/go_grid/requests/grid_image_list.rb
fog-0.2.21 lib/fog/go_grid/requests/grid_image_list.rb