Liking cljdoc? Tell your friends :D

clj-gcloud.storage


->blob-idclj

(->blob-id gs-uri-or-blob-id)
(->blob-id bucket name)
source

->blob-list-optionsclj

(->blob-list-options options)
source

->input-streamclj

(->input-stream channel)
source

->output-streamclj

(->output-stream channel)
source

blob-infoclj

(blob-info blob-id options)
source

bucket-infoclj

(bucket-info bucket-name options)
source

copyclj

(copy storage source-blob-id target-blob-id)
source

copy-blobclj

(copy-blob source-blob target-blob-id)
source

copy-file-to-storageclj

(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
sourceraw docstring

create-blobclj

(create-blob storage blob-info)
source

create-blob-writerclj

(create-blob-writer storage blob-info)
source

create-bucketclj

(create-bucket storage bucket-info)
source

delete-blobclj

(delete-blob storage blob-id)
source

delete-bucketclj

(delete-bucket storage bucket-name)
source

download-file-from-storageclj

(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')
sourceraw docstring

file->streamclj

(file->stream local-path output-stream)

Writes an local file to stream

Writes an local file to stream
sourceraw docstring

get-blobclj

(get-blob storage blob-id)
source

get-bucketclj

(get-bucket storage bucket-name)
source

get-or-create-bucketclj

(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
sourceraw docstring

initclj

(init options)
source

list-blobsclj

(list-blobs storage bucket-name options)
source

lsclj

(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])
sourceraw docstring

read-channelclj

(read-channel blob)
source

read-gs-uriclj

(read-gs-uri gs-uri)
source

stream->fileclj

(stream->file input-stream local-path)

Writes an input stream to disk

Writes an input stream to disk
sourceraw docstring

write-channelclj

(write-channel blob)
source

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

× close