This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am elchache on github. | |
* I am bilbobolson84 (https://keybase.io/bilbobolson84) on keybase. | |
* I have a public key ASDZ8QindPcj-OyDeWO63QkMARAa-lqTEIJiyw5Yno2--wo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn blob-into-stream! | |
[config res blob-name] | |
;; Assets the configuration is valid | |
(s/assert* :registry.azure/config config) | |
(js/Promise. | |
(fn [resolve reject] | |
(-> (@blob-service (:registry.azure/registry-connection-string config)) | |
(.getBlobProperties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns laputa.registry-fn.macros | |
#?(:cljs (:require-macros [laputa.registry-fn.macros]))) | |
(defmacro defn-azure-http-handler | |
[fn-name doc-string {:keys [route]} args body] | |
`(defn ~fn-name | |
{:azure/disabled false | |
:azure/bindings | |
[{:authLevel "anonymous" |