Durable external_id -> upstream identity map over a Store. Reads and writes
Locator.Record rows; translates the store's :miss (and any non-Record
value found in a shared store) to the caller-facing :error.
Summary
Types
@type external_id() :: String.t()
Functions
@spec fetch(ReqManagedAgents.Host.Store.store(), external_id()) :: {:ok, ReqManagedAgents.Host.Locator.Record.t()} | :error
@spec list(ReqManagedAgents.Host.Store.store()) :: [ ReqManagedAgents.Host.Locator.Record.t() ]
@spec list_by(ReqManagedAgents.Host.Store.store(), map()) :: [ ReqManagedAgents.Host.Locator.Record.t() ]
@spec mark_context_sent(ReqManagedAgents.Host.Store.store(), external_id()) :: :ok | :error
@spec put( ReqManagedAgents.Host.Store.store(), ReqManagedAgents.Host.Locator.Record.t() ) :: :ok
@spec set_status( ReqManagedAgents.Host.Store.store(), external_id(), ReqManagedAgents.Host.Locator.Record.status() ) :: :ok | :error