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

config-dirclj

source

config-fileclj

source

config-volclj

source

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

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-scriptclj

source

log-dirclj

source

make-container-runnerclj

(make-container-runner conf events)
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

promtail-config-dirclj

source

promtail-config-fileclj

source

promtail-config-volclj

source

run-containerclj

(run-container {:keys [events job build] :as conf})
source

script-dirclj

source

script-volclj

source

sidecar-container-nameclj

source

start-fileclj

source

wait-for-instance-end-eventsclj

(wait-for-instance-end-events events sid job-id max-timeout)

Checks the incoming events to see if a container and job end event has been received. Returns a deferred that will contain both events, or that times out after max-timeout.

Checks the incoming events to see if a container and job end event has been received.
Returns a deferred that will contain both events, or that times out after `max-timeout`.
sourceraw docstring

wait-for-resultsclj

(wait-for-results {:keys [events job build]} max-timeout get-details)

Waits for the container end event, or times out. Afterwards, the full container instance details are fetched. The exit codes in the received events are used for the container exit codes.

Waits for the container end event, or times out.  Afterwards, the full container
instance details are fetched.  The exit codes in the received events are used for
the container exit codes.
sourceraw docstring

wait-for-startupclj

(wait-for-startup events sid job-id)

Waits until a container start event has been received. This is the indication that user code is running, so we can send out a job/start event and register the job start time. If a sidecar error is received before that, it means something is wrong.

Waits until a container start event has been received.  This is the indication
that user code is running, so we can send out a job/start event and register the
job start time.  If a sidecar error is received before that, it means something
is wrong.
sourceraw docstring

work-dirclj

source

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

× close