Available on crate feature
testing only.Expand description
An in-memory StorageProxyBackend for exercising the wire contract without a
cloud.
InMemoryStorageProxyBackend wraps an object_store::memory::InMemory and
authorizes exactly one securable + key-prefix, so the confused-deputy and
read-only-scope tests have something concrete to be rejected against. Every
handler path (ranged get_opts, conditional put_opts, streaming
put_multipart) is supported by InMemory, so the full contract is testable
here.
Structs§
- InMemory
Storage Proxy Backend - An in-memory backend authorizing a single securable and key prefix.
Functions§
- prefixed
- A
PrefixStore-wrapping helper, mirroring how a real arm rootsreq.keyunder a securable prefix. Exposed for tests that want to assert prefix confinement explicitly.