Liking cljdoc? Tell your friends :D

monkey.ci.extensions

Functionality for working with script extensions. Extensions are a way for third party libraries to add functionality to scripts, that is easy to activate and can also be used in yaml-type scripts. You could of course also add regular functions to invoke, but this is not easy to use, especially when using container jobs. Extensions do this by registering themselves under a specific namespaced keyword. If this key is found in job properties, the associated extension code is executed. Extensions can be executed before or after a job (or both).

Functionality for working with script extensions.  Extensions are a way
for third party libraries to add functionality to scripts, that is easy
to activate and can also be used in yaml-type scripts.  You could of 
course also add regular functions to invoke, but this is not easy to
use, especially when using container jobs.  Extensions do this by registering
themselves under a specific namespaced keyword.  If this key is found in
job properties, the associated extension code is executed.  Extensions can
be executed before or after a job (or both).
raw docstring

after-jobcljmultimethod

source

apply-extensions-afterclj

(apply-extensions-after rt)
(apply-extensions-after rt registered)
source

apply-extensions-beforeclj

(apply-extensions-before rt)
(apply-extensions-before rt registered)
source

before-jobcljmultimethod

source

get-configclj

(get-config rt k)

Retrieves configuration for the extension from the job

Retrieves configuration for the extension from the job
sourceraw docstring

new-registerclj

source

registerclj

(register l ext)
source

register!clj

(register! ext)
source

registered-extensionsclj

source

set-valueclj

(set-value rt k v)

Sets the extension value in the job. This value will be stored with the job, so it must be serializable to edn.

Sets the extension value in the job.  This value will be stored with the job, so it
must be serializable to `edn`.
sourceraw docstring

wrap-jobclj

(wrap-job job)
(wrap-job job registered-ext)

Wraps job so that extensions are invoked before and after it.

Wraps job so that extensions are invoked before and after it.
sourceraw docstring

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

× close