Liking cljdoc? Tell your friends :D

konserve-gcs.core


*default-bucket*clj

source

*deletion-batch-size*clj

source

*output-stream-buffer-size*clj

source

blob-exists?clj

(blob-exists? client bucket store-path blob-key)
source

blob-idclj

(blob-id bucket blob-store-path)
(blob-id bucket store-path blob-key)
source

cloud-storage-clientclj

(cloud-storage-client {:keys [client project-id host]})

Create a GCS client. Supports :host for emulator endpoint (e.g., 'http://localhost:4443').

Create a GCS client. Supports :host for emulator endpoint (e.g., 'http://localhost:4443').
sourceraw docstring

connect-storeclj

(connect-store spec & {:keys [opts config] :as params})
source

copy-blobclj

(copy-blob client bucket store-path from-blob-key to-blob-key)

Copy blob from one key to another. Returns nil if source doesn't exist.

Copy blob from one key to another. Returns nil if source doesn't exist.
sourceraw docstring

create-bucketclj

(create-bucket client location bucket)
source

delete-blobclj

(delete-blob client bucket store-path blob-key)

Delete blob. Returns true if deleted, false if not found.

Delete blob. Returns true if deleted, false if not found.
sourceraw docstring

delete-many-blobsclj

(delete-many-blobs client bucket blob-store-paths)
source

delete-storeclj

(delete-store spec & {:keys [opts]})
source

get-bucketclj

(get-bucket client bucket-name)
source

list-objectsclj

(list-objects client bucket store-path)
source

read-blobclj

(read-blob client blob-id)
source

read-blob-with-generationclj

(read-blob-with-generation client blob-id)

Read blob and return map with :data and :generation, or nil if not found. Returns nil if blob doesn't exist or was updated during read (stale generation).

Read blob and return map with :data and :generation, or nil if not found.
Returns nil if blob doesn't exist or was updated during read (stale generation).
sourceraw docstring

releaseclj

(release store env)
source

spec->store-pathclj

(spec->store-path {:keys [store-path store-id]})
source

store-exists?clj

(store-exists? spec & {:keys [opts]})

Check if a konserve store exists at the given spec.

Check if a konserve store exists at the given spec.
sourceraw docstring

write-blobclj

(write-blob client blob-id bytes)
source

write-blob-conditionalclj

(write-blob-conditional client blob-id bytes expected-generation)

Write blob with generation match precondition. Returns true on success, false on conflict. GCS returns HTTP 412 (Precondition Failed) when generation doesn't match.

Write blob with generation match precondition. Returns true on success, false on conflict.
GCS returns HTTP 412 (Precondition Failed) when generation doesn't match.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close