Documentation ¶
Index ¶
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(session flows.Session, data json.RawMessage) (flows.RunSummary, error)
ReadRunSummary reads a run summary from the given JSON
Types ¶
Click to show internal directories.
Click to hide internal directories.