envoy.core

Core environment handling namespace.

accesses

Atom containing access counts for all environment maps.

declare-env-var!

(declare-env-var! env-key properties)

Helper function for the defenv macro. Declares properties for an environment variable, checking various schema attributes.

defenv

macro

(defenv env-key description & {:as opts})

Define a new environment variable used by the system.

env

Global default environment map as loaded by environ.core.

known-vars

Map of environment keywords to a definition map which may contain a :description and optionally a :type for auto-coercion.

set-env!

(set-env! var-key value & kvs)

Updates the global environment map with a new value for the given variable. This should generally only be used from a REPL, and will not affect the actual system environment!

variable-schema

Simple key->predicate schema for variable definitions.