Railyard v0.1.0 API Reference

Modules

Starts a Registry to map resource spec names to Railyard.Resource process IDs, and a DynamicSupervisor to supervise those processes.

The Railyard.Distillery module provides Railyard integration with Distillery, allowing the deployment lifecycle of an elixir app to be managed by Railyard.

Provides a distillery plugin for adding config management lifecycle commands to the distillery build, and optionally for uploading packages to a file host like S3.

Use Railyard.Dsl in a module to turn it into a resource module.

Creates and manages a file on the filesystem.

The protocol that a Railyard provider must implement in order to create resources of that type. See Railyard.Fs.File for a simple example.

You probably don't want to use this directly. The Railyard module creates and terminates resources processes on demand, depending on the specs that are given to it. Go look at the Railyard module first, and if you're still curious how this works, come back here.

Holds the template for a given resource. ResourceSpecs are data objects that, when combined with bindings, can be evaluated to produce a final value.

Provides a DSL for creating block templates, which can be hydrated with parameters.

Mix Tasks