Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackExecutor ¶
type CallbackExecutor struct {
// contains filtered or unexported fields
}
func NewCallbackExecutor ¶
func (*CallbackExecutor) ProcessCallbacks ¶
func (cbx *CallbackExecutor) ProcessCallbacks(cbs Callbacks, wfProps *WorkflowProperties) error
type CallbackMap ¶
type CallbackMap map[string]map[states.FinalState]Callbacks
func MapConfigCallbacks ¶
func MapConfigCallbacks(sc *config.SwoopConfig) CallbackMap
func (CallbackMap) Lookup ¶
func (cm CallbackMap) Lookup(wfName string, status states.FinalState) (Callbacks, bool)
type WorkflowProperties ¶
type WorkflowProperties struct { StartedAt time.Time `json:"startedAt"` FinishedAt time.Time `json:"finishedAt"` Uuid uuid.UUID `json:"uuid"` Name string `json:"name"` Status states.WorkflowState `json:"status"` ErrorMsg string `json:"error"` }
func (*WorkflowProperties) LookupName ¶
func (*WorkflowProperties) ToEndEvent ¶
func (p *WorkflowProperties) ToEndEvent() *db.Event
func (*WorkflowProperties) ToStartEvent ¶
func (p *WorkflowProperties) ToStartEvent() *db.Event
Click to show internal directories.
Click to hide internal directories.