Documentation
¶
Overview ¶
Package utils provides utilities and is mainly used for delta scanning
Index ¶
Constants ¶
View Source
const ( ErrSnykCodeNotEnabled = "Snyk Code is not enabled for this organization" ErrNoReferenceBranch = "must specify reference for delta scans" ErrNoRepo = "repository does not exist" )
Variables ¶
View Source
var ErrorConfig = map[string]ErrorMetadata{ ErrSnykCodeNotEnabled: { ShowNotification: false, TreeRootSuffix: "(disabled at Snyk)", }, ErrNoReferenceBranch: { ShowNotification: false, TreeRootSuffix: "(no reference branch)", }, ErrNoRepo: { ShowNotification: false, TreeRootSuffix: "(repository not found)", }, }
ErrorConfig maps error messages to their metadata
Functions ¶
Types ¶
type ErrorMetadata ¶ added in v1.1303.0
ErrorMetadata contains metadata about how to handle specific errors
Click to show internal directories.
Click to hide internal directories.