- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,264 for Matcher (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace/matcher.go
} // Matcher decides if a request is exempted by the NamespaceSelector of a // webhook configuration. type Matcher struct { NamespaceLister corelisters.NamespaceLister Client clientset.Interface } func (m *Matcher) GetNamespace(name string) (*v1.Namespace, error) { return m.NamespaceLister.Get(name) } // Validate checks if the Matcher has a NamespaceLister and Client.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 15 00:53:08 UTC 2023 - 4.4K bytes - Viewed (0) -
pkg/test/framework/resource/matcher.go
"regexp" "strconv" "strings" ) // testFilter is a regex matcher on a test. It is split by / following go subtest format type testFilter []*regexp.Regexp type Matcher struct { filters []testFilter } // NewMatcher reimplements the logic of Go's -test.run. The code is mostly directly copied from Go's source. func NewMatcher(regexs []string) (*Matcher, error) { filters := []testFilter{} for _, regex := range regexs {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 12 23:30:37 UTC 2021 - 3.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/object/matcher.go
return false } return selector.Matches(labels.Set(accessor.GetLabels())) } // MatchObjectSelector decideds whether the request matches the ObjectSelector // of the webhook. Only when they match, the webhook is called. func (m *Matcher) MatchObjectSelector(p ObjectSelectorProvider, attr admission.Attributes) (bool, *apierrors.StatusError) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 26 00:41:14 UTC 2022 - 1.8K bytes - Viewed (0) -
pkg/test/framework/components/echo/match/matcher.go
// GetServiceMatches returns the subset of echo.Services that match this Matcher. func (m Matcher) GetServiceMatches(services echo.Services) echo.Services { out := make(echo.Services, 0) for _, s := range services { if len(s) > 0 && m(s[0]) { out = append(out, s) } } return out } // First finds the first Instance that matches the Matcher. func (m Matcher) First(i echo.Instances) (echo.Instance, error) { for _, i := range i {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 21 20:45:12 UTC 2023 - 2.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go
return v.Expression } func (v *MatchCondition) ReturnTypes() []*cel.Type { return []*cel.Type{cel.BoolType} } var _ Matcher = &matcher{} // matcher evaluates compiled cel expressions and determines if they match the given request or not type matcher struct { filter celplugin.Filter failPolicy v1.FailurePolicyType matcherType string matcherKind string objectName string }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 24 14:46:11 UTC 2023 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/matcher.go
Dr. Stefan Schimanski <******@****.***> 1486027168 +0100
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 03 06:33:43 UTC 2017 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/matcher.go
Rita Zhang <******@****.***> 1709268932 -0800
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 2.9K bytes - Viewed (0) -
pkg/test/framework/components/echo/match/matchers.go
// Any doesn't filter out any echos. var Any Matcher = func(_ echo.Instance) bool { return true } // And is an aggregate Matcher that requires all matches return true. func And(ms ...Matcher) Matcher { return func(i echo.Instance) bool { for _, m := range ms { if m != nil && !m(i) { return false } } return true } } // Or is an aggregate Matcher that requires at least one matches return true.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 5.6K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/util/Matchers.java
} }; } @Factory public static Matcher<String> normalizedLineSeparators(final Matcher<? super String> matcher) { return new BaseMatcher<String>() { @Override public boolean matches(Object o) { String string = (String) o;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 6.8K bytes - Viewed (0) -
maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
CoreMatchers { public void CoreMatchers(); public static Matcher allOf(Iterable); public static transient Matcher allOf(Matcher[]); public static Matcher allOf(Matcher, Matcher); public static Matcher allOf(Matcher, Matcher, Matcher); public static Matcher allOf(Matcher, Matcher, Matcher, Matcher); public static Matcher allOf(Matcher, Matcher, Matcher, Matcher, Matcher); public static Matcher allOf(Matcher, Matcher, Matcher, Matcher, Matcher, Matcher); public static core.AnyOf anyOf(Iterable); public static...
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Oct 02 08:41:25 UTC 2022 - 44K bytes - Viewed (0)