fill in docs for rackspace stuff

This commit is contained in:
Wesley Beary 2009-10-12 09:25:33 -07:00
parent 123d3041f4
commit bd4f4f05c9
4 changed files with 27 additions and 9 deletions

View File

@ -10,11 +10,14 @@ unless Fog.mocking?
# * options<~Hash>:
# * 'limit'<~Integer> - Upper limit to number of results returned
# * 'marker'<~String> - Only return objects with name greater than this value
#
# ==== Returns
# * response<~Fog::AWS::Response>:
# * body<~Hash>:
# * 'publicIp'<~String> - The acquired address
# * 'requestId'<~String> - Id of the request
# * body<~Array>:
# * container<~Hash>:
# * 'bytes'<~Integer>: - Number of bytes used by container
# * 'count'<~Integer>: - Number of items in container
# * 'name'<~String>: - Name of container
def get_containers(options = {})
options = { 'format' => 'json' }.merge!(options)
query = []

View File

@ -9,8 +9,10 @@ unless Fog.mocking?
# ==== Returns
# * response<~Fog::AWS::Response>:
# * body<~Hash>:
# * 'publicIp'<~String> - The acquired address
# * 'requestId'<~String> - Id of the request
# * 'id'<~Integer> - Id of the flavor
# * 'name'<~String> - Name of the flavor
# * 'ram'<~Integer> - Amount of ram for the flavor
# * 'disk'<~Integer> - Amount of diskspace for the flavor
def get_flavors
request(
:method => 'GET',

View File

@ -9,8 +9,11 @@ unless Fog.mocking?
# ==== Returns
# * response<~Fog::AWS::Response>:
# * body<~Hash>:
# * 'publicIp'<~String> - The acquired address
# * 'requestId'<~String> - Id of the request
# * 'id'<~Integer> - Id of the image
# * 'name'<~String> - Name of the image
# * 'updated'<~String> - Last update timestamp for image
# * 'created'<~String> - Creation timestamp for image
# * 'status'<~String> - Status of image
def get_images
request(
:method => 'GET',

View File

@ -9,8 +9,18 @@ unless Fog.mocking?
# ==== Returns
# * response<~Fog::AWS::Response>:
# * body<~Hash>:
# * 'publicIp'<~String> - The acquired address
# * 'requestId'<~String> - Id of the request
# * 'servers'<~Array>:
# * 'id'<~Integer> - Id of server
# * 'name<~String> - Name of server
# * 'imageId'<~Integer> - Id of image used to boot server
# * 'flavorId'<~Integer> - Id of servers current flavor
# * 'hostId'<~String>
# * 'status'<~String> - Current server status
# * 'progress'<~Integer> - Progress through current status
# * 'addresses'<~Hash>:
# * 'public'<~Array> - public address strings
# * 'private'<~Array> - private address strings
# * 'metadata'<~Hash> - metadata
def get_servers
request(
:method => 'GET',