Liking cljdoc? Tell your friends :D

remote-fs.adapter.minio


connectclj

(connect url access-key secret-key)
source

download-objectclj

(download-object conn bucket name localpath)

Download object to a local path.

Download object to a local path.
sourceraw docstring

exists?clj

(exists? conn bucket-name object)

Whether the object exists in the bucket

Whether the object exists in the bucket
sourceraw docstring

get-download-urlclj

(get-download-url conn bucket name)
(get-download-url conn bucket name timeout)

returns a temporary download url for this object with 7day expiration see docs: https://docs.minio.io/docs/java-client-api-reference#presignedGetObject

returns a temporary download url for this object with 7day expiration
see docs: https://docs.minio.io/docs/java-client-api-reference#presignedGetObject
sourceraw docstring

get-objectclj

(get-object conn {:keys [bucket name]})
(get-object conn bucket name)

Takes connection and a map of [bucket name] keys as returned by (put-object) or explicit arguments returns java.io.BufferedReader. Use clojure.java.io/copy to stream the bucket data files, or HTTP responses

Takes connection and a map of [bucket name] keys as returned by (put-object) or explicit arguments 
returns java.io.BufferedReader.
Use clojure.java.io/copy to stream the bucket data files, or HTTP responses
sourceraw docstring

get-object-metaclj

(get-object-meta conn {:keys [bucket name]})
(get-object-meta conn bucket name)

Returns object metadata as clojure hash-map

Returns object metadata as clojure hash-map
sourceraw docstring

get-upload-urlclj

(get-upload-url conn bucket name)

returns presigned and named upload url for direct upload from the client see docs: https://docs.minio.io/docs/java-client-api-reference#presignedPutObject

returns presigned and named upload url for direct upload from the client 
see docs: https://docs.minio.io/docs/java-client-api-reference#presignedPutObject
sourceraw docstring

initclj

(init)
source

list-bucketsclj

(list-buckets conn)

returns maps

returns maps 
sourceraw docstring

list-objectsclj

(list-objects conn bucket)
(list-objects conn bucket filter)
(list-objects conn bucket filter recursive)
source

make-bucketclj

(make-bucket conn name)

Creates a bucket with a name. Does nothing if one exists. Returns nil https://docs.minio.io/docs/java-client-api-reference#makeBucket

Creates a bucket with a name. Does nothing if one exists. Returns nil
https://docs.minio.io/docs/java-client-api-reference#makeBucket
sourceraw docstring

NOWclj

(NOW)
source

put-objectclj

(put-object conn bucket file-name)
(put-object conn bucket upload-name source-file-name)

Uploads a file object to the bucket. Returns a map of bucket name and file name

Uploads a file object to the bucket. 
Returns a map of bucket name and file name
sourceraw docstring

remove-bucket!clj

(remove-bucket! conn bucket-name)

removes the bucket form the storage

removes the bucket form the storage
sourceraw docstring

remove-object!clj

(remove-object! conn bucket object)
source

set-bucket-policyclj

(set-bucket-policy conn policy)

sets bucket policy map, takes Clojure persistant map, serializes it to json See JAVA example: https://github.com/minio/minio-java/blob/master/examples/SetBucketPolicy.java bucket policy examples: https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html

sets bucket policy map, takes Clojure persistant map, serializes it to json
See JAVA example: https://github.com/minio/minio-java/blob/master/examples/SetBucketPolicy.java
bucket policy examples: https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html
sourceraw docstring

swallow-exceptionscljmacro

(swallow-exceptions & body)
source

UUIDclj

(UUID)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close