Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,913 for Patches (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. cmd/kubeadm/app/apis/kubeadm/v1beta4/zz_generated.conversion.go

    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*Patches)(nil), (*kubeadm.Patches)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta4_Patches_To_kubeadm_Patches(a.(*Patches), b.(*kubeadm.Patches), scope)
    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*kubeadm.Patches)(nil), (*Patches)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/envoyfilter/cluster_patch.go

    	})
    	// In case the patches cause panic, use the clusters generated before to reduce the influence.
    	out = c
    	if efw == nil {
    		return
    	}
    	for _, cp := range efw.Patches[networking.EnvoyFilter_CLUSTER] {
    		applied := false
    		if cp.Operation != networking.EnvoyFilter_Patch_MERGE {
    			IncrementEnvoyFilterMetric(cp.Key(), Cluster, applied)
    			continue
    		}
    		if commonConditionMatch(pctx, cp) && clusterMatch(c, cp, hosts) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top