Liking cljdoc? Tell your friends :D

monkey.ci.build.api

Functions for invoking the build script API.

Functions for invoking the build script API.
raw docstring

api-middlewareclj

source

as-ednclj

(as-edn req)
source

build-paramsclj

source

check-http-errorclj

(check-http-error msg {:keys [status body] :as resp})
source

ctx->api-clientclj

source

download-artifactclj

(download-artifact ctx id)

Downloads the artifact with given id for the current job. Returns an input stream that can then be written to disk, or unzipped using archive functions.

Downloads the artifact with given id for the current job.  Returns an input
stream that can then be written to disk, or unzipped using archive functions.
sourceraw docstring

event-busclj

(event-bus client)

Creates an event bus that receives all events from the build api using the /events endpoint. The bus can be subscribed to using manifold.bus/subscribe. Returns both the bus and a function which, when invoked, should close the http connection.

Creates an event bus that receives all events from the build api using the
`/events` endpoint.  The bus can be subscribed to using `manifold.bus/subscribe`.
Returns both the bus and a function which, when invoked, should close the http 
connection.
sourceraw docstring

make-clientclj

(make-client url token)

Creates a new api client function for the given url. It returns a function that requires a request object that will send a http request. The function returns a deferred with the result body. An authentication token is required.

Creates a new api client function for the given url.  It returns a function
that requires a request object that will send a http request.  The function 
returns a deferred with the result body.  An authentication token is required.
sourceraw docstring

rt->api-clientcljdeprecated

source

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

× close