localworkflows

package
v0.0.0-...-44c710e Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OUTPUT_CONFIG_KEY_JSON       = "json"
	OUTPUT_CONFIG_KEY_JSON_FILE  = "json-file-output"
	OUTPUT_CONFIG_KEY_SARIF      = "sarif"
	OUTPUT_CONFIG_KEY_SARIF_FILE = "sarif-file-output"
)
View Source
const (
	ConfigurationSastEnabled = "internal_sast_enabled"
)

Variables

View Source
var ConfigurationNewAuthenticationToken = "internal_new_snyk_token"
View Source
var WORKFLOWID_AUTH workflow.Identifier = workflow.NewWorkflowIdentifier(workflowNameAuth)

define a new workflow identifier for this workflow

View Source
var WORKFLOWID_CODE workflow.Identifier = workflow.NewWorkflowIdentifier(codeWorkflowName)

WORKFLOWID_CODE defines a new workflow identifier

View Source
var WORKFLOWID_OUTPUT_WORKFLOW workflow.Identifier = workflow.NewWorkflowIdentifier("output")
View Source
var (
	WORKFLOWID_REPORT_ANALYTICS workflow.Identifier = workflow.NewWorkflowIdentifier(reportAnalyticsWorkflowName)
)
View Source
var WORKFLOWID_WHOAMI workflow.Identifier = workflow.NewWorkflowIdentifier(whoAmIworkflowName)

define a new workflow identifier for this workflow

Functions

func GetCodeFlagSet

func GetCodeFlagSet() *pflag.FlagSet

func Init

func Init(engine workflow.Engine) error

Init initializes all local workflows localworkflows are initialized when create a new workflow engine via app.CreateAppEngine()

func InitAuth

func InitAuth(engine workflow.Engine) error

InitAuth initializes the auth workflow before registering it with the engine.

func InitCodeWorkflow

func InitCodeWorkflow(engine workflow.Engine) error

InitCodeWorkflow initializes the code workflow before registering it with the engine.

func InitOutputWorkflow

func InitOutputWorkflow(engine workflow.Engine) error

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 InitReportAnalyticsWorkflow

func InitReportAnalyticsWorkflow(engine workflow.Engine) error

InitReportAnalyticsWorkflow initializes the reportAnalytics workflow before registering it with the engine.

func InitWhoAmIWorkflow

func InitWhoAmIWorkflow(engine workflow.Engine) error

InitWhoAmIWorkflow initializes the whoAmI workflow before registering it with the engine.

func OpenBrowser

func OpenBrowser(authUrl string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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