Documentation ¶
Index ¶
- func NewAWSCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewApp(version string) *cobra.Command
- func NewClientCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewConfigCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewFilesystemCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewImageCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewKubernetesCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewModuleCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewPluginCommand() *cobra.Command
- func NewRepositoryCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewRootCommand(version string, globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewRootfsCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewSBOMCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewServerCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func NewVersionCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
- func SetOut(out io.Writer)
- type VersionInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAWSCommand ¶ added in v0.31.0
func NewAWSCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
func NewClientCommand ¶
func NewClientCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
NewClientCommand returns the 'client' subcommand that is deprecated
func NewConfigCommand ¶ added in v0.19.0
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 ¶ added in v0.30.0
func NewKubernetesCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
func NewModuleCommand ¶ added in v0.29.0
func NewModuleCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
func NewPluginCommand ¶
func NewRepositoryCommand ¶
func NewRepositoryCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
func NewRootCommand ¶ added in v0.30.0
func NewRootCommand(version string, globalFlags *flag.GlobalFlagGroup) *cobra.Command
func NewRootfsCommand ¶ added in v0.20.0
func NewRootfsCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
func NewSBOMCommand ¶ added in v0.30.0
func NewSBOMCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
func NewServerCommand ¶
func NewServerCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
func NewVersionCommand ¶ added in v0.25.0
func NewVersionCommand(globalFlags *flag.GlobalFlagGroup) *cobra.Command
Types ¶
type VersionInfo ¶
type VersionInfo struct { Version string `json:",omitempty"` VulnerabilityDB *metadata.Metadata `json:",omitempty"` }
VersionInfo holds the trivy DB version Info
Click to show internal directories.
Click to hide internal directories.