integration

package
v0.0.0-...-f54f16c Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithManagerOpts

func WithManagerOpts(opts ...cereal.ManagerOpt) managerOptFunc

func WithNoStart

func WithNoStart() managerOptFunc

func WithTaskExecutor

func WithTaskExecutor(name cereal.TaskName, executor cereal.TaskExecutor) managerOptFunc

func WithTaskExecutorF

func WithTaskExecutorF(name cereal.TaskName, f func(context.Context, cereal.Task) (interface{}, error)) managerOptFunc

func WithWorkflowExecutor

func WithWorkflowExecutor(name cereal.WorkflowName, executor cereal.WorkflowExecutor) managerOptFunc

Types

type CerealTestSuite

type CerealTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

func NewSuiteForBackend

func NewSuiteForBackend(ctx context.Context, t *testing.T, d cereal.Driver) *CerealTestSuite

func (*CerealTestSuite) TestPatternSingleTaskWorkflowCancelWhenAllowed

func (suite *CerealTestSuite) TestPatternSingleTaskWorkflowCancelWhenAllowed()

func (*CerealTestSuite) TestPatternSingleTaskWorkflowCancelWhenNotAllowed

func (suite *CerealTestSuite) TestPatternSingleTaskWorkflowCancelWhenNotAllowed()

func (*CerealTestSuite) TestPatternSingleTaskWorkflowFail

func (suite *CerealTestSuite) TestPatternSingleTaskWorkflowFail()

func (*CerealTestSuite) TestPatternSingleTaskWorkflowSuccess

func (suite *CerealTestSuite) TestPatternSingleTaskWorkflowSuccess()

Jump to

Keyboard shortcuts

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