MinIO wrapper code to access S3 buckets. These functions mainly delegate to the appropriate Minio classes using the async client.
MinIO wrapper code to access S3 buckets. These functions mainly delegate to the appropriate Minio classes using the async client.
(get-object client bucket path)
Returns a future of an InputStream
of the given object. Don't forget to close it
after use.
Returns a future of an `InputStream` of the given object. Don't forget to close it after use.
(list-objects client bucket prefix)
Recursively lists objects in the bucket with given prefix
Recursively lists objects in the bucket with given prefix
(put-object client bucket path {:keys [stream size content-type metadata file]})
Uploads stream to the specified destination. Optional content type and
metadata can be specified. Specify size
if the stream size is known.
You can also specify a file
instead of a stream
.
Uploads stream to the specified destination. Optional content type and metadata can be specified. Specify `size` if the stream size is known. You can also specify a `file` instead of a `stream`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close