Abstraction for managing objects storage
Abstraction for managing objects storage
(delete-object this object-id)
(delete-object this object-id opts)
Delete the object object-id
from the storage system.
Use opts
to specify additional delete options.
Delete the object `object-id` from the storage system. Use `opts` to specify additional delete options.
(get-object this object-id)
(get-object this object-id opts)
Get the object with key object-id
from the storage system, using opts
options
Get the object with key `object-id` from the storage system, using `opts` options
(get-object-url this object-id)
(get-object-url this object-id opts)
Generates a url allowing access to the object without the need to auth oneself.
Get the object with key object-id
from the storage system, using opts
options
Generates a url allowing access to the object without the need to auth oneself. Get the object with key `object-id` from the storage system, using `opts` options
(list-objects this parent-object-id)
(list-objects this parent-object-id opts)
List all child objects of the parent-object-id
object.
Use opts
to specify additional options
List all child objects of the `parent-object-id` object. Use `opts` to specify additional options
(put-object this object-id object)
(put-object this object-id object opts)
Put object
in the storage system, using object-id
as the key.
Use opts
to specify additional put options.
object
can be either a File object or an InputStream. In the
latter case, if you know the size of the content in the InputStream,
add the :metadata
key to the opts
map. Its value should be a map
with a key called :object-size
, with the size as its value.
Put `object` in the storage system, using `object-id` as the key. Use `opts` to specify additional put options. `object` can be either a File object or an InputStream. In the latter case, if you know the size of the content in the InputStream, add the `:metadata` key to the `opts` map. Its value should be a map with a key called `:object-size`, with the size as its value.
(rename-object this object-id new-object-id)
Rename object-id
to new-object-id
in the storage system.
Rename `object-id` to `new-object-id` in the storage system.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close