core

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkflowInstance

type WorkflowInstance struct {
	InstanceID string `json:"instance_id,omitempty"`

	ParentInstanceID string `json:"parent_instance,omitempty"`
	ParentEventID    int64  `json:"parent_event_id,omitempty"`
}

func NewSubWorkflowInstance

func NewSubWorkflowInstance(instanceID string, parentInstanceID string, parentEventID int64) *WorkflowInstance

func NewWorkflowInstance

func NewWorkflowInstance(instanceID string) *WorkflowInstance

func (*WorkflowInstance) SubWorkflow

func (wi *WorkflowInstance) SubWorkflow() bool

type WorkflowInstanceState added in v0.6.0

type WorkflowInstanceState int
const (
	WorkflowInstanceStateActive WorkflowInstanceState = iota
	WorkflowInstanceStateFinished
)

type WorkflowMetadata added in v0.4.0

type WorkflowMetadata map[string]string

func (WorkflowMetadata) Get added in v0.4.0

func (wim WorkflowMetadata) Get(key string) string

func (WorkflowMetadata) Keys added in v0.4.0

func (wim WorkflowMetadata) Keys() []string

func (WorkflowMetadata) Set added in v0.4.0

func (wim WorkflowMetadata) Set(key string, value string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL