commands

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: Apache-2.0 Imports: 16 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp(version string) *cli.App

NewApp is the factory method to return Trivy CLI

func NewClientCommand

func NewClientCommand() *cli.Command

NewClientCommand is the factory method to add client command

func NewConfigCommand added in v0.19.0

func NewConfigCommand() *cli.Command

NewConfigCommand adds config command

func NewFilesystemCommand

func NewFilesystemCommand() *cli.Command

NewFilesystemCommand is the factory method to add filesystem command

func NewImageCommand

func NewImageCommand() *cli.Command

NewImageCommand is the factory method to add image command

func NewPluginCommand

func NewPluginCommand() *cli.Command

NewPluginCommand is the factory method to add plugin command

func NewRepositoryCommand

func NewRepositoryCommand() *cli.Command

NewRepositoryCommand is the factory method to add repository command

func NewRootfsCommand added in v0.20.0

func NewRootfsCommand() *cli.Command

NewRootfsCommand is the factory method to add filesystem command

func NewServerCommand

func NewServerCommand() *cli.Command

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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