{"modulePath":"github.com/kcp-dev/api-syncagent","version":"v0.9.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package predicate\n\n## Functions\n\n```go\nfunc ByLabels(selector labels.Selector) predicate.Funcs\n```\n\n```go\nfunc Factory(filter func(o ctrlruntimeclient.Object) bool) predicate.Funcs\n```\nFactory returns a predicate func that applies the given filter function on CREATE, UPDATE and DELETE events. For UPDATE events, the filter is applied to both the old and new object and OR's the result.\n\n","path":"github.com/kcp-dev/api-syncagent/internal/controllerutil/predicate","name":"predicate","synopsis":"","isRedistributable":true}
