glance.location.
ImageMemberRepoProxy
(repo, image, context, store_api)[source]¶Bases: glance.domain.proxy.Repo
glance.location.
ImageProxy
(image, context, store_api, store_utils)[source]¶Bases: glance.domain.proxy.Image
locations
¶glance.location.
ImageRepoProxy
(image_repo, context, store_api, store_utils)[source]¶Bases: glance.domain.proxy.Repo
glance.location.
StoreLocations
(image_proxy, value)[source]¶Bases: _abcoll.MutableSequence
The proxy for store location property. It takes responsibility for:
1. Location uri correctness checking when adding a new location.
2. Remove the image data from the store when a location is removed
from an image.
index
(value) → integer -- return first index of value.[source]¶Raises ValueError if the value is not present.
pop
([index]) → item -- remove and return item at index (default last).[source]¶Raise IndexError if list is empty or index is out of range.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.