scan

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdScan

func NewCmdScan(scanner Scanner) *cobra.Command

NewCmdScan returns an instance of Scan command.

Types

type Options

type Options struct {
	Path string
}

Options is exported.

func (*Options) Execute

func (o *Options) Execute(scanner Scanner)

Execute is exported.

type Scanner

type Scanner interface {
	Scan(path string) (map[string]internal.VulnerabilityResult, error)
}

Scanner is exported.

Jump to

Keyboard shortcuts

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