Documentation
¶
Overview ¶
Package revhold reads which step Function revisions open workflow runs hold (ADR-0190 Decision 7): the status.pins of every WorkflowRun in a namespace that is not terminal and not cancelled. It is read from the store at each retire or delete decision, never kept in a shared map, so the Function reconciler, the workflow materializer and the owner garbage collector each read the same truth.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Holds ¶
type Holds map[v1.ObjectName]map[v1.ObjectName]v1.UID
Holds maps a Function name to its held Revision names, each with the UID of the Function the pin names.
func (Holds) Revision ¶
func (h Holds) Revision(fn v1.ObjectName, uid v1.UID, rev v1.ObjectName) bool
Revision reports whether revision rev of the Function fn with uid is held.
Click to show internal directories.
Click to hide internal directories.