Liking cljdoc? Tell your friends :D

konserve-s3.core

S3 based konserve backend.

S3 based konserve backend.
raw docstring

->keyclj

(->key store-id key)
source

bucket-exists?clj

(bucket-exists? client bucket)
source

common-client-configclj

(common-client-config client
                      {:keys [region x-ray? access-key secret endpoint-override
                              path-style-access?]})
source

connect-storeclj

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

copyclj

(copy client bucket source-key destination-key)
source

create-bucketclj

(create-bucket client bucket)
source

default-bucketclj

source

deleteclj

(delete client bucket key)
source

delete-bucketclj

(delete-bucket client bucket)
source

delete-keysclj

(delete-keys client bucket keys)
source

delete-storeclj

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

deletion-batch-sizeclj

source

exists?clj

(exists? client bucket key)
source

get-objectclj

(get-object client bucket key)
source

get-object-with-etagclj

(get-object-with-etag client bucket key)

Get object and return map with :data and :etag, or nil if not found.

Get object and return map with :data and :etag, or nil if not found.
sourceraw docstring

list-objectsclj

(list-objects client bucket)
source

list-storesclj

(list-stores s3-spec & {:keys [opts]})

List all konserve stores in an S3 bucket by reading the central registry.

The registry uses optimistic concurrency control (ETags) to handle concurrent updates from multiple processes/machines.

Args: s3-spec - Map with :bucket, :region, :access-key, :secret, etc. opts - (optional) Runtime options map. Defaults to {:sync? true}

Returns: Set of UUIDs representing store IDs in the bucket

List all konserve stores in an S3 bucket by reading the central registry.

The registry uses optimistic concurrency control (ETags) to handle concurrent
updates from multiple processes/machines.

Args:
  s3-spec - Map with :bucket, :region, :access-key, :secret, etc.
  opts - (optional) Runtime options map. Defaults to {:sync? true}

Returns:
  Set of UUIDs representing store IDs in the bucket
sourceraw docstring

output-stream-buffer-sizeclj

source

put-objectclj

(put-object client bucket key bytes)
source

put-object-conditionalclj

(put-object-conditional client bucket key bytes if-match-etag)

Put object with conditional ETag check. Returns true on success, false on conflict. S3 returns HTTP 412 (Precondition Failed) when ifMatch ETag doesn't match.

Put object with conditional ETag check. Returns true on success, false on conflict.
S3 returns HTTP 412 (Precondition Failed) when ifMatch ETag doesn't match.
sourceraw docstring

regionsclj

source

releaseclj

(release store env)

Must be called after work on database has finished in order to close connection

Must be called after work on database has finished in order to close connection
sourceraw docstring

s3-clientclj

(s3-client opts)
source

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