commands

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-2.0 Imports: 27 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 Vul 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 NewConvertCommand

func NewConvertCommand(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

Types

type VersionInfo

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

VersionInfo holds the vul DB version Info

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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