Documentation ¶
Index ¶
- func CreateOrUpdateByMetadata(labels map[string]string, annotations map[string]string) (predicate.Predicate, error)
- func DeleteByMetadata(labels map[string]string, annotations map[string]string) (predicate.Predicate, error)
- func Log(log logr.Logger, logIgnored bool, p ...predicate.Predicate) predicate.Predicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrUpdateByMetadata ¶
func CreateOrUpdateByMetadata(labels map[string]string, annotations map[string]string) (predicate.Predicate, error)
CreateOrUpdateByMetadata returns a predicate that filters Create and Update events based on labels or annotations.
func DeleteByMetadata ¶
func DeleteByMetadata(labels map[string]string, annotations map[string]string) (predicate.Predicate, error)
DeleteByMetadata returns a predicate that filters Delete events based on labels or annotations.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.