Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for HTTPFilters (0.25 sec)

  1. pilot/pkg/networking/plugin/authz/authorization.go

    		return nil
    	}
    	if class == networking.ListenerClassSidecarOutbound {
    		// Only applies to inbound and gateways
    		return nil
    	}
    	if b.httpBuilt {
    		return b.httpFilters
    	}
    	b.httpBuilt = true
    	b.httpFilters = b.builder.BuildHTTP()
    
    	return b.httpFilters
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    		}
    		if lp.Operation == networking.EnvoyFilter_Patch_ADD {
    			applied = true
    			httpconn.HttpFilters = append(httpconn.HttpFilters, proto.Clone(lp.Value).(*hcm.HttpFilter))
    		} else if lp.Operation == networking.EnvoyFilter_Patch_INSERT_FIRST {
    			httpconn.HttpFilters = append([]*hcm.HttpFilter{proto.Clone(lp.Value).(*hcm.HttpFilter)}, httpconn.HttpFilters...)
    		} else if lp.Operation == networking.EnvoyFilter_Patch_INSERT_AFTER {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listenertest/match.go

    	if want.TotalMatch {
    		if want.NetworkFilters != nil {
    			assert.Equal(t, want.NetworkFilters, haveNetwork, context("network filters should be equal"))
    		}
    		if want.HTTPFilters != nil {
    			assert.Equal(t, want.HTTPFilters, haveHTTP, context("http should be equal"))
    		}
    	} else {
    		if missing := sets.SortedList(sets.New(want.NetworkFilters...).Difference(sets.New(haveNetwork...))); len(missing) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. pilot/pkg/networking/core/listener_test.go

    				{
    					Name:           "0.0.0.0_8080",
    					Type:           listenertest.MTLSHTTP,
    					HTTPFilters:    httpFilters,
    					NetworkFilters: httpNetworkFilters,
    					TotalMatch:     true,
    				},
    				{
    					Name:           "0.0.0.0_8080",
    					Type:           listenertest.PlainTCP,
    					HTTPFilters:    httpFilters,
    					NetworkFilters: httpNetworkFilters,
    					TotalMatch:     true,
    				},
    				{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_builder.go

    		}
    	}
    
    	// TypedPerFilterConfig in route needs these filters.
    	filters = append(filters, xdsfilters.Fault, xdsfilters.Cors)
    	if !httpOpts.isWaypoint {
    		filters = append(filters, lb.push.Telemetry.HTTPFilters(lb.node, httpOpts.class, nil)...)
    	}
    	// Add EmptySessionFilter so that it can be overridden at route level per service.
    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. pilot/pkg/networking/grpcgen/lds.go

    										PathSpecifier: &route.RouteMatch_Prefix{Prefix: "/"},
    									},
    									Action: &route.Route_NonForwardingAction{},
    								}},
    							}},
    						},
    					},
    					HttpFilters: fc,
    				}),
    			},
    		}},
    	}
    	if tlsContext != nil {
    		out.TransportSocket = &core.TransportSocket{
    			Name:       transportSocketName,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/gateway_test.go

    				},
    			},
    			expectedListener: listenertest.ListenerTest{FilterChains: []listenertest.FilterChainTest{
    				{
    					NetworkFilters: []string{
    						wellknown.HTTPConnectionManager,
    					},
    					HTTPFilters: []string{
    						xdsfilters.MxFilterName,
    						xdsfilters.Alpn.GetName(),
    						xdsfilters.Fault.GetName(), xdsfilters.Cors.GetName(), wellknown.Router,
    					},
    				},
    			}},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  10. pilot/pkg/model/telemetry.go

    		serverSpec.Disabled = true
    	}
    
    	cfg := TracingConfig{
    		ClientSpec: clientSpec,
    		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 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top