glance.api.v2.discovery module

class glance.api.v2.discovery.InfoController(policy_enforcer=None)[source]

Bases: object

get_image_import(req)[source]
get_stores(req)[source]
get_stores_detail(req)[source]
get_usage(req)[source]
class glance.api.v2.discovery.ResponseSerializer(usage_schema=None)[source]

Bases: glance.common.wsgi.JSONResponseSerializer

get_usage(response, usage)[source]
glance.api.v2.discovery.create_resource()[source]
glance.api.v2.discovery.get_usage_schema()[source]