skip to content
$worker

storage

v0.1.4

S3-compatible object storage across AWS S3, GCS, Cloudflare R2, and a managed local rustfs backend. Streamed uploads, presigned URLs, and object change triggers.

iiiverified
110 installs7 in 7d0 today
install
$iii worker add storage@0.1.4
  • macOS: arm64 · x64
  • Linux: arm64 · armv7 · x64
  • Windows: arm64 · x64 · x86

exact versions are immutable; binary and bundle artifacts are digest-pinned.

functions

5

storage::deleteObject

function

Delete an object. No-op when the object does not exist.

request
valueunknown
response
valueunknown

storage::getObject

function

Read an object. Body is base64; for large objects use presignUrl.

request
valueunknown
response
valueunknown

storage::on-config-change

function

Internal: rebuild storage backends from the authoritative configuration when it changes.

request
valueunknown
response
valueunknown

storage::presignUrl

function

Issue a short-lived URL the browser can hit directly to PUT or GET an object.

request
valueunknown
response
valueunknown

storage::putObject

function

Write an object to a configured bucket. Body is base64; max 10MB inline.

request
valueunknown
response
valueunknown

triggers

2

storage::object-created

trigger

Fires when an object is written to a configured bucket whose notifications source is wired up.

invocation
valueunknown
return
valueunknown

storage::object-deleted

trigger

Fires when an object is removed from a configured bucket whose notifications source is wired up.

invocation
valueunknown
return
valueunknown