- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for EnvoyFilter_HTTP_ROUTE (0.27 sec)
-
pilot/pkg/model/envoyfilter_test.go
t.Fatalf("unexpected patches of %v: %v", networking.EnvoyFilter_INVALID, cfilter.Patches) } if patches := cfilter.Patches[networking.EnvoyFilter_HTTP_ROUTE]; len(patches) != 1 { // check num of invalid http route patches t.Fatalf("unexpected patches of %v: %v", networking.EnvoyFilter_HTTP_ROUTE, cfilter.Patches) } } func TestKeysApplyingTo(t *testing.T) { e := &EnvoyFilterWrapper{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 27 04:20:28 UTC 2023 - 7.4K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/rc_patch_test.go
args: args{ patchContext: networking.EnvoyFilter_GATEWAY, patches: map[networking.EnvoyFilter_ApplyTo][]*model.EnvoyFilterConfigPatchWrapper{ networking.EnvoyFilter_HTTP_ROUTE: { { ApplyTo: networking.EnvoyFilter_HTTP_ROUTE, Match: &networking.EnvoyFilter_EnvoyConfigObjectMatch{ ObjectTypes: &networking.EnvoyFilter_EnvoyConfigObjectMatch_RouteConfiguration{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 32.4K bytes - Viewed (0) -
pkg/config/analysis/analyzers/envoyfilter/envoyfilter.go
// indicating that the operation will be ignored when applyTo is set to ROUTE_CONFIGURATION, // or HTTP_ROUTE if patch.ApplyTo == network.EnvoyFilter_ROUTE_CONFIGURATION || patch.ApplyTo == network.EnvoyFilter_HTTP_ROUTE { // provide an error message indicating a mismatch between the operation type and the filter type message := msg.NewEnvoyFilterUsesAddOperationIncorrectly(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
// 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 { cpw.Operation = networking.EnvoyFilter_Patch_ADD } } out.Patches[cp.ApplyTo] = append(out.Patches[cp.ApplyTo], cpw) }
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/rc_patch.go
patchHTTPRoute(patchContext, patches, routeConfiguration, virtualHost, index, &routesRemoved, portMap, &clonedVhostRoutes) } // now for the adds for _, rp := range patches[networking.EnvoyFilter_HTTP_ROUTE] { applied := false if !commonConditionMatch(patchContext, rp) || !routeConfigurationMatch(patchContext, routeConfiguration, rp, portMap) || !virtualHostMatch(virtualHost, rp) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 13K bytes - Viewed (0) -
pkg/config/validation/envoyfilter/envoyfilter.go
} } } case networking.EnvoyFilter_ROUTE_CONFIGURATION, networking.EnvoyFilter_VIRTUAL_HOST, networking.EnvoyFilter_HTTP_ROUTE: if cp.Match != nil && cp.Match.ObjectTypes != nil { if cp.Match.GetRouteConfiguration() == 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) -
pilot/pkg/networking/core/httproute.go
envoyfilterKeys := efw.KeysApplyingTo( networking.EnvoyFilter_ROUTE_CONFIGURATION, networking.EnvoyFilter_VIRTUAL_HOST, networking.EnvoyFilter_HTTP_ROUTE, ) for _, routeName := range routeNames { rc, cached := configgen.buildSidecarOutboundHTTPRouteConfig(node, req, routeName, vHostCache, efw, envoyfilterKeys) if cached && !features.EnableUnsafeAssertions {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 32.7K bytes - Viewed (0)