analyze

package
v0.0.0-...-167e9fd Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: GPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_ANALYZERS_PATH = "/opt/sensoroni/analyzers"
View Source
const DEFAULT_ANALYZER_EXECUTABLE = "python"
View Source
const DEFAULT_ANALYZER_INSTALLER = "pip"
View Source
const DEFAULT_PARALLEL_LIMIT = 5
View Source
const DEFAULT_SUMMARY_LENGTH = 50
View Source
const DEFAULT_TIMEOUT_MS = 900000

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyze

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

func NewAnalyze

func NewAnalyze(agt *agent.Agent) *Analyze

func (*Analyze) CleanupJob

func (analyze *Analyze) CleanupJob(job *model.Job)

func (*Analyze) GetDataEpoch

func (analyze *Analyze) GetDataEpoch() time.Time

func (*Analyze) Init

func (analyze *Analyze) Init(cfg module.ModuleConfig) error

func (*Analyze) IsRunning

func (analyze *Analyze) IsRunning() bool

func (*Analyze) PrerequisiteModules

func (analyze *Analyze) PrerequisiteModules() []string

func (*Analyze) ProcessJob

func (analyze *Analyze) ProcessJob(job *model.Job, reader io.ReadCloser) (io.ReadCloser, error)

func (*Analyze) Start

func (analyze *Analyze) Start() error

func (*Analyze) Stop

func (analyze *Analyze) Stop() error

Jump to

Keyboard shortcuts

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