Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Images NoVulnerabilityBannerSource imageSource = "noVulnerabilityBanner.png" VulnerabilitiesBannerSource imageSource = "vulnerabilitiesBanner.png" // Frogbot label LabelName frogbotLabel = "🐸 frogbot" LabelDescription frogbotLabel = "triggers frogbot scan" LabelColor frogbotLabel = "4AB548" WatchesDelimiter = "," )
Variables ¶
View Source
var ErrLabelCreated = fmt.Errorf("label '%s' was created. Please label this pull request to trigger an Xray scan", string(LabelName))
View Source
var ErrUnlabel = fmt.Errorf("please add the '%s' label to trigger an Xray scan", string(LabelName))
Functions ¶
func GetNoVulnerabilitiesBanner ¶
func GetNoVulnerabilitiesBanner() string
func GetSeverityTag ¶
func GetVulnerabilitiesBanner ¶
func GetVulnerabilitiesBanner() string
Types ¶
type FrogbotParams ¶
type FrogbotParams struct {
JFrogEnvParams
GitParam
InstallCommandName string
InstallCommandArgs []string
}
func GetParamsAndClient ¶
func GetParamsAndClient() (*FrogbotParams, vcsclient.VcsClient, error)
type JFrogEnvParams ¶
type JFrogEnvParams struct {
Server coreconfig.ServerDetails
Project string
Watches string
}
Click to show internal directories.
Click to hide internal directories.