Documentation
¶
Overview ¶
Description: This package contains the parser service and configuration for the state machine parser.
Index ¶
- func GenerateActivityURI(namespace string, activityName string) string
- func GenerateStateMachineURI(namespace string, stateMachineName string) string
- func ParseState(definition string) (states.State, error)
- func ParseStateMachine(definition string) (*states.StateMachine, error)
- func ValidateStateMachine(definition string) error
- type Parser
- func (parser *Parser) GenerateActivityURI(namespace string, activityName string) string
- func (parser *Parser) GenerateStateMachineURI(namespace string, stateMachineName string) string
- func (parser *Parser) ParseState(definition string) (states.State, error)
- func (parser *Parser) ParseStateMachine(definition string) (*states.StateMachine, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateActivityURI ¶
GenerateActivityURI generates an activity URI using the standard parser
func GenerateStateMachineURI ¶
GenerateStateMachineURI generates a state machine URI using the standard parser
func ParseState ¶
ParseState parses a state definition using the standard parser
func ParseStateMachine ¶
func ParseStateMachine(definition string) (*states.StateMachine, error)
ParseStateMachine parses a state machine definition using the standard parser ParseStateMachine parses a state machine definition using the standard parser
func ValidateStateMachine ¶
ValidateStateMachine validates a state machine definition
Types ¶
type Parser ¶
Parser parser configuration for workflow definitions Parser parser configuration for workflow definitions
var ExpressParser *Parser
ExpressParser ...
var StandardParser *Parser
StandardParser
func NewParser ¶
NewParser creates a new Parser instance with the given configuration NewParser creates a new Parser instance with the given configuration
func (*Parser) GenerateActivityURI ¶
func (*Parser) GenerateStateMachineURI ¶
func (*Parser) ParseState ¶
func (*Parser) ParseStateMachine ¶
func (parser *Parser) ParseStateMachine(definition string) (*states.StateMachine, error)
ParseStateMachine ...
Directories
¶
| Path | Synopsis |
|---|---|
|
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 |