cli

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 44 Imported by: 1

Documentation

Index

Constants

View Source
const SkipCurationAfterFailureEnv = "JFROG_CLI_SKIP_CURATION_AFTER_FAILURE"

Variables

This section is empty.

Functions

func AuditCmd

func AuditCmd(c *components.Context) error

func AuditSpecificCmd

func AuditSpecificCmd(c *components.Context, technology techutils.Technology) error

func BuildScan

func BuildScan(c *components.Context) error

Scan published builds with Xray

func CreateAuditCmd added in v1.4.0

func CreateAuditCmd(c *components.Context) (*audit.AuditCommand, error)

func CurationCmd

func CurationCmd(c *components.Context) error

func CurationCmdPostInstallationFailure added in v1.7.0

func CurationCmdPostInstallationFailure(c *components.Context, tech techutils.Technology, cmdName string, originError error) error

func CurationInspectAfterFailure added in v1.7.0

func CurationInspectAfterFailure(c *cli.Context, cmdName string, technology techutils.Technology, errFromCmd error)

func DockerScan

func DockerScan(c *components.Context, image string) error

func DockerScanMockCommand added in v1.6.4

func DockerScanMockCommand() components.Command

func EnrichCmd added in v1.6.0

func EnrichCmd(c *components.Context) error

func GetCountContributorsParams added in v1.5.0

func GetCountContributorsParams(c *components.Context) (*git.CountContributorsParams, error)

func GetJfrogCliSecurityApp

func GetJfrogCliSecurityApp() components.App

func GitCountContributorsCmd added in v1.5.0

func GitCountContributorsCmd(c *components.Context) error

func IsSupportedCommandForCurationInspect added in v1.7.0

func IsSupportedCommandForCurationInspect(cmd string) bool

func ScanCmd

func ScanCmd(c *components.Context) error

func ShouldRunCurationAfterFailure added in v1.7.0

func ShouldRunCurationAfterFailure(c *components.Context, tech techutils.Technology, cmdName string, originError error) (curationCmd *curation.CurationAuditCommand, err error, runCuration bool)

func WrapCmdWithCurationPostFailureRun added in v1.7.0

func WrapCmdWithCurationPostFailureRun(c *cli.Context, cmd func(c *cli.Context) error, technology techutils.Technology, cmdName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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