(->blob-id gs-uri-or-blob-id)
(->blob-id bucket name)
(->blob-list-options options)
(->input-stream channel)
(->output-stream channel)
(blob-info blob-id options)
(bucket-info bucket-name options)
(copy storage source-blob-id target-blob-id)
(copy-blob source-blob target-blob-id)
(copy-file-to-storage storage src dest-uri)
(copy-file-to-storage storage src dest-gs-uri & options)
Convenience function for copying a local file to a blob to storage. By default the type is JSON encoded in UTF-8
Convenience function for copying a local file to a blob to storage. By default the type is JSON encoded in UTF-8
(create-blob storage blob-info)
(create-blob-writer storage blob-info)
(create-bucket storage bucket-info)
(delete-blob storage blob-id)
(delete-bucket storage bucket-name)
(download-file-from-storage storage source-gs-uri dest-local-path & _options)
Downloads a storage file to a local one. Usage : (download-file-from-storage storage-client 'gs://mybucket/myfolder/.../myfile' 'mylocalfile')
Downloads a storage file to a local one. Usage : (download-file-from-storage storage-client 'gs://mybucket/myfolder/.../myfile' 'mylocalfile')
(file->stream local-path output-stream)
Writes an local file to stream
Writes an local file to stream
(get-blob storage blob-id)
(get-bucket storage bucket-name)
(get-or-create-bucket storage info)
Fetches or creates a bucket if it doesn't exist
Fetches or creates a bucket if it doesn't exist
(init options)
(list-blobs storage bucket-name options)
(ls storage gs-uri)
(ls storage bucket path)
(ls storage bucket path options)
Usage: (ls storage gs-uri [options]) (ls storage bucket path [options])
Usage: (ls storage gs-uri [options]) (ls storage bucket path [options])
(read-channel blob)
(read-gs-uri gs-uri)
(stream->file input-stream local-path)
Writes an input stream to disk
Writes an input stream to disk
(write-channel blob)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close