Liking cljdoc? Tell your friends :D

remote-fs.adapter.minio


connectclj

(connect url access-key secret-key)

download-objectclj

(download-object conn bucket name localpath)

Download object to a local path.

Download object to a local path.
raw 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
raw 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
raw 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
raw 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
raw docstring

initclj

(init)

list-bucketsclj

(list-buckets conn)

returns maps

returns maps 
raw docstring

list-objectsclj

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

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
raw docstring

NOWclj

(NOW)

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
raw docstring

remove-bucket!clj

(remove-bucket! conn bucket-name)

removes the bucket form the storage

removes the bucket form the storage
raw docstring

remove-object!clj

(remove-object! conn bucket object)

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
raw docstring

swallow-exceptionscljmacro

(swallow-exceptions & body)

UUIDclj

(UUID)

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

× close