Liking cljdoc? Tell your friends :D

monkey.ci.runtime

The runtime can be considered the 'live configuration'. It is created from the configuration, and is passed on to the application modules. The runtime provides the information (often in the form of functions) needed by the modules to perform work. This allows us to change application behaviour depending on configuration, but also when testing.

Thie namespace also provides some utility functions for working with the context. This is more stable than reading properties from the runtime directly.

The runtime can be considered the 'live configuration'.  It is created
from the configuration, and is passed on to the application modules.  The
runtime provides the information (often in the form of functions) needed
by the modules to perform work.  This allows us to change application 
behaviour depending on configuration, but also when testing.

Thie namespace also provides some utility functions for working with the
context.  This is more stable than reading properties from the runtime 
directly.
raw docstring

accountclj

source

api-urlclj

source

app-modeclj

source

argsclj

source

buildclj

Gets build info from runtime

Gets build info from runtime
sourceraw docstring

cli-mode?clj

source

configclj

source

config->runtimeclj

(config->runtime conf)

Creates the runtime from the normalized config map

Creates the runtime from the normalized config map
sourceraw docstring

dev-mode?clj

source

events-receiverclj

(events-receiver {:keys [events]})
source

from-configclj

(from-config k)
source

get-argclj

(get-arg rt k)
source

log-makerclj

source

log-retrieverclj

source

post-eventsclj

(post-events {:keys [events]} evt)

Posts one or more events using the event poster in the runtime

Posts one or more events using the event poster in the runtime
sourceraw docstring

reportclj

(report rt obj)

Reports obj to the user with the reporter from the runtime.

Reports `obj` to the user with the reporter from the runtime.
sourceraw docstring

reporterclj

source

rt->envclj

(rt->env rt)

Returns a map that can be serialized back into env vars. This is used to pass application configuration to child processes or containers.

Returns a map that can be serialized back into env vars.  This is used
to pass application configuration to child processes or containers.
sourceraw docstring

runnerclj

source

server-mode?clj

source

setup-runtimecljmultimethod

source

ssh-keys-dirclj

source

startclj

(start rt)

Starts the runtime by starting all parts as a component tree. Returns a component system that can be passed to stop.

Starts the runtime by starting all parts as a component tree.  Returns a
component system that can be passed to `stop`.
sourceraw docstring

stopclj

(stop rt)

Stops a previously started runtime

Stops a previously started runtime
sourceraw docstring

update-buildclj

(update-build rt f & args)

Updates the build in the runtime by applying f with given args.

Updates the build in the runtime by applying `f` with given args.
sourceraw docstring

with-runtimecljmacro

(with-runtime conf mode r & body)

Convenience macro that wraps with-runtime-fn by binding runtime to r and invoking the body.

Convenience macro that wraps `with-runtime-fn` by binding runtime to `r` and 
invoking the body.
sourceraw docstring

with-runtime-fnclj

(with-runtime-fn conf mode f)

Creates a runtime for the given mode (server, cli, script) from the specified configuration and passes it to f.

Creates a runtime for the given mode (server, cli, script) from the specified 
configuration and passes it to `f`.
sourceraw docstring

work-dirclj

source

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

× close