Documentation ¶
Index ¶
- func AnnotationChanged(name string) predicate.Predicate
- func HasAnnotation(name string) predicate.Predicate
- func HasLabel(name string) predicate.Predicate
- func LabelChanged(name string) predicate.Predicate
- func StatusChanged() predicate.Predicate
- type Compare
- type DependentPredicate
- type DependentPredicateOption
- type Test
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnotationChanged ¶
func HasAnnotation ¶
func LabelChanged ¶
func StatusChanged ¶
Types ¶
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(_ 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 DependentPredicateOption ¶
type DependentPredicateOption func(*DependentPredicate) *DependentPredicate
func WithWatchDeleted ¶
func WithWatchDeleted(val bool) DependentPredicateOption
func WithWatchStatus ¶
func WithWatchStatus(val bool) DependentPredicateOption
func WithWatchUpdate ¶
func WithWatchUpdate(val bool) DependentPredicateOption
Click to show internal directories.
Click to hide internal directories.