Versions in this module Expand all Collapse all v1 v1.0.0 Nov 12, 2020 Changes in this version + type Action struct + ActionDataFilter *Actiondatafilter + EventRef *Eventref + FunctionRef *Functionref + Name *string + Timeout *string + type Actiondatafilter struct + DataInputPath *string + DataResultsPath *string + type Branch struct + Actions []Action + Name *string + WorkflowId *string + type Callbackstate struct + Action *Action + DataInputSchema *string + DataOutputSchema *string + End *End + EventDataFilter *Eventdatafilter + EventRef *string + Id *string + Metadata Metadata_1 + Name *string + OnErrors []Error + Start *Start + StateDataFilter *Statedatafilter + Timeout *string + Transition *Transition + Type *string + func (j Callbackstate) GetDataInputSchema() string + func (j Callbackstate) GetDataOutputSchema() string + func (j Callbackstate) GetId() string + func (j Callbackstate) GetMetadata() Metadata_1 + func (j Callbackstate) GetName() string + func (j Callbackstate) GetStart() Start + func (j Callbackstate) GetStateDataFilter() Statedatafilter + func (j Callbackstate) GetType() string + type Common map[string]interface + type CorrelationDef struct + ContextAttributeName string + ContextAttributeValue *string + func (j *CorrelationDef) UnmarshalJSON(b []byte) error + type Databasedswitch struct + DataConditions []DatabasedswitchDataConditionsElem + DataInputSchema *string + DataOutputSchema *string + Default *Defaultdef + Id *string + Metadata Metadata_1 + Name *string + OnErrors []Error + Start *Start + StateDataFilter *Statedatafilter + Type *string + func (j *Databasedswitch) UnmarshalJSON(data []byte) error + func (j Databasedswitch) GetDataInputSchema() string + func (j Databasedswitch) GetDataOutputSchema() string + func (j Databasedswitch) GetId() string + func (j Databasedswitch) GetMetadata() Metadata_1 + func (j Databasedswitch) GetName() string + func (j Databasedswitch) GetStart() Start + func (j Databasedswitch) GetStateDataFilter() Statedatafilter + func (j Databasedswitch) GetType() string + type DatabasedswitchDataConditionsElem interface + type Datacondition interface + type Defaultdef struct + End *End + Transition *Transition + type Delaystate struct + DataInputSchema *string + DataOutputSchema *string + End *End + Id *string + Metadata Metadata_1 + Name *string + OnErrors []Error + Start *Start + StateDataFilter *Statedatafilter + TimeDelay *string + Transition *Transition + Type *string + func (j Delaystate) GetDataInputSchema() string + func (j Delaystate) GetDataOutputSchema() string + func (j Delaystate) GetId() string + func (j Delaystate) GetMetadata() Metadata_1 + func (j Delaystate) GetName() string + func (j Delaystate) GetStart() Start + func (j Delaystate) GetStateDataFilter() Statedatafilter + func (j Delaystate) GetType() string + type End struct + Kind *EndKind + ProduceEvents []Produceeventdef + type EndKind string + const EndKindDefault + const EndKindEvent + const EndKindTerminate + func (j *EndKind) UnmarshalJSON(b []byte) error + type Enddatacondition struct + Condition string + End End + Name *string + func (j *Enddatacondition) UnmarshalJSON(b []byte) error + type Enddeventcondition struct + End *End + EventRef string + Name *string + func (j *Enddeventcondition) UnmarshalJSON(b []byte) error + type Error struct + Code *string + End *End + Error *string + RetryRef *string + Transition *Transition + type Errordatafilter struct + DataOutputPath *string + type Eventbasedswitch struct + DataInputSchema *string + DataOutputSchema *string + Default *Defaultdef + EventConditions []EventbasedswitchEventConditionsElem + EventTimeout *string + Id *string + Metadata Metadata_1 + Name *string + OnErrors []Error + Start *Start + StateDataFilter *Statedatafilter + Type *string + func (j *Eventbasedswitch) UnmarshalJSON(data []byte) error + func (j Eventbasedswitch) GetDataInputSchema() string + func (j Eventbasedswitch) GetDataOutputSchema() string + func (j Eventbasedswitch) GetId() string + func (j Eventbasedswitch) GetMetadata() Metadata_1 + func (j Eventbasedswitch) GetName() string + func (j Eventbasedswitch) GetStart() Start + func (j Eventbasedswitch) GetStateDataFilter() Statedatafilter + func (j Eventbasedswitch) GetType() string + type EventbasedswitchEventConditionsElem interface + type Eventcondition interface + type Eventdatafilter struct + DataOutputPath *string + type Eventdef struct + Correlation []CorrelationDef + Kind EventdefKind + Metadata Metadata_1 + Name *string + Names []string + Source *string + Type *string + func (j *Eventdef) UnmarshalJSON(b []byte) error + type EventdefKind string + const EventdefKindConsumed + const EventdefKindProduced + func (j *EventdefKind) UnmarshalJSON(b []byte) error + type Eventref struct + ContextAttributes EventrefContextAttributes + Data interface{} + ResultEventRef string + TriggerEventRef string + func (j *Eventref) UnmarshalJSON(b []byte) error + type EventrefContextAttributes map[string]interface + type Events map[string]interface + type Eventstate struct + DataInputSchema *string + DataOutputSchema *string + End *End + Exclusive bool + Id *string + Metadata Metadata_1 + Name *string + OnErrors []Error + OnEvents []Onevents + Start *Start + StateDataFilter *Statedatafilter + Timeout *string + Transition *Transition + Type *string + func (j *Eventstate) UnmarshalJSON(b []byte) error + func (j Eventstate) GetDataInputSchema() string + func (j Eventstate) GetDataOutputSchema() string + func (j Eventstate) GetId() string + func (j Eventstate) GetMetadata() Metadata_1 + func (j Eventstate) GetName() string + func (j Eventstate) GetStart() Start + func (j Eventstate) GetStateDataFilter() Statedatafilter + func (j Eventstate) GetType() string + type Foreachstate struct + Actions []Action + DataInputSchema *string + DataOutputSchema *string + End *End + Id *string + InputCollection *string + IterationParam *string + Max interface{} + Metadata Metadata_1 + Name *string + OnErrors []Error + OutputCollection *string + Start *Start + StateDataFilter *Statedatafilter + Transition *Transition + Type *string + WorkflowId *string + func (j Foreachstate) GetDataInputSchema() string + func (j Foreachstate) GetDataOutputSchema() string + func (j Foreachstate) GetId() string + func (j Foreachstate) GetMetadata() Metadata_1 + func (j Foreachstate) GetName() string + func (j Foreachstate) GetStart() Start + func (j Foreachstate) GetStateDataFilter() Statedatafilter + func (j Foreachstate) GetType() string + type Function struct + Metadata Metadata_1 + Name string + Operation *string + func (j *Function) UnmarshalJSON(b []byte) error + type Functionref struct + Parameters FunctionrefParameters + RefName string + func (j *Functionref) UnmarshalJSON(b []byte) error + type FunctionrefParameters map[string]interface + type Functions map[string]interface + type Injectstate struct + Data InjectstateData + DataInputSchema *string + DataOutputSchema *string + End *End + Id *string + Metadata Metadata_1 + Name *string + Start *Start + StateDataFilter *Statedatafilter + Transition *Transition + Type *string + func (j Injectstate) GetDataInputSchema() string + func (j Injectstate) GetDataOutputSchema() string + func (j Injectstate) GetId() string + func (j Injectstate) GetMetadata() Metadata_1 + func (j Injectstate) GetName() string + func (j Injectstate) GetStart() Start + func (j Injectstate) GetStateDataFilter() Statedatafilter + func (j Injectstate) GetType() string + type InjectstateData map[string]interface + type Metadata map[string]interface + type Metadata_1 map[string]interface + type Onevents struct + ActionMode OneventsActionMode + Actions []Action + EventDataFilter *Eventdatafilter + EventRefs []string + func (j *Onevents) UnmarshalJSON(b []byte) error + type OneventsActionMode string + const OneventsActionModeParallel + const OneventsActionModeSequential + func (j *OneventsActionMode) UnmarshalJSON(b []byte) error + type Operationstate struct + ActionMode OperationstateActionMode + Actions []Action + DataInputSchema *string + DataOutputSchema *string + End *End + Id *string + Metadata Metadata_1 + Name *string + OnErrors []Error + Start *Start + StateDataFilter *Statedatafilter + Transition *Transition + Type *string + func (j *Operationstate) UnmarshalJSON(b []byte) error + func (j Operationstate) GetDataInputSchema() string + func (j Operationstate) GetDataOutputSchema() string + func (j Operationstate) GetId() string + func (j Operationstate) GetMetadata() Metadata_1 + func (j Operationstate) GetName() string + func (j Operationstate) GetStart() Start + func (j Operationstate) GetStateDataFilter() Statedatafilter + func (j Operationstate) GetType() string + type OperationstateActionMode string + const OperationstateActionModeParallel + const OperationstateActionModeSequential + func (j *OperationstateActionMode) UnmarshalJSON(b []byte) error + type Parallelstate struct + Branches []Branch + CompletionType ParallelstateCompletionType + DataInputSchema *string + DataOutputSchema *string + End *End + Id *string + Metadata Metadata_1 + N interface{} + Name *string + OnErrors []Error + Start *Start + StateDataFilter *Statedatafilter + Transition *Transition + Type *string + func (j *Parallelstate) UnmarshalJSON(b []byte) error + func (j Parallelstate) GetDataInputSchema() string + func (j Parallelstate) GetDataOutputSchema() string + func (j Parallelstate) GetId() string + func (j Parallelstate) GetMetadata() Metadata_1 + func (j Parallelstate) GetName() string + func (j Parallelstate) GetStart() Start + func (j Parallelstate) GetStateDataFilter() Statedatafilter + func (j Parallelstate) GetType() string + type ParallelstateCompletionType string + const ParallelstateCompletionTypeAnd + const ParallelstateCompletionTypeNOfM + const ParallelstateCompletionTypeXor + func (j *ParallelstateCompletionType) UnmarshalJSON(b []byte) error + type Produceeventdef struct + ContextAttributes ProduceeventdefContextAttributes + Data interface{} + EventRef string + func (j *Produceeventdef) UnmarshalJSON(b []byte) error + type ProduceeventdefContextAttributes map[string]interface + type Schedule struct + Cron *string + DirectInvoke *ScheduleDirectInvoke + Interval *string + Timezone *string + type ScheduleDirectInvoke string + const ScheduleDirectInvokeAllow + const ScheduleDirectInvokeDeny + func (j *ScheduleDirectInvoke) UnmarshalJSON(b []byte) error + type Start struct + Kind *StartKind + Schedule *Schedule + type StartKind string + const StartKindDefault + const StartKindScheduled + func (j *StartKind) UnmarshalJSON(b []byte) error + type State interface + GetDataInputSchema func() string + GetDataOutputSchema func() string + GetId func() string + GetMetadata func() Metadata_1 + GetName func() string + GetStart func() Start + GetStateDataFilter func() Statedatafilter + GetType func() string + type Statedatafilter struct + DataInputPath *string + DataOutputPath *string + type Subflowstate struct + DataInputSchema *string + DataOutputSchema *string + End *End + Id *string + Metadata Metadata_1 + Name *string + OnErrors []Error + Start *Start + StateDataFilter *Statedatafilter + Transition *Transition + Type *string + WaitForCompletion bool + WorkflowId *string + func (j *Subflowstate) UnmarshalJSON(b []byte) error + func (j Subflowstate) GetDataInputSchema() string + func (j Subflowstate) GetDataOutputSchema() string + func (j Subflowstate) GetId() string + func (j Subflowstate) GetMetadata() Metadata_1 + func (j Subflowstate) GetName() string + func (j Subflowstate) GetStart() Start + func (j Subflowstate) GetStateDataFilter() Statedatafilter + func (j Subflowstate) GetType() string + type Switchstate interface + type Transition struct + Expression *string + NextState string + ProduceEvents []Produceeventdef + func (j *Transition) UnmarshalJSON(b []byte) error + type Transitiondatacondition struct + Condition string + Name *string + Transition Transition + func (j *Transitiondatacondition) UnmarshalJSON(b []byte) error + type Transitioneventcondition struct + EventRef string + Name *string + Transition Transition + func (j *Transitioneventcondition) UnmarshalJSON(b []byte) error + type Workflow struct + States []State + func (w *Workflow) UnmarshalJSON(data []byte) error + type WorkflowCommon struct + DataInputSchema string + DataOutputSchema string + Description string + Events []Eventdef + Functions []Function + ID string + Metadata Metadata + Name string + SchemaVersion string + Version string Other modules containing this package github.com/serverlessworkflow/sdk-go/v2