sink

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSink

func NewSink(
	name config.SinkType, config *config.Config,
) (sink.Sink, error)

NewSink instantiates a new instance of the requested Sink when available, otherwise returns an error.

func NewSinkManager

func NewSinkManager(
	stateStorageManager statestorage.Manager, sink sink.Sink,
) sink.Manager

func RegisterSink

func RegisterSink(
	name config.SinkType, factory sink.Factory,
) bool

RegisterSink registers a config.SinkType to a Factory implementation which creates the Sink when requested

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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