feat: Upgrade all go packages

This commit is contained in:
TheiLLeniumStudios
2025-12-28 09:02:51 +01:00
parent cca7383daf
commit 612006c091
4 changed files with 188 additions and 136 deletions
+6
View File
@@ -132,6 +132,12 @@ func (ls LabelsSet) Get(key string) string {
return ls[key]
}
// Lookup returns the value for the provided label key and whether it exists.
func (ls LabelsSet) Lookup(key string) (string, bool) {
value, ok := ls[key]
return value, ok
}
// IgnoreAnnotationPredicate returns a predicate that filters out resources with the ignore annotation.
func IgnoreAnnotationPredicate(cfg *config.Config) predicate.Predicate {
return predicate.NewPredicateFuncs(