Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for httpfilter (0.57 sec)

  1. pilot/pkg/xds/filters/filters_test.go

    )
    
    func TestBuildRouterFilter(t *testing.T) {
    	tests := []struct {
    		name     string
    		ctx      RouterFilterContext
    		expected *hcm.HttpFilter
    	}{
    		{
    			name: "test for build router filter",
    			ctx:  RouterFilterContext{StartChildSpan: true},
    			expected: &hcm.HttpFilter{
    				Name: wellknown.Router,
    				ConfigType: &hcm.HttpFilter_TypedConfig{
    					TypedConfig: protoconv.MessageToAny(&router.Router{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 2.3K 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. istioctl/pkg/authz/listener.go

    					if cm := getHTTPConnectionManager(filter); cm != nil {
    						for _, httpFilter := range cm.GetHttpFilters() {
    							switch httpFilter.GetName() {
    							case wellknown.HTTPRoleBasedAccessControl:
    								rbacHTTP := &rbachttp.RBAC{}
    								if err := getHTTPFilterConfig(httpFilter, rbacHTTP); err != nil {
    									log.Errorf("found RBAC HTTP filter but failed to parse: %s", err)
    								} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top