Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkMatcher (0.28 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go

    	ns, ok := f.namespaces[name]
    	if ok {
    		return ns, nil
    	}
    	return nil, errors.NewNotFound(corev1.Resource("namespaces"), name)
    }
    
    func BenchmarkMatcher(b *testing.B) {
    	allScopes := v1.AllScopes
    	equivalentMatch := v1.Equivalent
    
    	namespace1Labels := map[string]string{"ns": "ns1"}
    	namespace1 := corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top