View Source Smokestack.Dsl (smokestack v0.4.2)

The DSL definition for the Smokestack DSL.

DSL Documentation

Index

  • smokestack
    • factory
      • attribute

Docs

smokestack


  • :api (atom/0) - The default Ash API to use when evaluating loads

factory

Define factories for a resource

* attribute
  • :api (atom/0) - The Ash API to use when evaluating loads

  • :resource (atom/0) - Required. An Ash Resource

  • :variant (atom/0) - The name of a factory variant The default value is :default.

attribute
  • :name (atom/0) - Required. The name of the target attribute

  • :generator - Required. A function which can generate an appropriate value for the attribute.œ