glance_store._drivers.http Module¶glance_store._drivers.http.Store(conf)¶Bases: glance_store.driver.Store
An implementation of the HTTP(S) Backend Adapter
OPTIONS = [<oslo_config.cfg.StrOpt object>, <oslo_config.cfg.BoolOpt object>, <oslo_config.cfg.DictOpt object>]¶get(store, *args, **kwargs)¶get_schemes()¶get_size(location, context=None)¶Takes a glance_store.location.Location object that indicates where to find the image file, and returns the size
| Parameters: | location – glance_store.location.Location object, supplied from glance_store.location.get_location_from_uri() |
|---|
glance_store._drivers.http.StoreLocation(store_specs, conf)¶Bases: glance_store.location.StoreLocation
Class describing an HTTP(S) URI.
get_uri()¶parse_uri(uri)¶Parse URLs. This method fixes an issue where credentials specified in the URL are interpreted differently in Python 2.6.1+ than prior versions of Python.
process_specs()¶glance_store._drivers.http.http_response_iterator(conn, response, size)¶Return an iterator for a file-like object.
| Parameters: |
|
|---|
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.