glance.gateway.
Gateway
(db_api=None, store_api=None, notifier=None, policy_enforcer=None)[source]¶Bases: object
get_metadef_namespace_repo
(context)[source]¶Get the layered NamespaceRepo model.
This is where we construct the “the onion” by layering NamespaceRepo models on top of each other, starting with the DB at the bottom.
context – The RequestContext
An NamespaceRepo-like object
get_metadef_object_repo
(context)[source]¶Get the layered MetadefObjectRepo model.
This is where we construct the “the onion” by layering MetadefObjectRepo models on top of each other, starting with the DB at the bottom.
context – The RequestContext
An MetadefObjectRepo-like object
get_metadef_property_repo
(context)[source]¶Get the layered MetadefPropertyRepo model.
This is where we construct the “the onion” by layering MetadefPropertyRepo models on top of each other, starting with the DB at the bottom.
context – The RequestContext
An MetadefPropertyRepo-like object
get_metadef_resource_type_repo
(context)[source]¶Get the layered MetadefResourceTypeRepo model.
This is where we construct the “the onion” by layering MetadefResourceTypeRepo models on top of each other, starting with the DB at the bottom.
context – The RequestContext
An MetadefResourceTypeRepo-like object
get_metadef_tag_repo
(context)[source]¶Get the layered MetadefTagRepo model.
This is where we construct the “the onion” by layering MetadefTagRepo models on top of each other, starting with the DB at the bottom.
context – The RequestContext
An MetadefTagRepo-like object
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.