add_defaults/2 | adds default values from the schema when something's not defined in the Conf, to give a complete app.config. |
find_mapping/2 | |
map/2 | |
map/3 | |
minimal_map/2 | Generates an Erlang config that only includes the settings encompassed by the passed Config, excluding defaults from the schema for unspecified settings. |
add_defaults(Conf, Mappings) -> any()
adds default values from the schema when something's not defined in the Conf, to give a complete app.config
find_mapping(Variable, Mappings) -> any()
map(Schema::cuttlefish_schema:schema(), Config::cuttlefish_conf:conf()) -> [proplists:property()] | {error, atom(), cuttlefish_error:errorlist()}
map(Schema::cuttlefish_schema:schema(), Config::cuttlefish_conf:conf(), ParsedArgs::[proplists:property()]) -> [proplists:property()] | {error, atom(), cuttlefish_error:errorlist()}
minimal_map(X1::cuttlefish_schema:schema(), Config::cuttlefish_conf:conf()) -> [proplists:property()] | {error, atom(), cuttlefish_error:errorlist()}
Generates an Erlang config that only includes the settings encompassed by the passed Config, excluding defaults from the schema for unspecified settings.
Generated by EDoc