- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for httpfilter (0.17 sec)
-
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) -
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) -
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) -
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) -
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) -
pilot/pkg/networking/util/util.go
} st, _ := structpb.NewStruct(m) return st } func BuildStatefulSessionFilter(svc *model.Service) *hcm.HttpFilter { filterConfig := MaybeBuildStatefulSessionFilterConfig(svc) if filterConfig == nil { return nil } return &hcm.HttpFilter{ Name: StatefulSessionFilter, ConfigType: &hcm.HttpFilter_TypedConfig{ TypedConfig: protoconv.MessageToAny(filterConfig), }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 28.5K bytes - Viewed (0) -
pilot/pkg/model/telemetry_test.go
telemetry.meshConfig.DefaultProviders = tt.defaultProviders got := telemetry.telemetryFilters(tt.proxy, tt.class, tt.protocol, nil) res := map[string]string{} http, ok := got.([]*hcm.HttpFilter) if ok { for _, f := range http { if strings.HasSuffix(f.GetTypedConfig().GetTypeUrl(), "/stats.PluginConfig") { w := &stats.PluginConfig{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:30 UTC 2024 - 39.6K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0) -
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) -
pkg/bootstrap/testdata/tracing_opencensusagent_golden.json
} } ] } ] }, "http_filters": [ { "name": "envoy.filters.http.router", "typed_config": { "@type": "type.googleapis.com/envoy.extensions.filters.http.router.v3.Router"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 17:05:28 UTC 2024 - 12.7K bytes - Viewed (0)