filter

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NamePredicate

type NamePredicate struct {
	Namespace string
	Names     []string
}

NamePredicate only watches objects with given name

func (NamePredicate) Create

func (p NamePredicate) Create(e event.CreateEvent) bool

Create implements Predicate

func (NamePredicate) Delete

func (p NamePredicate) Delete(e event.DeleteEvent) bool

Delete implements Predicate

func (NamePredicate) Generic

func (p NamePredicate) Generic(e event.GenericEvent) bool

Generic implements Predicate

func (NamePredicate) Update

func (p NamePredicate) Update(e event.UpdateEvent) bool

Update implements Predicate

Jump to

Keyboard shortcuts

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