Documentation
¶
Overview ¶
Package headgateworkflow implements durable DAG dependencies as an opt-in layer over headgate's ordinary pending jobs. It adds no driver dependency to core.
Index ¶
Constants ¶
View Source
const (
CoordinatorKind = "headgate:workflow"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterCoordinator ¶
func RegisterCoordinator(registry *headgate.Registry, inspect headgate.InspectStore, poll time.Duration) error
RegisterCoordinator installs the durable dependency resolver. Each tick performs one bounded point read per node; it never scans queue depth.
Types ¶
type CoordinatorArgs ¶
type CoordinatorArgs struct {
WorkflowID string `json:"workflow_id"`
Nodes []nodeSpec `json:"nodes"`
}
func (CoordinatorArgs) Kind ¶
func (CoordinatorArgs) Kind() string
Click to show internal directories.
Click to hide internal directories.