- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for EnvoyFilter_HTTP_FILTER (0.3 sec)
-
pilot/pkg/networking/core/envoyfilter/listener_patch_test.go
e.SetPushContext(pushContext) return e } func TestApplyListenerPatches(t *testing.T) { configPatchesPriorities := []*networking.EnvoyFilter_EnvoyConfigObjectPatch{ { ApplyTo: networking.EnvoyFilter_HTTP_FILTER, Match: &networking.EnvoyFilter_EnvoyConfigObjectMatch{ Context: networking.EnvoyFilter_GATEWAY, ObjectTypes: &networking.EnvoyFilter_EnvoyConfigObjectMatch_Listener{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 70.1K bytes - Viewed (0) -
pilot/pkg/model/envoyfilter_test.go
} } func TestKeysApplyingTo(t *testing.T) { e := &EnvoyFilterWrapper{ Patches: map[networking.EnvoyFilter_ApplyTo][]*EnvoyFilterConfigPatchWrapper{ networking.EnvoyFilter_HTTP_FILTER: { { Name: "http", Namespace: "ns", FullName: "ns/http", }, }, networking.EnvoyFilter_NETWORK_FILTER: { { Name: "b", Namespace: "ns",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 27 04:20:28 UTC 2023 - 7.4K bytes - Viewed (0) -
pkg/config/validation/envoyfilter/envoyfilter_test.go
{name: "listener with sub filter match and invalid filter name", in: &networking.EnvoyFilter{ ConfigPatches: []*networking.EnvoyFilter_EnvoyConfigObjectPatch{ { ApplyTo: networking.EnvoyFilter_HTTP_FILTER, Match: &networking.EnvoyFilter_EnvoyConfigObjectMatch{ ObjectTypes: &networking.EnvoyFilter_EnvoyConfigObjectMatch_Listener{ Listener: &networking.EnvoyFilter_ListenerMatch{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/config/xds/xds.go
obj = &listener.Listener{} 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:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Jan 14 02:41:27 UTC 2023 - 3K bytes - Viewed (0) -
pkg/config/validation/envoyfilter/envoyfilter.go
// ensure that applyTo, match and patch all line up switch cp.ApplyTo { case networking.EnvoyFilter_LISTENER, networking.EnvoyFilter_FILTER_CHAIN, networking.EnvoyFilter_NETWORK_FILTER, networking.EnvoyFilter_HTTP_FILTER: if cp.Match != nil && cp.Match.ObjectTypes != nil { if cp.Match.GetListener() == nil { errs = validation.AppendValidation(errs,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 00:31:03 UTC 2024 - 12.2K bytes - Viewed (0) -
pkg/config/analysis/analyzers/envoyfilter/envoyfilter.go
// the REPLACE operation is only valid for HTTP_FILTER and NETWORK_FILTER. if patch.ApplyTo != network.EnvoyFilter_NETWORK_FILTER && patch.ApplyTo != network.EnvoyFilter_HTTP_FILTER { // provide an error message indicating an invalid filter type message := msg.NewEnvoyFilterUsesReplaceOperationIncorrectly(r)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 6.8K bytes - Viewed (0) -
pilot/pkg/model/envoyfilter.go
// insert_before, after or first is applicable for listener filter, network filter, // http filter and http route, convert the rest to add if cpw.ApplyTo != networking.EnvoyFilter_HTTP_FILTER && cpw.ApplyTo != networking.EnvoyFilter_NETWORK_FILTER && cpw.ApplyTo != networking.EnvoyFilter_HTTP_ROUTE && cpw.ApplyTo != networking.EnvoyFilter_LISTENER_FILTER {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 13:57:28 UTC 2024 - 7.1K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/listener_patch.go
return // todo: figure out a non noisy logging option here // as this loop will be called very frequently } } for _, lp := range patches[networking.EnvoyFilter_HTTP_FILTER] { applied := false if !commonConditionMatch(patchContext, lp) || !listenerMatch(lis, lp) || !filterChainMatch(lis, fc, lp) || !networkFilterMatch(filter, lp) {
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/model/push_context_test.go
Spec: &networking.EnvoyFilter{ ConfigPatches: []*networking.EnvoyFilter_EnvoyConfigObjectPatch{ { ApplyTo: networking.EnvoyFilter_HTTP_FILTER, Patch: &networking.EnvoyFilter_Patch{ Operation: networking.EnvoyFilter_Patch_INSERT_BEFORE, Value: buildPatchStruct(`{"name": "filter-1"}`), },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 95.3K bytes - Viewed (0)