- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,558 for Patches (0.3 sec)
-
cmd/kubeadm/app/util/patches/patches.go
// Data must contain the bytes that will be patched. Data []byte } // PatchManager defines an object that can apply patches. type PatchManager struct { patchSets []*patchSet knownTargets []string output io.Writer } // patchSet defines a set of patches of a certain type that can patch a PatchTarget. type patchSet struct { targetName string patchType types.PatchType patches []string }
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/model/envoyfilter_test.go
} if patches := cfilter.Patches[networking.EnvoyFilter_INVALID]; len(patches) != 1 { t.Fatalf("unexpected patches of %v: %v", networking.EnvoyFilter_INVALID, cfilter.Patches) } if patches := cfilter.Patches[networking.EnvoyFilter_HTTP_ROUTE]; len(patches) != 1 { // check num of invalid http route patches t.Fatalf("unexpected patches of %v: %v", networking.EnvoyFilter_HTTP_ROUTE, cfilter.Patches) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 27 04:20:28 UTC 2023 - 7.4K bytes - Viewed (0) -
pilot/pkg/model/envoyfilter.go
} else { // pre-compile the regex for proxy version if it exists // ignore the error because validation catches invalid regular expressions. cpw.ProxyVersionRegex, _ = regexp.Compile(cp.Match.Proxy.ProxyVersion) } } if _, exists := out.Patches[cp.ApplyTo]; !exists { out.Patches[cp.ApplyTo] = make([]*EnvoyFilterConfigPatchWrapper, 0) } if cpw.Operation == networking.EnvoyFilter_Patch_INSERT_AFTER ||
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 13:57:28 UTC 2024 - 7.1K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/listener_patch.go
merge.Merge(lis, lp.Value) } } patchListenerFilters(patchContext, patches[networking.EnvoyFilter_LISTENER_FILTER], lis) patchFilterChains(patchContext, patches, lis) } // patchListenerFilters patches passed in listener filters with listener filter patches. func patchListenerFilters(patchContext networking.EnvoyFilter_PatchContext, patches []*model.EnvoyFilterConfigPatchWrapper, lis *listener.Listener, ) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 15:39:29 UTC 2024 - 26.7K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/input/pilot_override_kubernetes.yaml
- kind: Service name: istiod patches: - path: spec.ports.[name:https-dns].port value: 11111 # OVERRIDDEN # Cluster scope resource - kind: MutatingWebhookConfiguration name: istio-sidecar-injector-istio-control patches:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 01 22:07:45 UTC 2023 - 2.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubelet/config.go
} // applyKubeletConfigPatches reads patches from a directory and applies them over the input kubeletBytes func applyKubeletConfigPatches(kubeletBytes []byte, patchesDir string, output io.Writer) ([]byte, error) { patchManager, err := patches.GetPatchManagerForPath(patchesDir, patches.KnownTargets(), output) if err != nil { return nil, err } patchTarget := &patches.PatchTarget{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 02 12:34:30 UTC 2024 - 5.9K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/rc_patch.go
) (out *route.RouteConfiguration) { defer runtime.HandleCrash(runtime.LogPanic, func(any) { IncrementEnvoyFilterErrorMetric(Route) log.Errorf("route patch %s/%s caused panic, so the patches did not take effect", efw.Namespace, efw.Name) }) // In case the patches cause panic, use the route generated before to reduce the influence. out = routeConfiguration if efw == nil { return out } var portMap model.GatewayPortMap
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 13K bytes - Viewed (0) -
cmd/kubeadm/app/util/patches/patches_test.go
targetName: "etcd", patchType: types.StrategicMergePatchType, data: `{"foo":"bar"}` + "\n---\n" + `{"foo":"baz"}`, expectedPatchSet: &patchSet{ targetName: "etcd", patchType: types.StrategicMergePatchType, patches: []string{`{"foo":"bar"}`, `{"foo":"baz"}`}, }, }, { name: "valid: empty patches are ignored", targetName: "etcd",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 14:24:11 UTC 2023 - 11.9K bytes - Viewed (0) -
pkg/controller/controller_ref_manager_test.go
} fakePodControl, ok := test.manager.podControl.(*FakePodControl) if !ok { return } if p := len(fakePodControl.Patches); p != test.patches { t.Errorf("ClaimPods issues %d patches, want %d", p, test.patches) } for _, p := range fakePodControl.Patches { patch := string(p) if uid := string(test.manager.Controller.GetUID()); !strings.Contains(patch, uid) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 10 17:19:26 UTC 2021 - 10.6K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.deepcopy.go
func (in *Patches) DeepCopyInto(out *Patches) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Patches. func (in *Patches) DeepCopy() *Patches { if in == nil { return nil } out := new(Patches) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 24.1K bytes - Viewed (0)