lib

package
v0.0.26 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteWorkflow added in v0.0.18

func ExecuteWorkflow(ctx context.Context, tClient client.Client, options ExecuteWorkflowOptions) error

func NewTemporalClient

func NewTemporalClient(cfg *TemporalClientConfig) (client.Client, error)

Types

type ExecuteWorkflowOptions added in v0.0.18

type ExecuteWorkflowOptions struct {
	ID        string      `validate:"required"`
	TaskQueue string      `validate:"required"`
	Input     interface{} `validate:"required"`
	Type      string      `validate:"required"`
}

func (*ExecuteWorkflowOptions) Validate added in v0.0.18

func (options *ExecuteWorkflowOptions) Validate() error

type TemporalClientConfig

type TemporalClientConfig struct {
	HostPort  string `validate:"required"`
	Namespace string
}

func (*TemporalClientConfig) Validate

func (cfg *TemporalClientConfig) Validate() error

Jump to

Keyboard shortcuts

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