Documentation
¶
Overview ¶
Description: This package contains the parser service and configuration for the workflow parser.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ExpressParserConfig = decoder.ParserConfig{ AllowActivity: false, AllowWait: false, AllowSuspend: false, AllowParallel: true, AllowMap: true, AllowChoice: true, AllowFail: true, AllowSucceed: true, AllowPass: true, }
ExpressParserConfig express model workflow
View Source
var StandardParserConfig = decoder.ParserConfig{ AllowActivity: true, AllowWait: true, AllowSuspend: true, AllowParallel: true, AllowMap: true, AllowChoice: true, AllowFail: true, AllowSucceed: true, AllowPass: true, }
StandardParserConfig standard model workflow
Functions ¶
func GenerateActivityURI ¶
func GenerateStateMachineURI ¶
func ParseStateMachine ¶
func ParseStateMachine(definition string) (*states.StateMachine, error)
func ValdateStateMachine ¶
ValdateStateMachine ...
Types ¶
type Parser ¶
type Parser struct { Config decoder.ParserConfig Quota decoder.Quota }
ParserConfig parser configuration
var ExpressParser *Parser
ExpressParser ...
var StandardParser *Parser
StandardParser
func NewParser ¶
func NewParser(config decoder.ParserConfig, quotaconfig decoder.Quota) *Parser
NewParser ParserConfig parser configuration
func (*Parser) GenerateActivityURI ¶
func (*Parser) GenerateStateMachineURI ¶
func (*Parser) ParseStateMachine ¶
func (parser *Parser) ParseStateMachine(definition string) (*states.StateMachine, error)
ParseStateMachine ...
Directories
¶
Path | Synopsis |
---|---|
package quota defined skyflow quota here
|
package quota defined skyflow quota here |
Package states implements the State behavior for the workflow states are the basic step in the workflow, they can be combined to form a complex workflow
|
Package states implements the State behavior for the workflow states are the basic step in the workflow, they can be combined to form a complex workflow |
Click to show internal directories.
Click to hide internal directories.