printresults

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrOutputJSON = errors.New("{HORUSEC_CLI} error creating and/or writing to the specified file")
)

Functions

This section is empty.

Types

type Interface

type Interface interface {
	StartPrintResults() (totalVulns int, err error)
	SetAnalysis(analysis *horusecEntities.Analysis)
}

func NewPrintResults

func NewPrintResults(analysis *horusecEntities.Analysis, configs config.IConfig) Interface

type Mock

type Mock struct {
	mock.Mock
}

func (*Mock) SetAnalysis added in v1.1.0

func (m *Mock) SetAnalysis(analysis *horusecEntities.Analysis)

func (*Mock) StartPrintResults

func (m *Mock) StartPrintResults() (totalVulns int, err error)

type PrintResults

type PrintResults struct {
	// contains filtered or unexported fields
}

func (*PrintResults) SetAnalysis added in v1.1.0

func (pr *PrintResults) SetAnalysis(analysis *horusecEntities.Analysis)

func (*PrintResults) StartPrintResults

func (pr *PrintResults) StartPrintResults() (totalVulns int, err error)

Jump to

Keyboard shortcuts

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