Liking cljdoc? Tell your friends :D

monkey.ci.events.mailman

Mailman-style event handling

Mailman-style event handling
raw docstring

add-timeclj

source

AddRoutercljprotocol

add-routerclj

(add-router broker routes opts)

Registers a listener for given routes in the broker

Registers a listener for given routes in the broker
source

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

get-resultclj

source

global-interceptorsclj

source

job-endclj

source

job-initclj

source

job-skippedclj

source

job-startclj

source

load-buildclj

source

load-jobclj

source

make-componentcljmultimethod

source

make-routerclj

(make-router routes)
source

make-routesclj

(make-routes storage bus)
source

merge-routesclj

(merge-routes routes & others)

Merges multiple routes together into one routing config

Merges multiple routes together into one routing config
sourceraw docstring

post-eventsclj

(post-events mm events)

Posts events using the broker in the mailman component

Posts events using the broker in the mailman component
sourceraw docstring

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

set-resultclj

(set-result ctx r)
source

trace-evtclj

Logs event info, for debugging purposes.

Logs event info, for debugging purposes.
sourceraw docstring

update-busclj

(update-bus bus)
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