analyzer

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2018 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Analyzer

type Analyzer interface {
	// Start starts analyzer but doesn't wait until it exits
	Start() error
	// Status returns list of statuses
	Status() map[string]string
	// Stop stops running analyzer, waits until it stops
	Stop() error
	// Config returns analyzer configuration
	Config() pc.QAN
	// SetConfig sets configuration of analyzer
	SetConfig(setConfig pc.QAN)
	// Get default configuration
	GetDefaults(uuid string) map[string]interface{}
	// String returns human readable identification of Analyzer
	String() string
}

Analyzer is a daemon that collects QAN data

type AnalyzerFactory

type AnalyzerFactory interface {
	Make(
		analyzerType string,
		analyzerName string,
		protoInstance proto.Instance,
	) (Analyzer, error)
}

AnalyzerFactory makes an Analyzer, real or mock.

Jump to

Keyboard shortcuts

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