Liking cljdoc? Tell your friends :D

monkey.ci.containers.oci

Container runner implementation that uses OCI container instances.

Container runner implementation that uses OCI container instances.
raw docstring

abort-fileclj

source

add-configclj

(add-config conf)
source

build-sidclj

source

calc-credit-multiplierclj

Calculates credit multiplier according to instance config

Calculates credit multiplier according to instance config
sourceraw docstring

config-dirclj

source

config-fileclj

source

config-volclj

source

container-endclj

(container-end ctx)

Indicates job script has terminated. If the sidecar has also ended, the job has been executed

Indicates job script has terminated.  If the sidecar has also ended, the job has been
executed
sourceraw docstring

container-ended?clj

source

container-startclj

(container-start ctx)

Indicates the container script has started. This means the job is actually running, since events are proliferated by the sidecar, so if events arrive, we're sure that the sidecar is running.

Indicates the container script has started.  This means the job is actually running,
since events are proliferated by the sidecar, so if events arrive, we're sure that
the sidecar is running.
sourceraw docstring

container-start-timeoutclj

Max msecs to wait until container has started

Max msecs to wait until container has started
sourceraw docstring

event-fileclj

source

events-dirclj

source

filter-container-jobclj

Terminates processing when there is no instance id in the state, so it's not a container job.

Terminates processing when there is no instance id in the state, so it's not a container job.
sourceraw docstring

get-buildclj

source

get-configclj

source

get-container-statusclj

(get-container-status ctx)
source

get-credit-multiplierclj

source

get-instance-idclj

(get-instance-id ctx)
source

instance-configclj

(instance-config {:keys [job build oci] :as conf})

Generates the configuration for the container instance. It has a container that runs the job, as configured in the :job, and next to that a sidecar that is responsible for capturing the output and dispatching events. If configured, it also

Generates the configuration for the container instance.  It has 
a container that runs the job, as configured in the `:job`, and
next to that a sidecar that is responsible for capturing the output
and dispatching events.  If configured, it also 
sourceraw docstring

job-container-nameclj

source

job-idclj

source

job-queuedclj

(job-queued ctx)
source

job-scriptclj

source

load-instance-idclj

source

log-dirclj

source

make-routesclj

(make-routes conf build)
source

max-pod-cpusclj

Max number of cpu's to assign to a pod

Max number of cpu's to assign to a pod
sourceraw docstring

max-pod-memoryclj

Max memory that can be assigned to a pod, in gbs

Max memory that can be assigned to a pod, in gbs
sourceraw docstring

prepare-instance-configclj

source

promtail-config-dirclj

source

promtail-config-fileclj

source

promtail-config-volclj

source

save-instance-idclj

Stores instance id taken from the instance creation response in the job state.

Stores instance id taken from the instance creation response in the job state.
sourceraw docstring

script-dirclj

source

script-volclj

source

set-buildclj

(set-build ctx b)
source

set-configclj

(set-config ctx c)
source

set-container-statusclj

source

set-credit-multiplierclj

(set-credit-multiplier ctx cm)
source

set-sidecar-statusclj

source

sidecar-container-nameclj

source

sidecar-endclj

(sidecar-end ctx)

Indicates job sidecar has terminated. If the container script has also ended, the job has been executed

Indicates job sidecar has terminated.  If the container script has also ended, the job
has been executed
sourceraw docstring

sidecar-ended?clj

(sidecar-ended? ctx)
source

start-fileclj

source

work-dirclj

source

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

× close