temporal

package
v0.0.0-...-0a06464 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 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

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

func (*TemporalWF) Init

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

func (*TemporalWF) Pause

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

func (*TemporalWF) Purge

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

func (*TemporalWF) RaiseEvent

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

func (*TemporalWF) Resume

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