(connect)
Generate a connection by using the defined conn information.
Generate a connection by using the defined conn information.
(correct-file-path e fs-rootdir)
When you use minio service, all file paths need to reset as the local path. e.g. minio://bucket-name/object-key --> /datains/minio/bucket-name/object-key
TODO: need to support more types for e's value.
When you use minio service, all file paths need to reset as the local path. e.g. minio://bucket-name/object-key --> /datains/minio/bucket-name/object-key TODO: need to support more types for e's value.
(correct-file-path-reverse e fs-rootdir)
When you use minio service, all file paths need to reset as the local path. e.g. /datains/minio/bucket-name/object-key --> minio://bucket-name/object-key
TODO: need to support more types for e's value.
When you use minio service, all file paths need to reset as the local path. e.g. /datains/minio/bucket-name/object-key --> minio://bucket-name/object-key TODO: need to support more types for e's value.
(download-object bucket key localpath)
(exists? bucket key)
(format-objects bucket objects)
(get-download-url bucket key)
(get-object bucket key)
(get-object-meta bucket key)
(get-protocol)
Which protocol is used in the current connect?
Which protocol is used in the current connect?
(get-upload-url bucket key)
(list-buckets)
(list-objects bucket)
(list-objects bucket prefix)
(list-objects bucket prefix recursive)
(make-bucket! name)
(put-object! bucket file-name)
(put-object! bucket upload-name source-file-name)
(remove-bucket! bucket)
(remove-object! bucket key)
TODO: services can't be a private when it is used in with-conn macro.
TODO: services can't be a private when it is used in with-conn macro.
(setup-connection fs-service fs-endpoint fs-access-key fs-secret-key)
(swallow-exceptions & body)
(with-conn fs-service & body)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close