noop

package
v0.155.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

README

noop Source

A no-operation source that always returns "not-found". Useful for testing and benchmarking the processor overhead.

Configuration

No configuration options.

Example

processors:
  lookup:
    source:
      type: noop
    lookups:
      - key: log.attributes["lookup.key"]
        attributes:
          - destination: result
            default: "not-found"

Documentation

Overview

Package noop provides a no-operation lookup source for testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() lookupsource.SourceFactory

Types

type Config

type Config struct{}

func (*Config) Validate

func (*Config) Validate() error

Jump to

Keyboard shortcuts

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