Credit calculation functions
Credit calculation functions
(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.
Jobs that consume credits implement this protocol
Jobs that consume credits implement this protocol
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close