Documentation
¶
Overview ¶
Package pipeline provides the `@pipeline NAME ... @end` directive. The block is stored in meta["pipelines"] and compiled into a sub-action mounted on the resolver by the Materialize step, so later pipelines can reference it by name.
Typical use:
@pipeline safe_fetch
fetch -> validate
@end
{ url: "https://x" } -> safe_fetch
Index ¶
Constants ¶
View Source
const ID = "pipeline"
Variables ¶
View Source
var Directive = core.Directive{
Name: "pipeline",
Example: "@pipeline pack\n src -> dst\n@end",
Handler: handleDirective,
}
Directive parses `@pipeline NAME ... @end` and stores the block body in meta["pipelines"][NAME]. Inline modifiers after the name are ignored.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.