distillery v2.1.1 Distillery.Releases.App View Source
Represents important metadata about a given application.
Link to this section Summary
Functions
Create a new Application struct from an application name
Same as new/1, but specify the application's start type
Determines if the provided start type is a valid one.
Link to this section Types
Link to this type
start_type()
View Source
start_type()
View Source
start_type() :: :permanent | :temporary | :transient | :load | :none
start_type() :: :permanent | :temporary | :transient | :load | :none
Link to this section Functions
Link to this function
new(name)
View Source
new(name)
View Source
new(atom()) :: nil | Distillery.Releases.App.t() | {:error, String.t()}
new(atom()) :: nil | Distillery.Releases.App.t() | {:error, String.t()}
Create a new Application struct from an application name
Link to this function
new(name, start_type)
View Source
new(name, start_type)
View Source
new(atom(), start_type() | nil) ::
nil | Distillery.Releases.App.t() | {:error, String.t()}
new(atom(), start_type() | nil) :: nil | Distillery.Releases.App.t() | {:error, String.t()}
Same as new/1, but specify the application's start type
Link to this function
valid_start_type?(start_type) View Source
Determines if the provided start type is a valid one.