Versions in this module Expand all Collapse all v0 v0.1.0 Sep 26, 2026 Changes in this version + type Engine struct + Handlers map[string]Handler + Store Store + func (e Engine) Run(ctx context.Context, run Run) (Run, error) + type Graph struct + ID string + Nodes []Node + Revision uint64 + func (g Graph) TopologicalOrder() ([]Node, error) + type Handler interface + Execute func(context.Context, execution.Identity, Node) (artifactDigest string, failureCode string, err error) + type HandlerFunc func(context.Context, execution.Identity, Node) (string, string, error) + func (f HandlerFunc) Execute(ctx context.Context, owner execution.Identity, node Node) (string, string, error) + type MemoryStore struct + func NewMemoryStore() *MemoryStore + func (s *MemoryStore) CompareAndSwap(ctx context.Context, owner execution.Identity, id string, expected uint64, ...) (Run, error) + func (s *MemoryStore) Create(ctx context.Context, run Run) (Run, error) + func (s *MemoryStore) Get(ctx context.Context, owner execution.Identity, id string) (Run, bool, error) + type Node struct + DependsOn []string + ID string + InputDigest string + Kind string + type NodeResult struct + ArtifactDigest string + FailureCode string + State NodeState + UpdatedAt time.Time + type NodeState string + const NodeFailed + const NodeIndeterminate + const NodePending + const NodeRunning + const NodeSkipped + const NodeSucceeded + type Run struct + Graph Graph + ID string + Nodes map[string]NodeResult + Owner execution.Identity + Revision uint64 + type Store interface + CompareAndSwap func(context.Context, execution.Identity, string, uint64, string, NodeResult) (Run, error) + Create func(context.Context, Run) (Run, error) + Get func(context.Context, execution.Identity, string) (Run, bool, error)