teesink

package
v0.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTeeSink

func NewTeeSink(sinks ...sink.Sink) sink.Sink

Types

type BatchingTee

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

func (*BatchingTee) Close added in v0.8.0

func (sn *BatchingTee) Close(ctx context.Context) error

func (*BatchingTee) Receive

func (sn *BatchingTee) Receive(ctx context.Context, ev *typesv1.LogEvent) error

func (*BatchingTee) ReceiveBatch

func (sn *BatchingTee) ReceiveBatch(ctx context.Context, evs []*typesv1.LogEvent) error

type MixedBatchingTee

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

func (*MixedBatchingTee) Close added in v0.8.0

func (sn *MixedBatchingTee) Close(ctx context.Context) error

func (*MixedBatchingTee) Receive

func (sn *MixedBatchingTee) Receive(ctx context.Context, ev *typesv1.LogEvent) error

func (*MixedBatchingTee) ReceiveBatch

func (sn *MixedBatchingTee) ReceiveBatch(ctx context.Context, evs []*typesv1.LogEvent) error

type Tee

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

func (*Tee) Close added in v0.8.0

func (sn *Tee) Close(ctx context.Context) error

func (*Tee) Receive

func (sn *Tee) Receive(ctx context.Context, ev *typesv1.LogEvent) error

Jump to

Keyboard shortcuts

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