The glanceclient.v2.images Module

class glanceclient.v2.images.Controller(http_client, model)

Bases: object

data(image_id, do_checksum=True)

Retrieve data of an image.

Parameters:
  • image_id – ID of the image to download.
  • do_checksum – Enable/disable checksum validation.
delete(image_id)

Delete an image.

get(image_id)
list(**kwargs)

Retrieve a listing of Image objects

Parameters:page_size – Number of images to request in each paginated request

:returns generator over list of Images

update(image_id, **kwargs)

Update attributes of an image.

Parameters:
  • image_id – ID of the image to modify.
  • **kwargs

    Image attribute names and their new values.

This Page