- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 104 for patched (0.16 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/controller/statefulset/stateful_set_utils.go
template := spec["template"].(map[string]interface{}) specCopy["template"] = template template["$patch"] = "replace" objCopy["spec"] = specCopy patch, err := json.Marshal(objCopy) return patch, err } // newRevision creates a new ControllerRevision containing a patch that reapplies the target state of set.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 05 19:06:41 UTC 2024 - 26.7K bytes - Viewed (0) -
pkg/kube/inject/inject.go
injectedAnnotations: nil, } patchBytes, err = injectPod(params) } if err != nil { return nil, err } patched, err := applyJSONPatchToPod(pod, patchBytes) if err != nil { return nil, err } patchedObject, _, err := jsonSerializer.Decode(patched, nil, &corev1.Pod{}) if err != nil { return nil, err } patchedPod := patchedObject.(*corev1.Pod) *metadata = patchedPod.ObjectMeta
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 28.8K bytes - Viewed (1)