Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for httpfilter (0.19 sec)

  1. pilot/pkg/networking/grpcgen/lds.go

    	"istio.io/istio/pilot/pkg/util/protoconv"
    	xdsfilters "istio.io/istio/pilot/pkg/xds/filters"
    	"istio.io/istio/pkg/istio-agent/grpcxds"
    	"istio.io/istio/pkg/util/sets"
    )
    
    var supportedFilters = []*hcm.HttpFilter{
    	xdsfilters.Fault,
    	xdsfilters.BuildRouterFilter(xdsfilters.RouterFilterContext{
    		StartChildSpan:       false,
    		SuppressDebugHeaders: false, // No need to set this to true, gRPC doesn't respect it anyways
    	}),
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/listener_patch_test.go

    						{
    							Name: wellknown.HTTPConnectionManager,
    							ConfigType: &listener.Filter_TypedConfig{
    								TypedConfig: protoconv.MessageToAny(&hcm.HttpConnectionManager{
    									HttpFilters: []*hcm.HttpFilter{
    										{Name: "http-filter-to-be-replaced"},
    										{Name: "another-http-filter"},
    									},
    								}),
    							},
    						},
    					},
    				},
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/envoyfilter/monitoring.go

    	Listener       PatchType = "listener"
    	ListenerFilter PatchType = "listenerfilter"
    	FilterChain    PatchType = "filterchain"
    	NetworkFilter  PatchType = "networkfilter"
    	// nolint
    	HttpFilter  PatchType = "httpfilter"
    	Route       PatchType = "route"
    	VirtualHost PatchType = "vhost"
    )
    
    var (
    	patchType  = monitoring.CreateLabel("patch")
    	resultType = monitoring.CreateLabel("result")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. pilot/pkg/security/authn/factory.go

    	// It may return nil, if no JWT validation is needed.
    	JwtFilter(useExtendedJwt, clearRouteCache bool) *hcm.HttpFilter
    
    	// AuthNFilter returns the (authn) HTTP filter to enforce the underlying authentication policy.
    	// It may return nil, if no authentication is needed.
    	AuthNFilter(forSidecar bool) *hcm.HttpFilter
    
    	// PortLevelSetting returns port level mTLS settings.
    	PortLevelSetting() map[uint32]model.MutualTLSMode
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. pilot/pkg/model/telemetry.go

    		ServerSpec: serverSpec,
    	}
    	return &cfg
    }
    
    // HTTPFilters computes the HttpFilter for a given proxy/class
    func (t *Telemetries) HTTPFilters(proxy *Proxy, class networking.ListenerClass, svc *Service) []*hcm.HttpFilter {
    	if res := t.telemetryFilters(proxy, class, networking.ListenerProtocolHTTP, svc); res != nil {
    		return res.([]*hcm.HttpFilter)
    	}
    	return nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  6. pilot/pkg/security/authn/policy_applier.go

    	}
    }
    
    func (a policyApplier) JwtFilter(useExtendedJwt, clearRouteCache bool) *hcm.HttpFilter {
    	if len(a.processedJwtRules) == 0 {
    		return nil
    	}
    
    	filterConfigProto := convertToEnvoyJwtConfig(a.processedJwtRules, a.push, useExtendedJwt, clearRouteCache)
    
    	if filterConfigProto == nil {
    		return nil
    	}
    	return &hcm.HttpFilter{
    		Name:       authn_model.EnvoyJwtFilterName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_builder.go

    		}
    	}
    	connectionManager.Proxy_100Continue = features.Enable100ContinueHeaders
    	return connectionManager
    }
    
    func appendMxFilter(httpOpts *httpListenerOpts, filters []*hcm.HttpFilter) []*hcm.HttpFilter {
    	if !features.MetadataExchange || httpOpts.hbone {
    		return filters
    	}
    	if httpOpts.class == istionetworking.ListenerClassSidecarInbound {
    		return append(filters, xdsfilters.SidecarInboundMetadataFilter)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. pkg/config/xds/xds.go

    	case networking.EnvoyFilter_ROUTE_CONFIGURATION:
    		obj = &route.RouteConfiguration{}
    	case networking.EnvoyFilter_FILTER_CHAIN:
    		obj = &listener.FilterChain{}
    	case networking.EnvoyFilter_HTTP_FILTER:
    		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{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Jan 14 02:41:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. tests/integration/pilot/forwardproxy/envoy_config_generator.go

    	}
    }
    
    func createHTTPConnectionManager(listenerName, httpVersion string) *envoy_hcm.HttpConnectionManager {
    	hcm := &envoy_hcm.HttpConnectionManager{
    		AccessLog: createAccessLog(listenerName),
    		HttpFilters: []*envoy_hcm.HttpFilter{
    			{
    				Name: "envoy.filters.http.dynamic_forward_proxy",
    				ConfigType: &envoy_hcm.HttpFilter_TypedConfig{
    					TypedConfig: protoconv.MessageToAny(&envoy_filters_dynamic_forward_proxy.FilterConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 27 19:22:30 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listener_waypoint.go

    		}
    	}
    	h := lb.buildHTTPConnectionManager(httpOpts)
    
    	// Last filter must be router.
    	router := h.HttpFilters[len(h.HttpFilters)-1]
    	h.HttpFilters = append(pre, h.HttpFilters[:len(h.HttpFilters)-1]...)
    	h.HttpFilters = append(h.HttpFilters, post...)
    	h.HttpFilters = append(h.HttpFilters, router)
    
    	filters = append(filters, &listener.Filter{
    		Name:       wellknown.HTTPConnectionManager,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top