Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for EnvoyFilter_HTTP_ROUTE (0.24 sec)

  1. pilot/pkg/model/envoyfilter_test.go

    		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)
    	}
    }
    
    func TestKeysApplyingTo(t *testing.T) {
    	e := &EnvoyFilterWrapper{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 27 04:20:28 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/rc_patch_test.go

    			args: args{
    				patchContext: networking.EnvoyFilter_GATEWAY,
    				patches: map[networking.EnvoyFilter_ApplyTo][]*model.EnvoyFilterConfigPatchWrapper{
    					networking.EnvoyFilter_HTTP_ROUTE: {
    						{
    							ApplyTo: networking.EnvoyFilter_HTTP_ROUTE,
    							Match: &networking.EnvoyFilter_EnvoyConfigObjectMatch{
    								ObjectTypes: &networking.EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/envoyfilter/envoyfilter.go

    			// indicating that the operation will be ignored when applyTo is set to ROUTE_CONFIGURATION,
    			// or HTTP_ROUTE
    			if patch.ApplyTo == network.EnvoyFilter_ROUTE_CONFIGURATION || patch.ApplyTo == network.EnvoyFilter_HTTP_ROUTE {
    				// provide an error message indicating a mismatch between the operation type and the filter type
    				message := msg.NewEnvoyFilterUsesAddOperationIncorrectly(r)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. pkg/config/xds/xds.go

    		obj = &hcm.HttpFilter{}
    	case networking.EnvoyFilter_NETWORK_FILTER:
    		obj = &listener.Filter{}
    	case networking.EnvoyFilter_VIRTUAL_HOST:
    		obj = &route.VirtualHost{}
    	case networking.EnvoyFilter_HTTP_ROUTE:
    		obj = &route.Route{}
    	case networking.EnvoyFilter_EXTENSION_CONFIG:
    		obj = &core.TypedExtensionConfig{}
    	case networking.EnvoyFilter_BOOTSTRAP:
    		obj = &bootstrap.Bootstrap{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. pilot/pkg/model/envoyfilter.go

    			// http filter and http route, convert the rest to add
    			if cpw.ApplyTo != networking.EnvoyFilter_HTTP_FILTER &&
    				cpw.ApplyTo != networking.EnvoyFilter_NETWORK_FILTER &&
    				cpw.ApplyTo != networking.EnvoyFilter_HTTP_ROUTE &&
    				cpw.ApplyTo != networking.EnvoyFilter_LISTENER_FILTER {
    				cpw.Operation = networking.EnvoyFilter_Patch_ADD
    			}
    		}
    		out.Patches[cp.ApplyTo] = append(out.Patches[cp.ApplyTo], cpw)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 13:57:28 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/envoyfilter/rc_patch.go

    		patchHTTPRoute(patchContext, patches, routeConfiguration, virtualHost, index, &routesRemoved, portMap, &clonedVhostRoutes)
    	}
    
    	// now for the adds
    	for _, rp := range patches[networking.EnvoyFilter_HTTP_ROUTE] {
    		applied := false
    		if !commonConditionMatch(patchContext, rp) ||
    			!routeConfigurationMatch(patchContext, routeConfiguration, rp, portMap) ||
    			!virtualHostMatch(virtualHost, rp) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. pkg/config/validation/envoyfilter/envoyfilter.go

    					}
    				}
    			}
    		case networking.EnvoyFilter_ROUTE_CONFIGURATION, networking.EnvoyFilter_VIRTUAL_HOST, networking.EnvoyFilter_HTTP_ROUTE:
    			if cp.Match != nil && cp.Match.ObjectTypes != nil {
    				if cp.Match.GetRouteConfiguration() == nil {
    					errs = validation.AppendValidation(errs,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/httproute.go

    		envoyfilterKeys := efw.KeysApplyingTo(
    			networking.EnvoyFilter_ROUTE_CONFIGURATION,
    			networking.EnvoyFilter_VIRTUAL_HOST,
    			networking.EnvoyFilter_HTTP_ROUTE,
    		)
    		for _, routeName := range routeNames {
    			rc, cached := configgen.buildSidecarOutboundHTTPRouteConfig(node, req, routeName, vHostCache, efw, envoyfilterKeys)
    			if cached && !features.EnableUnsafeAssertions {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top