glance.api.v2.image_data module

class glance.api.v2.image_data.ImageDataController(db_api=None, store_api=None, policy_enforcer=None, notifier=None)[source]

Bases: object

download(req, image_id)[source]
stage(req, image_id, data, size)[source]
upload(req, image_id, data, size)[source]
class glance.api.v2.image_data.RequestDeserializer[source]

Bases: glance.common.wsgi.JSONRequestDeserializer

stage(request)[source]
upload(request)[source]
class glance.api.v2.image_data.ResponseSerializer[source]

Bases: glance.common.wsgi.JSONResponseSerializer

download(response, image)[source]
stage(response, result)[source]
upload(response, result)[source]
glance.api.v2.image_data.create_resource()[source]

Image data resource factory method