output

package
Version: v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Adapters = map[string]Register{}

Adapters is the list of registered output adapters

Functions

func RegisterAdapter

func RegisterAdapter(name string, n Register)

Types

type Output

type Output interface {
	// InsertNode stores statistics per node
	Save(nodes *runtime.Nodes)
}

Output interface to use for implementation in e.g. influxdb

type Register

type Register func(config map[string]interface{}) (Output, error)

Register function with config to get a output interface

Source Files

Jump to

Keyboard shortcuts

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