glance.api.v2.metadef_namespaces module

class glance.api.v2.metadef_namespaces.NamespaceController(db_api=None, policy_enforcer=None, notifier=None)[source]

Bases: object

create(req, namespace)[source]
delete(req, namespace)[source]
delete_objects(req, namespace)[source]
delete_properties(req, namespace)[source]
delete_tags(req, namespace)[source]
index(req, marker=None, limit=None, sort_key='created_at', sort_dir='desc', filters=None)[source]
show(req, namespace, filters=None)[source]
update(req, user_ns, namespace)[source]
class glance.api.v2.metadef_namespaces.RequestDeserializer(schema=None)[source]

Bases: JSONRequestDeserializer

create(request)[source]
index(request)[source]
show(request)[source]
update(request)[source]
class glance.api.v2.metadef_namespaces.ResponseSerializer(schema=None)[source]

Bases: JSONResponseSerializer

create(response, namespace)[source]
delete(response, result)[source]
delete_objects(response, result)[source]
delete_properties(response, result)[source]
delete_tags(response, result)[source]
index(response, result)[source]
show(response, namespace)[source]
update(response, namespace)[source]
glance.api.v2.metadef_namespaces.create_resource()[source]

Namespaces resource factory method

glance.api.v2.metadef_namespaces.get_collection_schema()[source]
glance.api.v2.metadef_namespaces.get_namespace_href(namespace)[source]
glance.api.v2.metadef_namespaces.get_object_href(namespace_name, metadef_object)[source]
glance.api.v2.metadef_namespaces.get_schema()[source]
glance.api.v2.metadef_namespaces.get_schema_definitions()[source]
glance.api.v2.metadef_namespaces.get_tag_href(namespace_name, metadef_tag)[source]