Documentation
¶
Index ¶
- func NewApp(version string) *cli.App
- func NewClientCommand() *cli.Command
- func NewConfigCommand() *cli.Command
- func NewFilesystemCommand() *cli.Command
- func NewImageCommand() *cli.Command
- func NewPluginCommand() *cli.Command
- func NewRepositoryCommand() *cli.Command
- func NewRootfsCommand() *cli.Command
- func NewServerCommand() *cli.Command
- type VersionInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientCommand ¶
NewClientCommand is the factory method to add client command
func NewConfigCommand ¶ added in v0.19.0
NewConfigCommand adds config command
func NewFilesystemCommand ¶
NewFilesystemCommand is the factory method to add filesystem command
func NewImageCommand ¶
NewImageCommand is the factory method to add image command
func NewPluginCommand ¶
NewPluginCommand is the factory method to add plugin command
func NewRepositoryCommand ¶
NewRepositoryCommand is the factory method to add repository command
func NewRootfsCommand ¶ added in v0.20.0
NewRootfsCommand is the factory method to add filesystem command
func NewServerCommand ¶
NewServerCommand is the factory method to add server 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.