Skip to content

salvus.flow.acta.store

salvus.flow.acta.store salvus flow acta store

Content-addressed storage backends and artifact access.

Functions

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
  • url str — Local file:///path or remote s3://bucket/prefix URL, or a comma-separated list. S3 configuration uses ACTA_S3_ENDPOINT, ACTA_S3_KEY, and ACTA_S3_SECRET.
Returns ContentStoreBase — A ContentStoreBase for a single URL; a TieredContentStore for more than one.

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.

Submodules