temporal

package
v0.0.0-...-ebb33e4 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTemporalWorkflow

func NewTemporalWorkflow(logger logger.Logger) workflows.Workflow

NewTemporalWorkflow returns a new workflow.

Types

type TemporalWF

type TemporalWF struct {
	// contains filtered or unexported fields
}

func (*TemporalWF) Close

func (c *TemporalWF) Close()

func (*TemporalWF) Get

func (*TemporalWF) GetComponentMetadata

func (c *TemporalWF) GetComponentMetadata() map[string]string

func (*TemporalWF) Init

func (c *TemporalWF) Init(metadata workflows.Metadata) error

func (*TemporalWF) Pause

func (*TemporalWF) RaiseEvent

func (c *TemporalWF) RaiseEvent(ctx context.Context, req *workflows.RaiseEventRequest) error

func (*TemporalWF) Resume

func (*TemporalWF) Start

func (*TemporalWF) Terminate

func (c *TemporalWF) Terminate(ctx context.Context, req *workflows.WorkflowReference) error

Jump to

Keyboard shortcuts

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