Documentation ¶
Index ¶
- Constants
- func BlockOnDoneChan(doneChan chan bool)
- func InitAndExecute()
- func PrintScanStatusTable(scanStatusRowChan <-chan *ScanStatusRow, printingFinishedChannel chan<- bool)
- func RunAndPrintMultipleImageScansConcurrently(ctx context.Context, cancellationFunc context.CancelFunc, imageList []string, ...) error
- func RunHelmScanCommand(charts []string, ctx context.Context, cancellationFunc context.CancelFunc, ...) error
- func RunImageScanCommand(ctx context.Context, detectClient *detect.Client, fullImageName string, ...) error
- func RunMultipleImageScansConcurrently(ctx context.Context, cancellationFunc context.CancelFunc, ...) error
- func RunNamespaceScanCommand(namespace string, ctx context.Context, cancellationFunc context.CancelFunc, ...) error
- func RunPrinterConcurrently(cancellationFunc context.CancelFunc, ...) error
- func RunYamlScanCommand(yamlfile string, ctx context.Context, cancellationFunc context.CancelFunc, ...) error
- func SetupHelmScanCommand() *cobra.Command
- func SetupImageScanCommand() *cobra.Command
- func SetupNamespaceScanCommand() *cobra.Command
- func SetupRootCommand() *cobra.Command
- func SetupYamlScanCommand() *cobra.Command
- type CommonFlags
- type RootFlags
- type ScanStatusRow
Constants ¶
View Source
const ( DetectOfflineModeFlagName = "blackduck.offline.mode" BlackDuckURLFlagName = "blackduck.url" BlackDuckTokenFlagName = "blackduck.api.token" DetectProjectNameFlagName = "detect.project.name" DetectVersionNameFlagName = "detect.project.version.name" CleanupPersistentDockerInspectorServicesName = "cleanup" )
Variables ¶
This section is empty.
Functions ¶
func BlockOnDoneChan ¶
func BlockOnDoneChan(doneChan chan bool)
func InitAndExecute ¶
func InitAndExecute()
func PrintScanStatusTable ¶
func PrintScanStatusTable(scanStatusRowChan <-chan *ScanStatusRow, printingFinishedChannel chan<- bool)
func RunHelmScanCommand ¶
func RunHelmScanCommand(charts []string, ctx context.Context, cancellationFunc context.CancelFunc, commonFlags *CommonFlags, detectPassThroughFlagsMap map[string]interface{}) error
func RunImageScanCommand ¶
func RunImageScanCommand(ctx context.Context, detectClient *detect.Client, fullImageName string, detectPassThroughFlagsMap map[string]interface{}, scanStatusRow *ScanStatusRow, scanStatusRowChan chan *ScanStatusRow, projectName string) error
RunImageScanCommand https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/631374044/Detect+Properties
func RunNamespaceScanCommand ¶
func RunNamespaceScanCommand(namespace string, ctx context.Context, cancellationFunc context.CancelFunc, commonFlags *CommonFlags, detectPassThroughFlagsMap map[string]interface{}) error
func RunPrinterConcurrently ¶
func RunPrinterConcurrently(cancellationFunc context.CancelFunc, scanStatusTableValues <-chan *ScanStatusRow, doneChan chan<- bool) error
func RunYamlScanCommand ¶
func RunYamlScanCommand(yamlfile string, ctx context.Context, cancellationFunc context.CancelFunc, commonFlags *CommonFlags, detectPassThroughFlagsMap map[string]interface{}) error
func SetupHelmScanCommand ¶
func SetupImageScanCommand ¶
func SetupRootCommand ¶
func SetupYamlScanCommand ¶
Types ¶
type CommonFlags ¶
Click to show internal directories.
Click to hide internal directories.