node

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

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

func NewInput

func NewInput(cfg configinput.Input, logger *zerolog.Logger, opts ...Option) (*Input, error)

func (*Input) AddOutputChannel

func (i *Input) AddOutputChannel(ch chan any)

func (*Input) GetName

func (i *Input) GetName() string

func (*Input) GetOutputBufferSize

func (i *Input) GetOutputBufferSize() uint

func (*Input) Run

func (i *Input) Run(ctx context.Context) error

type Option

type Option func(*nodeCfg)

func WithCallGC

func WithCallGC() Option

func WithMetrics

func WithMetrics() Option

type Sequencer added in v1.2.0

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

func NewSequencer added in v1.2.0

func NewSequencer(
	cfg configtransform.Transform,
	logger *zerolog.Logger,
	opts ...Option,
) (*Sequencer, error)

func (*Sequencer) AddInputChannel added in v1.2.0

func (t *Sequencer) AddInputChannel(ch chan any)

func (*Sequencer) AddOutputChannel added in v1.2.0

func (t *Sequencer) AddOutputChannel(ch chan any)

func (*Sequencer) GetInputs added in v1.2.0

func (t *Sequencer) GetInputs() []string

func (*Sequencer) GetName added in v1.2.0

func (t *Sequencer) GetName() string

func (*Sequencer) GetOutputBufferSize added in v1.2.0

func (t *Sequencer) GetOutputBufferSize() uint

func (*Sequencer) Run added in v1.2.0

func (s *Sequencer) Run() error

Run non-blocking call that start Transform node action in separated goroutine.

type Sink

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

func NewSink

func NewSink(
	cfg configsink.Sink,
	logger *zerolog.Logger,
	opts ...Option,
) (*Sink, error)

func (*Sink) AddInputChannel

func (s *Sink) AddInputChannel(inputChannel chan any)

func (*Sink) GetInputs

func (s *Sink) GetInputs() []string

func (*Sink) Run

func (s *Sink) Run() error

type Transform

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

func NewTransform

func NewTransform(
	cfg configtransform.Transform,
	logger *zerolog.Logger,
	opts ...Option,
) (*Transform, error)

func (*Transform) AddInputChannel

func (t *Transform) AddInputChannel(ch chan any)

func (*Transform) AddOutputChannel

func (t *Transform) AddOutputChannel(ch chan any)

func (*Transform) GetInputs

func (t *Transform) GetInputs() []string

func (*Transform) GetName

func (t *Transform) GetName() string

func (*Transform) GetOutputBufferSize

func (t *Transform) GetOutputBufferSize() uint

func (*Transform) Run

func (t *Transform) Run() error

Run non-blocking call that start Transform node action in separated goroutine.

type Type

type Type string

Jump to

Keyboard shortcuts

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