glance.api.v2.metadef_resource_types module

class glance.api.v2.metadef_resource_types.RequestDeserializer(schema=None)[source]

Bases: glance.common.wsgi.JSONRequestDeserializer

create(request)[source]
class glance.api.v2.metadef_resource_types.ResourceTypeController(db_api=None, policy_enforcer=None, notifier=None)[source]

Bases: object

create(req, resource_type, namespace)[source]
delete(req, namespace, resource_type)[source]
index(req)[source]
show(req, namespace)[source]
class glance.api.v2.metadef_resource_types.ResponseSerializer(schema=None)[source]

Bases: glance.common.wsgi.JSONResponseSerializer

create(response, result)[source]
delete(response, result)[source]
index(response, result)[source]
show(response, result)[source]
glance.api.v2.metadef_resource_types.create_resource()[source]

ResourceTypeAssociation resource factory method

glance.api.v2.metadef_resource_types.get_collection_schema()[source]
glance.api.v2.metadef_resource_types.get_schema()[source]