K8SDeploy.Config (K8SDeploy v0.1.0) View Source

Stores config for base and plugins

Link to this section Summary

Functions

Name of the app

Get the build config key

Get the main config for a given key

Get the config key and raise if not found

Env vars for deployment

If automatic redirection from non-www to www version of site should happen

List of all hosts

Load the config from the application env

Selected MIX_ENV

Get the config for a given plugin and key

Get a list of plugins

Link to this section Functions

Name of the app

Link to this function

build_config(config, key)

View Source

Get the build config key

Link to this function

config(config, key, default \\ nil)

View Source

Get the main config for a given key

Get the config key and raise if not found

Env vars for deployment

Link to this function

from_to_www_redirect?(context)

View Source

If automatic redirection from non-www to www version of site should happen

List of all hosts

Link to this function

load_from_application_env(opts)

View Source

Load the config from the application env

Options

  • env - environment to be used. Defaults to prod

Selected MIX_ENV

Link to this function

plugin_config(context, plugin, key)

View Source

Get the config for a given plugin and key

Get a list of plugins