commands

package
v0.0.0-...-82b092a Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAWSCommand

func NewAWSCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewApp

func NewApp(version string) *cobra.Command

NewApp is the factory method to return cvescan CLI

func NewClientCommand

func NewClientCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

NewClientCommand returns the 'client' subcommand that is deprecated

func NewConfigCommand

func NewConfigCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewFilesystemCommand

func NewFilesystemCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewImageCommand

func NewImageCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewKubernetesCommand

func NewKubernetesCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewModuleCommand

func NewModuleCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewPluginCommand

func NewPluginCommand() *cobra.Command

func NewRepositoryCommand

func NewRepositoryCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewRootCommand

func NewRootCommand(version string, globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewRootfsCommand

func NewRootfsCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewSBOMCommand

func NewSBOMCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewServerCommand

func NewServerCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewVMCommand

func NewVMCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func NewVersionCommand

func NewVersionCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command

func SetOut

func SetOut(out io.Writer)

SetOut overrides the destination for messages

Types

type VersionInfo

type VersionInfo struct {
	Version         string             `json:",omitempty"`
	VulnerabilityDB *metadata.Metadata `json:",omitempty"`
}

VersionInfo holds the cvescan DB version Info

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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