/usr/lib/python2.6/site-packages/openstack/image/v1
NameSizeModeActions
image.py33520644editdlrm
image.pyc14840644editdlrm
_proxy.py37620644editdlrm
_proxy.pyc42520644editdlrm
__init__.py00644editdlrm
__init__.pyc1520644editdlrm
Edit: /usr/lib/python2.6/site-packages/openstack/image/v1/_proxy.pyc (4252B)
Ñò 5 Wc@s=ddklZddklZdeifd„ƒYZdS(iÿÿÿÿ(timage(tproxytProxycBsDeZd„Zed„Zed„Zd„Zd„Zd„ZRS(cKs|iti|S(srUpload 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_imagetImage(tselftattrs((s?/tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt upload_images cCs|iti|d|ƒdS(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`` tignore_missingN(t_deleteRR(RRR ((s?/tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt delete_images cCs|iti|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_findRR(Rt name_or_idR ((s?/tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt find_image.s cCs|iti|ƒS(sUGet 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_getRR(RR((s?/tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt get_image<s cKs|itidt|S(sReturn a generator of images :param kwargs \*\*query: Optional query parameters to be sent to limit the resources being returned. :returns: A generator of image objects :rtype: :class:`~openstack.image.v1.image.Image` t paginated(t_listRRtTrue(Rtquery((s?/tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pytimagesHs cKs|iti||S(saUpdate a image :param image: Either the ID of a image or a :class:`~openstack.image.v1.image.Image` instance. :attrs kwargs: The attributes to update on the image represented by ``value``. :returns: The updated image :rtype: :class:`~openstack.image.v1.image.Image` (t_updateRR(RRR((s?/tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt update_imageSs ( t__name__t __module__RRR RRRR(((s?/tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyRs    N(topenstack.image.v1RRt openstackRt BaseProxyR(((s?/tmp/pip-build-wCUybK/openstacksdk/openstack/image/v1/_proxy.pyt s