Documentation ¶
Index ¶
- func FormatRunSummary(env envs.Environment, run flows.RunSummary) string
- 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, missing assets.MissingCallback) (flows.FlowRun, error)
- func ReadRunSummary(sessionAssets flows.SessionAssets, data json.RawMessage, ...) (flows.RunSummary, error)
- type Path
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatRunSummary ¶ added in v0.50.0
func FormatRunSummary(env envs.Environment, run flows.RunSummary) string
FormatRunSummary formats an instance of the RunSummary interface
func ReadRun ¶
func ReadRun(session flows.Session, data json.RawMessage, missing assets.MissingCallback) (flows.FlowRun, error)
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.