Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for HTTPFilters (0.17 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. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/TestProxyServer.groovy

    import org.gradle.integtests.fixtures.executer.GradleExecuter
    import org.gradle.util.ports.FixedAvailablePortAllocator
    import org.gradle.util.ports.PortAllocator
    import org.junit.rules.ExternalResource
    import org.littleshoot.proxy.HttpFilters
    import org.littleshoot.proxy.HttpFiltersSourceAdapter
    import org.littleshoot.proxy.HttpProxyServer
    import org.littleshoot.proxy.ProxyAuthenticator
    import org.littleshoot.proxy.impl.DefaultHttpProxyServer
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pilot/test/xdstest/extract.go

    	nwFilters := []string{}
    	httpFilters := []string{}
    	for _, fc := range fcs.Filters {
    		if fc.Name == wellknown.HTTPConnectionManager {
    			h := &hcm.HttpConnectionManager{}
    			if fc.GetTypedConfig() != nil {
    				if err := fc.GetTypedConfig().UnmarshalTo(h); err != nil {
    					t.Fatalf("failed to unmarshal hcm: %v", err)
    				}
    			}
    			for _, hf := range h.HttpFilters {
    				httpFilters = append(httpFilters, hf.Name)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pilot/pkg/networking/grpcgen/grpcgen_test.go

    			_ = proto.Unmarshal(valBytes, ll)
    			if strings.HasPrefix(ll.Name, "echo-persistent.test.svc.cluster.local:") {
    				proto.Unmarshal(ll.ApiListener.ApiListener.Value, hcm)
    				for index, f := range hcm.HttpFilters {
    					if f.Name == util.StatefulSessionFilter {
    						proto.Unmarshal(f.GetTypedConfig().Value, ss)
    						filterIndex = index
    						if ss.GetSessionState().Name == "envoy.http.stateful_session.cookie" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:04:02 UTC 2024
    - 16.9K bytes
    - Viewed (0)
Back to top