/usr/lib/python2.6/site-packages/openstack/image/v1
Edit: /usr/lib/python2.6/site-packages/openstack/image/v1/_proxy.pyc (4252B)
Ñò
5
Wc @ s= d d k l Z d d k l Z d e i f d „ ƒ YZ d S( iÿÿÿÿ( t image( t proxyt Proxyc B sD e Z d „ Z e d „ Z e d „ Z d „ Z d „ Z d „ Z RS( c K s | i t i | S( sr Upload a new image from attributes
:param dict attrs: Keyword arguments which will be used to create
a :class:`~openstack.image.v1.image.Image`,
comprised of the properties on the Image class.
:returns: The results of image creation
:rtype: :class:`~openstack.image.v1.image.Image`
( t _createt _imaget Image( t selft attrs( ( s? /tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt upload_image s
c C s | i t i | d | ƒd S( s
Delete an image
:param image: The value can be either the ID of an image or a
:class:`~openstack.image.v1.image.Image` instance.
:param bool ignore_missing: When set to ``False``
:class:`~openstack.exceptions.ResourceNotFound` will be
raised when the image does not exist.
When set to ``True``, no exception will be set when
attempting to delete a nonexistent image.
:returns: ``None``
t ignore_missingN( t _deleteR R ( R R R ( ( s? /tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt delete_image s
c C s | i t i | d | ƒS( sá Find a single image
:param name_or_id: The name or ID of a image.
:param bool ignore_missing: When set to ``False``
:class:`~openstack.exceptions.ResourceNotFound` will be
raised when the resource does not exist.
When set to ``True``, None will be returned when
attempting to find a nonexistent resource.
:returns: One :class:`~openstack.image.v1.image.Image` or None
R ( t _findR R ( R t
name_or_idR ( ( s? /tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt
find_image. s c C s | i t i | ƒ S( sU Get a single image
:param image: The value can be the ID of an image or a
:class:`~openstack.image.v1.image.Image` instance.
:returns: One :class:`~openstack.image.v1.image.Image`
:raises: :class:`~openstack.exceptions.ResourceNotFound`
when no resource can be found.
( t _getR R ( R R ( ( s? /tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt get_image<