Documentation ¶
Index ¶
- Constants
- type Analyze
- func (analyze *Analyze) CleanupJob(job *model.Job)
- func (analyze *Analyze) GetDataEpoch() time.Time
- func (analyze *Analyze) Init(cfg module.ModuleConfig) error
- func (analyze *Analyze) IsRunning() bool
- func (analyze *Analyze) PrerequisiteModules() []string
- func (analyze *Analyze) ProcessJob(job *model.Job, reader io.ReadCloser) (io.ReadCloser, error)
- func (analyze *Analyze) Start() error
- func (analyze *Analyze) Stop() error
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 (*Analyze) CleanupJob ¶
func (*Analyze) GetDataEpoch ¶
func (*Analyze) PrerequisiteModules ¶
func (*Analyze) ProcessJob ¶
func (analyze *Analyze) ProcessJob(job *model.Job, reader io.ReadCloser) (io.ReadCloser, error)
Click to show internal directories.
Click to hide internal directories.