Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileFile ¶
func CompileFile(path string, opts Options) (*compiler.CompiledWorkflow, error)
CompileFile loads, validates, resolves secrets, and compiles a workflow file without starting it.
Types ¶
type Options ¶
type Options struct {
// BaseDataDir is passed to compiler.Compiler for derived
// state/checkpoint directories.
BaseDataDir string
// Secrets resolves ${VAR} references in sensitive connection fields.
// Defaults to secrets.Environment.
Secrets secrets.SecretResolver
}
Options configures workflow compilation and execution.
type RunResult ¶
type RunResult struct {
Name string
Graph compiler.PipelineGraph
Delivery compiler.DeliveryGuarantee
}
RunResult is the non-secret metadata for a completed workflow run.
Click to show internal directories.
Click to hide internal directories.