temporal

package
v1.12.9 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 11 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 added in v1.11.0

func (c *TemporalWF) GetComponentMetadata() (metadataInfo metadata.MetadataMap)

func (*TemporalWF) Init

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

func (*TemporalWF) Pause added in v1.11.0

func (c *TemporalWF) Pause(ctx context.Context, req *workflows.PauseRequest) error

func (*TemporalWF) Purge added in v1.11.0

func (c *TemporalWF) Purge(ctx context.Context, req *workflows.PurgeRequest) error

func (*TemporalWF) RaiseEvent added in v1.11.0

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

func (*TemporalWF) Resume added in v1.11.0

func (c *TemporalWF) Resume(ctx context.Context, req *workflows.ResumeRequest) error

func (*TemporalWF) Start

func (*TemporalWF) Terminate

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

Jump to

Keyboard shortcuts

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