Documentation ¶
Index ¶
- Variables
- func NewRun(session flows.Session, flow flows.Flow, parent flows.FlowRun) flows.FlowRun
- func NewStep(node flows.Node, arrivedOn time.Time) flows.Step
- func ReadRun(session flows.Session, data json.RawMessage) (flows.FlowRun, error)
- func ReadRunSummary(sessionAssets flows.SessionAssets, data json.RawMessage, ...) (flows.RunSummary, error)
- type Path
Constants ¶
This section is empty.
Variables ¶
View Source
var RunContextTopLevels = []string{
"run",
"child",
"parent",
"contact",
"input",
"results",
"trigger",
"legacy_extra",
}
RunContextTopLevels are the allowed top-level variables for expression evaluations
Functions ¶
func ReadRun ¶
ReadRun decodes a run from the passed in JSON. Parent run UUID is returned separately as the run in question might be loaded yet from the session.
func ReadRunSummary ¶ added in v0.8.0
func ReadRunSummary(sessionAssets flows.SessionAssets, data json.RawMessage, missing assets.MissingCallback) (flows.RunSummary, error)
ReadRunSummary reads a run summary from the given JSON
Types ¶
Click to show internal directories.
Click to hide internal directories.