pranalyzes

package
v0.0.0-...-081ecb4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JSONDuration

type JSONDuration time.Duration

type Reanalyzer

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

func NewReanalyzer

func NewReanalyzer(db *gorm.DB, cfg config.Config, log logutil.Log,
	pf providers.Factory, runQueue *pullanalyzesqueue.Producer) *Reanalyzer

func (Reanalyzer) RunOnce

func (r Reanalyzer) RunOnce() error

type Staler

type Staler struct {
	Cfg             config.Config
	DB              *gorm.DB
	Log             logutil.Log
	ProviderFactory providers.Factory
}

func (Staler) Run

func (r Staler) Run()

func (Staler) RunIteration

func (r Staler) RunIteration(taskProcessingTimeout time.Duration) (int, error)

type Timing

type Timing struct {
	Name     string
	Duration JSONDuration `json:"DurationMs"`
}

type Warning

type Warning struct {
	Tag  string
	Text string
}

Jump to

Keyboard shortcuts

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