Documentation ¶
Index ¶
- Constants
- Variables
- func Init(engine workflow.Engine) error
- func InitAuth(engine workflow.Engine) error
- func InitDepGraphWorkflow(engine workflow.Engine) error
- func InitOutputWorkflow(engine workflow.Engine) error
- func InitWhoAmIWorkflow(engine workflow.Engine) error
- func OpenBrowser(authUrl string)
- type LegacyCliJsonError
Constants ¶
const ( OUTPUT_CONFIG_KEY_JSON = "json" OUTPUT_CONFIG_KEY_JSON_FILE = "json-file-output" )
Variables ¶
var DATATYPEID_DEPGRAPH workflow.Identifier = workflow.NewTypeIdentifier(WORKFLOWID_DEPGRAPH_WORKFLOW, "depgraph")
var WORKFLOWID_AUTH workflow.Identifier = workflow.NewWorkflowIdentifier(workflowNameAuth)
define a new workflow identifier for this workflow
var WORKFLOWID_DEPGRAPH_WORKFLOW workflow.Identifier = workflow.NewWorkflowIdentifier("depgraph")
var WORKFLOWID_OUTPUT_WORKFLOW workflow.Identifier = workflow.NewWorkflowIdentifier("output")
var WORKFLOWID_WHOAMI workflow.Identifier = workflow.NewWorkflowIdentifier(workflowName)
define a new workflow identifier for this workflow
Functions ¶
func Init ¶
Init initializes all local workflows localworkflows are initialized when create a new workflow engine via app.CreateAppEngine()
func InitDepGraphWorkflow ¶
InitDepGraphWorkflow initializes the depgraph workflow The depgraph workflow is responsible for handling the depgraph data As part of the localworkflows package, it is registered via the localworkflows.Init method
func InitOutputWorkflow ¶
InitOutputWorkflow initializes the output workflow The output workflow is responsible for handling the output destination of workflow data As part of the localworkflows package, it is registered via the localworkflows.Init method
func InitWhoAmIWorkflow ¶
InitWhoAmIWorkflow initialises the whoAmI workflow before registering it with the engine.
func OpenBrowser ¶
func OpenBrowser(authUrl string)
Types ¶
type LegacyCliJsonError ¶
type LegacyCliJsonError struct { Ok bool `json:"ok"` ErrorMsg string `json:"error"` Path string `json:"path"` }
LegacyCliJsonError is the error type returned by the legacy cli
func (*LegacyCliJsonError) Error ¶
func (e *LegacyCliJsonError) Error() string
Error returns the LegacyCliJsonError error message