Expand description
Core types and traits used to create and work with flowey nodes.
Modules§
- Node types which are considered “user facing”, and re-exported in the
flowey
crate.
Structs§
- Read a custom, user-defined secret by passing in the secret name.
- Context passed to
FlowNode::imports
. - Context object for a
FlowNode
. - Cheap handle to a registered
FlowNode
- Read a value from a flowey Var at runtime, returning the value written by the Var’s corresponding
WriteVar
. - Context object for an individual step.
- Write a value into a flowey Var at runtime, which can then be read via a corresponding
ReadVar
.
Enums§
- What architecture the flow is being running on.
- What backend the flow is being running on.
- What platform the flow is being running on.
- The kind platform the flow is being running on, Windows or Unix.
- The kind platform the flow is being running on, Windows or Unix.
- Uninhabited type corresponding to a step which performs a side-effect, without returning a specific value.
Traits§
- Claim one or more flowey Vars for a particular step.
- TODO: clearly verbalize what a
FlowNode
encompasses - The base underlying implementation of all FlowNode variants.
- A “glue” trait which improves
NodeCtx::req
ergonomics, by tying a particularRequest
type to its correspondingFlowNode
. - A helper trait to streamline implementing
FlowNode
instances that only ever operate on a single request at a time. - Check if
ReadVar
/WriteVar
instances are backed by the same underlying flowey Var.
Functions§
- DANGER: obtain a
ReadVar
backing variable and secret status. - DANGER: obtain a handle to a
ReadVar
“out of thin air”. - DANGER: obtain a handle to a
WriteVar
“out of thin air”.