Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,171 for Matcher (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

    org.hamcrest.core.AllOf Creates a matcher that matches if the examined object matches ALL of the specified matchers. allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method in class org.hamcrest.core.AllOf Creates a matcher that matches if the examined object matches ALL of the specified matchers. allOf(Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>, Matcher<? super T>) - Static method...
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Oct 02 08:41:25 UTC 2022
    - 236.8K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/matcher/metadata.go

    // limitations under the License.
    
    package matcher
    
    import (
    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    )
    
    // MetadataStringMatcher creates a metadata string matcher for the given filter, key and the
    // string matcher.
    func MetadataStringMatcher(filter, key string, m *matcher.StringMatcher) *matcher.MetadataMatcher {
    	return MetadataValueMatcher(filter, key, &matcher.ValueMatcher{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top