qan_worker

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QanWorker

type QanWorker struct {
	SetupChan        chan bool
	RunChan          chan bool
	StopChan         chan bool
	CleanupChan      chan bool
	ErrorChan        chan error
	SetupCrashChan   chan bool
	RunCrashChan     chan bool
	CleanupCrashChan chan bool
	Interval         *iter.Interval
	Result           *report.Result
}

func NewQanWorker

func NewQanWorker() *QanWorker

func (*QanWorker) Cleanup

func (w *QanWorker) Cleanup() error

func (*QanWorker) Run

func (w *QanWorker) Run() (*report.Result, error)

func (*QanWorker) SetConfig

func (w *QanWorker) SetConfig(config pc.QAN)

func (*QanWorker) Setup

func (w *QanWorker) Setup(interval *iter.Interval) error

func (*QanWorker) Status

func (w *QanWorker) Status() map[string]string

func (*QanWorker) Stop

func (w *QanWorker) Stop() error

Jump to

Keyboard shortcuts

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