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


api-urlclj


app-modeclj


argsclj


buildclj


cli-mode?clj


configclj


config->runtimeclj

(config->runtime conf)

Creates the runtime from the normalized config map

Creates the runtime from the normalized config map
raw docstring

dev-mode?clj


events-receiverclj


from-configclj

(from-config k)

get-argclj

(get-arg rt k)

log-makerclj


log-retrieverclj


post-eventsclj

(post-events rt 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
raw 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.
raw docstring

reporterclj


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.
raw docstring

runnerclj


server-mode?clj


setup-runtimecljmultimethod


ssh-keys-dirclj


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`.
raw docstring

stopclj

(stop rt)

Stops a previously started runtime

Stops a previously started runtime
raw 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.
raw 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`.
raw docstring

work-dirclj

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

× close