service

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionExecutionService

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

func NewActionExecutionService

func NewActionExecutionService(cluster *cluster.Cluster, metadataService metadata.MetadataService) *ActionExecutionService

func (*ActionExecutionService) HandleActionResult

func (s *ActionExecutionService) HandleActionResult(actionResult *api.ActionResult) error

func (*ActionExecutionService) Poll

func (ts *ActionExecutionService) Poll(actionName string, batchSize int) (*api.Actions, error)

func (*ActionExecutionService) Push

type WorkflowExecutionService

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

func NewWorkflowExecutionService

func NewWorkflowExecutionService(cluster *cluster.Cluster) *WorkflowExecutionService

func (*WorkflowExecutionService) ConsumeEvent

func (s *WorkflowExecutionService) ConsumeEvent(name string, flowId string, event string) error

func (*WorkflowExecutionService) PauseFlow

func (s *WorkflowExecutionService) PauseFlow(name string, flowId string) error

func (*WorkflowExecutionService) ResumeFlow

func (s *WorkflowExecutionService) ResumeFlow(name string, flowId string) error

func (*WorkflowExecutionService) StartFlow

func (s *WorkflowExecutionService) StartFlow(name string, input map[string]any) (string, error)

Jump to

Keyboard shortcuts

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