channel

package
v0.0.0-...-8949577 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Launcher

type Launcher struct {
	// contains filtered or unexported fields
}

Launcher reacts to sources with Config.Type = Channel, by creating a tailer reading from that channel.

WARNING: removing a source does not stop the corresponding tailer.

func NewLauncher

func NewLauncher() *Launcher

NewLauncher returns an initialized Launcher

func (*Launcher) Start

func (l *Launcher) Start(sourceProvider launchers.SourceProvider, pipelineProvider pipeline.Provider, _ auditor.Registry, _ *tailers.TailerTracker)

Start starts the launcher.

func (*Launcher) Stop

func (l *Launcher) Stop()

Stop waits for any running tailer to be flushed.

Jump to

Keyboard shortcuts

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