filters

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetValues

func GetValues(o []string) []string

func IsZero

func IsZero(v reflect.Value) bool

Types

type Filter

type Filter interface {
	Filter(event *v1.Event) (matched bool)
}

All filter interface

type GenericFilter

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

func NewGenericFilter

func NewGenericFilter(field string, keys []string, regexp bool) *GenericFilter

Generic Filter

func (*GenericFilter) Filter

func (gf *GenericFilter) Filter(event *v1.Event) (matched bool)

Jump to

Keyboard shortcuts

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