karbor.context Module¶RequestContext: context for requests that persist through all of karbor.
karbor.context.RequestContext(user_id, project_id, is_admin=None, read_deleted='no', roles=None, project_name=None, remote_address=None, timestamp=None, request_id=None, auth_token=None, overwrite=True, quota_class=None, service_catalog=None, domain=None, user_domain=None, project_domain=None, auth_token_info=None)¶Bases: oslo_context.context.RequestContext
Security context and request information.
Represents the user taking a given action within the system.
auth_token_info¶deepcopy()¶elevated(read_deleted=None, overwrite=False)¶Return a version of this context with admin flag set.
from_dict(values)¶project_id¶read_deleted¶to_dict()¶to_policy_values()¶user_id¶karbor.context.get_admin_context(read_deleted='no')¶
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.