Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for Matcher (0.42 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	wg.Wait()
    
    	if watchErr != nil {
    		t.Fatal(watchErr)
    	}
    
    	// wait out the expiration period and pop expired watchers
    	time.Sleep(2 * time.Second)
    	cacher.Lock()
    	defer cacher.Unlock()
    	cacher.bookmarkWatchers.popExpiredWatchersThreadUnsafe()
    	if len(cacher.bookmarkWatchers.watchersBuckets) != 0 {
    		numWatchers := 0
    		for bucketID, v := range cacher.bookmarkWatchers.watchersBuckets {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    			assert.ElementsMatch(t, testcase.expectedEndpoints, slice.Endpoints)
    		})
    	}
    }
    
    // TestPodAddsBatching verifies that endpoint updates caused by pod addition are batched together.
    // This test uses real time.Sleep, as there is no easy way to mock time in endpoints controller now.
    // TODO(mborsz): Migrate this test to mock clock when possible.
    func TestPodAddsBatching(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // Default to the empty LabelSelector, which matches everything.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector objectSelector = 2;
    
      // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches.
      // The policy cares about an operation if it matches _any_ Rule.
      // +listType=atomic
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // Default to the empty LabelSelector, which matches everything.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector objectSelector = 2;
    
      // ResourceRules describes what operations on what resources/subresources the ValidatingAdmissionPolicy matches.
      // The policy cares about an operation if it matches _any_ Rule.
      // +listType=atomic
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1beta1/types.go

    	// Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this.
    	// If this is unset, all resources matched by the policy are validated by this binding
    	// When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// Note that this is intersected with the policy's matchConstraints, so only requests that are matched by the policy can be selected by this.
    	// If this is unset, all resources matched by the policy are validated by this binding
    	// When resourceRules is unset, it does not constrain resource matching. If a resource is matched by the other fields of this object, it will be validated.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/conversion.go

    		res := conversionResult{}
    		for n, r := range route.Rules {
    			// split the rule to make sure each rule has up to one match
    			matches := slices.Reference(r.Matches)
    			if len(matches) == 0 {
    				matches = append(matches, nil)
    			}
    			for _, m := range matches {
    				if m != nil {
    					r.Matches = []k8s.HTTPRouteMatch{*m}
    				}
    				vs, err := convertHTTPRoute(r, ctx, obj, n, !mesh)
    				// This was a hard error
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  8. src/net/http/request.go

    	// and mutating the contexts held by callers of the same request.
    	ctx context.Context
    
    	// The following fields are for requests matched by ServeMux.
    	pat         *pattern          // the pattern that matched
    	matches     []string          // values for the matching wildcards in pat
    	otherValues map[string]string // for calls to SetPathValue that don't match a wildcard
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 49.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/extensions/v1beta1/types.go

    	// matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
    	// Requests will be matched against the Host field in the following way:
    	// 1. If Host is precise, the request matches this rule if the http host header is equal to Host.
    	// 2. If Host is a wildcard, then the request matches this rule if the http host header
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  10. pkg/controller/endpoint/endpoints_controller_test.go

    		}},
    	})
    	endpointsHandler.ValidateRequest(t, "/api/v1/namespaces/"+ns+"/endpoints/foo", "PUT", &data)
    }
    
    // TestPodUpdatesBatching verifies that endpoint updates caused by pod updates are batched together.
    // This test uses real time.Sleep, as there is no easy way to mock time in endpoints controller now.
    // TODO(mborsz): Migrate this test to mock clock when possible.
    func TestPodUpdatesBatching(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top