Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Always = &Func{ Func: func(_ *corev1.Event) bool { return true }, Description: "true", }
Always is a filter that always matches
View Source
var Never = &Func{ Func: func(_ *corev1.Event) bool { return false }, Description: "false", }
Never is a filter that never matches
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter interface { // Match checks if a Event matches the filter Match(*corev1.Event) bool // Equals compares the Filter with another Equals(Filter) bool // String returns the description of the Filter String() string }
Filter is an event filters
Click to show internal directories.
Click to hide internal directories.