config

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Quiet bool
	Debug bool

	CacheDir   string
	ClearCache bool

	Input string

	Format   string
	Template string

	Timeout time.Duration

	IgnoreFile    string
	IgnoreUnfixed bool
	ExitCode      int

	RemoteAddr string

	CustomHeaders http.Header

	// these variables are generated by Init()
	ImageName  string
	VulnType   []string
	Output     *os.File
	Severities []dbTypes.Severity
	AppVersion string
	// contains filtered or unexported fields
}

func New

func New(c *cli.Context) (Config, error)

func (*Config) Init

func (c *Config) Init() (err error)

Jump to

Keyboard shortcuts

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