Versions in this module Expand all Collapse all v0 v0.1.0 Sep 6, 2019 Changes in this version + func SetConfig(cfg Config) + func SetIncludeSource() + type CompileError struct + func NewBranchNodeHasNoCondition(branchNodeID string) *CompileError + func NewBranchNodeNotSpecified(branchNodeID string) *CompileError + func NewCycleDetectedInWorkflowErr(nodeID, cycle string) *CompileError + func NewDuplicateAliasErr(nodeID, alias string) *CompileError + func NewDuplicateIDFoundErr(nodeID string) *CompileError + func NewInconsistentTypesErr(nodeID, expectedType, actualType string) *CompileError + func NewMismatchingBindingsErr(nodeID, sinkParam, expectedType, receivedType string) *CompileError + func NewMismatchingInterfacesErr(nodeID1, nodeID2 string) *CompileError + func NewMismatchingTypesErr(nodeID, fromVar, fromType, toType string) *CompileError + func NewNodeReferenceNotFoundErr(nodeID, referenceID string) *CompileError + func NewParameterBoundMoreThanOnceErr(nodeID, paramName string) *CompileError + func NewParameterNotBoundErr(nodeID, paramName string) *CompileError + func NewSyntaxError(nodeID string, element string, err error) *CompileError + func NewTaskReferenceNotFoundErr(nodeID, referenceID string) *CompileError + func NewUnreachableNodesErr(nodeID, nodes string) *CompileError + func NewUnrecognizedValueErr(nodeID, value string) *CompileError + func NewValueCollisionError(nodeID string, valueName, value string) *CompileError + func NewValueRequiredErr(nodeID, paramName string) *CompileError + func NewVariableNameNotFoundErr(nodeID, referenceID, variableName string) *CompileError + func NewWorkflowBuildError(err error) *CompileError + func NewWorkflowHasNoEntryNodeErr(graphID string) *CompileError + func NewWorkflowReferenceNotFoundErr(nodeID, referenceID string) *CompileError + func (err CompileError) Code() ErrorCode + func (err CompileError) Error() string + type CompileErrorWithCause struct + func (err CompileErrorWithCause) Error() string + type CompileErrors interface + Collect func(e ...*CompileError) + ErrorCount func() int + Errors func() *compileErrorSet + HasErrors func() bool + NewScope func() CompileErrors + func NewCompileErrors() CompileErrors + type Config struct + IncludeSource bool + PanicOnError bool + func GetConfig() Config + type ErrorCode string + const BranchNodeHasNoCondition + const BranchNodeIDNotFound + const CycleDetected + const DuplicateAlias + const DuplicateNodeID + const InconsistentTypes + const MismatchingBindings + const MismatchingInterfaces + const MismatchingTypes + const NoEntryNodeFound + const NodeReferenceNotFound + const ParameterBoundMoreThanOnce + const ParameterNotBound + const SyntaxError + const TaskReferenceNotFound + const UnreachableNodes + const UnrecognizedValue + const ValueCollision + const ValueRequired + const VariableNameNotFound + const WorkflowBuildError + const WorkflowReferenceNotFound