filter

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter[T any] struct {
	// contains filtered or unexported fields
}

func NewExcludeFilter

func NewExcludeFilter[T any](spec *spec.Specification, paths []string) *Filter[T]

func NewIncludeFilter

func NewIncludeFilter[T any](spec *spec.Specification, paths []string) *Filter[T]

func (Filter[T]) Name

func (p Filter[T]) Name() string

func (*Filter[T]) Process

func (p *Filter[T]) Process(cxt context.Context, inputs []*pipeline.Data[T]) (outputs []*pipeline.Data[T], err error)

Jump to

Keyboard shortcuts

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