Liking cljdoc? Tell your friends :D

clj-momo.properties


build-coercerclj

(build-coercer schema)
source

build-init-fnclj

(build-init-fn files schema properties-atom)

Build a function that will read a properties file, merge it with system properties, coerce and validate it, transform it into a nested map with keyword keys, and then store it in memory.

Build a function that will read a properties file, merge it with
system properties, coerce and validate it, transform it into a
nested map with keyword keys, and then store it in memory.
sourceraw docstring

coerce-propertiesclj

(coerce-properties schema properties-map)
source

debug-properties-by-sourceclj

(debug-properties-by-source schema files)
source

make-property-env-mapclj

(make-property-env-map schema)

Map of environment variable name to property name for the given schema

Map of environment variable name to property name for the given schema
sourceraw docstring

prop->envclj

(prop->env prop)

Convert a property name into an environment variable name

Convert a property name into an environment variable name
sourceraw docstring

properties-by-sourceclj

(properties-by-source schema files)
source

read-env-variablesclj

(read-env-variables schema)

Get a map of properties from environment variables

Get a map of properties from environment variables
sourceraw docstring

read-property-filesclj

(read-property-files files)

Read all the property files (that exist) and merge the properties into a single map

Read all the property files (that exist) and merge the properties
into a single map
sourceraw docstring

transformclj

(transform properties)

Convert a flat map of property->value into a nested map with keyword keys, splitting on '.'

Convert a flat map of property->value into a nested map with keyword
keys, splitting on '.'
sourceraw docstring

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

× close