salvus.flow.acta.store
salvus.flow.acta.store salvus flow acta store Content-addressed storage backends and artifact access.
Functions
content_store_from_url()
content_store_from_url()def content_store_from_url(url: str) -> ContentStoreBase: ...Construct a content store, or a stack of them, from a URL.
Comma-separated URLs create a tiered store, ordered nearest first.
Parameters
urlstr — Localfile:///pathor remotes3://bucket/prefixURL, or a comma-separated list. S3 configuration usesACTA_S3_ENDPOINT,ACTA_S3_KEY, andACTA_S3_SECRET.
Returns ContentStoreBase — A
ContentStoreBase for a single URL; a TieredContentStore for more than one.resolve_store_url()
resolve_store_url()def resolve_store_url() -> str: ...Resolve the content store URL to use from the environment.
Returns str — The value of
ACTA_STORE_URL.