Liking cljdoc? Tell your friends :D

monkey.ci.events.mailman.db


build->sidclj

source

build-canceledclj

source

build-endclj

source

build-initializingclj

Updates build state to initializing. Returns a consolidated build/updated event.

Updates build state to `initializing`.  Returns a consolidated `build/updated` event.
sourceraw docstring

build-startclj

Marks build as running.

Marks build as running.
sourceraw docstring

check-creditsclj

(check-credits ctx)

Checks if credits are available. Returns either a build/pending or a build/failed.

Checks if credits are available.  Returns either a build/pending or a build/failed.
sourceraw docstring

customer-creditsclj

Interceptor that fetches available credits for the customer associated with the build. Assumes that the db is in the context.

Interceptor that fetches available credits for the customer associated with the build.
Assumes that the db is in the context.
sourceraw docstring

get-buildclj

source

get-creditsclj

source

get-dbclj

source

get-jobclj

source

job-endclj

source

job-initclj

source

job-skippedclj

source

job-startclj

source

load-buildclj

source

load-jobclj

source

make-routesclj

(make-routes storage bus)
source

queue-buildclj

(queue-build ctx)

Adds the build to the build queue, where it will be picked up by a runner when capacity is available.

Adds the build to the build queue, where it will be picked up by a runner when
capacity is available.
sourceraw docstring

save-buildclj

source

save-credit-consumptionclj

Assuming the result contains a build with credits, creates a credit consumption for the associated customer.

Assuming the result contains a build with credits, creates a credit consumption for
the associated customer.
sourceraw docstring

save-jobclj

Saves the job found in the result build by id specified in the event.

Saves the job found in the result build by id specified in the event.
sourceraw docstring

script-endclj

source

script-initclj

source

script-startclj

source

set-buildclj

(set-build ctx b)
source

set-creditsclj

(set-credits ctx c)
source

set-dbclj

(set-db ctx db)
source

set-jobclj

(set-job ctx job)
source

use-dbclj

(use-db db)

Adds storage to the context as ::db

Adds storage to the context as ::db
sourceraw docstring

with-buildclj

Combines load-build and save-build interceptors. Note that this does not work atomically.

Combines `load-build` and `save-build` interceptors.  Note that this does not work
atomically.
sourceraw docstring

with-jobclj

source

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

× close