pipeline

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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

func Bundle

func Bundle(_ map[string]string) core.Bundle

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL