cmd

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeCommand

func AnalyzeCommand(cmd *cobra.Command, args []string)

func CreateImageSbom

func CreateImageSbom(engine string, image string, output string) error

func CreateImageSbomSyft

func CreateImageSbomSyft(image string, output string) error

func CreateImageSbomTrivy

func CreateImageSbomTrivy(image string, output string) error

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ImageCommand

func ImageCommand(cmd *cobra.Command, args []string)

func IsTerminalWriter

func IsTerminalWriter(output io.Writer) bool

func KubernetesCommand

func KubernetesCommand(cmd *cobra.Command, args []string)

func NotImplemented

func NotImplemented(cmd *cobra.Command, args []string)

func RunBuildCommand

func RunBuildCommand(cmd *cobra.Command, args []string)

func RunDiffCommand

func RunDiffCommand(cmd *cobra.Command, args []string)

func RunFilesystemCommand

func RunFilesystemCommand(cmd *cobra.Command, args []string)

func RunFilesystemScanner

func RunFilesystemScanner(paths []string, vendorPaths []string, flagDepth uint, flagOutput string, flagMerge bool, flagArtifacts []string, flagUpload bool, flagSilent bool)

func UploadCommand

func UploadCommand(cmd *cobra.Command, args []string)

func VerifyCommand

func VerifyCommand(cmd *cobra.Command, args []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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