View Source Spark.InfoGenerator (spark v1.1.44)
Used to dynamically generate configuration functions for Spark extensions based on their DSL.
Usage
defmodule MyConfig do
use Spark.InfoGenerator, extension: MyDslExtension, sections: [:my_section]
end
Summary
Functions
Given an extension and a list of DSL sections generate individual config functions for each option.
Given an extension and a list of DSL sections, generate an entities function which returns a list of entities.
Given an extension and a list of DSL sections, generate an options function which returns a map of all configured options for a resource (including defaults).
Types
Functions
Given an extension and a list of DSL sections generate individual config functions for each option.
Given an extension and a list of DSL sections, generate an entities function which returns a list of entities.
Given an extension and a list of DSL sections, generate an options function which returns a map of all configured options for a resource (including defaults).