View Source Plumbery (plumbery v0.1.0)
Module Plumbery provides a DSL for building pipelines.
Basic concepts are as follows:
requestis a struct that is passed beetween pipespipeis a function that accepts a struct and returns a struct, normally of the same kindpipelineis a pipe composed of other pipes. The request moves through the pipeline one pipe at a time and each pipe has an opportunity to halt the pipeline. After a pipeline is halted, the request is returned from the pipeline without going through subsequent pipes in the pipelineinletis a function that accepts zero or more arguments and returns a request. Useful for API entry points that accept arbitrary arguments and convert them to a request
Options
:extensions(list of module that adoptsSpark.Dsl.Extension) - A list of DSL extensions to add to theSpark.Dsl:otp_app(atom/0) - The otp_app to use for any application configurable options:fragments(list ofmodule/0) - Fragments to include in theSpark.Dsl. See the fragments guide for more.