Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 874 for patched (0.1 sec)

  1. cmd/kubeadm/app/phases/controlplane/manifests_test.go

    	if err != nil {
    		t.Errorf("Error executing ReadStaticPodFromDisk: %v", err)
    		return
    	}
    
    	if _, ok := pod.ObjectMeta.Annotations["patched"]; !ok {
    		t.Errorf("Patches were not applied to %s", kubeadmconstants.KubeAPIServer)
    	}
    }
    
    func TestGetAPIServerCommand(t *testing.T) {
    	var tests = []struct {
    		name     string
    		cfg      *kubeadmapi.ClusterConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/text/unicode/norm/normalize.go

    		bp, _ = rb.f.quickSpan(rb.src, bp, len(s), true)
    	}
    	return true
    }
    
    // patchTail fixes a case where a rune may be incorrectly normalized
    // if it is followed by illegal continuation bytes. It returns the
    // patched buffer and whether the decomposition is still in progress.
    func patchTail(rb *reorderBuffer) bool {
    	info, p := lastRuneStart(&rb.f, rb.out)
    	if p == -1 || info.size == 0 {
    		return true
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. 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)
  4. pkg/controller/podgc/gc_controller_test.go

    			for _, action := range actions {
    				if action.GetVerb() == "patch" {
    					patchAction = action.(clienttesting.PatchAction)
    				}
    
    				if action.GetVerb() == "delete" {
    					deleteAction = action.(clienttesting.DeleteAction)
    				}
    			}
    
    			if patchAction != nil && test.expectedPatchedPod == nil {
    				t.Fatalf("Pod was pactched but expectedPatchedPod is nil")
    			}
    			if test.expectedPatchedPod != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 08:16:48 UTC 2024
    - 29K bytes
    - Viewed (0)
  5. pkg/controller/tainteviction/taint_eviction_test.go

    		expectPatch                   bool
    		expectDelete                  bool
    		additionalSleep               time.Duration
    		enablePodDisruptionConditions bool
    	}{
    		{
    			description: "Added taint, expect node patched and deleted when PodDisruptionConditions is enabled",
    			pods: []corev1.Pod{
    				*testutil.NewPod("pod1", "node1"),
    			},
    			oldNode:                       testutil.NewNode("node1"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  6. pkg/registry/core/service/storage/storage_test.go

    					t.Errorf("expected clusterIPs to be patched: %q != %q", beforeIPs, updateIPs)
    				}
    			} else if tc.expectReducedClusterIPs {
    				if len(updateIPs) != 1 || beforeIPs[0] != updateIPs[0] {
    					t.Errorf("expected clusterIPs to be trim-patched: %q -> %q", beforeIPs, updateIPs)
    				}
    			} else if cmp.Equal(beforeIPs, updateIPs) {
    				t.Errorf("expected clusterIPs to not be patched: %q == %q", beforeIPs, updateIPs)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/s390x/objz.go

    	}
    }
    
    // stacksplitPre generates the function stack check prologue following
    // Prog p (which should be the TEXT Prog). It returns one or two
    // branch Progs that must be patched to jump to the morestack epilogue,
    // and the Prog that starts the morestack check.
    func (c *ctxtz) stacksplitPre(p *obj.Prog, framesize int32) (pPre, pPreempt, pCheck *obj.Prog) {
    	if c.ctxt.Flag_maymorestack != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/dep-man/01-core-dependency-management/declaring_dependencies.adoc

    This can be done by utilising <<composite_builds.adoc#defining_composite_builds,composite builds>>.
    This allows you, for example, to fix an issue in a library you use in an application by using, and building, a locally patched version instead of the published binary version.
    The details of this are described in the section on <<composite_builds.adoc#defining_composite_builds,composite builds>>.
    
    [[sub:gradle_distribution_dependencies]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 30.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    func handleDirectiveInMergeMap(directive interface{}, patch map[string]interface{}) (map[string]interface{}, error) {
    	if directive == replaceDirective {
    		// If the patch contains "$patch: replace", don't merge it, just use the
    		// patch directly. Later on, we can add a single level replace that only
    		// affects the map that the $patch is in.
    		delete(patch, directiveMarker)
    		return patch, nil
    	}
    
    	if directive == deleteDirective {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  10. 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)
Back to top