Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnnotationChanged ¶
func (AnnotationChanged) Create ¶
func (p AnnotationChanged) Create(event.CreateEvent) bool
func (AnnotationChanged) Delete ¶
func (p AnnotationChanged) Delete(event.DeleteEvent) bool
func (AnnotationChanged) Generic ¶
func (p AnnotationChanged) Generic(event.GenericEvent) bool
func (AnnotationChanged) Update ¶
func (p AnnotationChanged) Update(e event.UpdateEvent) bool
Update implements default UpdateEvent filter for validating annotation change.
type DependentPredicate ¶
type DependentPredicate struct { WatchDelete bool WatchUpdate bool WatchStatus bool predicate.Funcs }
func (DependentPredicate) Create ¶
func (p DependentPredicate) Create(event.CreateEvent) bool
func (DependentPredicate) Delete ¶
func (p DependentPredicate) Delete(e event.DeleteEvent) bool
func (DependentPredicate) Generic ¶
func (p DependentPredicate) Generic(event.GenericEvent) bool
func (DependentPredicate) Update ¶
func (p DependentPredicate) Update(e event.UpdateEvent) bool
type StatusChanged ¶
StatusChanged implements a generic update predicate function on status change.
func (StatusChanged) Create ¶
func (p StatusChanged) Create(event.CreateEvent) bool
func (StatusChanged) Delete ¶
func (p StatusChanged) Delete(event.DeleteEvent) bool
func (StatusChanged) Generic ¶
func (p StatusChanged) Generic(event.GenericEvent) bool
func (StatusChanged) Update ¶
func (p StatusChanged) Update(e event.UpdateEvent) bool
Update implements default UpdateEvent filter for validating status change.
Click to show internal directories.
Click to hide internal directories.