elixir

package
v0.0.0-...-d97b457 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package elixir is the planner of elixir projects.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckElixirEcto

func CheckElixirEcto(src afero.Fs) (string, error)

CheckElixirEcto returns true if Elixir is using Ecto.

func DetermineElixirFramework

func DetermineElixirFramework(src afero.Fs) (string, error)

DetermineElixirFramework returns the framework being used (e.g Phoenix).

func DetermineElixirVersion

func DetermineElixirVersion(src afero.Fs) (string, error)

DetermineElixirVersion returns the version of Elixir.

func GenerateDockerfile

func GenerateDockerfile(meta types.PlanMeta) (string, error)

GenerateDockerfile generates the Dockerfile for Elixir projects.

func NewIdentifier

func NewIdentifier() plan.Identifier

NewIdentifier returns a new Elixir identifier.

func NewPacker

func NewPacker() packer.Packer

NewPacker returns a new Dotnet packer.

Types

type TemplateContext

type TemplateContext struct {
	ElixirVer     string
	ElixirPhoenix bool
	ElixirEcto    bool
}

TemplateContext is the context for the Elixir Dockerfile template.

func (TemplateContext) Execute

func (c TemplateContext) Execute() (string, error)

Execute executes the template.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL