sinks

package
v1.5.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2017 License: Apache-2.0 Imports: 21 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)

Jump to

Keyboard shortcuts

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