Liking cljdoc? Tell your friends :D

monkey.ci.credits

Credit calculation functions

Credit calculation functions
raw docstring

container-credit-consumer-fnclj

(container-credit-consumer-fn rt)

Returns the credit consumer function associated with the container runner. This is used to calculate the credit multiplier for a container job. If none is specified, it always returns zero.

Returns the credit consumer function associated with the container runner.
This is used to calculate the credit multiplier for a container job.  If
none is specified, it always returns zero.
sourceraw docstring

CreditConsumercljprotocol

Jobs that consume credits implement this protocol

Jobs that consume credits implement this protocol

credit-multiplierclj

(credit-multiplier job rt)

Calculates the credit multiplier for the given job. This depends on the type of job, the type of container runner and the resources required by the job. This can be considered the 'credit consumption per minute' for the job.

Calculates the credit multiplier for the given job.  This depends on the type
of job, the type of container runner and the resources required by the job.
This can be considered the 'credit consumption per minute' for the job.
sourceraw docstring

runner-credit-consumer-fnclj

(runner-credit-consumer-fn rt)

Returns the credit consumer function from the runtime associated with the build runner. This is used to calculate the credit multiplier for an action job, which is executed by the runner directly.

Returns the credit consumer function from the runtime associated with the
build runner.  This is used to calculate the credit multiplier for an action 
job, which is executed by the runner directly.
sourceraw docstring

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

× close