Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MirrorPercent (0.11 sec)

  1. pilot/pkg/networking/core/route/route_internal_test.go

    		route *networking.HTTPRoute
    		want  *core.RuntimeFractionalPercent
    	}{
    		{
    			name: "zero mirror percent",
    			route: &networking.HTTPRoute{
    				Mirror:        &networking.Destination{},
    				MirrorPercent: &wrapperspb.UInt32Value{Value: 0.0},
    			},
    			want: nil,
    		},
    		{
    			name: "mirror with no value given",
    			route: &networking.HTTPRoute{
    				Mirror: &networking.Destination{},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat May 11 02:47:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_waypoint.go

    		}
    	}
    	if authority != "" {
    		action.HostRewriteSpecifier = &route.RouteAction_HostRewriteLiteral{
    			HostRewriteLiteral: authority,
    		}
    	}
    
    	if in.Mirror != nil {
    		if mp := istio_route.MirrorPercent(in); mp != nil {
    			action.RequestMirrorPolicies = append(action.RequestMirrorPolicies,
    				istio_route.TranslateRequestMirrorPolicy(in.Mirror, lb.serviceForHostname(host.Name(in.Mirror.Host)), listenerPort, mp))
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top