This is the Registry’s Driver API.
This API relies on the registry RPC client (version >= 2). The functions bellow work as a proxy for the database back-end configured in the registry service, which means that everything returned by that back-end will be also returned by this API.
This API exists for supporting deployments not willing to put database credentials in glance-api. Those deployments can rely on this registry driver that will talk to a remote registry service, which will then access the database back-end.
Create an image from the values dictionary.
Destroy the image or raise if it does not exist.
Get all images that match zero or more filters.
Parameters: |
|
---|
Delete an image location.
Update image location.
Return the number of image members for this image
Parameters: | image_id – identifier of image entity |
---|
Create an ImageMember object
Delete an ImageMember object
Find all members that meet the given criteria.
Note, currently include_deleted should be true only when create a new image membership, as there may be a deleted image membership between the same image and tenant, the membership will be reused in this case. It should be false in other cases.
Parameters: |
|
---|---|
Include_deleted: | |
A boolean indicating whether the result should include the deleted record of image member |
Update an ImageMember object
Create an ImageProperty object
Used internally by _image_property_create and image_property_update
Get a list of tags for a specific image.
Set the given properties on an image and update it.
Raises: | ImageNotFound if image does not exist. |
---|
Return True if the image is visible in this context.
Get a single task object :returns: task dictionary
Get all tasks that match zero or more filters.
Parameters: |
|
---|---|
Returns: | tasks set |