sinks

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultSinkExportDataTimeout = 20 * time.Second
	DefaultSinkStopTimeout       = 60 * time.Second
)

Variables

This section is empty.

Functions

func NewDataSinkManager

func NewDataSinkManager(sinks []core.DataSink, exportDataTimeout, stopTimeout time.Duration) (core.DataSink, error)

Types

type SinkFactory

type SinkFactory struct {
}

func NewSinkFactory

func NewSinkFactory() *SinkFactory

func (*SinkFactory) Build

func (this *SinkFactory) Build(uri flags.Uri) (core.DataSink, error)

func (*SinkFactory) BuildAll

func (this *SinkFactory) BuildAll(uris flags.Uris, historicalUri string) (*metricsink.MetricSink, []core.DataSink, core.HistoricalSource)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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