Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventLogger ¶
EventLogger logs the event
func (EventLogger) Create ¶
func (h EventLogger) Create(e event.CreateEvent) bool
func (EventLogger) Delete ¶
func (h EventLogger) Delete(e event.DeleteEvent) bool
func (EventLogger) Generic ¶
func (h EventLogger) Generic(e event.GenericEvent) bool
func (EventLogger) Update ¶
func (h EventLogger) Update(e event.UpdateEvent) bool
type LabelMatcher ¶
LabelMatcher filters events by the event's object labels
func (LabelMatcher) Create ¶
func (p LabelMatcher) Create(e event.CreateEvent) bool
func (LabelMatcher) Delete ¶
func (p LabelMatcher) Delete(e event.DeleteEvent) bool
func (LabelMatcher) Generic ¶
func (p LabelMatcher) Generic(e event.GenericEvent) bool
func (LabelMatcher) Update ¶
func (p LabelMatcher) Update(e event.UpdateEvent) bool
type SimpleEventFilter ¶
type SimpleEventFilter interface { // return True to filter out the event FilterEvent(obj v1.Object) bool }
SimpleEventFilter filters events for a single object type
type SimpleEventFilterFunc ¶ added in v0.7.17
func (SimpleEventFilterFunc) FilterEvent ¶ added in v0.7.17
func (f SimpleEventFilterFunc) FilterEvent(obj v1.Object) bool
type SimplePredicate ¶
type SimplePredicate struct {
Filter SimpleEventFilter
}
SimplePredicate filters events based on a ShouldSync function
func (SimplePredicate) Create ¶
func (p SimplePredicate) Create(e event.CreateEvent) bool
func (SimplePredicate) Delete ¶
func (p SimplePredicate) Delete(e event.DeleteEvent) bool
func (SimplePredicate) Generic ¶
func (p SimplePredicate) Generic(e event.GenericEvent) bool
func (SimplePredicate) Update ¶
func (p SimplePredicate) Update(e event.UpdateEvent) bool
Click to show internal directories.
Click to hide internal directories.