Skip to main content

Module blobs

Module blobs 

Source
Expand description

Blob (object-store) backend construction: build the configured object store (fs/S3/GCS/Azure, with optional blob-change notification provisioning) from a resolved BlobArgs. Each cloud backend is feature-gated; a disabled one returns an explanatory error rather than a misleading no-op. Moved out of the binary (node-library N2b.2c); the binary populates BlobArgs from its CLI ServeArgs.

Structs§

BlobArgs
The resolved blob-backend selection — the binary populates this from its CLI ServeArgs (the credential/endpoint flags), keeping clap out of the library.
BuiltBlobs
The blob backend plus, on a cloud object store with notification provisioning configured, its blob-change WatchProvider and operator tier (FA-5b2). The provider/tier are consumed only by the handler runtime, so they are dead code in a --no-default-features (no handlers) build.

Functions§

build_blobs
Build the object store for the selected BlobBackend. data_dir is used only by the fs backend (unused when fs is off).