client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

Client is the exported module instance.

func NewClient

func NewClient(options Options) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) GetSDKClient

func (c *Client) GetSDKClient() sdkclient.Client

func (*Client) GetWorkflowHandle

func (c *Client) GetWorkflowHandle(workflowID string, runID string) WorkflowHandle

func (*Client) SignalWithStartWorkflow

func (c *Client) SignalWithStartWorkflow(workflowID string, signalName string, signalArg interface{}, options sdkclient.StartWorkflowOptions, workflowType string, workflowArgs ...interface{}) (WorkflowHandle, error)

func (*Client) StartWorkflow

func (c *Client) StartWorkflow(options sdkclient.StartWorkflowOptions, workflowType string, workflowArgs ...interface{}) (WorkflowHandle, error)

func (*Client) WaitForAllWorkflowToComplete

func (c *Client) WaitForAllWorkflowToComplete(namespace string) error

type Options

type Options = sdkclient.Options

type WorkflowHandle

type WorkflowHandle struct {
	ID    string
	RunID string
	// contains filtered or unexported fields
}

func (WorkflowHandle) Cancel

func (r WorkflowHandle) Cancel() error

func (WorkflowHandle) Result

func (r WorkflowHandle) Result() (interface{}, error)

func (WorkflowHandle) Signal

func (r WorkflowHandle) Signal(name string, arg interface{}) error

func (WorkflowHandle) Terminate

func (r WorkflowHandle) Terminate(reason string) error

Jump to

Keyboard shortcuts

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