Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 874 for patched (0.35 sec)

  1. cmd/kubeadm/app/phases/etcd/local_test.go

    		return
    	}
    	if pod.Spec.DNSPolicy != "" {
    		t.Errorf("DNSPolicy should be empty but: %v", pod.Spec.DNSPolicy)
    	}
    
    	if _, ok := pod.ObjectMeta.Annotations["patched"]; !ok {
    		t.Errorf("Patches were not applied to %s", kubeadmconstants.Etcd)
    	}
    }
    
    func TestGetEtcdCommand(t *testing.T) {
    	var tests = []struct {
    		name             string
    		advertiseAddress string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/staticpod/utils.go

    	if err != nil {
    		return pod, errors.Wrapf(err, "failed to marshal Pod manifest to YAML")
    	}
    
    	patchManager, err := patches.GetPatchManagerForPath(patchesDir, patches.KnownTargets(), output)
    	if err != nil {
    		return pod, err
    	}
    
    	patchTarget := &patches.PatchTarget{
    		Name:                      pod.Name,
    		StrategicMergePatchObject: v1.Pod{},
    		Data:                      podYAML,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. pkg/kube/inject/webhook.go

    		return nil, fmt.Errorf("failed to process pod: %v", err)
    	}
    
    	patch, err := createPatch(mergedPod, originalPodSpec)
    	if err != nil {
    		return nil, fmt.Errorf("failed to create patch: %v", err)
    	}
    
    	log.Debugf("AdmissionResponse: patch=%v\n", string(patch))
    	return patch, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/fake/fake_customresourcedefinition.go

    	_, err := c.Fake.Invokes(action, &v1.CustomResourceDefinitionList{})
    	return err
    }
    
    // Patch applies the patch and returns the patched customResourceDefinition.
    func (c *FakeCustomResourceDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CustomResourceDefinition, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/execution/JavaModuleExecutionIntegrationTest.groovy

        }
    
        // This test demonstrated the current behavior for how a module compilation of sources in one 'source directory set' and be patched with the result of another.
        // If we add higher level modeling concepts for the relationship between the compile steps on one source set, the '--patch-module' arguments could maybe be derived automatically.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/typed/cr/v1/fake/fake_example.go

    	action := testing.NewDeleteCollectionAction(examplesResource, c.ns, listOpts)
    
    	_, err := c.Fake.Invokes(action, &v1.ExampleList{})
    	return err
    }
    
    // Patch applies the patch and returns the patched example.
    func (c *FakeExamples) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Example, err error) {
    	emptyResult := &v1.Example{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy

            def pattern = Pattern.compile("Transforming " + fileName + ".* with (.*)")
            for (def line : output.readLines()) {
                def matcher = pattern.matcher(line)
                if (matcher.matches()) {
                    transforms.add(matcher.group(1))
                }
            }
            return transforms
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 29K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    		objToUpdate, patchErr = p.mechanism.createNewObject(ctx)
    	} else {
    		objToUpdate, patchErr = p.mechanism.applyPatchToCurrentObject(ctx, currentObject)
    	}
    
    	if patchErr != nil {
    		return nil, patchErr
    	}
    
    	objToUpdateHasUID, err := hasUID(objToUpdate)
    	if err != nil {
    		return nil, err
    	}
    	if objToUpdateHasUID && !currentObjectHasUID {
    		accessor, err := meta.Accessor(objToUpdate)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. src/internal/coverage/encodemeta/encode.go

    func (b *CoverageMetaDataBuilder) Emit(w io.WriteSeeker) ([16]byte, error) {
    	// Emit header.  Length will initially be zero, we'll
    	// back-patch it later.
    	var digest [16]byte
    	copy(digest[:], b.h.Sum(nil))
    	mh := coverage.MetaSymbolHeader{
    		// hash and length initially zero, will be back-patched
    		PkgPath:    uint32(b.pkgpath),
    		PkgName:    uint32(b.pkgname),
    		ModulePath: uint32(b.modpath),
    		NumFiles:   uint32(b.stab.Nentries()),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 17:16:10 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/fake/fake_customresourcedefinition.go

    	_, err := c.Fake.Invokes(action, &v1beta1.CustomResourceDefinitionList{})
    	return err
    }
    
    // Patch applies the patch and returns the patched customResourceDefinition.
    func (c *FakeCustomResourceDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.CustomResourceDefinition, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top