internal

package
v0.114.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrDataTypes

func ErrDataTypes(id component.ID, from, to pipeline.Signal) error

Types

type BaseRouter added in v0.109.0

type BaseRouter[T any] struct {
	Consumers map[pipeline.ID]T
	// contains filtered or unexported fields
}

func NewBaseRouter added in v0.109.0

func NewBaseRouter[T any](fanout func([]T) T, cm map[pipeline.ID]T) BaseRouter[T]

func (*BaseRouter[T]) Consumer added in v0.109.0

func (r *BaseRouter[T]) Consumer(pipelineIDs ...pipeline.ID) (T, error)

func (*BaseRouter[T]) PipelineIDs added in v0.109.0

func (r *BaseRouter[T]) PipelineIDs() []pipeline.ID

Jump to

Keyboard shortcuts

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