tracker

package
v1.6.3-integrations Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CITracker

type CITracker struct {
	ExecutingQueries   int
	ExecutedQueries    int
	FoundFiles         int
	FailedSimilarityID int
	LoadedQueries      int
	ParsedFiles        int
	ScanSecrets        int
	ScanPaths          int

	FoundCountLines  int
	ParsedCountLines int
	Version          model.Version
	// contains filtered or unexported fields
}

func NewTracker added in v1.2.0

func NewTracker(previewLines int) (*CITracker, error)

NewTracker will create a new instance of a tracker with the number of lines to display in results output number of lines can not be smaller than 1

func (*CITracker) FailedComputeSimilarityID added in v1.1.2

func (c *CITracker) FailedComputeSimilarityID()

FailedComputeSimilarityID - queries that failed to compute similarity ID

func (*CITracker) FailedDetectLine added in v1.1.2

func (c *CITracker) FailedDetectLine()

FailedDetectLine - queries that fail to detect line are counted as failed to execute queries

func (*CITracker) GetOutputLines added in v1.2.0

func (c *CITracker) GetOutputLines() int

GetOutputLines returns the number of lines to display in results output

func (*CITracker) TrackFileFound

func (c *CITracker) TrackFileFound()

TrackFileFound adds a found file to be scanned

func (*CITracker) TrackFileFoundCountLines added in v1.5.5

func (c *CITracker) TrackFileFoundCountLines(countLines int)

TrackFileFoundCountLines - information about the lines of the scanned files

func (*CITracker) TrackFileParse

func (c *CITracker) TrackFileParse()

TrackFileParse adds a successful parsed file to be scanned

func (*CITracker) TrackFileParseCountLines added in v1.5.5

func (c *CITracker) TrackFileParseCountLines(countLines int)

TrackFileParseCountLines - information about the lines of the parsed files

func (*CITracker) TrackQueryExecuting added in v1.3.0

func (c *CITracker) TrackQueryExecuting(queryAggregation int)

TrackQueryExecuting adds a executing queries

func (*CITracker) TrackQueryExecution

func (c *CITracker) TrackQueryExecution(queryAggregation int)

TrackQueryExecution adds a query executed

func (*CITracker) TrackQueryLoad

func (c *CITracker) TrackQueryLoad(queryAggregation int)

TrackQueryLoad adds a loaded query

func (*CITracker) TrackScanPath added in v1.4.3

func (c *CITracker) TrackScanPath()

TrackScanPath - paths to preform scan

func (*CITracker) TrackScanSecret added in v1.4.3

func (c *CITracker) TrackScanSecret()

TrackScanSecret - add to secrets scanned

func (*CITracker) TrackVersion added in v1.4.6

func (c *CITracker) TrackVersion(retrievedVersion model.Version)

TrackVersion - information if current version is latest

Jump to

Keyboard shortcuts

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