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).
Interceptor that applies the after
extensions to the job in the job context.
This expects the job context to be present in the event context, with the job
and it's execution result added to that context.
Interceptor that applies the `after` extensions to the job in the job context. This expects the job context to be present in the event context, with the job and it's execution result added to that context.
Interceptor that applies the before
extensions to the job in the job context.
This expects the job context to be present in the event context, with the job
added to that context.
Interceptor that applies the `before` extensions to the job in the job context. This expects the job context to be present in the event context, with the job added to that context.
(get-config rt k)
Retrieves configuration for the extension from the job
Retrieves configuration for the extension from the job
(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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close