Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for patched (0.15 sec)

  1. pkg/controller/garbagecollector/garbagecollector_test.go

    	}
    	n := node{
    		owners: accessor.GetOwnerReferences(),
    	}
    	patch, err := n.unblockOwnerReferencesStrategicMergePatch()
    	if err != nil {
    		t.Fatal(err)
    	}
    	patched, err := strategicpatch.StrategicMergePatch(originalData, patch, v1.Pod{})
    	if err != nil {
    		t.Fatal(err)
    	}
    	var got v1.Pod
    	if err := json.Unmarshal(patched, &got); err != nil {
    		t.Fatal(err)
    	}
    	if !reflect.DeepEqual(expected, got) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	podCreated := objCreated.(*example.Pod)
    
    	watcher, err := registry.WatchPredicate(testContext, matchPodName("foo"), podCreated.ResourceVersion, nil)
    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	defer watcher.Stop()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one_test.go

    			cs := &clientsetfake.Clientset{}
    			cs.AddReactor("patch", "pods", func(action clienttesting.Action) (bool, runtime.Object, error) {
    				actualPatchRequests++
    				patch := action.(clienttesting.PatchAction)
    				actualPatchData = string(patch.GetPatch())
    				// For this test, we don't care about the result of the patched pod, just that we got the expected
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  4. tests/integration/pilot/common/routing.go

    		name:             "matched without claim:200",
    		targetMatchers:   matchers,
    		workloadAgnostic: true,
    		viaIngress:       true,
    		config:           configAll,
    		templateVars: func(src echo.Callers, dest echo.Instances) map[string]any {
    			return map[string]any{
    				"WithoutHeaders":    []configData{{"@request.auth.claims.nested.key1", "exact", "value-not-matched"}},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  5. pkg/controller/job/job_controller_test.go

    				t.Errorf("Unexpected number of create calls.  Expected <= %d, saw %d\n", fakePodControl.CreateLimit*2, fakePodControl.CreateCallCount)
    			}
    			if p := len(fakePodControl.Patches); p != tc.expectedPodPatches {
    				t.Errorf("Got %d pod patches, want %d", p, tc.expectedPodPatches)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  6. src/cmd/go/internal/load/pkg.go

    	}
    	return pre
    }
    
    // preloadMatches loads data for package paths matched by patterns.
    // When preloadMatches returns, some packages may not be loaded yet, but
    // loadPackageData and loadImport are always safe to call.
    func (pre *preload) preloadMatches(ctx context.Context, opts PackageOpts, matches []*search.Match) {
    	for _, m := range matches {
    		for _, pkg := range m.Pkgs {
    			select {
    			case <-pre.cancel:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 120K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    					t.Errorf("expected only ErrorTypeInvalid errors, but got: %v", err)
    					continue
    				}
    				matched := false
    				for expected := range unmatched {
    					if strings.Contains(err.Error(), expected) {
    						delete(unmatched, expected)
    						matched = true
    						break
    					}
    				}
    				if !matched {
    					t.Errorf("expected error to contain one of %v, but got: %v", unmatched, err)
    				}
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  8. src/cmd/go/alldocs.go

    //	    Version  string // module version
    //	    Error    string // error loading module
    //	    Info     string // absolute path to cached .info file
    //	    GoMod    string // absolute path to cached .mod file
    //	    Zip      string // absolute path to cached .zip file
    //	    Dir      string // absolute path to cached source root directory
    //	    Sum      string // checksum for path, version (as in go.sum)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 142.4K bytes
    - Viewed (0)
  9. src/net/http/server.go

    // was that a trailing-slash pattern, like "/", matched a path longer than
    // it, like "/a".
    //
    // With wildcards, we define an inexact match as any one where a multi wildcard
    // matches a non-empty string. All other matches are exact.
    // For example, these are all exact matches:
    //
    //	pattern   path
    //	/a        /a
    //	/{x}      /a
    //	/a/{$}    /a/
    //	/a/       /a/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_test.go

    				return strings.HasPrefix(c.Name, "inbound|") || strings.HasPrefix(c.Name, "outbound|")
    			},
    			destRule: nil,
    			expected: getDefaultCircuitBreakerThresholds(),
    		},
    		{
    			name:   "port-level policy matched",
    			filter: inboundFilter,
    			destRule: &networking.DestinationRule{
    				Host: "backend.default.svc.cluster.local",
    				TrafficPolicy: &networking.TrafficPolicy{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top