Liking cljdoc? Tell your friends :D

bract.core.keydef

Context and configuration keys used by bract.core and related functions.

Context and configuration keys used by bract.core and related functions.
raw docstring

*ctx-shutdown-flagclj

(*ctx-shutdown-flag config-map)
(*ctx-shutdown-flag config-map not-found)

Volatile: Shutdown begun?

Volatile: Shutdown begun?
sourceraw docstring

cfg-drain-timeoutclj

(cfg-drain-timeout config-map)
(cfg-drain-timeout config-map not-found)

Workload drain timeout

Workload drain timeout
sourceraw docstring

cfg-exportsclj

(cfg-exports config-map)
(cfg-exports config-map not-found)

Vector of config keys to export as system properties

Vector of config keys to export as system properties
sourceraw docstring

cfg-inducersclj

(cfg-inducers config-map)
(cfg-inducers config-map not-found)

Vector of fully qualified inducer fn names

Vector of fully qualified inducer fn names
sourceraw docstring

ctx-alive-tstampclj

(ctx-alive-tstamp config-map)
(ctx-alive-tstamp config-map not-found)

Derefable (fn []): alive timestamp in milliseconds

Derefable (fn []): alive timestamp in milliseconds
sourceraw docstring

ctx-app-exit-codeclj

(ctx-app-exit-code config-map)
(ctx-app-exit-code config-map not-found)

Application exit code (int)

Application exit code (int)
sourceraw docstring

ctx-cli-argsclj

(ctx-cli-args config-map)
(ctx-cli-args config-map not-found)

Collection of CLI arguments

Collection of CLI arguments
sourceraw docstring

ctx-configclj

(ctx-config config-map)
(ctx-config config-map not-found)

Application config

Application config
sourceraw docstring

ctx-config-filesclj

(ctx-config-files config-map)
(ctx-config-files config-map not-found)

Config file names

Config file names
sourceraw docstring

ctx-context-fileclj

(ctx-context-file config-map)
(ctx-context-file config-map not-found)

Context file name

Context file name
sourceraw docstring

ctx-deinitclj

(ctx-deinit config-map)
(ctx-deinit config-map not-found)

Functions [(fn []) ..] to deinitialize the app

Functions [(fn []) ..] to deinitialize the app
sourceraw docstring

ctx-exit?clj

(ctx-exit? config-map)
(ctx-exit? config-map not-found)

Whether break out of all inducer levels

Whether break out of all inducer levels
sourceraw docstring

ctx-health-checkclj

(ctx-health-check config-map)
(ctx-health-check config-map not-found)

Health check functions [(fn []) ..]

Health check functions [(fn []) ..]
sourceraw docstring

ctx-inducersclj

(ctx-inducers config-map)
(ctx-inducers config-map not-found)

Vector of inducer fns or fully qualified names

Vector of inducer fns or fully qualified names
sourceraw docstring

ctx-launch?clj

(ctx-launch? config-map)
(ctx-launch? config-map not-found)

Whether invoke launcher fn

Whether invoke launcher fn
sourceraw docstring

ctx-launchersclj

(ctx-launchers config-map)
(ctx-launchers config-map not-found)

Fully qualified launcher fn names

Fully qualified launcher fn names
sourceraw docstring

ctx-runtime-infoclj

(ctx-runtime-info config-map)
(ctx-runtime-info config-map not-found)

Runtime-info functions [(fn []) ..]

Runtime-info functions [(fn []) ..]
sourceraw docstring

ctx-shutdown-hooksclj

(ctx-shutdown-hooks config-map)
(ctx-shutdown-hooks config-map not-found)

Added shutdown hook threads

Added shutdown hook threads
sourceraw docstring

ctx-stopperclj

(ctx-stopper config-map)
(ctx-stopper config-map not-found)

Function (fn []) to stop the started application

Function (fn []) to stop the started application
sourceraw docstring

ctx-verbose?clj

(ctx-verbose? config-map)
(ctx-verbose? config-map not-found)

Verbose initialization?

Verbose initialization?
sourceraw docstring

discover-configclj

(discover-config context discovery-key f)

Discover non-nil config for given discovery-key using supplied function (fn [key-path]) -> context and put into the config under given context if not already populated. Return potentially updated context.

Discover non-nil config for given discovery-key using supplied function `(fn [key-path]) -> context` and put into
the config under given context if not already populated. Return potentially updated context.
sourceraw docstring

induce-exitclj

(induce-exit context)
(induce-exit context exit-code)

Update given context with {:bract.core/exit? true} to bail out of the inducer-chain at all levels. Optionally, add application exit code when exiting inducer chain.

Update given context with `{:bract.core/exit? true}` to bail out of the inducer-chain at all levels. Optionally, add
application exit code when exiting inducer chain.
sourceraw docstring

(print-config config config-filenames)

Print the given config using the format determined from the supplied config file names.

Print the given config using the format determined from the supplied config file names.
sourceraw docstring

resolve-configclj

(resolve-config context config-filenames)

Given a collection of config filenames, read and resolve config as a map and return it.

Given a collection of config filenames, read and resolve config as a map and return it.
sourceraw docstring

resolve-contextclj

(resolve-context context context-filename)

Given a context filename, read and resolve as a map and merge into the current context.

Given a context filename, read and resolve as a map and merge into the current context.
sourceraw docstring

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

× close