Event handlers for commands
Event handlers for commands
(http-server {:keys [http] :as rt})
Starts the server by invoking the function in the runtime. This function is supposed to return another function that can be invoked to stop the http server. Returns a deferred that resolves when the server is stopped.
Starts the server by invoking the function in the runtime. This function is supposed to return another function that can be invoked to stop the http server. Returns a deferred that resolves when the server is stopped.
(run-build config)
Performs a build, using the runner from the context. Returns a deferred that will complete when the build finishes.
Performs a build, using the runner from the context. Returns a deferred that will complete when the build finishes.
(run-build-local config)
Run a build locally, normally from local source but can also be from a git checkout.
Run a build locally, normally from local source but can also be from a git checkout.
(sidecar conf)
Runs the application as a sidecar, that is meant to capture events and logs from a container process. This is necessary because when running containers from third-party images, we don't have control over them. Instead, we launch a sidecar and execute the commands in the container in a script that writes events and output to files, which are then picked up by the sidecar to dispatch or store.
The sidecar loop will stop when the events file is deleted.
Runs the application as a sidecar, that is meant to capture events and logs from a container process. This is necessary because when running containers from third-party images, we don't have control over them. Instead, we launch a sidecar and execute the commands in the container in a script that writes events and output to files, which are then picked up by the sidecar to dispatch or store. The sidecar loop will stop when the events file is deleted.
(verify-build rt)
Verifies the build in the current directory by loading the script files in-process and resolving the jobs. This is useful when checking if there are any compilation errors in the script.
Verifies the build in the current directory by loading the script files in-process and resolving the jobs. This is useful when checking if there are any compilation errors in the script.
(watch rt)
Starts listening for events and prints the results. The arguments determine the event filter (all for a customer, project, or repo).
Starts listening for events and prints the results. The arguments determine the event filter (all for a customer, project, or repo).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close