filterexpr

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingOp = fmt.Errorf("missing operator")

ErrMissingOp indicates that the expression was not complete

Functions

func MatchesFilter

func MatchesFilter(js *v1.JobStatus, filter []*v1.FilterExpression) (matches bool)

MatchesFilter returns true if the annotations are matched by the filter

func Parse

func Parse(exprs []string) ([]*v1.FilterTerm, error)

Parse parses a list of expressions

Types

This section is empty.

Jump to

Keyboard shortcuts

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