Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 243 for patched (0.14 sec)

  1. cmd/kubeadm/app/util/patches/patches.go

    		for _, patch := range patchSet.patches {
    			patchBytes := []byte(patch)
    
    			// Patch based on the patch type.
    			switch patchSet.patchType {
    
    			// JSON patch.
    			case types.JSONPatchType:
    				var patchObj jsonpatch.Patch
    				patchObj, err = jsonpatch.DecodePatch(patchBytes)
    				if err == nil {
    					patchedData, err = patchObj.Apply(patchedData)
    				}
    
    			// Merge patch.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster.go

    			if patched := cp.patch(nil, defaultCluster.build()); patched != nil {
    				resources = append(resources, patched)
    				if features.EnableCDSCaching {
    					cb.cache.Add(&clusterKey, cb.req, patched)
    				}
    			}
    			for _, ss := range subsetClusters {
    				if patched := cp.patch(nil, ss); patched != nil {
    					resources = append(resources, patched)
    					if features.EnableCDSCaching {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  3. pkg/test/framework/components/istio/configmap.go

    }
    
    func (mc *meshConfig) PatchMeshConfig(t resource.Context, patch string) error {
    	return mc.UpdateMeshConfig(t, func(mc *meshconfig.MeshConfig) error {
    		return protomarshal.ApplyYAML(patch, mc)
    	}, cleanup.Always)
    }
    
    func (mc *meshConfig) PatchMeshConfigOrFail(ctx resource.Context, t test.Failer, patch string) {
    	t.Helper()
    	if err := mc.PatchMeshConfig(ctx, patch); err != nil {
    		t.Fatal(err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1beta1/customresourcedefinition.go

    		Do(ctx).
    		Error()
    }
    
    // Patch applies the patch and returns the patched customResourceDefinition.
    func (c *customResourceDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.CustomResourceDefinition, err error) {
    	result = &v1beta1.CustomResourceDefinition{}
    	err = c.client.Patch(pt).
    		Resource("customresourcedefinitions").
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. pkg/webhooks/validation/controller/controller.go

    type Options struct {
    	// Istio system namespace where istiod resides.
    	WatchedNamespace string
    
    	// File path to the x509 certificate bundle used by the webhook server
    	// and patched into the webhook config.
    	CABundleWatcher *keycertbundle.Watcher
    
    	// Revision for control plane performing patching on the validating webhook.
    	Revision string
    
    	// Name of the service running the webhook server.
    	ServiceName string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/client/clientset/clientset/typed/apiextensions/v1/customresourcedefinition.go

    		Body(&opts).
    		Do(ctx).
    		Error()
    }
    
    // Patch applies the patch and returns the patched customResourceDefinition.
    func (c *customResourceDefinitions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.CustomResourceDefinition, err error) {
    	result = &v1.CustomResourceDefinition{}
    	err = c.client.Patch(pt).
    		Resource("customresourcedefinitions").
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 10:52:54 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top