addattributes

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromConfigMap

func FromConfigMap(config map[string]interface{}) (types.Transformer, error)

Types

type Config

type Config struct {
	ResourceValues map[string]string
	DynamicLabeler metadata.LogLabeler
}

type Transform

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

func NewTransform

func NewTransform(config Config) *Transform

func (*Transform) Close

func (t *Transform) Close() error

func (*Transform) Name

func (t *Transform) Name() string

func (*Transform) Open

func (t *Transform) Open(ctx context.Context) error

func (*Transform) Transform

func (t *Transform) Transform(ctx context.Context, batch *types.LogBatch) (*types.LogBatch, error)

Jump to

Keyboard shortcuts

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