filter

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Evaluator

type Evaluator interface {
	AddFilter(filter *filtersuite.Filter) error
	EvalPackage(pkg *models.Package) (*filterEvaluationResult, error)
}

func NewEvaluator

func NewEvaluator(name string, opts ...Option) (Evaluator, error)

type Option added in v1.13.2

type Option func(*filterEvaluatorOptions)

func WithClock added in v1.13.2

func WithClock(c clock.Clock) Option

func WithIgnoreError added in v1.13.2

func WithIgnoreError(ignore bool) Option

Jump to

Keyboard shortcuts

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