collector

package
v1.4.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector interface {

	// AddMonitoredObject will add the object for event listening
	AddMonitoredObject(ref string) error

	// RemoveMonitoredObject will remove the object from event listening
	RemoveMonitoredObject(ref string)

	// Start listening for events and publish to function
	Start() error

	// Stop listening for events
	Stop()

	// Register a callback function
	Register(func(events.Event))

	// Name returns the collector name
	Name() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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