multiverses v0.5.0 Multiverses.Application View Source

This module is intended to be a drop-in replacement for Application.

When you drop this module in, functions relating to runtime environment variables have been substituted with equivalent macros that respect the Multiverse pattern.

Warning

This module is as dangerous as it is useful, so please make sure you know what you're doing before you use this. Always test your system in a staging system that has :use_multiverses unset, before deploying code that uses this module.

The functions calls which take options (:timeout, :persist) are not supported, since it's likely that if you're using these options, you're probably not in a situation where you need multiverses.

For the same reason, :get_all_env and :put_all_env are not supported and will default the Elixir standard.

Link to this section Summary

Functions

Link to this section Functions

Link to this macro

__compile_env__(p1, p2, p3, p4)

View Source (macro)

cloned from Application.__compile_env__/4

Link to this macro

__compile_env__!(p1, p2, p3)

View Source (macro)

cloned from Application.__compile_env__!/3

cloned from Application.app_dir/1

Link to this macro

app_dir(p1, p2)

View Source (macro)

cloned from Application.app_dir/2

Link to this macro

delete_env(app, key)

View Source (macro)
Link to this macro

delete_env(p1, p2, p3)

View Source (macro)

cloned from Application.delete_env/3

Link to this macro

ensure_all_started(p1)

View Source (macro)

cloned from Application.ensure_all_started/1

Link to this macro

ensure_all_started(p1, p2)

View Source (macro)

cloned from Application.ensure_all_started/2

Link to this macro

ensure_loaded(p1)

View Source (macro)

cloned from Application.ensure_loaded/1

Link to this macro

ensure_started(p1)

View Source (macro)

cloned from Application.ensure_started/1

Link to this macro

ensure_started(p1, p2)

View Source (macro)

cloned from Application.ensure_started/2

Link to this macro

fetch_env(app, key)

View Source (macro)
Link to this macro

fetch_env!(app, key)

View Source (macro)
Link to this macro

format_error(p1)

View Source (macro)

cloned from Application.format_error/1

Link to this macro

get_all_env(p1)

View Source (macro)

cloned from Application.get_all_env/1

Link to this macro

get_application(p1)

View Source (macro)

cloned from Application.get_application/1

Link to this macro

get_env(app, key)

View Source (macro)
Link to this macro

get_env(app, key, default)

View Source (macro)

cloned from Application.load/1

Link to this macro

loaded_applications()

View Source (macro)

cloned from Application.loaded_applications/0

Link to this macro

put_all_env(p1)

View Source (macro)

cloned from Application.put_all_env/1

Link to this macro

put_all_env(p1, p2)

View Source (macro)

cloned from Application.put_all_env/2

Link to this macro

put_env(app, key, value)

View Source (macro)
Link to this macro

put_env(p1, p2, p3, p4)

View Source (macro)

cloned from Application.put_env/4

cloned from Application.spec/1

cloned from Application.spec/2

cloned from Application.start/1

cloned from Application.start/2

Link to this macro

started_applications()

View Source (macro)

cloned from Application.started_applications/0

Link to this macro

started_applications(p1)

View Source (macro)

cloned from Application.started_applications/1

cloned from Application.stop/1

cloned from Application.unload/1