Liking cljdoc? Tell your friends :D

monkey.ci.dispatcher.events


add-build-taskclj

Adds a task for the build found in the incoming event

Adds a task for the build found in the incoming event
sourceraw docstring

add-job-taskclj

Adds a task for the job found in the incoming event

Adds a task for the job found in the incoming event
sourceraw docstring

add-runner-assignmentclj

Interceptor that assigns a runner to the task stored in context

Interceptor that assigns a runner to the task stored in context
sourceraw docstring

add-to-queued-listclj

Interceptor that adds a queued task to the in-memory list in the state.

Interceptor that adds a queued task to the in-memory list in the state.
sourceraw docstring

assignmentclj

(assignment runner task)
source

build->taskclj

(build->task b)
source

build-queuedclj

(build-queued ctx)
source

clear-assignmentclj

(clear-assignment prop)
source

consume-resourcesclj

Updates state to consume resources according to scheduled task

Updates state to consume resources according to scheduled task
sourceraw docstring

default-resourcesclj

source

delete-queuedclj

If the result contains deleted queue items, this interceptor will remove them from the database.

If the result contains deleted queue items, this interceptor will remove them from
the database.
sourceraw docstring

evt-sidclj

source

get-assignmentclj

source

get-queuedclj

source

get-queued-listclj

(get-queued-list ctx)
source

get-runnersclj

(get-runners ctx)
source

get-state-assignmentclj

(get-state-assignment ctx id)
source

get-taskclj

source

get-task-sidcljmultimethod

source

job->taskclj

(job->task job sid)
source

job-queuedclj

(job-queued ctx)
source

load-assignmentclj

(load-assignment prop)
source

make-routesclj

(make-routes state storage)

Makes mailman routes for event handling that perform actual dispatching and resource management.

Makes mailman routes for event handling that perform actual dispatching and resource
management.
sourceraw docstring

release-resourcesclj

Same as consume, but releases the used resources instead

Same as consume, but releases the used resources instead
sourceraw docstring

remove-state-assignmentclj

(remove-state-assignment ctx id)
source

result->assignmentclj

Replaces the assignment in the context with the one from the result

Replaces the assignment in the context with the one from the result
sourceraw docstring

result->queueclj

Updates the queue with values from the result

Updates the queue with values from the result
sourceraw docstring

save-assignmentclj

(save-assignment prop)
source

save-queuedclj

Interceptor that saves a queued task. These are tasks that could not be assigned immediately due to lack of resources.

Interceptor that saves a queued task.  These are tasks that could not be assigned
immediately due to lack of resources.
sourceraw docstring

set-assignmentclj

(set-assignment ctx a)
source

set-queuedclj

(set-queued ctx task)
source

set-runnersclj

(set-runners ctx r)
source

set-state-assignmentclj

(set-state-assignment ctx id a)
source

set-taskclj

(set-task ctx a)
source

task-endclj

(task-end ctx)

When a build ends, resources become available again. This means we may be able to schedule another task from the queue. If so, we assign it here, and remove that task from the queue. Since the released resources belong to a specific runner, we can only assign the task to that runner.

When a build ends, resources become available again.  This means we may be able to
schedule another task from the queue.  If so, we assign it here, and remove that task
from the queue.  Since the released resources belong to a specific runner, we can only
assign the task to that runner.
sourceraw docstring

task-scheduled-evtcljmultimethod

source

unwrap-eventsclj

Takes the :events key from the result and puts that in the result instead.

Takes the `:events` key from the result and puts that in the result instead.
sourceraw docstring

update-runnerclj

(update-runner ctx id f & args)
source

with-resourcesclj

source

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

× close