View Source Divo.Helper (divo v2.0.0)

Extract common key-fetching functionality used by all of the mix tasks to construct the proper arguments to the docker commands.

Link to this section Summary

Functions

Returns the configuration for divo from the environment config exs file that defines the container services to run or the path to the config given an existing compose file.

Returns the name of the calling app from the mix config.

Link to this section Functions

@spec fetch_config() :: map() | String.t() | [tuple()]

Returns the configuration for divo from the environment config exs file that defines the container services to run or the path to the config given an existing compose file.

@spec fetch_name() :: atom()

Returns the name of the calling app from the mix config.