core

package
v0.0.0-...-25251a0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 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"`
	ExecutionID string `json:"execution_id,omitempty"`

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

func NewSubWorkflowInstance

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

func NewWorkflowInstance

func NewWorkflowInstance(instanceID, executionID string) *WorkflowInstance

func (*WorkflowInstance) SubWorkflow

func (wi *WorkflowInstance) SubWorkflow() bool

type WorkflowInstanceState

type WorkflowInstanceState int
const (
	WorkflowInstanceStateActive WorkflowInstanceState = iota
	WorkflowInstanceStateFinished
)

type WorkflowMetadata

type WorkflowMetadata map[string]string

func (WorkflowMetadata) Get

func (wim WorkflowMetadata) Get(key string) string

func (WorkflowMetadata) Keys

func (wim WorkflowMetadata) Keys() []string

func (WorkflowMetadata) Set

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