Liking cljdoc? Tell your friends :D

remote-fs.adapter.oss


connectclj

(connect endpoint access-key secret-key)

download-objectclj

(download-object conn bucket name localpath)

Download object to a local path. See Docs: https://www.alibabacloud.com/help/zh/doc-detail/84824.htm

Download object to a local path.
See Docs: https://www.alibabacloud.com/help/zh/doc-detail/84824.htm
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://help.aliyun.com/document_detail/32016.html

Returns a temporary download url for this object with 7day expiration
See docs: https://help.aliyun.com/document_detail/32016.html
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)
(get-upload-url conn bucket name timeout)

Returns presigned and named upload url for direct upload from the client See docs: https://help.aliyun.com/document_detail/32016.html You need to set Content-Type when you upload a file by js

Returns presigned and named upload url for direct upload from the client 
See docs: https://help.aliyun.com/document_detail/32016.html
You need to set Content-Type when you upload a file by js
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)
raw docstring

make-bucketclj

(make-bucket conn name)

Creates a bucket with a name. Does nothing if one exists. Returns nil https://help.aliyun.com/document_detail/32012.html

Creates a bucket with a name. Does nothing if one exists. Returns nil
https://help.aliyun.com/document_detail/32012.html
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 TODO: Any docs?

sets bucket policy map, takes Clojure persistant map, serializes it to json
TODO: Any docs?
raw docstring

UUIDclj

(UUID)

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

× close