Azure Blob Storage backend for konserve.
Azure Blob Storage backend for konserve.
(build-service-client {:keys [service-client connection-string endpoint
account-name credential service-version]})Build a BlobServiceClient from a backend spec.
Supported inputs, in precedence order:
Build a BlobServiceClient from a backend spec. Supported inputs, in precedence order: - :service-client - :connection-string - :endpoint plus :credential - :account-name plus DefaultAzureCredential
(clear-client-cache!)Forget cached service clients. Azure SDK clients do not require closing.
Forget cached service clients. Azure SDK clients do not require closing.
(connect-store spec & {:keys [opts] :or {opts {:sync? true}}})Connect a DefaultStore to Azure Blob Storage. The multimethod API should be preferred by applications; this lower-level entry point retains the sibling backends' direct API.
Connect a DefaultStore to Azure Blob Storage. The multimethod API should be preferred by applications; this lower-level entry point retains the sibling backends' direct API.
(read-object container-client name)Read a blob in one request and return {:data byte-array :etag string}, or ::not-found. The download response carries the ETag, so CAS adds no HEAD.
Read a blob in one request and return {:data byte-array :etag string}, or
::not-found. The download response carries the ETag, so CAS adds no HEAD.(service-client spec)Return an injected client or a shared client for this endpoint and credential set.
Return an injected client or a shared client for this endpoint and credential set.
(write-object! container-client name bytes expected-etag)Create or overwrite a blob. When expected-etag is non-nil, use If-Match and return false on a CAS conflict; otherwise return true.
Create or overwrite a blob. When expected-etag is non-nil, use If-Match and return false on a CAS conflict; otherwise return true.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |