Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for HostRewriteSpecifier (0.19 sec)

  1. pilot/pkg/xds/testdata/none_rds.json

                  },
                  "Action": {
                    "Route": {
                      "ClusterSpecifier": {
                        "Cluster": "outbound|2001||s1http.none"
                      },
                      "HostRewriteSpecifier": null,
                      "timeout": 0,
                      "retry_policy": {
                        "retry_on": "connect-failure,refused-stream,unavailable,cancelled,resource-exhausted,retriable-status-codes",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jul 22 21:13:54 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_waypoint.go

    		out.ResponseHeadersToRemove = append(out.ResponseHeadersToRemove, weighted[0].ResponseHeadersToRemove...)
    		if weighted[0].HostRewriteSpecifier != nil && action.HostRewriteSpecifier == nil {
    			// Ideally, if the weighted cluster overwrites authority, it has precedence. This mirrors behavior of headers,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/route/route.go

    				}
    			} else {
    				action.PrefixRewrite = uri
    			}
    		}
    		if in.Rewrite.GetAuthority() != "" {
    			authority = in.Rewrite.GetAuthority()
    		}
    	}
    	if authority != "" {
    		action.HostRewriteSpecifier = &route.RouteAction_HostRewriteLiteral{
    			HostRewriteLiteral: authority,
    		}
    	}
    
    	if in.Mirror != nil {
    		if mp := MirrorPercent(in); mp != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/route/route_test.go

    		g.Expect(err).NotTo(HaveOccurred())
    		g.Expect(len(routes)).To(Equal(1))
    
    		routeAction, ok := routes[0].Action.(*envoyroute.Route_Route)
    		g.Expect(ok).NotTo(BeFalse())
    		g.Expect(routeAction.Route.HostRewriteSpecifier).To(Equal(&envoyroute.RouteAction_HostRewriteLiteral{
    			HostRewriteLiteral: "bar.example.org",
    		}))
    	})
    
    	t.Run("for full path rewrite", func(t *testing.T) {
    		g := NewWithT(t)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top