- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for matcherfunc (0.12 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/meta/errors_test.go
// type. input error new func() error matcherFunc func(error) bool }{ { name: "AmbiguousResourceError", input: &AmbiguousResourceError{MatchingResources: []schema.GroupVersionResource{{}}}, new: func() error { return &AmbiguousResourceError{} }, matcherFunc: IsAmbiguousError, }, { name: "AmbiguousKindError",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 11 22:50:51 UTC 2022 - 2.4K bytes - Viewed (0) -
src/testing/match.go
// accept partial match that may produce full match later. ok, partial = m.filter.matches(elem, m.matchFunc) if !ok { return name, false, false } // skip must not match. // ignore partial match so we can get to more precise match later. skip, partialSkip := m.skip.matches(elem, m.matchFunc) if skip && !partialSkip { return name, false, false } return name, ok, partial }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 27 22:07:13 UTC 2023 - 7.7K bytes - Viewed (0)