Documentation
¶
Overview ¶
Package workflow provides an optional, deterministic DAG executor. It is separate from execution so hosts that only need single-run orchestration do not inherit workflow scheduling semantics.
Index ¶
- type Engine
- type Graph
- type Handler
- type HandlerFunc
- type 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
- type NodeResult
- type NodeState
- type Run
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Graph ¶
type Graph struct {
ID string `json:"id"`
Revision uint64 `json:"revision"`
Nodes []Node `json:"nodes"`
}
func (Graph) TopologicalOrder ¶
type HandlerFunc ¶
type MemoryStore ¶
type MemoryStore struct {
// contains filtered or unexported fields
}
func NewMemoryStore ¶
func NewMemoryStore() *MemoryStore
func (*MemoryStore) CompareAndSwap ¶
type NodeResult ¶
Click to show internal directories.
Click to hide internal directories.