Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for httpfilter (0.17 sec)

  1. pilot/pkg/networking/core/envoyfilter/listener_patch.go

    			if !hasHTTPFilterMatch(lp) {
    				httpconn.HttpFilters = append([]*hcm.HttpFilter{proto.Clone(lp.Value).(*hcm.HttpFilter)}, httpconn.HttpFilters...)
    				continue
    			}
    			httpconn.HttpFilters, applied = insertBeforeFunc(
    				httpconn.HttpFilters,
    				func(e *hcm.HttpFilter) (bool, *hcm.HttpFilter) {
    					if httpFilterMatch(e, lp) {
    						return true, proto.Clone(lp.Value).(*hcm.HttpFilter)
    					}
    					return false, nil
    				},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 15:39:29 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/plugin/authz/authorization.go

    func (b *Builder) BuildHTTP(class networking.ListenerClass) []*hcm.HttpFilter {
    	if b == nil || b.builder == nil {
    		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)
  3. pilot/pkg/networking/core/extension/wasmplugin_test.go

    		WasmPlugin: &extensions.WasmPlugin{
    			Priority: &wrapperspb.Int32Value{Value: 1000},
    			Type:     extensions.PluginType_NETWORK,
    		},
    	}
    )
    
    func TestInsertedExtensionConfigurations(t *testing.T) {
    	httpFilter := protoconv.MessageToAny(&httpwasm.Wasm{
    		Config: &wasmextension.PluginConfig{
    			Name:          "istio-system.someAuthNFilter",
    			Configuration: &anypb.Any{},
    			Vm: &wasmextension.PluginConfig_VmConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. pilot/pkg/networking/plugin/authn/authentication.go

    func (b *Builder) BuildHTTP(class networking.ListenerClass) []*hcm.HttpFilter {
    	if b == nil {
    		return nil
    	}
    	if class == networking.ListenerClassSidecarOutbound {
    		// Only applies to inbound and gateways
    		return nil
    	}
    	if b.proxy.SupportsEnvoyExtendedJwt() {
    		filter := b.applier.JwtFilter(true, b.proxy.Type != model.SidecarProxy)
    		if filter != nil {
    			return []*hcm.HttpFilter{filter}
    		}
    		return nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/extension/wasmplugin.go

    // plugins of a provided phase from the WASM plugin set and append them to the list of filters
    func PopAppendHTTP(list []*hcm.HttpFilter,
    	filterMap map[extensions.PluginPhase][]*model.WasmPluginWrapper,
    	phase extensions.PluginPhase,
    ) []*hcm.HttpFilter {
    	for _, ext := range filterMap[phase] {
    		list = append(list, toEnvoyHTTPFilter(ext))
    	}
    	delete(filterMap, phase)
    	return list
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top