oio.ecd package
Submodules
oio.ecd.app module
-
class
oio.ecd.app.
ECD
(conf)[source] Bases:
oio.common.wsgi.WerkzeugApp
-
on_metachunk
(req)[source]
-
read_backblaze_meta_chunk
(req, storage_method, meta_chunk, meta_start=None, meta_end=None)[source]
-
read_ec_meta_chunk
(storage_method, meta_chunk, meta_start=None, meta_end=None)[source]
-
read_meta_chunk
(storage_method, meta_chunk, headers={})[source]
-
write_backblaze_meta_chunk
(source, size, storage_method, sysmeta, meta_chunk)[source]
-
write_ec_meta_chunk
(source, size, storage_method, sysmeta, meta_chunk)[source]
-
write_repli_meta_chunk
(source, size, storage_method, sysmeta, meta_chunk)[source]
-
-
oio.ecd.app.
create_app
(conf={})[source]
-
oio.ecd.app.
load_meta_chunk
(request, nb_chunks, pos=None)[source]
-
oio.ecd.app.
load_sysmeta
(request)[source]
-
oio.ecd.app.
part_backblaze_to_bytes_iter
(stream)[source]
-
oio.ecd.app.
part_iter_to_bytes_iter
(stream)[source]
-
oio.ecd.app.
safe_get_header
(request, key, default=None)[source] Get a header from request, raise BadRequest if missing and there is no default.