filters

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventFilter

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

type EventTypeFilter

type EventTypeFilter struct {
	AllowedTypes []string
}

func NewEventTypeFilter

func NewEventTypeFilter(allowedTypes []string) *EventTypeFilter

func (*EventTypeFilter) Filter

func (e *EventTypeFilter) Filter(event *v1.Event) bool

Jump to

Keyboard shortcuts

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