processor

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrJobNotComplete returns when done is not set within a worker
	ErrJobNotComplete = errors.New("job has not completed")
)

Functions

This section is empty.

Types

type Service

type Service interface {

	// Run will spawn all the workers and get all the results returned.
	Run(ctx context.Context, detectorID string) ([]*types.Result, error)
}

Service defines the dispatcher that will issue jobs to the runnning workers and return the results of all issues found

func NewDefaultService

func NewDefaultService(cli *client.SignalFx) Service

NewDefaultService creates a processor that will inspect all the configured options

Jump to

Keyboard shortcuts

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