Documentation ¶
Overview ¶
Package elixir is the planner of elixir projects.
Index ¶
- func CheckElixirEcto(src afero.Fs) (string, error)
- func DetermineElixirFramework(src afero.Fs) (string, error)
- func DetermineElixirVersion(src afero.Fs) (string, error)
- func GenerateDockerfile(meta types.PlanMeta) (string, error)
- func NewIdentifier() plan.Identifier
- func NewPacker() packer.Packer
- type TemplateContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckElixirEcto ¶
CheckElixirEcto returns true if Elixir is using Ecto.
func DetermineElixirFramework ¶
DetermineElixirFramework returns the framework being used (e.g Phoenix).
func DetermineElixirVersion ¶
DetermineElixirVersion returns the version of Elixir.
func GenerateDockerfile ¶
GenerateDockerfile generates the Dockerfile for Elixir projects.
func NewIdentifier ¶
func NewIdentifier() plan.Identifier
NewIdentifier returns a new Elixir identifier.
Types ¶
type TemplateContext ¶
TemplateContext is the context for the Elixir Dockerfile template.
func (TemplateContext) Execute ¶
func (c TemplateContext) Execute() (string, error)
Execute executes the template.
Click to show internal directories.
Click to hide internal directories.