glance.api.v2.metadef_tags module

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

Bases: glance.common.wsgi.JSONRequestDeserializer

create_tags(request)[source]
index(request)[source]
update(request)[source]
class glance.api.v2.metadef_tags.ResponseSerializer(schema=None)[source]

Bases: glance.common.wsgi.JSONResponseSerializer

create(response, metadata_tag)[source]
create_tags(response, result)[source]
delete(response, result)[source]
index(response, result)[source]
show(response, metadata_tag)[source]
update(response, metadata_tag)[source]
class glance.api.v2.metadef_tags.TagsController(db_api=None, policy_enforcer=None, notifier=None, schema=None)[source]

Bases: object

create(req, namespace, tag_name)[source]
create_tags(req, metadata_tags, namespace)[source]
delete(req, namespace, tag_name)[source]
index(req, namespace, marker=None, limit=None, sort_key='created_at', sort_dir='desc', filters=None)[source]
show(req, namespace, tag_name)[source]
update(req, metadata_tag, namespace, tag_name)[source]
glance.api.v2.metadef_tags.create_resource()[source]

Metadef tags resource factory method

glance.api.v2.metadef_tags.get_collection_schema()[source]
glance.api.v2.metadef_tags.get_schema()[source]
glance.api.v2.metadef_tags.get_schema_for_list()[source]
glance.api.v2.metadef_tags.get_tag_href(namespace_name, metadef_tag)[source]