glance.registry.api.v1.members.
Controller
[source]¶Bases: object
Retrieves images shared with the given member.
is_image_sharable
(context, image)[source]¶Return True if the image can be shared to others in this context.
update
(req, *args, **kwargs)[source]¶Adds a membership to the image, or updates an existing one. If a body is present, it is a dict with the following format:
{'member': {
'can_share': [True|False]
}}
If can_share is provided, the member’s ability to share is set accordingly. If it is not provided, existing memberships remain unchanged and new memberships default to False.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.