Documentation ¶
Index ¶
- func ApplyTaskDataOutput(element schema.BaseElementInterface, dataOutputs map[string]any) map[string]data.IItem
- func FetchTaskDataInput(locator data.IFlowDataLocator, element schema.BaseElementInterface) (headers, dataSets, dataObjects map[string]any)
- type ActiveBoundaryTrace
- type Activity
- type Constructor
- type DoOption
- type DoResponse
- type Harness
- func (node *Harness) Activity() Activity
- func (node *Harness) ConsumeEvent(ev event.IEvent) (result event.ConsumptionResult, err error)
- func (node *Harness) Element() schema.FlowNodeInterface
- func (node *Harness) NextAction(flow flow_interface.T) chan flow_node.IAction
- func (node *Harness) RegisterEventConsumer(consumer event.IConsumer) (err error)
- type Trace
- type TraceBuilder
- func (b *TraceBuilder) Activity(activity Activity) *TraceBuilder
- func (b *TraceBuilder) Build() *Trace
- func (b *TraceBuilder) Context(ctx context.Context) *TraceBuilder
- func (b *TraceBuilder) DataObjects(dataObjects map[string]any) *TraceBuilder
- func (b *TraceBuilder) Headers(headers map[string]any) *TraceBuilder
- func (b *TraceBuilder) Properties(properties map[string]any) *TraceBuilder
- func (b *TraceBuilder) Response(ch chan DoResponse) *TraceBuilder
- func (b *TraceBuilder) Value(key, value any) *TraceBuilder
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyTaskDataOutput ¶ added in v0.2.0
func FetchTaskDataInput ¶ added in v0.2.0
func FetchTaskDataInput(locator data.IFlowDataLocator, element schema.BaseElementInterface) (headers, dataSets, dataObjects map[string]any)
Types ¶
type ActiveBoundaryTrace ¶
type ActiveBoundaryTrace struct { Start bool Node schema.FlowNodeInterface }
func (ActiveBoundaryTrace) TraceInterface ¶
func (b ActiveBoundaryTrace) TraceInterface()
type Activity ¶
type Activity interface { flow_node.IFlowNode Type() Type // Cancel initiates a cancellation of activity and returns a channel // that will signal a boolean (`true` if cancellation was successful, // `false` otherwise) Cancel() <-chan bool }
Activity is a generic interface to flow nodes that are activities
type DoOption ¶ added in v0.7.4
type DoOption func(*DoResponse)
func WithErrHandle ¶ added in v0.7.4
func WithErrHandle(err error, ch <-chan flow_node.ErrHandler) DoOption
func WithObjects ¶ added in v0.7.4
func WithProperties ¶ added in v0.7.4
type DoResponse ¶ added in v0.7.4
type Harness ¶
func NewHarness ¶
func (*Harness) ConsumeEvent ¶
func (*Harness) Element ¶
func (node *Harness) Element() schema.FlowNodeInterface
func (*Harness) NextAction ¶
func (node *Harness) NextAction(flow flow_interface.T) chan flow_node.IAction
type Trace ¶ added in v0.7.4
type Trace struct {
// contains filtered or unexported fields
}
Trace describes common channel handler for all tasks
func (*Trace) GetActivity ¶ added in v0.7.4
func (*Trace) GetDataObjects ¶ added in v0.7.4
func (*Trace) GetHeaders ¶ added in v0.7.4
func (*Trace) GetProperties ¶ added in v0.7.4
func (*Trace) TraceInterface ¶ added in v0.7.4
func (t *Trace) TraceInterface()
type TraceBuilder ¶ added in v0.7.4
type TraceBuilder struct {
// contains filtered or unexported fields
}
func NewTraceBuilder ¶ added in v0.7.4
func NewTraceBuilder() *TraceBuilder
func (*TraceBuilder) Activity ¶ added in v0.7.4
func (b *TraceBuilder) Activity(activity Activity) *TraceBuilder
func (*TraceBuilder) Build ¶ added in v0.7.4
func (b *TraceBuilder) Build() *Trace
func (*TraceBuilder) Context ¶ added in v0.7.4
func (b *TraceBuilder) Context(ctx context.Context) *TraceBuilder
func (*TraceBuilder) DataObjects ¶ added in v0.7.4
func (b *TraceBuilder) DataObjects(dataObjects map[string]any) *TraceBuilder
func (*TraceBuilder) Headers ¶ added in v0.7.4
func (b *TraceBuilder) Headers(headers map[string]any) *TraceBuilder
func (*TraceBuilder) Properties ¶ added in v0.7.4
func (b *TraceBuilder) Properties(properties map[string]any) *TraceBuilder
func (*TraceBuilder) Response ¶ added in v0.7.4
func (b *TraceBuilder) Response(ch chan DoResponse) *TraceBuilder
func (*TraceBuilder) Value ¶ added in v0.7.4
func (b *TraceBuilder) Value(key, value any) *TraceBuilder
Click to show internal directories.
Click to hide internal directories.