- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for UseGatewaySemantics (0.26 sec)
-
pilot/pkg/model/virtualservice.go
key := vs.NamespacedName() if vsset.Contains(key) { return } rule := vs.Spec.(*networking.VirtualService) useGatewaySemantics := UseGatewaySemantics(vs) for _, vh := range rule.Hosts { if hc.VSMatches(host.Name(vh), useGatewaySemantics) { importedVirtualServices = append(importedVirtualServices, vs) vsset.Insert(key) return } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 11:17:03 UTC 2024 - 17.4K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
func ApplyRedirect(out *route.Route, redirect *networking.HTTPRedirect, port int, isTLS bool, useGatewaySemantics bool) { action := &route.Route_Redirect{ Redirect: &route.RedirectAction{ HostRedirect: redirect.Authority, PathRewriteSpecifier: &route.RedirectAction_PathRedirect{ PathRedirect: redirect.Uri, }, }, } if useGatewaySemantics {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
pilot/pkg/model/sidecar.go
return true } } return false } // VSMatches checks if the hostClassification(sidecar egress hosts) matches the VirtualService's host func (hc hostClassification) VSMatches(vsHost host.Name, useGatewaySemantics bool) bool { // first, check exactHosts if hc.exactHosts.Contains(vsHost) { return true } // exactHosts not found, fallback to loop allHosts hIsWildCard := vsHost.IsWildCarded()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 05 20:32:23 UTC 2024 - 38.4K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_waypoint.go
out.ResponseHeadersToRemove = operations.ResponseHeadersToRemove authority = operations.Authority } if in.Redirect != nil { istio_route.ApplyRedirect(out, in.Redirect, listenPort, false, model.UseGatewaySemantics(virtualService)) } else if in.DirectResponse != nil { istio_route.ApplyDirectResponse(out, in.DirectResponse) } else { lb.routeDestination(out, in, authority, listenPort) }
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/model/push_context.go
for _, vs := range ps.virtualServiceIndex.publicByGateway[gateway] { if UseGatewaySemantics(vs) && vs.Namespace == proxyNamespace { res = append(res, vs) } } for _, vs := range ps.virtualServiceIndex.publicByGateway[gateway] { if !(UseGatewaySemantics(vs) && vs.Namespace == proxyNamespace) { res = append(res, vs) } } return res }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 91.8K bytes - Viewed (0)